This work proposes SHED, a two-stage workflow for inferring a robust and compact structure that improves F-1 scores by 13%--68% over non-LLM baselines and 9%--15% over expensive LLM-based approaches.
Abstract
Large Language Models (LLMs) enable us to better understand text documents, including PDFs and Word documents. However, LLMs, as well as more modern LLM agents, i.e., those with tool-calling abilities, typically treat such documents as plain text, ignoring the fact that they are often organized hierarchically into sections and subsections. Extracting this structure, while difficult, can improve efficiency and effectiveness for agents (and humans)---since only sections relevant to a given task need to be processed. Unfortunately, prior work on structure extraction provides no formal guarantees on how well the inferred structure matches the true one. Instead, we target a robust and compact variant that is feasible to infer and useful in practice. Robustness ensures that the text under each subsection header is a superset of the text under the same header in the true structure. Compactness seeks to minimize this superset, reducing agentic cost (or human cognitive load). We propose SHED, a two-stage workflow for inferring a robust and compact structure. The first stage is pluggable with an infinite family of approaches, each guaranteeing robustness for a specific document class. We theoretically characterize the document space using these classes and their hierarchical relationships. Empirically, SHED improves F-1 scores (measuring the robustness--compactness trade-off) by 13%--68% over non-LLM baselines and 9%--15% over expensive LLM-based approaches. Finally, we show how SHED-inferred structures are valuable for agentic document analysis: agents using SHED outperform baselines, achieving 3%--23% higher accuracy while being up to 10x cheaper.
Interpretability for AI agents should not be confined to understanding the model's internal weights. It must also cover the agent's reasoning and decision-making process over multi-source context. We present LMLineage, an out-of-band system that attributes every output sentence of an agent session to its supporting inp...
Wei Hou, Jing-Xin Geng, Xin Chen et al.· 0 citations
Large language models (LLMs) are increasingly being deployed for institutional document synthesis and other reasoning-adjacent tasks. However, hallucinated content becomes an institutional risk when it is incorporated into briefs, policies, or reports. We present a local-first, corpus-restricted retrieval-augmented gen...
Imane Bahji, M. Martínez-Ramón, Ramiro Jordan· Encuentro Internacional de E...· 0 citations
Retrieval-Augmented Generation (RAG) powered by Large Language Models (LLMs) has become a prominent paradigm for knowledge-intensive natural language processing, substantially improving the factual accuracy of query-focused summarisation. However, deploying these architectures on resource-constrained edge devices remai...
Shanta Majumder, Suprove Chandra Sarkar· Research Square· 0 citations
We describe TARL (Terminology-Aware Agentic Repair Loop), our submission to the WMT26 Terminology Translation Task, which targets document-level, terminology-constrained translation for morphologically rich and lower-resource directions (Spanish → Basque, English → Polish) and Traditional Chinese → English. Our system...
Shivam Mhaskar, V. N. Sukhadia, Anurag Deshmukh et al.· Proceedings of the Eleventh...· 0 citations
Enterprise workflow automation typically requires retrieving a complete and accurate set of relevant information from large operational document corpora (SOPs, policy documents) given a specific scenario or request. In customer support (CS), for example, human specialists must determine the correct sequence of resoluti...
Istok Bako, Bo-Nan Min, Qi-Hong Shao et al.· Proceedings of the 2026 Conf...· 0 citations