Token-Efficient Data Reasoning Agents via Adaptive Structuring of Unstructured Data
Milad Rezaei Hajidehi, Qitong Wang, Stratos Idreos
Harvard University
Published August 31, 2026 · on the feed September 2, 2026 · ▲ 4 · arXiv 2608.31082
The abstract
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.
The Brief
3:08A short podcast summary of the paper. Written and voiced by AI.
Transcript
Token-Efficient Data Reasoning Agents via Adaptive Structuring of Unstructured Data. By Milad Rezaei Hajidehi and two others, from Harvard University. Published on the thirty-first of August. No code repository is linked to it.
A great deal of valuable data still lives in unstructured sources: web pages, reports, contracts, filings, earnings calls and PDFs. The big bet in enterprise AI, as the authors frame it, is deploying LLM agents that reason over this data to answer complex questions for every knowledge worker. Agents can do that today. What stops them is cost. Each question sends the agent back into large documents to recover scattered evidence, and a single question can consume up to a million tokens.
Structure would change the arithmetic. If the data were already structured, the same question would reduce to a cheap database lookup. On the FanOutQA benchmark, reasoning over an ideal pre-structured store is twenty-eight times 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 ever use, and which structure is useful, in which documents, stays unknown until the queries arrive.
The proposal is agentic data cracking: structuring unstructured data adaptively and speculatively, as a byproduct of reasoning itself. Adaptive, because the queries actually observed decide when structuring happens and what matters. Speculative, because it goes beyond the question currently being asked. The structuring is not a separate job run ahead of time. It rides along on the reasoning the agent was going to do anyway.
The mechanism attaches to a moment that already happens. Whenever the agent opens a document to answer, a cracking sub-agent forks from the context that is already loaded, which is why it costs only a marginal amount. That sub-agent extracts grounded structure likely to serve related future queries. Over time, an increasing share of queries is fully covered by structured data and can be answered without opening a document at all.
Notice what that does to the trade-off the problem set up. Structuring everything ahead of time was ruled out because nobody knows which structure will matter. Cracking never has to know in advance. It structures only documents that a real query has already caused the agent to open, and it extracts what is likely to serve related queries, so the store fills in along the lines the workload is actually taking. The aim is to keep agentic accuracy while bringing the cost close to that of RAG, the cheaper retrieval approach.
The test extends FanOutQA with merely one related question per test question, which is a small amount of the repetition that cracking is built to exploit. Even under that setting, cracking cuts cost by fifty-three percent while preserving accuracy. The problem was framed as a choice between agentic accuracy and a much cheaper bill. Here the bill falls by roughly half and the accuracy does not fall with it.
The authors present this as a first step toward next-generation data infrastructure for agentic reasoning over unstructured data. What they picture is a shared substrate beneath the model, where knowledge that reasoning has already paid to uncover accumulates rather than being spent once. The effort of reading a document is paid a single time, and the structure that reading produced stays behind for whoever asks next.
Paper Quest · 7 chapters · about 40 min
Play this paper
Learn it by doing: make the calls the authors made, guess the result before you see it, and defend it in a viva graded on your own words. Chapter 1 is right here.
Chapter 1 🧩 · The problem
Every quest starts with a wall. Here it is a token bill that reaches a million per question.
You run LLM agents that answer hard questions over web pages, reports and filings. They answer well, but each question reopens large documents to dig out scattered evidence.
The road ahead
- 1 · The problem ~6 min Agents answer hard questions over documents well, but rereading large documents for every question makes each answer very expensive.
- 2 · What came before ~3 min
- 3 · The key idea ~9 min Whenever the agent opens a document to answer, a forked sub-agent cheaply extracts facts that later related questions can reuse without reopening it.
- 4 · Choose your own research ~3 min
- 5 · Build the method ~8 min Open a document to answer, fork a sub-agent from that loaded context, extract grounded structure, and let later queries read it instead of documents.
- 6 · The experiment ~6 min You’ll guess: On FanOutQA extended with one related question per test question, how much did cracking cut cost while keeping accuracy?
- 7 · The viva ~5 min Three questions from the examiners, answered in your own words. Win it for the paper’s trophy.
Free, with Google or an email address. Your stars and progress are kept.