# De-Linearizing Agent Traces: Bayesian Inference of Latent Partial Orders for Efficient Execution

Source: [De-Linearizing Agent Traces: Bayesian Inference of Latent Partial Orders for Efficient Execution](<https://www.sota2.com/research/paper/6982d289a8b01e76cc8e9318>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2026-05-27T05:00:13.467Z

Authors: Dongqing Li, Zheqiao Cheng, Geoff K. Nicholls, Quyu Kong

Published: 2026-02-02T21:03:30.000Z

## Abstract

AI agents increasingly execute procedural workflows as sequential action traces, which obscures latent concurrency and induces repeated step-by-step reasoning. We introduce BPOP, a Bayesianframework that infers a latent dependency partial order from noisy linearized traces. BPOP models traces as stochastic linear extensions of an underlying graph and performs efficient MCMC inference via a tractable frontier-softmax likelihood that avoids #P-hard marginalization over linear extensions. We evaluate on our open-sourced Cloud-IaC-6, a suite of cloud provisioning tasks with heterogeneous LLM-generated traces, and WFCommons scientific workflows. BPOP recover dependency structure more accurately than trace-only and process-mining baselines, and the inferred graphs support a compiled executor that prunes irrelevant context, yielding substantial reductions in token usage and execution time.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Bayesian partial-order inference on Cloud agent-trace benchmark (12 cases)](<https://www.sota2.com/research/sota/bayesian-partial-order-inference-on-cloud-agent-trace-benchmark-12-cases.md>): Bayesian partial-order inference; Cloud agent-trace benchmark (12 cases); F1 Score: 99.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2602.02806>)

[PDF](<https://arxiv.org/pdf/2602.02806.pdf>)
