[SIGIR 2025] Differentiable Geometric Indexing: Breaking the Bottlenecks of Generative Retrieval
Differentiable Geometric Indexing for End-to-End Generative Retrieval
The paper introduces Differentiable Geometric Indexing (DGI), an end-to-end Generative Retrieval (GR) framework that unifies indexing and search. It achieves SOTA performance on large-scale datasets (e.g., AOL4PS, AE-PV) and a +1.27% CTR lift in online e-commerce production by resolving optimization and geometric bottlenecks.
TL;DR
Generative Retrieval (GR) is the "holy grail" of search, aiming to replace complex multi-stage pipelines with a single model that generates item IDs like a language model. However, traditional GR is plagued by broken gradients and popularity bias. Differentiable Geometric Indexing (DGI) fixes this by creating a fully differentiable flow and enforcing spherical geometry, leading to massive gains in industrial long-tail retrieval (e.g., +4.3x HitRate improvement).
The "Broken Link" in Modern Search
Most search engines are "Retrieve-then-Rank." You build a static index, freeze it, and then train a model to find things in it. This creates a fundamental Optimization Blockage: the indexer doesn't know what the retriever needs, and the retriever can't update the indexer because discrete IDs (1, 2, 3...) have no gradients.
Furthermore, standard models love "popular" items. In a dot-product space, frequent items grow their vector norms (length) to maximize scores, physically "blocking" smaller long-tail items from being seen. This is the Geometric Conflict.
Methodology: The Two Pillars of DGI
DGI re-engineers the retrieval process using two core insights:
1. Operational Unification (The Differentiable Bridge)
Instead of hard-coding item IDs, DGI uses Soft Teacher Forcing with Gumbel-Softmax. This allows the model to "peek" at a soft version of the index during training, letting gradients flow all the way back from the final search result to the initial item encoder.
They also introduce Symmetric Weight Sharing. The weights the model uses to "predict" an ID are mathematically identical to the "embeddings" of the index itself. This forces the index and the search model to live in the exact same semantic world.

2. Isotropic Geometric Optimization (Killing the Hubs)
DGI moves the entire search operation to a Unit Hypersphere. By replacing the Dot Product with Scaled Cosine Similarity, the model can no longer "cheat" by making popular item vectors longer. Every item—regardless of how often it's clicked—has a vector of length 1.0.
The authors prove this is equivalent to Riemannian Stochastic Gradient Descent, where updates only change the angle (meaning/relevance) and never the magnitude (popularity).
Experiments: Dominating the Long-Tail
DGI was tested on large-scale web logs (AOL) and e-commerce data (AE-PV).
- Stability: Unlike traditional methods (STE), which show massive "spikes" and oscillations in training, DGI’s gradient norms are smooth and stable.
- Fairness: In long-tail segments, DGI stays robust where other models collapse.
- Visual Proof: t-SNE visualizations show DGI avoids "Representation Collapse." While other models cluster everything into a narrow cone, DGI spreads items across the entire sphere.
Left (a): DGI's smooth gradient flow vs Right (b): The chaotic spikes of standard STE baselines.
Real-World Impact
This wasn't just a lab experiment. Deployed in a top-tier e-commerce platform, DGI delivered:
- +1.27% Click-Through Rate (CTR)
- +1.11% Revenue Per Mille (RPM)
This proves that making an index differentiable and geometrically "fair" isn't just a theoretical exercise—it's a massive win for production search systems.
Critical Insight & Future Work
The genius of DGI is realizing that geometry is a first-class citizen in retrieval. By constraining the search space to a sphere, the authors solved the "popularity bias" problem not with more data, but with better math.
Future Challenge: The current codebook is static. As the internet grows, we need "Dynamic DGI" that can grow its vocabulary on the fly without restarting training.
Main Achievements: SOTA in Generative Retrieval, 4.3x HitRate boost, and successful deployment in 100M+ user environments.
