Candidate-Routed LLM Control with Deterministic Reconstruction for Faithful Document Hierarchy Parsing
Purpose.: The section hierarchy of born-digital documents underpins retrieval and question answering. Large language models (LLMs) can judge which lines are headings, but when they regenerate a document they may drop, paraphrase or invent content. We ask how much of an LLM's structural benefit survives when it may never transport content. Methods.: Constellation separates a control plane from a data plane. Deterministic providers turn DOCX/PDF files into ordered blocks with typed evidence. The LLM reads a sparse, candidate-centred view and returns heading anchors, which a document-wide constrained decoder fuses with deterministic proposals and with the model's silence on candidates it was shown. Closure assigns the original blocks to disjoint sections. Results.: On \TestDocs{} Comp-HRDoc test documents with the PDF outline hidden, the LLM reader raises F1 from \DetNoF{} to \FullNoF{} and tree-edit-distance similarity (TEDS) from \DetNoTEDS{} to \FullNoTEDS{} over the deterministic core; without the silence channel the gain largely disappears. On a \GenDocs-document sample, its F1 is not significantly different from LLM rewriting, with \GenOutRatio{}$\times$ fewer output tokens, and it preserves \GsFullNoPresPct{} of the source words versus \GenPresPct. Docling detects headings more accurately (F1 \DoclingF) and, re-levelled by its numbering, reaches a TEDS not significantly different from the full system's. In a post-hoc variant, Docling's detections and silences decoded as evidence raise Constellation to \FullLayF{} F1 and \FullLayTEDS{} TEDS. Conclusion.: An LLM can act as an observer whose votes and silences are decoded with deterministic evidence, retaining much of its structural benefit with content ownership guaranteed.
Authors
- Xi Yan (ORCID: https://orcid.org/0000-0002-3031-6319)
Publication Details
- Journal
- Research Square
- Published
- 2026-11-27
- DOI
- https://doi.org/10.21203/rs.3.rs-11372414/v1
- Primary Topic
- Topic Modeling
- Type
- preprint