TL;DR
Augmenting Retrieval-Augmented Generation (RAG) pipelines with LLM-generated summaries or synthetic questions significantly boosts retrieval recall, but finding the optimal combination of enrichments and models is a costly combinatorial nightmare. CAMI (Cost-Aware Multi-Indexing) solves this by using an LLM agent to discover dataset-specific enrichments and a multi-fidelity search algorithm to find the best recall-cost balance under a strict budget. It achieves up to a 9.4% recall gain while slashing optimization costs by up to 5x compared to standard baselines.
What Problem Does This Paper Address?
To improve semantic retrieval in RAG systems, engineers frequently use "Enriched Data Representations" (EDRs)—such as synthetic questions, summaries, or paraphrases generated from document chunks—and index them alongside the raw text. This helps bridge the lexical and stylistic gap between what a user asks and how the document is written.
However, this introduces a massive systems bottleneck. The configuration space of enrichment types and generator models is combinatorial. Should you use a summary generated by a cheap 8B model, or synthetic questions generated by an expensive 70B+ model? Stacking multiple EDRs and models together creates thousands of possibilities. Running a brute-force grid search across an entire corpus to find the best setup is financially prohibitive because LLM token costs scale linearly with the size of the corpus.
As shown above in Figure 2, simply adding more representations or upgrading to massive models doesn't guarantee a linear performance gain, but it drastically inflates your token spend.
Methods
CAMI formalizes multi-index construction as a budgeted, multi-objective portfolio selection problem. Instead of evaluating full configurations across the entire dataset, it operates in two distinct phases:
- Agentic EDR Discovery: Rather than relying on a static catalog of generic summaries, an LLM agent analyzes seed query-evidence pairs from the specific dataset to propose custom, corpus-conditioned EDR templates (e.g., extracting temporal facts or procedural steps). These templates are frozen before the search phase to ensure a stable optimization space.
- The AACA Search Algorithm: This phase combines Atomic-unit Acquisition, Closure, and Multi-Objective Asynchronous Successive Halving (MO-ASHA).
Instead of treating portfolios as monolithic points, CAMI breaks them down into atomic units (a single EDR paired with a single model). It evaluates these atoms on small, representative subsets of queries (called fidelities) to minimize token burn.
- Fidelity-Local Closure: Successful atomic units are systematically recombined into multi-index portfolios. Because the underlying atoms have already been generated and cached, evaluating these combined portfolios incurs virtually zero additional LLM generation cost.
- Strictly Gated Promotions: Promising portfolios are promoted to larger query subsets using an uncertainty-aware Upper Confidence Bound (UCB) score, ensuring that optimization dollars are only spent on configurations likely to push the recall-cost Pareto frontier forward.
Datasets
The authors evaluated CAMI across five diverse and challenging retrieval corpora:
- BRIGHT (Earth Science, Economics, Stack Overflow): A benchmark designed for reasoning-intensive retrieval tasks.
- StatCanDialogueRetrieval: A dataset focused on retrieving data tables through natural conversations.
- NQTables: An open-domain question-answering dataset evaluated over markdown tables.
Key Insights and Ideas
- The Power of Atomic Reuse: The core "aha moment" is that multi-index portfolios share overlapping components. By caching and reusing the outputs of individual EDR-model pairs, the system can evaluate complex combinations at a fraction of the cost of traditional black-box optimizers.
- Non-Monotonic Model Scaling: Bigger models do not always yield better retrieval accuracy for every task. A low-cognitive-load EDR (like basic keyword extraction) can be perfectly served by a cheap, small model, freeing up budget to use larger models only where complex synthesis is required.
- Uncertainty Buffering Prevents Starvation: Evaluating configurations on small query subsets introduces statistical noise. Relying purely on mean performance scores can prematurely eliminate good configurations. Incorporating a UCB ranking gives high-potential portfolios the "benefit of the doubt" to survive early pruning rungs.
Key Results
- Significant Recall Gains: CAMI consistently identifies high-recall portfolios, outperforming content-only baselines by up to 9.4% recall@10 on challenging datasets like StatCan.
- High Efficiency (5x Cost Reduction): CAMI achieved a 92% win rate against budget-matched random search baselines.
As demonstrated in Figure 4, CAMI's search trajectory rises sharply, identifying near-optimal configurations on the Pareto frontier while using less than 20% (5x less) of the budget required for an exhaustive grid search.
Limitations and Future Work
- Fidelity Drift: CAMI relies on the assumption that performance on small query subsets ($Q_0$) correlates with full-corpus behavior. If a subset is unrepresentative, the system can waste budget optimizing for the wrong signal.
- Higher-Order Interactions: The current framework assumes that the value of EDRs is largely additive. It may miss complex, non-additive interactions if specific atomic units are pruned too early or not co-evaluated at the same fidelity.
- Future Directions: The authors plan to explore modeling stronger non-additive interactions, designing more predictive early-fidelity subsets, and incorporating downstream deployment objectives like query latency and physical storage footprints into the optimization loop.
Summary updated