Computer science researchers have introduced Diffusion Denoised Trace Recovery, an artificial intelligence framework that applies guided generative diffusion models to reconstruct deterministic activity sequences from uncertain, stochastically recorded process logs. Process mining has traditionally relied on deterministic event logs, in which each recorded event corresponds directly to a single verified execution step within an organization. Writing in the journal Process Science, authors Maximilian Matyash, Avigdor Gal, and Arik Senderovich demonstrate that formulating trace recovery as a generative inverse problem allows deep neural networks to outperform conventional alignment methods, delivering up to a 25 percent relative accuracy improvement across real-world benchmark datasets while providing sustained robustness under severe observational noise.
Process mining encompasses a family of analytical techniques designed to discover, inspect, and optimize real-world business and operational workflows, including patient care paths in clinical healthcare facilities, administrative document processing, and meal preparation routines. Standard algorithms in this field presume that event logs provide an unambiguous historical record of executed tasks. In recent years, automated data capture mechanisms have challenged this foundational premise by introducing pervasive uncertainty into recorded event streams. For example, intelligent camera systems monitoring an indoor environment use deep learning classification models to categorize human physical movements into defined operational activities. Because the output of such computer vision classifiers is derived from a final softmax layer, the recorded observation at each time increment is not a discrete activity label, but rather a continuous probability distribution across the entire vocabulary of potential actions, producing a stochastically known process log that standard process discovery tools cannot parse directly.
Historically, practitioners attempting to convert stochastic logs into deterministic sequences have relied on an argmax heuristic, which independently selects the activity with the highest reported probability at each time interval. To mitigate these distortions, earlier research introduced the Stochastic Known Trace Recovery algorithm, known as SKTR, which contextualizes uncertain observations within a formal process model by constructing a weighted multigraph and solving for the shortest path that maximizes joint observation probabilities. Although SKTR significantly improves upon the argmax heuristic, its computational search complexity expands alongside trace length as the candidate multigraph grows, generating operational latency bottlenecks when handling long, highly detailed execution sequences.
To overcome these computational and structural limitations, the research team reframed stochastic trace recovery as a deep learning inverse problem, establishing an operational analogy between process log reconstruction and digital image deblurring. In classic computer vision inverse problems, an unknown underlying clean image is recovered from a corrupted, low-resolution, or blurred observation by directly modeling the posterior probability distribution. Under the Diffusion Denoised Trace Recovery framework, designated DDTR, a stochastically known trace is treated as a degraded, blurred manifestation of an underlying deterministic sequence. Leveraging Denoising Diffusion Probabilistic Models, the system iteratively refines an initial vector of pure Gaussian noise into an accurate, fully resolved trace over a predetermined sequence of discrete reverse steps, using the original stochastic probability vectors as conditioning guidance signals throughout the generative trajectory.
Rather than adopting the standard diffusion objective of predicting the continuous noise added during a destructive forward Gaussian perturbation schedule, the DDTR architecture is engineered to predict the uncorrupted execution trace directly at each denoising iteration. Discrete sequence generation poses well-documented stability challenges for standard diffusion formulations; to resolve this, the investigators mapped both deterministic and stochastic traces into a shared continuous space of activity log-probabilities. Ground truth deterministic activities, originally represented as one-hot probability vectors, are mapped into this continuous log-probability space alongside the continuous stochastic observations derived from upstream classification models. The denoiser network outputs unnormalized logits that pass through a softmax function to generate predicted probabilities, evaluated against ground truth traces using a per-position cross-entropy loss function, before final discrete traces are resolved via argmax selection upon completion of all reverse diffusion steps.
The foundational component of the DDTR methodology is its model-free denoiser, which addresses the generalized challenge of recovering deterministic traces when no formal process schema or workflow graph is available to constrain activity transitions. Built upon a modified convolutional U-Net backbone, this network features two parallel, symmetric computational streams: one dedicated to processing the progressively denoised trace candidate and a second duplicate stream dedicated to ingesting the conditioning stochastic log. Within each downsampling and upsampling stage, convolutional layers capture local temporal relationships across adjacent process events, while appended self-attention mechanisms evaluate long-range global dependencies between distant activities. The representations extracted across both streams are summed at intermediate transitions, while the central bottleneck preserves separate representations to construct high-level abstract features, allowing the network to recover faithful deterministic sequences relying solely on learned sequential patterns.
To exploit domain knowledge when formal process specifications exist, the authors engineered two distinct model-aware denoiser architectures, the first of which embeds the process flow-relation matrix. In Petri net theory, the flow-relation matrix mathematically describes the directed arcs connecting places and transitions, defining valid operational paths. Rather than providing this adjacency structure directly as an immutable network input, the flow-matrix denoiser initializes an internal matrix of learnable parameters representing a latent approximation of the process connectivity. This latent matrix passes through a dedicated third computational stream and interacts with the trace representations via cross-attention layers inserted after each convolutional block. Critically, the network is trained with a composite loss function that simultaneously penalizes trace reconstruction errors and matrix prediction discrepancies, compelling the model parameters to balance log fidelity against structural adherence to process rules through auxiliary regularization.
Recognizing that the flow-matrix denoiser incurs substantial parameter overhead, the investigators developed a second model-aware architecture that embeds Petri net graph geometry directly using Graph Neural Networks. This architecture utilizes the Graph Isomorphism Network, or GIN, which employs an injective neighborhood aggregation scheme based on summation, combined with multi-layer perceptron updates and learnable scaling factors. Because the receptive field of convolutional layers expands with network depth, the researchers dynamically varied the number of GIN message-passing layers across the U-Net hierarchy, matching the graph encoder receptive field to the convolutional scale of each block. The resulting node embeddings are integrated with the trace computation streams through cross-attention mechanisms, allowing temporal segments of the recovering trace to query relevant structural subgraphs of the Petri net while providing a foundation for future post-hoc interpretability analysis.
The experimental evaluation evaluated DDTR variants across diverse real-world benchmarks and synthetically corrupted enterprise process logs. For these video benchmarks, stochastic traces were generated by executing the ASFormer action segmentation model across raw video frames, with softmax operations applied to log-probability outputs to yield activity distributions, while ground truth annotations supplied deterministic targets. To assess enterprise scalability, the authors evaluated business process logs from the BPI 2012, BPI 2017, and BPI 2019 challenges, generating synthetic stochastic traces using a Dirichlet mixture model characterized by a constant noise level of 0.6 and uniform concentration parameters of 0.05, testing traces under varied sequence lengths and vocabulary sizes.
Across all evaluated benchmarks, DDTR variants demonstrated marked performance advantages over both the baseline argmax approach and the state-of-the-art SKTR alignment method. On real-world video datasets, DDTR delivered relative accuracy improvements ranging from 5 percent to 25 percent compared to existing techniques, with the flow-matrix model-aware variant achieving the highest scores across accuracy, macro precision, and macro recall on nearly all datasets. When the researchers introduced synthetic Dirichlet noise scaling between 0.53 and 0.62 into the real-world traces to test robustness, the accuracy of the argmax method plummeted sharply, whereas DDTR maintained stable performance. Across escalating noise tiers, flow-matrix DDTR accuracy remained between 0.96 and 0.83, Petri net DDTR achieved between 0.95 and 0.81, and the model-free variant sustained scores between 0.93 and 0.79, confirming that deep generative models effectively filter severe observational corruption.
The comparative analysis between the two model-aware embedding strategies uncovered critical operational trade-offs regarding computational efficiency, parameter volume, and deployment feasibility. While the flow-matrix denoiser yielded the highest overall recovery precision, its extensive parameter footprint reached 48 million trainable parameters, demanding substantial graphics memory that restricted training batch sizes and extended total training duration to approximately 200 hours on the Breakfast benchmark. Conversely, by leveraging the structural parameter efficiency of Graph Isomorphism Networks, the Petri net denoiser achieved comparable recovery accuracy using only 20 million parameters. This architectural shift represents an overall parameter reduction exceeding 50 percent, matching the low computational footprint of the model-free variant while executing batch inferences in constant time. Consequently, geometric graph embedding resolves trace recovery bottlenecks, enabling practical integration into high-throughput sensor pipelines and automated process mining workflows.
Subject of Research: Deep generative diffusion models for reconstructing deterministic process mining traces from stochastically known event logs
Article Title: Efficient process embedding for diffusion-based trace recovery
Article References: Matyash, M., Gal, A., & Senderovich, A. (2026). Efficient process embedding for diffusion-based trace recovery. Process Science, 3(1), Article 13. https://doi.org/10.1007/s44311-026-00047-7
Image Credits: AI Generated
DOI: 10.1007/s44311-026-00047-7
Keywords: process mining, denoising diffusion probabilistic models, trace recovery, stochastically known logs, deep learning, graph neural networks, Petri nets, flow relation matrix, inverse problems, classifier-free guidance, ASFormer, business process management, Markovian noise, U-Net architecture, cross-attention, Graph Isomorphism Network, Dirichlet mixture, log repair
Cite Scienmag News
Cassandra Pierce. (November 24, 2026). Diffusion Models Recover Deterministic Process Logs From Uncertain Sensor Data. Scienmag. https://scienmag.com/diffusion-models-recover-deterministic-process-logs-from-uncertain-sensor-data/
Cassandra Pierce. "Diffusion Models Recover Deterministic Process Logs From Uncertain Sensor Data." Scienmag, 24 November 2026, https://scienmag.com/diffusion-models-recover-deterministic-process-logs-from-uncertain-sensor-data/. Accessed 24 November 2026.
Cassandra Pierce. "Diffusion Models Recover Deterministic Process Logs From Uncertain Sensor Data." Scienmag. November 24, 2026. https://scienmag.com/diffusion-models-recover-deterministic-process-logs-from-uncertain-sensor-data/








