What to Format and How: A Benchmark and Workflow Approach for Document Formatting

📅 2026-06-01
📈 Citations: 0
Influential: 0
📄 PDF

career value

151K/year
🤖 AI Summary
Existing approaches to automatic document formatting suffer from imprecise target localization and redundant content re-reading in content-aware scenarios, compounded by the absence of a dedicated evaluation benchmark. To address these limitations, this work introduces DocFormBench—the first comprehensive evaluation benchmark specifically designed for content-aware document formatting—and proposes DocFormFlow, a decoupled workflow that separates the task into two distinct phases: “what to format” (target localization) and “how to format” (format execution). By integrating large language models with multimodal models, DocFormFlow demonstrates significant improvements in formatting accuracy and substantially reduces token consumption across multiple mainstream models, underscoring precise target localization as a critical factor for high performance.
📝 Abstract
Recent advances in large language models (LLMs) have opened up new possibilities for automated document formatting. However, real-world formatting often requires identifying targets based on document content. This content-aware setting remains challenging and underexplored, primarily due to the lack of dedicated evaluation datasets.To enable evaluation in realistic content-aware scenarios, we introduce DocFormBench, a benchmark that extends Text-to-Format evaluation to diverse formatting requirements, along with metrics for both accuracy and efficiency.To mitigate redundant document reading in existing methods during formatting, we propose DocFormFlow, a workflow formatting method that decouples target localization from modification execution into what to format and how. Extensive experiments across multiple LLMs and multimodal models show that DocFormFlow consistently improves formatting accuracy while reducing token consumption compared to representative baselines. Further analysis reveals that precise target localization is the primary factor influencing formatting performance. We hope DocFormBench and DocFormFlow will facilitate future research toward more intelligent and reliable document formatting.
Problem

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

document formatting
content-aware
evaluation benchmark
target localization
large language models
Innovation

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

content-aware formatting
document formatting benchmark
workflow-based formatting
target localization
LLM efficiency
S
Shihao Rao
Institute of Information Engineering, Chinese Academy of Sciences, Beijing, China; School of Cyber Security, University of Chinese Academy of Sciences, Beijing, China
Liang Li
Liang Li
Institue of Computing Technology, CAS
Computer VisionImage UnderstandingMultimedia Content Analysis
J
Jiapeng Liu
Institute of Information Engineering, Chinese Academy of Sciences, Beijing, China; School of Cyber Security, University of Chinese Academy of Sciences, Beijing, China
T
Tong Lin
Institute of Information Engineering, Chinese Academy of Sciences, Beijing, China; School of Cyber Security, University of Chinese Academy of Sciences, Beijing, China
Bing Li
Bing Li
Professor of National Laboratory of Pattern Recognition, Institute of Automation, Chinese
Video AnalysisColor ConstancyWeb MiningMultimedia
X
Xiyan Gao
Institute of Information Engineering, Chinese Academy of Sciences, Beijing, China
Peng Fu
Peng Fu
Institute of Information Engineering, Chinese Academy of Sciences
Natural Language Processing
J
Jing Huang
Institute of Information Engineering, Chinese Academy of Sciences, Beijing, China
Can Ma
Can Ma
Unknown affiliation