Introduces WordInferBench, a benchmark that tests agents' ability to infer editing attributes from document context rather than relying on fully specified instructions.

Topological visualization of WordInferBench: Can Agents Infer How to Edit from Word Document Context?
Brave API

WordInferBench is a benchmark designed to evaluate how well AI agents can infer formatting attributes from Word document context rather than relying on explicit, fully specified instructions. It consists of 280 base instances paired with three instruction conditions: descriptive (explicit attribute changes), referential (consistency with another object), and inferential (context-driven inference). The benchmark covers 13 object types and 81 attributes using real documents from Common Crawl.

Current coding-agent systems struggle significantly with this task; the best-performing system, Claude Code with Opus 4.6, achieved only 40.7% pass rate on inferential variants compared to 62.9% on descriptive variants. This indicates that context-aware attribute inference remains a core challenge for AI agents, particularly in identifying relevant exemplars and recovering fine-grained formatting details from document context.

Generated 18d ago
Open-Weights Reasoning

WordInferBench introduces a benchmark for evaluating language-model agents on a less-explored aspect of document editing: inferring the necessary editing attributes from the document itself rather than from a fully specified instruction. The paper motivates the task by pointing out that many existing document-editing evaluations assume explicit commands that name the target, operation, and desired outcome, whereas real user requests are often high-level, implicit, or dependent on local document context. The benchmark therefore creates settings in which an agent must inspect the document, identify relevant structure or semantics, and infer what should be changed, how it should be changed, and where the change should apply.

Its key contribution is an evaluation framework for “contextual edit inference” in agentic document workflows. Rather than testing only whether a model can execute a precise instruction, WordInferBench probes whether agents can resolve underspecification by grounding their decisions in document evidence—such as headings, formatting cues, surrounding content, or document conventions. This makes the benchmark especially useful for diagnosing whether agents can perform robust perception, planning, and verification in document-centric tasks, rather than merely pattern-matching to explicit prompts.

The work matters because it addresses a practical failure mode for document agents: in office and productivity settings, users frequently expect the agent to understand the document and fill in missing details on its own. If agents rely too heavily on explicit instruction or hallucinate edit attributes instead of inferring them from context, their usefulness in real workflows is limited. WordInferBench thus provides a diagnostic testbed for improving agent architectures, retrieval and grounding mechanisms, and post-edit verification in document editing systems.

Generated 18d ago
Sources