DocOps: A Verifiable Benchmark for Autonomous Agents in Complex Document Operations

Jiazhen Jiang, Boxi Cao, Lingyong Yan, Yaojie Lu, Hongyu Lin, Shuaiqiang Wang, Dawei Yin, Xianpei Han, Le SunarXiv 2026

TL;DR

DocOps is a new deterministically verifiable benchmark designed to evaluate how effectively LLM agents can manipulate native-format documents (Word, Excel, PowerPoint, PDF) without destroying their underlying structure or logic. The framework reveals that even frontier models struggle significantly with long-range, tightly coupled document workflows, frequently falling prey to state tracking collapse, shallow semantic verification, and destructive metadata editing.

What Problem Does This Paper Address?

While LLM-powered autonomous agents are increasingly deployed to automate office workflows, our ability to evaluate how they interact with real-world documents has been fundamentally limited. Existing benchmarks generally fall into two flawed paradigms: they either treat documents as static, read-only repositories for information extraction (QA style), or they focus purely on software navigation, treating the document as a passive data payload passed between apps.

Crucially, neither approach treats the document as a first-class computational object—an intricate digital artifact with hidden structural invariants (like Excel formulas, Word heading hierarchies, or PDF bookmark trees). As a result, an agent might generate an output that looks visually correct on the surface but is completely broken under the hood.

Comparison of DocOps with existing document and workflow benchmarks.

Methods

The authors introduce DocOps, an evaluation framework built on a two-axis taxonomy:

  1. Operation Axis: Categorizes atomic document-editing primitives into Content (extraction, editing, computation), Format (style consistency, layout), and Structure (reordering slides, table operations).
  2. Difficulty Axis: Escalates from L1 (single atomic edit) and L2 (composite edits) to L3 (single-document workflows) and L4 (cross-document alignment workflows).
Figure 1: The overview framework of DocOps.

To ensure evaluation fidelity, DocOps bypasses unreliable "LLM-as-a-judge" or surface-level text matching. Instead, it introduces a Deterministic Verifier that programmatically inspects the native file using three types of predicates:

  • Structural predicates: Validates underlying native states (e.g., checking if an Excel formula is executable rather than a hardcoded static value).
  • Linguistic anchors: Verifies required textual content using diagnostic keywords.
  • Preservation predicates: Ensures out-of-scope elements (like protected styles or unmodified sheets) remain intact.

Datasets

The paper introduces the DocOps Benchmark, which consists of 210 tasks (50 L1, 40 L2, 60 L3, and 60 L4 tasks) spanning four ubiquitous formats: DOCX, XLSX, PPTX, and PDF. The tasks were formalized from a pool of 600 real-world seeds, including open-source community requests, public workflow references, and automation templates, all rigorously filtered and synthesized through an iterative human review process.

Key Insights and Ideas

  • Visual Plausibility $\neq$ Functional Correctness: Agents frequently "fake" document modifications. For instance, when asked to add a column to a PowerPoint table, an agent might simply overlay a visual text box instead of altering the native table structure.
  • The Coupling Collapse: Workflow difficulty scales drastically depending on how tightly coupled the document state is. Excel workflows—which demand strict maintenance of formula references and data validation boundaries—see agent success rates plummet near zero in long-range tasks, whereas modular page-level formats like PDFs remain relatively robust.
  • Harness Selection is Critical: Open-ended programmable coding environments with direct file-system feedback (like stateful Bash or interactive coding loops) vastly outperform static, RPC-style tool calling.
  • The "Skill" Double-Edged Sword: Injecting explicit procedural skills (pre-baked functions for handling specific formats) acts as a strong catalyst for mid-tier open-source models, but it offers marginal utility—and can even constrain creative problem-solving—for frontier models.
Figure 3: Representative trajectory-level failure cases showing typical agent behaviors under three failure modes: (a) long-term state tracking failure. (b) semantic verification gap. (c) destructive editing.

Key Results

  • Frontier Limitations: Even the most capable configuration tested (GPT-5.5 with Codex and skills) only achieved an overall success rate of 0.671, failing roughly one-third of the tasks.
  • Performance Collapse at Scale: Across all models, performance degraded sharply as tasks transitioned from localized edits to multi-step workflows. For example, the average performance of top models dropped precipitously when moving from L1/L2 to L3/L4 tasks.
Figure 2: Pass rates across difficulty levels for represen- tative models averaged over their available harness and skill settings. Shaded regions distinguish localized edits from workflow-level tasks, and the black curve reports the average over all evaluated settings.
  • Anatomy of a Failure: Fine-grained error analysis uncovered three pervasive failure modes across all settings:
  • Semantic Verification Gap (~42.5%): Accepting surface-plausible outputs without checking underlying computational semantics.
  • Long-Term State Tracking Failure (~28.1%): Completing local edits but losing the global document state (e.g., misplacing pages or sheets).
  • Destructive Editing (~24.1%): Irreparably breaking formulas, styles, or structural metadata while editing.
Figure 5: Distribution of different failure modes across representative settings and the overall aggregate.

Limitations and Future Work

The authors note that DocOps currently focuses entirely on deterministic, offline document-editing tasks. It does not yet cover workflows requiring live external services, collaborative multi-user editing, or interactive user clarification when instructions are ambiguous. Furthermore, because creating structurally valid artifacts with explicit preservation boundaries requires intensive manual review, scaling the dataset is highly labor-intensive.

Future iterations aim to expand the benchmark into more diverse document domains, larger multi-document workflow packets, and interactive environments.

Summary updated

BibTeX
@misc{jiang2026docops,
  author = {Jiazhen Jiang and Boxi Cao and Lingyong Yan and Yaojie Lu and Hongyu Lin and Shuaiqiang Wang and Dawei Yin and Xianpei Han and Le Sun},
  title = {{DocOps: A Verifiable Benchmark for Autonomous Agents in Complex Document Operations}},
  year = {2026},
  eprint = {2607.19865},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.19865},
}
Figure