arXiv:2610.10170cs.IROct 2026

Manuscript Offprint

arXiv:2610.10170

Does Document Structure Help Dense Retrieval? A Placebo-Controlled Ablation of Four Mechanisms Across Two Corpora

Andrey Kuehlkamp, Priscila Correa Saboia Moreira, Samuel Rund

Abstract

Retrieval-augmented generation systems increasingly rely on document-structure treatments: structure-aligned chunking, LLM-generated chunk contexts, heading-path metadata, and hierarchical two-stage retrieval. Separate studies support each on different corpora, embedders, and metrics, and none control for a shared confound: any text prepended to a chunk perturbs its embedding.

We present a mechanism-isolating ablation testing all four treatments under one protocol, matching chunk sizes across conditions and adding a semantically null placebo—heading paths that are structurally valid but shuffled across documents. We score retrieval with a coverage-aware nDCG and test four pre-registered contrasts via document-clustered bootstrap with Holm correction, on two distant corpora: 200 Wikipedia Featured Articles (951 queries) and 1,585 QASPER papers (4,303 questions).

Organization helps, and the cause is content, not tokens: structure-aligned chunks with real heading paths beat contextualized fixed windows (+0.022 / +0.012 cov-nDCG@10) and the placebo (+0.010 / +0.016). Naive two-stage hierarchical retrieval hurts (-0.033 / -0.015), traceable to first-stage section recall. Gold structure beats LLM-induced structure on Wikipedia but not on QASPER. Effects are small (dz 0.06-0.11) but Holm-significant and consistent across corpora.

1 Introduction

Emerging systems that put large language models to work on the scientific literature begin by turning a flat PDF into a structured object — a hierarchy of sections and passages — before any downstream reading, extraction, or search. Alexandria (Moreira et al., 2026), for instance, decomposes each paper into pages, sections, and machine-readable markdown as a first step toward a provenance-linked, queryable record of its findings. Inducing that structure is not free, and it encodes an implicit bet: that document structure pays off downstream. For retrieval — the component that determines which passages such a system ever surfaces — that bet is largely untested. Does an induced hierarchy actually help retrieval, and if so, which mechanism carries the benefit?

Dense retrieval over chunked documents is the core component of most retrieval-augmented generation (RAG) systems. A growing literature argues that document structure — the boundaries, headings, and hierarchy an author placed — should inform how systems chunk, embed, and search documents. Four families of structure-derived treatments each claim retrieval gains. (i) Structure-aligned chunking cuts at discourse boundaries instead of fixed token windows (Qu et al., 2025; Shaukat et al., 2026). (ii) Chunk contextualization prepends an LLM-written blurb that situates each chunk in its document (Anthropic, 2024). Late chunking and contextual embeddings are architectural variants (Günther et al., 2024; Morris and Rush, 2025). (iii) Structure-metadata injection prepends the chunk's native heading path. (iv) Hierarchical retrieval routes queries to sections or tree nodes before it ranks chunks (Sarthi et al., 2024; Liu et al., 2021). Two problems keep these claims from being actionable. This paper attacks both at once.

The mechanism problem. The four treatments appear in separate papers, on different corpora, with different embedders and metrics. As a result, the field cannot say which mechanism carries the benefit. Worse, published results disagree in sign. Semantic-chunking gains fail to replicate across tasks (Qu et al., 2025). Contextualization helps in-corpus retrieval but hurts in-document retrieval (Zhou et al., 2026). Naive late chunking loses 21 nDCG points on an extractive benchmark (Conti et al., 2025). Flat retrieval matches or beats multi-stage retrieval in some studies (Laitenberger et al., 2025; Shah et al., 2026), while two-stage retrieval reports +12% top-1 elsewhere (Liu et al., 2021). A practitioner cannot tell whether to cut differently, prepend text, or restructure retrieval. The practitioner also cannot tell whether the reported gains are artifacts of corpus and embedder choice (Bhat et al., 2025).

The measurement problem. The treatments themselves confound the measurement. Any prefix — a situating context, a heading path — changes the chunk's embedding. A gain over a bare baseline therefore never separates organizational content from generic token injection. No prior study we could verify runs a semantically null control. Structure-aligned chunks also differ from fixed windows in size distribution, which confounds boundary placement with chunk length (Bhat et al., 2025). Evidence for one query frequently spans multiple chunks, and binary relevance metrics score that incoherently. Also, the headline method in the contextualization family rests on a vendor self-benchmark, not on peer-reviewed measurement (Anthropic, 2024).

We contribute a single controlled instrument that addresses both problems: an 11-condition ablation. The construction isolates every mechanism, and the design closes every confound we identified. We size-match the fixed-window baselines per document to the structure-aligned conditions. A placebo arm prepends heading paths that are structurally valid but shuffled across documents. The placebo has the same token count and format but null content, so we measure the token-injection confound instead of assuming it away. The primary metric, coverage-nDCG@10, extends nDCG with novelty-aware partial credit over multi-span evidence, in the lineage of α\alpha-nDCG (Clarke et al., 2008). We pre-registered four contrasts on one fixed cell (primary metric, strong embedder, no reranker). We test them with a document-clustered bootstrap under Holm correction. The full grid runs on two deliberately distant corpora: 200 Wikipedia Featured Articles with 951 leakage-filtered synthetic queries, and 1,585 QASPER papers with 4,303 native reader questions. Every mechanism claim therefore carries an explicit cross-corpus replication status instead of resting on a single measurement. All LLM stages (structure induction, contextualization, query generation) ran on a local Gemma-4-26B model. The measured half of the pipeline is fully deterministic.

The findings, with their cross-corpus status:

  1. Organization helps dense retrieval — small but real, on both corpora. Structure-aligned chunks with heading-path prefixes beat contextualized fixed windows by +0.022 cov-nDCG@10 on Wikipedia-FA and +0.012 on QASPER. Both gains are Holm-significant. The dominant share of the gain comes from where the text is cut, not from what is prepended. On both corpora, the move from fixed windows to bare structure-aligned chunks (A0→A2) is worth two to four times the marginal heading-path step (A2→A3).

  2. The benefit is organizational content, not token injection. Real heading paths beat the placebo on both corpora (+0.010 Wikipedia-FA, +0.016 QASPER — the largest QASPER contrast). Shuffled paths buy nothing over no prefix at all, or actively hurt. To our knowledge, this is the first placebo-controlled measurement of structure-metadata injection.

  3. LLM chunk contextualization underperforms a simple cut at structure. Contextualized fixed windows (the Anthropic-style arm) rank below bare structure-aligned chunks on both corpora. Under realistic token budgets, where prefix tokens count against the context window, the prepended contexts are strictly harmful.

  4. Naive two-stage hierarchical retrieval hurts. Routing to sections before chunk ranking loses to flat search over the identical index on both corpora (-0.033, -0.015). Both losses are Holm-significant, and this is the only contrast the conservative secondary model also flags on Wikipedia-FA. The failure is diagnosable. First-stage section recall is 0.60-0.68 on the 200-document corpus and collapses to 0.17–0.20 on the 1,508-document corpus. On QASPER, a cross-encoder reranker recovers nearly all of the loss (-0.015 → -0.004).

  5. The value of gold structure is corpus-dependent. Gold heading trees beat LLM-induced trees on Wikipedia-FA (+0.013, Holm-significant) but not on QASPER (+0.001, null). On QASPER, induced structure is statistically as good as gold. We report both readings: the gold advantage does not generalize, and a 26B model's induced structure loses nothing measurable on scientific papers.

The methodological contribution is inseparable from these results. Without the size control, finding (1) would be confounded. Without the placebo, finding (2) would be unmeasurable. Without cross-corpus replication, we would have reported the gold-structure advantage in finding (5) as general, and it is not. We offer the design as a template for mechanism claims in retrieval research. The study itself is evidence that the template changes conclusions.