通过非结构化数据的自适应结构化实现令牌高效的数据推理代理
研究论文 · 2026/09/03
企业AI代理在处理非结构化数据时成本高昂,每次查询需反复打开大型文档,消耗大量token。若数据预先结构化,查询成本可大幅降低,但预先结构化所有数据不可行,因为文档包含远超工作负载所需的结构,且有用的结构在查询前未知。本文提出代理式数据破解(agentic data cracking),一种自适应、推测性地在推理过程中结构化非结构化数据的方法。当代理打开文档回答问题时,破解子代理从已加载的上下文中分叉,以边际成本提取可能服务于未来相关查询的接地结构。随着时间推移,越来越多的查询完全由结构化数据覆盖,无需打开文档即可回答,从而在保持准确性的同时降低成本。在FanOutQA基准上,仅扩展一个相关问题,破解方法将成本降低53%且保持准确性。代理式数据破解是迈向下一代数据基础设施的第一步,该基础设施支持对非结构化数据的代理推理,作为模型下方的共享基底,累积推理已付费获取的知识。
本文针对企业AI代理处理非结构化数据的高成本问题,提出了一种创新的自适应数据结构化方法,通过推理过程中的边际成本提取结构,显著降低成本并保持准确性。该方法为下一代数据基础设施提供了新思路,具有重要的理论和实践价值。
Valuable data remains embedded in unstructured sources: web pages, reports, contracts, filings, earnings calls, and PDFs. The big bet in enterprise AI is deploying LLM agents that reason over this data to answer complex questions for every knowledge worker. Agents can do this today, but at prohibitive cost. Each question repeatedly opens large documents to recover scattered evidence, consuming up to a million tokens. However, if the data were already structured, the same question would reduce to a cheap database lookup. For example, on FanOutQA benchmark, reasoning over an ideal pre-structured store is 28X cheaper, and the gap grows to orders of magnitude as questions fan out over more documents. Yet structuring everything in advance is not viable: documents hold vastly more possible structure than any workload will use, and the useful structure and documents are unknown until queries arrive. We propose agentic data cracking, a method that structures unstructured data adaptively and speculatively as a byproduct of reasoning itself. Structuring is adaptive because observed queries decide when it happens and what matters, and speculative because it goes beyond the current question. Whenever the agent opens a document to answer, a cracking sub-agent forks from the already-loaded context at marginal cost and extracts grounded structure likely to serve related future queries. Over time, an increasing share of queries is fully covered by structured data and answered without opening a document, keeping agentic accuracy at close to RAG cost. On FanOutQA, extended with merely one related question per test question, cracking cuts cost by 53% while preserving accuracy. Agentic data cracking is a first step toward next-generation data infrastructure for agentic reasoning over unstructured data: a shared substrate beneath the model where knowledge that reasoning already paid to uncover accumulates.