TL;DR
Reusing old vector indices during a model upgrade doesn't actually save you from re-encoding your corpus—it just changes when you pay the bill. This paper demonstrates that most "adapter" methods fail to outperform the old model they are meant to replace, but introduces a predictable cost model for "window re-ranking" that allows engineers to plan migrations with surgical precision.
What Problem Does This Paper Address?
In the world of dense retrieval, your vector index is a prisoner of your embedding model. If you want to upgrade from an older model (like MiniLM) to a state-of-the-art one (like BGE-M3), the standard "blue-green" approach is brutal: re-encode every single document in your collection, build a new index from scratch, and only then switch the traffic. For collections with hundreds of millions of documents, this costs days of expensive GPU time and doubles your storage requirements during the transition.
Recent research has proposed "shortcuts" to reuse the old index, primarily through adapters (mapping new queries into the old vector space) or window re-ranking (using the old index to find candidates, then re-scoring them with the new model). However, there hasn't been a rigorous analysis of whether these methods actually save work or if they simply sacrifice search quality for a temporary discount.
Methods
The authors evaluate six migration strategies (S0–S5) categorized into two families:
- The Mapping Family (Adapters): Using learned transforms (like Procrustes alignment or MLPs) to make new queries "understandable" by the old index.
- The Window Family (Re-ranking): The old index nominates a "window" of $K'$ candidates. The system then encodes these candidates on-the-fly with the new model and re-ranks them.
The paper’s core contribution is a Cost Model for Windowed Reuse. They prove that the cost of migration (how many documents must be re-encoded) can be predicted using only the old index by constructing a multiplicity histogram. This histogram tracks "hubness"—how many different queries' search windows a specific document appears in.
They also introduce a Migration Planner consisting of three decision rules:
- D1: Is the upgrade even worth the disruption?
- D2: Which strategy family should be used?
- D3: How deep should the re-ranking window ($K'$) be to reach target quality?
Datasets
The study is remarkably comprehensive, testing 16 model pairs across:
- MS MARCO: A passage retrieval dataset (tested at 1M and the full 8.8M scale).
- CodeSearchNet: A corpus of Python functions.
- Natural Questions (NQ): 100,000 Wikipedia passages with 1,000 judged queries.
- Model Variety: They tested across BERT-lineage encoders (MiniLM, BGE, e5) and large language model (LLM) embedders (Qwen3).
Key Insights and Ideas
- The "Bill" is Inevitable: If you intend to eventually retire the old index, you must encode every document with the new model. Reuse strategies don't avoid this work; they just defer it.
- Adapters are Often Worse than Doing Nothing: Most literature evaluates adapters by how close they get to the new model's performance. The authors argue this is the wrong baseline. An adapter is only useful if it beats the old model. In their tests, almost no adapter family cleared this bar significantly.
- The Hubness Advantage: Because high-dimensional vector spaces have "hubs" (documents that appear in many search results), a small number of queries can trigger the re-encoding of a large portion of the "useful" corpus very quickly.
- Predictable Deferral: Using Theorem 1, the authors could predict the re-encoding cost of a workload to within 0.81% accuracy before a single new vector was computed.
Key Results
- Adapter Failure: Across 14 non-control model pairs, adapters served between 0.0192 and 0.7843 Recall@10 below the source model. Only bridges between LLMs of the same family (Qwen3 0.6B to 8B) showed a marginal improvement.
- Window Efficiency: On a typical upgrade (MiniLM to BGE-base), window re-ranking reached near-target quality after re-encoding only ~26% of the corpus, whereas a standard background rebuild would have only processed 3% in the same timeframe.
- Scale Invariance: The cost model held up when scaling from 1 million to 8.8 million documents. While the "quality gap" between models shifted slightly at scale, the "cost of coverage" remained perfectly predictable.
Limitations and Future Work
- Latency Spikes: Window re-ranking requires "inline" encoding (encoding documents while the user waits for a result). While the authors measured this (31–187ms for 50 docs), a system under heavy load might struggle with these latency penalties.
- Quality Input Drift: The authors found that the "quality gap" measured on a small sample doesn't always perfectly predict the gap on the full index. They recommend measuring these inputs on the actual serving index.
- Scope: The study focused on English text and code; the behavior of these strategies on multi-modal data or extremely long documents remains an open question.
For those interested in implementing these findings, the authors have released their code and experimental artifacts at github.com/nnzhaocs/ReuseRAG.
Summary updated