arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2606.01936cs.CL
收藏

格式化什么以及如何格式化:文档格式化的基准与工作流方法

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

Institute of Information Engineering, Chinese Academy of Sciences(信息工程研究所,中国科学院);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络安全学院)

Shihao Rao, Liang Li, Jiapeng Liu, Tong Lin, Bing Li, Xiyan Gao, Peng Fu, Jing Huang, Can Ma

AI总结:

针对内容感知的文档格式化任务,提出基准DocFormBench和工作流方法DocFormFlow,通过解耦目标定位与修改执行,在提升准确率的同时降低token消耗。

摘要:

大型语言模型(LLM)的最新进展为自动化文档格式化开辟了新的可能性。然而,现实中的格式化通常需要根据文档内容识别目标。这种内容感知的设置仍然具有挑战性且未被充分探索,主要是由于缺乏专门的评估数据集。为了在现实的内容感知场景中实现评估,我们引入了DocFormBench,这是一个将文本到格式评估扩展到多样化格式化需求的基准,同时提供了准确性和效率的指标。为了减少现有方法在格式化过程中的冗余文档读取,我们提出了DocFormFlow,一种工作流格式化方法,将目标定位与修改执行解耦为“格式化什么”和“如何格式化”。在多个LLM和多模态模型上的大量实验表明,与代表性基线相比,DocFormFlow在减少token消耗的同时持续提高了格式化准确性。进一步的分析表明,精确的目标定位是影响格式化性能的主要因素。我们希望DocFormBench和DocFormFlow能够促进未来朝着更智能、更可靠的文档格式化的研究。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑