去线性化智能体轨迹:潜在偏序的贝叶斯推断以实现高效执行
De-Linearizing Agent Traces: Bayesian Inference of Latent Partial Orders for Efficient Execution
AI总结:
提出BPOP贝叶斯框架,从噪声线性化轨迹中推断潜在依赖偏序,通过可处理的边界-softmax似然实现高效MCMC推理,在云基础设施任务和科学工作流上显著减少令牌使用和执行时间。
摘要:
AI智能体越来越多地将程序化工作流执行为顺序动作轨迹,这掩盖了潜在的并发性并导致重复的逐步推理。我们引入了BPOP,一个贝叶斯框架,从噪声线性化轨迹中推断潜在依赖偏序。BPOP将轨迹建模为底层图的随机线性扩展,并通过可处理的边界-softmax似然执行高效的MCMC推理,避免了线性扩展上的#P困难边缘化。我们在开源Cloud-IaC-6(一组具有异构LLM生成轨迹的云配置任务)和WFCommons科学工作流上进行了评估。BPOP比仅轨迹和过程挖掘基线更准确地恢复依赖结构,并且推断出的图支持一个编译执行器,该执行器修剪不相关的上下文,从而显著减少令牌使用和执行时间。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。