PRIME: Pre-Retrieval Index Modeling Enhancement for Structured Document Retrieval-Real
Organizations: The Hong Kong University of Science and Technology (Guangzhou)
Abstract
High-precision retrieval over external knowledge bases is essential for LLM agents to operate effectively. However, existing Information Retrieval (IR) research primarily optimizes query-side retrievers (e.g., ColBERT, BGE) and generators (e.g., Self-RAG, GraphRAG), while reducing corpus-side representation to chunking. This leaves index-side quality an underexplored lever. We propose Pre-Retrieval Index Modeling & Enhancement (PRIME), an index-side optimization framework built on two complementary tracks: an LLM-driven Semantic Restructuring (SR) track that transforms long documents into structured, information-dense sections, and a deterministic Metadata Synthesis (MS) and Hierarchical Retrieval (HR) track that extracts semantic anchors and heading structure for coarse-to-fine section retrieval. Our evaluations show that deterministic metadata matches structure-aware chunking's retrieval quality while cutting embedding computation by 45.8 and index vector count by 22.4 . On top of these gains, Semantic Restructuring (SR) further improves Answer-F1 by 13.7% in full deployment, with characterized quality-fidelity-cost trade-offs. Across QASPER, BRIGHT, and NFCorpus, we further characterize three qualitative regimes that determine whether index-side optimization helps or degrades retrieval, while showing that these index-side effects are neutralized under a strong reranker.
Figures & tables
| Method | NDCG5 | NDCG10 | Recall5 | Precision5 | P1 | MRR |
|---|---|---|---|---|---|---|
| Raw (chunk-256) | 0.391 | 0.405 | 0.462 | 0.092 | 0.306 | 0.373 |
| BGE-M3 (1024-dim) | 0.389 | 0.398 | 0.453 | 0.091 | 0.306 | 0.371 |
| Summary-Augmented | 0.398 | 0.411 | 0.471 | 0.094 | 0.309 | 0.379 |
| RAPTOR-lite | 0.391 | 0.408 | 0.461 | 0.092 | 0.307 | 0.375 |
| PRIME (offline) (ours) | 0. 396 | 0.409 | 0.469 | 0.094 | 0.309 | 0.377 |
| Structure-chunks | 0.396 | 0.411 | 0.466 | 0.093 | 0.310 | 0.379 |
| Index Representation | Dense-only | Hybrid (BM25+Vec+RRF) | Hybrid+CE |
|---|---|---|---|
| Raw (chunk-256) | 0.175 [.164,.186] | 0.311 [.296,.327] | 0.391 [.370,.412] |
| Structure-chunks | 0.201 [.187,.216] | 0.338 [.321,.354] | 0.396 [.375,.416] |
| PRIME (offline) | 0.201 [.186,.217] | 0.332 [.315,.349] | 0.396 [.375,.416] |
| SR (full-text) | 0.208 [.196,.221] | 0.245 [.232,.258] | 0.328 [.309,.347] |
| PRIME (Full) | 0.214 [.199,.229] | 0.241 [.227,.256] | 0.325 [.307,.345] |
| Tasks | BGE-small (baseline) | PRIME (offline) | NDCG@5 | 95% CI ( ) | ||||
|---|---|---|---|---|---|---|---|---|
| NDCG@5 | P@5 | R@5 | NDCG@5 | P@5 | R@5 | |||
| Pony | 0.067 | 0.073 | 0.048 | 0.185 | 0.154 | 0.126 | ||
| Biology | 0.379 | 0.128 | 0.491 | 0.464 | 0.155 | 0.598 | ||
| Stackoverflow | 0.234 | 0.075 | 0.359 | 0.272 | 0.079 | 0.363 | ||
| Robotics | 0.181 | 0.052 | 0.253 | 0.200 | 0.059 | 0.282 | ||
| Economics | 0.247 | 0.070 | 0.333 | 0.258 | 0.074 | 0.354 | ||
| Method | NDCG@5 | P@5 | R@5 | MRR |
|---|---|---|---|---|
| BM25 | 0.350 | 0.295 | 0.119 | 0.530 |
| BGE-small | 0.374 | 0.324 | 0.121 | 0.538 |
| BGE-base | 0.387 | 0.336 | 0.126 | 0.561 |
| PRIME | 0.301 | 0.264 | 0.084 | 0.460 |
| PRIME (FT) | 0.366 | 0.316 | 0.118 | 0.540 |
| -19.5% | -18.5% | -30.6% | -14.5% |
| Raw | SR | % | |
| Panel A: Corpus-level density (416 docs) | |||
| Stopword ratio | 0.365 | 0.233 | -36.3% |
| Mean IDF | 1.947 | 2.331 | +19.7% |
| Tech term density (per 100 toks) | 46.3 | 53.8 | +16.1% |
| Semantic density (composite) | 3.42 | 7.76 | +127.3% |
| Panel B: Section-level evidence retrieval (CE reranker) | |||
| Metrics | Value |
|---|---|
| Panel A: Evidence retention (2,231 gold spans, 373 docs) | |
| Overall span retention | 63.2% |
| Median per-document retention | 66.7% (p25: 44.4%, p75: 100%) |
| Perfect retention (100% of spans) | 26.8% of docs |
| High retention (80–99%) | 35.1% of docs |
| Low retention (<50%) | 25.7% of docs |
Information Retrieval
Information Retrieval studies how to find, rank, and organize relevant information in large collections of data.
See all 474 papers