Abstract
Recent advances in agentic workflows have enabled the automation of tasks such as professional document generation. However, they primarily focus on textual quality, neglecting visual structure and style, which are crucial for readability and engagement. This gap arises mainly from the absence of suitable reward models to guide agentic workflows toward producing documents with stronger structural and stylistic quality. To address this, we propose DocReward, a document reward model that evaluates documents based on their structure and style. We construct a multi-domain dataset DocPair of 117K paired documents, covering 32 domains and 267 document types, each including a high- and low-professionalism document with identical content but different structure and style. This enables the model to evaluate professionalism comprehensively, and in a textual-quality-agnostic way. DocReward is trained using the Bradley-Terry loss to score documents, penalizing predictions that contradict the annotated ranking. To assess the performance of reward models, we create a test dataset containing document bundles ranked by well-educated human evaluators. Notably, DocReward outperforms GPT-4o and GPT-5 in accuracy by 30.6 and 19.4 percentage points, respectively, demonstrating its superiority over baselines. In an extrinsic evaluation of document generation, DocReward achieves a significantly higher win rate of 60.8%, compared to GPT-5's 37.7% win rate, demonstrating its utility in guiding generation agents toward producing human-preferred documents.
Abstract (translated)
近期在代理工作流程方面的进展已经实现了诸如专业文档生成之类的任务的自动化。然而,这些系统主要关注文本质量,忽视了视觉结构和风格,而后者对于可读性和吸引力至关重要。这种差距主要是由于缺乏合适的奖励模型来引导代理工作流程以产生具有更强结构和风格质量的文件所致。 为了解决这个问题,我们提出了一种名为DocReward的文档奖励模型,该模型基于文档的结构和风格对其进行评估。为了训练这一模型,我们构建了一个跨多个领域的数据集DocPair,其中包含117,000对配对文档,涵盖了32个领域和267种不同的文档类型。每个配对中都包括一个高质量专业性的文档和一个低质量专业性的文档(内容相同但结构和风格不同),这使得模型能够全面评估文档的专业性,并且不考虑文本质量。 DocReward使用Bradley-Terry损失进行训练,以此来为文档打分并惩罚与标注排名相矛盾的预测。为了评估奖励模型的表现,我们创建了一个测试数据集,其中包含由受过良好教育的人类评价者按等级排列的文档包。值得注意的是,在准确性方面,DocReward比GPT-4o和GPT-5分别高出30.6个百分点和19.4个百分点,这表明它在基准模型中具有明显的优势。 此外,在外部分析评估文档生成的过程中,DocReward取得了显著更高的胜率(60.8%),相比之下GPT-5的胜率为37.7%,展示了其在引导生成代理以产生更符合人类偏好的文档方面的实用性。
URL
https://arxiv.org/abs/2510.11391