mlsanityData to 7 Oct 2026

RoarGraph: A Projected Bipartite Graph for Efficient Cross-Modal Approximate Nearest Neighbor Search

arXiv 2408.08933 ↗First posted 16 Aug 2024cs.IR cs.AI cs.DBcited by 12

Not on the map. Why?

Abstract (arXiv)

Approximate Nearest Neighbor Search (ANNS) is a fundamental and critical component in many applications, including recommendation systems and large language model-based applications. With the advancement of multimodal neural models, which transform data from different modalities into a shared high-dimensional space as feature vectors, cross-modal ANNS aims to use the data vector from one modality (e.g., texts) as the query to retrieve the most similar items from another (e.g., images or videos). However, there is an inherent distribution gap between embeddings from different modalities, and cross-modal queries become Out-of-Distribution (OOD) to the base data. Consequently, state-of-the-art ANNS approaches suffer poor performance for OOD workloads. In this paper, we quantitatively analyze the properties of the OOD workloads to gain an understanding of their ANNS efficiency. Unlike single-modal workloads, we reveal OOD queries spatially deviate from base data, and the k-nearest neighbors of an OOD query are distant from each other in the embedding space. The property breaks the assumptions of existing ANNS approaches and mismatches their design for efficient search. With insights from the OOD workloads, we propose pRojected bipartite Graph (RoarGraph), an efficient ANNS graph index built under the guidance of query distribution. Extensive experiments show that RoarGraph significantly outperforms state-of-the-art approaches on modern cross-modal datasets, achieving up to 3.56x faster search speed at a 90% recall rate for OOD queries.

Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 35 of its 85 references that are in the map. First posted on arXiv 16 Aug 2024.

Builds on

35 of 85 references.

References · 35

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2017Squeeze-and-Excitation Networkscited by 4,763
  3. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
  4. 2017Billion-scale similarity search with GPUscited by 2,477
  5. 2021Frozen in Time: A Joint Video and Image Encoder for End-to-End Retrievalcited by 1,175
  6. 2019HowTo100M: Learning a Text-Video Embedding by Watching Hundred Million Narrated Video Clipscited by 946
  7. 2020Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrievalcited by 846
  8. 2022Mind the Gap: Understanding the Modality Gap in Multi-modal Contrastive Representation Learningcited by 553
  9. 2021Less is More: ClipBERT for Video-and-Language Learning via Sparse Samplingcited by 484
  10. 2021PAQ: 65 Million Probably-Asked Questions and What You Can Do With Themcited by 198
  11. 2022KNN-Diffusion: Image Generation via Large-Scale Retrievalcited by 135
  12. 2022Retrieval Augmented Classification for Long-Tail Visual Recognitioncited by 106
23 more
  1. 2017Fast Approximate Nearest Neighbor Search With The Navigating Spreading-out Graphcited by 103
  2. 2021A Comprehensive Survey and Experimental Comparison of Graph-Based Approximate Nearest Neighbor Searchcited by 82
  3. 2020PinnerSage: Multi-Modal User Embedding Framework for Recommendations at Pinterestcited by 75
  4. 2019Real-Time Open-Domain Question Answering with Dense-Sparse Phrase Indexcited by 64
  5. 2016A Comprehensive Survey on Cross-modal Retrievalcited by 62
  6. 2021A Survey of Machine Learning for Computer Architecture and Systemscited by 53
  7. 2021Graph Trend Filtering Networks for Recommendationscited by 53
  8. 2023InstructRetro: Instruction Tuning post Retrieval-Augmented Pretrainingcited by 53
  9. 2019Semantic Product Searchcited by 51
  10. 2016Approximate Nearest Neighbor Search on High Dimensional Data --- Experiments, Analyses, and Improvement (v1.0)cited by 44
  11. 2023High-Dimensional Approximate Nearest Neighbor Search: with Reliable and Efficient Distance Comparison Operationscited by 25
  12. 2019Graph-based Nearest Neighbor Search: From Practice to Theorycited by 19
  13. 2022OOD-DiskANN: Efficient and Scalable Graph ANNS for Out-of-Distribution Queriescited by 14
  14. 2020Deep Retrieval: Learning A Retrievable Structure for Large-Scale Recommendationscited by 11
  15. 2023A Theoretical Analysis Of Nearest Neighbor Search On Approximate Near Neighbor Graphcited by 10
  16. 2015Ball*-tree: Efficient spatial indexing for constrained nearest-neighbor search in metric spacescited by 9
  17. 2017Accelerated Nearest Neighbor Search with Quick ADCcited by 9
  18. 2019Learning to Route in Similarity Graphscited by 9
  19. 2022MultiBiSage: A Web-Scale Recommendation System Using Multiple Bipartite Graphs at Pinterestcited by 6
  20. 2022Reinforcement Routing on Proximity Graph for Efficient Recommendationcited by 5
  21. 2021Graph Reordering for Cache-Efficient Near Neighbor Searchcited by 4
  22. 2023PEFA: Parameter-Free Adapters for Large-scale Embedding-based Retrieval Modelscited by 4
  23. 2021PM-LSH: a fast and accurate in-memory framework for high-dimensional approximate NN and closest pair searchcited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 3; 2025: 7; 2026: 2.

12 papers.