REVISE: Validity-Guided Recovery for Online Revisions in Agent Workflows

📅 2026-08-31
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
本文提出Revise方法,通过细粒度恢复策略解决代理工作流中并发执行时的正确性与效率之间的权衡问题。
📝 Abstract
Agent revisions expose a fundamental correctness--efficiency trade-off during concurrent execution. Discarding ongoing work preserves latest-version correctness but wastes progress that may remain valid, whereas reusing prior work preserves efficiency but risks propagating stale state into outputs and tool effects. Existing recovery strategies resolve this trade-off in an imbalanced way with coarse-grained policies: they either favor efficiency by allowing potentially stale work to continue, or favor correctness by restarting the workflow or recomputing a linear suffix from the earliest conflict, thereby discarding unaffected progress. We present \textsc{Revise}, a validity-guided runtime for fine-grained recovery in structured agent workflows. When a revision arrives, \textsc{Revise} first intersects its delta with recorded data and control dependencies and propagates the resulting impact through the partially executed DAG to identify affected work. It then stops invalid work, preserves validity-established progress beyond the earliest conflict, and recomputes only the affected region. Incomplete provenance conservatively expands recovery, while reused results are revalidated before commit. Analysis of real coding-agent traces show online recovery opportunities: 118 sessions retain observable work before a queued later message is delivered; across 167 overlapping assistant responses, enqueue-to-completion overlap reaches 56.55~s at p95. Across 300 challenging revision/commit executions, \textsc{Revise} matches a latest-version oracle with no stale outputs or effects. On unmodified LangGraph and LLMCompiler applications using Qwen3-14B, it reduces model calls by 40.6--56.0\% relative to full restart and by 31.3--43.6\% relative to suffix recomputation. Under serving pressure, it further reduces revision-to-correct-completion tokens by 13.26\% and improves SLO goodput by 3.07--5.43\%.
Problem

Research questions and friction points this paper is trying to address.

correctness
efficiency
concurrent execution
recovery strategies
workflows
Innovation

Methods, ideas, or system contributions that make the work stand out.

validity-guided recovery
fine-grained recovery
agent workflows
data and control dependencies
partial recomputation
🔎 Similar Papers
No similar papers found.
R
Ruoling Qi
Institute of Artificial Intelligence, China Telecom (TeleAI); Shanghai Jiao Tong University
X
Xuaner Wu
Institute of Artificial Intelligence, China Telecom (TeleAI)
Penghang Liu
Penghang Liu
J.P.Morgan AI Research
Reinforcement LearningHuman BehaviorTemporal Graph Generation
J
Jian Chen
Institute of Artificial Intelligence, China Telecom (TeleAI)
Y
Yirui Liu
Institute of Artificial Intelligence, China Telecom (TeleAI)