TL;DR
LATTICE replaces traditional retrieve-then-rerank pipelines by turning an LLM into an active search agent that navigates a pre-structured semantic hierarchy of documents in logarithmic time. By introducing a score calibration mechanism and path-relevance smoothing, the framework overcomes the noisy, context-dependent nature of LLM judgments. It achieves state-of-the-art zero-shot retrieval performance on the reasoning-heavy BRIGHT benchmark without task-specific training.
What Problem Does This Paper Address?
Standard Information Retrieval (IR) relies on keyword matching or dense embedding similarity. While effective for simple factoid lookups, these methods struggle with reasoning-intensive queries—such as debugging code or identifying the mathematical theorem needed to solve an equation.
Modern attempts to bring Large Language Models (LLMs) into IR suffer from key architectural trade-offs:
- Retrieve-then-Rerank: If the initial, shallow retriever (e.g., BM25 or vector search) fails to fetch the ground-truth document, the downstream LLM reranker can never recover it.
- Long-Context Retrieval: Feeding entire corpora directly into an LLM's context window quickly becomes computationally infeasible due to quadratic attention costs.
- Parametric Generative Retrieval: Storing the corpus directly inside model weights makes indexing slow and updating dynamic documents difficult.
The authors ask: Can an LLM actively navigate a massive document collection directly, reasoning through candidate paths while maintaining sub-linear (logarithmic) search complexity?
Methods
LATTICE (LArge language model guided Tree Traversal with Iterative Calibrated-score Estimation) operates in two distinct phases:
[Offline Phase] Corpus -> Semantic Tree (Internal summaries via LLM)
│
[Online Phase] Query -> Best-First Beam Traversal -> Score Calibration (MLE) -> Ranked Documents
- Offline Semantic Tree Construction: Documents are organized as leaf nodes in a tree where each internal node contains an LLM-generated summary of its children. The authors explore two strategies:
- Bottom-Up Agglomerative: Documents are clustered via Gecko embeddings and spectral clustering, then recursively summarized up to the root.
- Top-Down Divisive: The LLM generates multi-level summaries of different lengths (1–2 words, 3–4 words, up to full sentences) for each document, then recursively partitions the corpus into conceptual topic clusters.
- Online Tree Traversal: A "Search LLM" (Gemini-2.5-flash) performs a greedy, best-first beam search ($B=2$, $N=20$ iterations) down the tree.
-
Cross-Branch Calibration and Latent Score Estimation: Because LLM listwise evaluations are context-dependent and uncalibrated across separate branches, LATTICE augments evaluation slates with $\ell$ anchor leaves sampled from previously visited candidates. It then fits a linear model across all observed scores via Maximum Likelihood Estimation (MSE minimization): $$\text{Observed Score } s_v^i \approx a \cdot \hat{s}_v + b^i$$ where $\hat{s}_v$ is the latent relevance score, $a$ is a global scale, and $b^i$ is a per-slate bias.
-
Path Relevance Momentum: Traversal decisions are guided by an exponential moving average along the path from the root: $$\hat{p}_{\text{rel}}(v) = \alpha \cdot \hat{p}_{\text{rel}}(\text{parent}(v)) + (1 - \alpha) \cdot \hat{s}_v$$
Datasets
The authors evaluate on the BRIGHT benchmark, designed specifically for complex reasoning-intensive retrieval across 12 diverse sub-domains:
- StackExchange: Biology, Earth Science, Economics, Psychology, Robotics, Stack Overflow, and Sustainable Living (corpus sizes: ~50K to 121K passages).
- Coding: LeetCode (~414K corpus) and Pony (~8K corpus).
- Mathematics: AoPS (~188K), TheoremQA-Questions (~188K), and TheoremQA-Theorems (~24K).
Key Insights and Ideas
- Decomposition Beats Monolithic Reranking: Adding a standard 100-document LLM reranker to the top outputs of LATTICE actually decreased performance (nDCG@10 dropped from 51.57 to 48.54). Decomposing retrieval into a sequence of small, high-fidelity local decisions yields better global ranking than asking an LLM to rank a single flat list.
- Calibration Anchors Are Crucial: Without cross-branch calibration ($\ell=0$), the traversal collapses because the model cannot reliably compare scores across different levels or branches (nDCG@10 drops from 64.4 to 40.7 on Biology).
- Corpus Structure Dictates Indexing Strategy: When documents are segmented passages originating from unified sources (e.g., Biology), the bottom-up approach outperforms top-down by over 9 nDCG points. Conversely, for distinct, topic-diverse documents (e.g., TheoremQA-T), top-down clustering yields an ~12-point gain by discovering broad conceptual latent themes.
- Depth Trumps Breadth: Under a matched computational budget ($B \times N$), smaller beams with deeper iterations ($B=1, N=40$ or $B=2, N=20$) clearly outperform wider, shallower searches ($B=8, N=5$).
Key Results
- Zero-Shot Ranking: On static StackExchange tasks, zero-shot LATTICE achieves 51.6 nDCG@10, outperforming an apples-to-apples BM25 + Gemini-2.5-flash reranking baseline (47.4) and matching the heavily fine-tuned state-of-the-art DIVER-v2 (52.2).
- Retrieval Comprehensiveness: Achieves an average Recall@100 of 74.8% on StackExchange, outperforming BM25 (65.3%) and ReasonIR-8B (70.8%).
- Computational Efficiency: On the Robotics subset, LATTICE achieves higher nDCG@10 with fewer total tokens than flat LLM reranking baselines, showing better token-budget scaling.
Limitations and Future Work
- Dynamic Corpora Vulnerability: On benchmarks with query-dependent document filtering (e.g., LeetCode, AoPS), leaf pruning leaves pre-computed internal summaries "stale" and misleading, which degraded LATTICE’s performance relative to flat baselines.
- Offline Indexing Cost: Building the tree requires extensive clustering and multi-level LLM summarization, which remains computationally heavy for massive corpora.
- Fixed Traversal Policy: The current best-first heuristic could be upgraded by framing tree traversal as a Reinforcement Learning (RL) problem where the agent learns navigation policies directly.
Summary updated