Automating Complex Document Workflows via Stepwise and Rollback-Enabled Operation Orchestration
By: Yanbin Zhang , Hanhui Ye , Yue Bai and more
Potential Business Impact:
Lets computers finish long, tricky document tasks.
Workflow automation promises substantial productivity gains in everyday document-related tasks. While prior agentic systems can execute isolated instructions, they struggle with automating multi-step, session-level workflows due to limited control over the operational process. To this end, we introduce AutoDW, a novel execution framework that enables stepwise, rollback-enabled operation orchestration. AutoDW incrementally plans API actions conditioned on user instructions, intent-filtered API candidates, and the evolving states of the document. It further employs robust rollback mechanisms at both the argument and API levels, enabling dynamic correction and fault tolerance. These designs together ensure that the execution trajectory of AutoDW remains aligned with user intent and document context across long-horizon workflows. To assess its effectiveness, we construct a comprehensive benchmark of 250 sessions and 1,708 human-annotated instructions, reflecting realistic document processing scenarios with interdependent instructions. AutoDW achieves 90% and 62% completion rates on instruction- and session-level tasks, respectively, outperforming strong baselines by 40% and 76%. Moreover, AutoDW also remains robust for the decision of backbone LLMs and on tasks with varying difficulty. Code and data will be open-sourced. Code: https://github.com/YJett/AutoDW
Similar Papers
$A^2Flow:$ Automating Agentic Workflow Generation via Self-Adaptive Abstraction Operators
Artificial Intelligence
Automates computer task planning without human help.
A Viable Paradigm of Software Automation: Iterative End-to-End Automated Software Development
Software Engineering
AI builds entire computer programs from your words.
A Viable Paradigm of Software Automation: Iterative End-to-End Automated Software Development
Software Engineering
AI writes and fixes computer programs by itself.