Compute Allocation for Reasoning-Intensive Retrieval Agents
Abstract
As agents operate over long horizons, their memory stores grow continuously, making retrieval critical to accessing relevant information. Many agent queries require reasoning-intensive retrieval, where the connection between query and relevant documents is implicit and requires inference to bridge. LLM-augmented pipelines address this through query expansion and candidate re-ranking, but introduce significant inference costs. We study computation allocation in reasoning-intensive retrieval pipelines using the BRIGHT benchmark and Gemini 2.5 model family. We vary model capacity, inference-time thinking, and re-ranking depth across query expansion and re-ranking stages. We find that re-ranking benefits substantially from stronger models (+7.5 NDCG@10) and deeper candidate pools (+21% from =10 to 100), while query expansion shows diminishing returns beyond lightweight models (+1.1 NDCG@10 from weak to strong). Inference-time thinking provides minimal improvement at either stage. These results suggest that compute should be concentrated on re-ranking rather than distributed uniformly across pipeline stages.
Figures & tables
| Model Variant | NDCG@10 | Recall@10 | Cost ($/query) |
|---|---|---|---|
| No Enhancement (BM25 only) | 14.52 | 33.76 | 0.000 |
| Flash-Lite | 28.87 | 57.19 | 0.0018 |
| Flash (No-Think) | 29.63 | 58.56 | 0.0093 |
| Flash (Think) | 30.23 | 57.73 | 0.0141 |
| Pro | 30.01 | 58.01 | 0.0489 |
| Configuration | NDCG@10 | Recall@10 | Cost ($/query) | Latency (s/query) |
|---|---|---|---|---|
| QE (Flash) + RR (Flash-Lite) | 36.54 | 38.76 | 0.021 | 20.25 |
| QE (Flash) + RR (Flash-no-think) | 39.36 | 41.11 | 0.045 | 45.31 |
| QE (Flash) + RR (Flash-Think) | 39.92 | 42.03 | 0.054 | 63.28 |
| QE (Flash) + RR (Pro) | 41.19 | 43.57 | 0.17 | 79.25 |
Inference-Time Compute Allocation
Inference-time compute allocation decides where, when, and how much computation models spend during prediction to improve quality under resource limits.
See all 82 papers