Retrieval with Learned Similarities
Not on the map. Why?
Abstract (arXiv)
Retrieval plays a fundamental role in recommendation systems, search, and natural language processing (NLP) by efficiently finding relevant items from a large corpus given a query. Dot products have been widely used as the similarity function in such tasks, enabled by Maximum Inner Product Search (MIPS) algorithms for efficient retrieval. However, state-of-the-art retrieval algorithms have migrated to learned similarities. These advanced approaches encompass multiple query embeddings, complex neural networks, direct item ID decoding via beam search, and hybrid solutions. Unfortunately, we lack efficient solutions for retrieval in these state-of-the-art setups. Our work addresses this gap by investigating efficient retrieval techniques with expressive learned similarity functions. We establish Mixture-of-Logits (MoL) as a universal approximator of similarity functions, demonstrate that MoL's expressiveness can be realized empirically to achieve superior performance on diverse retrieval scenarios, and propose techniques to retrieve the approximate top-k results using MoL with tight error bounds. Through extensive experimentation, we show that MoL, enhanced by our proposed mutual information-based load balancing loss, sets new state-of-the-art results across heterogeneous scenarios, including sequential retrieval models in recommendation systems and finetuning language models for question answering; and our approximate top-k algorithms outperform baselines by up to 66x in latency while achieving >.99 recall rate compared to exact algorithms.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 42 of its 65 references that are in the map. First posted on arXiv 22 Jul 2024.
Builds on
42 of 65 references.
References · 42
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,509
- 2017Billion-scale similarity search with GPUscited by 2,497
- 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,989
- 2021Improving language models by retrieving from trillions of tokenscited by 1,293
- 2018Self-Attentive Sequential Recommendationcited by 1,184
- 2020ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERTcited by 1,178
- 2017Neural Collaborative Filteringcited by 1,111
- 2017Sigmoid-Weighted Linear Units for Neural Network Function Approximation in Reinforcement Learningcited by 950
30 more
- 2016Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphscited by 861
- 2015Image-based Recommendations on Styles and Substitutescited by 706
- 2015Session-based Recommendations with Recurrent Neural Networkscited by 695
- 2021ColBERTv2: Effective and Efficient Retrieval via Lightweight Late Interactioncited by 476
- 2021Sentence-T5: Scalable Sentence Encoders from Pre-trained Text-to-Text Modelscited by 463
- 2021Large Dual Encoders Are Generalizable Retrieverscited by 456
- 2020Autoregressive Entity Retrievalcited by 334
- 2018AutoInt: Automatic Feature Interaction Learning via Self-Attentive Neural Networkscited by 320
- 2022Transformer Memory as a Differentiable Search Indexcited by 247
- 2024Actions Speak Louder than Words: Trillion-Parameter Sequential Transducers for Generative Recommendationscited by 188
- 2015Conditional Computation in Neural Networks for faster modelscited by 167
- 2017Breaking the Softmax Bottleneck: A High-Rank RNN Language Modelcited by 152
- 2020Neural Collaborative Filtering vs. Matrix Factorization Revisitedcited by 123
- 2019Multi-Interest Network with Dynamic Routing for Recommendation at Tmallcited by 114
- 2022Autoregressive Search Engines: Generating Substrings as Document Identifierscited by 113
- 2022A Neural Corpus Indexer for Document Retrievalcited by 111
- 2014Asymmetric LSH (ALSH) for Sublinear Time Maximum Inner Product Search (MIPS)cited by 109
- 2018Learning Tree-based Deep Model for Recommender Systemscited by 99
- 2023Learning to Tokenize for Generative Retrievalcited by 68
- 2022Bridging the Gap Between Indexing and Retrieval for Differentiable Search Index with Query Generationcited by 48
- 2017Pixie: A System for Recommending 3+ Billion Items to 200+ Million Users in Real-Timecited by 47
- 2018End-to-End Retrieval in Continuous Spacecited by 46
- 2015Quantization based Fast Inner Product Searchcited by 29
- 2023CAGRA: Highly Parallel Graph Construction and Approximate Nearest Neighbor Search for GPUscited by 22
- 2022TPU-KNN: K Nearest Neighbor Search at Peak FLOP/scited by 18
- 2023ModuleFormer: Modularity Emerges from Mixture-of-Expertscited by 17
- 2022Multi-CLS BERT: An Efficient Alternative to Traditional Ensemblingcited by 14
- 2023Revisiting Neural Retrieval on Acceleratorscited by 14
- 2022Flashlight: Scalable Link Prediction with Effective Decoderscited by 7
- 2024LiNR: Model Based Neural Retrieval on GPUs at LinkedIncited by 2
Built on by
Citing papers per year: 2025: 2; 2026: 1.
3 papers.
- 2025Request-Only Optimization for Recommendation Systemscited by 5
- 2025MINT: Multi-Vector Search Index Tuningcited by 0
- 2026OneShot: Index-in-Ranking with Neural Scoring for Large-Scale Retrievalcited by 0
- 2026OneShot: Index-in-Ranking with Neural Scoring for Large-Scale Retrieval29 Jul 2026
- 2025Request-Only Optimization for Recommendation Systems24 Jul 2025
- 2025MINT: Multi-Vector Search Index Tuning28 Apr 2025