What the Author Wrote, What the Agent Reads: Silent Cue Loss in Enterprise Document Ingestion

NLP RAG Multimodal Intelligence VRDU Agent Agent Eval Benchmarks
2026年10月21日
企业级智能体(Enterprise agents)以文档为操作对象。在智能体执行策略、回答合规性问题或提交工单之前,必须先通过某一层“文档摄取”(ingestion)组件,将 Word 文件或 PDF 文档转化为可供处理的文本标记(tokens);而正是这一摄取层,在真实业务场景中悄然导致智能体丢失关键信息。我们发现,所有主流文档转换工具均缺失同一关键信息层:作者通过文本格式(如加粗、颜色、高亮等)所隐含传达的语义意图;而这种缺失并非使智能体输出“明显不完整”,而是使其“自信地出错”。我们基于 76 份真实的企业政策文档构建了一项评估任务:要求模型准确识别并还原作者在原文中特别标示出的合规性要求,并以文档自身嵌入的 OOXML 属性为黄金标准,由确定性匹配器(deterministic matcher)进行评分——整个过程无需大语言模型(LLM)作为评判者。当摄取环节完全忽略格式信息时,微平均 F1 分数骤然从 0.690(使用保留格式的 Docling 工具)暴跌至 0.150(Docling 默认纯文本模式)和 0.075(通用纯文本解析),这一性能断崖式下降现象在来自两家厂商的六种不同问答模型上均稳定复现——包括五款 Claude 模型(覆盖 Opus、Sonnet 和 Haiku 三个能力层级),以及 OpenAI 的 GPT-5.6。无法感知格式线索的智能体会被迫猜测,而 Docling 在“作者未标记但模型误判为要求”的情形下,其假阳性率(false-positive rate)高达我们方法的四倍。通过逐词段(span-level)留一法(leave-one-out)归因分析,我们精准定位了造成性能损失的两大核心格式线索:高亮(+0.302)与颜色(+0.262),二者经 Holm 多重检验校正后 p 值均小于 1e-4;相比之下,加粗、斜体、等宽字体及删除线的影响则微乎其微,效应值均落在 ±0.003 范围内。同样的不对称效应亦存在于 PDF 文档解析中。值得注意的是,“颜色”这一线索不仅被所有主流转换工具系统性忽略,而且尚未被任何现有文档解析基准测试所纳入评估;然而它在实际政策文档中极为普遍:在总计 6,460 份文档样本中,32.8% 明确使用了有意设计的颜色或高亮标记,其中 10.3% 将其用于标示义务性条款(obligation)。一项预先注册(pre-registered)的对照实验进一步表明,若人工显式地为智能体输入该格式线索(例如在提示中注明“此处为黄色高亮”),其性能提升(+0.085)显著高于仅被动保留原始格式本身(Holm 校正后 p = 0.049)。我们还通过独立模态(即对文档渲染后的页面图像进行人工标注)验证了标注质量,计算得 Cohen’s kappa 系数为 0.72;同时,我们界定了仅依赖纯文本表述所能达到的理论上限——其 AUC 仅为 0.664。对智能体构建者而言,本研究最切实的启示在于:决定系统可靠性的关键环节并非后续的推理能力,而恰恰是前端的文档摄取阶段;且该问题的解决方案成本低廉、效果可量化、改进路径清晰明确。
Enterprise agents act on documents. Before an agent can follow a policy, answer a compliance question or file a ticket, some ingestion layer must turn a Word file or PDF into tokens - and that layer is where an agent deployed in the wild silently loses information. We show that one layer is lost by every mainstream converter - the meaning an author encodes in how text looks - and that the loss makes agents confidently wrong rather than visibly incomplete. We build a task from 76 real policy documents: recover the requirements the author singled out, scored against the file's own OOXML properties by a deterministic matcher with no LLM judge. Formatting-blind ingestion collapses from micro F1 0.690 to 0.150 (docling) and 0.075 (plain text), a gap that replicates across six answering models from two vendors - five Claude models spanning the Opus, Sonnet and Haiku tiers, and OpenAI's GPT-5.6. An agent that cannot see the cue guesses, and docling's false-positive rate on requirements the author did not flag is four times ours. A span-level leave-one-out localises the loss to two cues - highlight (+0.302) and colour (+0.262), both Holm-adjusted p < 1e-4 - while bold, italic, monospace and strikethrough each sit within +/-0.003 of zero. The same asymmetry appears in PDF. Colour is also the cue no mainstream converter preserves and no parsing benchmark scores, and it is common: 32.8% of 6,460 documents carry a deliberate colour or highlight, 10.3% on an obligation. A pre-registered test shows that typing a cue for the agent adds +0.085 beyond merely preserving it (Holm-adjusted p = 0.049). We validate the labels against rendered page images through an independent modality (kappa = 0.72) and bound what wording alone can achieve (AUC 0.664). For agent builders the practical finding is that ingestion, not reasoning, is where this reliability is won or lost, and that the fix is cheap and measurable.
许愿