SPIRE: Structure-Preserving Interpretable Retrieval of Evidence
arXiv cs.CL / 4/24/2026
💬 OpinionDeveloper Stack & InfrastructureModels & Research
Key Points
- The paper argues that retrieval-augmented generation (RAG) over semi-structured documents like HTML suffers because document structure gets flattened into sequence-based chunks for embeddings and generation.
- It proposes SPIRE, a structure-preserving retrieval pipeline that operates on tree-structured documents and represents retrieval candidates as addressable subdocuments (subselections) defined by structural primitives.
- SPIRE introduces global and local contextualization methods: global adds non-local scaffolding (e.g., titles, headers, list/table structure) and local expands a seed within its structural neighborhood to produce compact, context-rich evidence.
- The method includes an embedding-based candidate generator over sentence-seeded subdocuments and a query-time aggregation step that reuses shared structural context, followed by contextual filtering that re-scores candidates.
- Experiments on HTML question-answering benchmarks show SPIRE produces higher-quality and more diverse citations than strong passage-based baselines under fixed retrieval budgets while remaining scalable.
Related Articles

GPT-5.5 is here. So is DeepSeek V4. And honestly, I am tired of version numbers.
Dev.to

I Built an AI Image Workflow with GPT Image 2.0 (+ Fixing Its Biggest Flaw)
Dev.to
Max-and-Omnis/Nemotron-3-Super-64B-A12B-Math-REAP-GGUF
Reddit r/LocalLLaMA

Building a Visual Infrastructure Layer: How We’re Solving the "Visual Trust Gap" for E-com
Dev.to
Qwen3.6 35B-A3B is quite useful on 780m iGPU (llama.cpp,vulkan)
Reddit r/LocalLLaMA