WordInferBench: Can Agents Infer How to Edit from Word Document Context?
Jiayu Ding, Yupan Huang, Jinyoung Park, Yilin Jia, Wenshan Wu, Tengchao Lv, Shaohan Huang, Yuzhong Zhao, Xiangyang Zhou, Tao Ge, Sun Mao, Xun Wang, Huitian Jiao, Si-Qing Chen, Lei Cui, Nanning Zheng, Furu Wei
Abstract
Document editing is among the most common knowledge-work tasks, yet existing benchmarks for evaluating autonomous agents on Word document editing provide fully specified attribute-modification instructions. They do not evaluate agents' ability to infer the appropriate attributes from document context, a capability essential in real-world editing where users expect consistency without spelling out every attribute. We introduce WordInferBench, a benchmark comprising 280 base document-editing instances, each paired with three instruction conditions: descriptive (the instruction explicitly lists every attribute change), referential (the instruction points to another object as an exemplar), and inferential (the agent must examine document context to infer what attributes to apply). To evaluate contextual attribute inference, each base instance is constructed so that the target formatting is recoverable from an in-document exemplar. The instances are derived from real Word documents collected from Common Crawl and cover 13 object types and 81 attributes. We evaluate six recent coding-agent systems and find that the best-performing evaluated system, Claude Code with Opus 4.6, achieves a 62.9% task-level pass rate on descriptive variants but only 40.7% on inferential variants, indicating that current systems complete tasks less reliably when the required formatting changes must be determined from document context.
Create a lesson
Related papers
Emotion-Aware and Context-Grounded Dialogue Agents for Personalized Video Game Interactions
Shared title terminology · Michael Adjeisah, Jin Zhang, Pierluigi Vito Amadori et al.
Demystifying the Autoresearch Harness: How Context and Skills Shape Self-Evolving Agents
Shared title terminology · Kelvin Kiu-Wai Tam, Newt Hue-Nam K. Nguyen, Tianshi Zheng et al.
Knowledge After Collapse: Context and Wording Shape Factual Accessibility in Language Models
Shared title terminology · Sujato Dutta, Prithviraj Patil, Chandrajit Bajaj
Folio: Recoverable Multi-Resolution Context Folding for Long-Horizon Language Agents
Shared title terminology · Yubo Ruan, Tao Peng, Jiao Zhang et al.
Time and Space: A Dual-Axis, Evidence-Grounded Context Substrate for Personal Agents
Shared title terminology · Haitao Cheng, Jerry Hu, Longdong Mao et al.
Fin-RSI: A Unified Library of Financial Skills, Checks, and Self-Improvement for LLM Agents
Shared title terminology · Wanghao Ye, Shwai He, Sihan Chen et al.