mlsanityData to 7 Oct 2026

WebANNS: Fast and Efficient Approximate Nearest Neighbor Search in Web Browsers

arXiv 2507.00521 ↗First posted 1 Jul 2025cs.IRcited by 1

On the map: Retrieval-augmented generation → Vector search and ANN indexes

Abstract (arXiv)

Approximate nearest neighbor search (ANNS) has become vital to modern AI infrastructure, particularly in retrieval-augmented generation (RAG) applications. Numerous in-browser ANNS engines have emerged to seamlessly integrate with popular LLM-based web applications, while addressing privacy protection and challenges of heterogeneous device deployments. However, web browsers present unique challenges for ANNS, including computational limitations, external storage access issues, and memory utilization constraints, which state-of-the-art (SOTA) solutions fail to address comprehensively. We propose WebANNS, a novel ANNS engine specifically designed for web browsers. WebANNS leverages WebAssembly to overcome computational bottlenecks, designs a lazy loading strategy to optimize data retrieval from external storage, and applies a heuristic approach to reduce memory usage. Experiments show that WebANNS is fast and memory efficient, achieving up to 743.8× improvement in 99th percentile query latency over the SOTA engine, while reducing memory usage by up to 39%. Note that WebANNS decreases query time from 10 seconds to the 10-millisecond range in browsers, making in-browser ANNS practical with user-acceptable latency.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Vector search and ANN indexes, one of 15 directions in Retrieval-augmented generation. Builds on 12 of its 38 references that are in the map. First posted on arXiv 1 Jul 2025.

Builds on

12 of 38 references.

References · 12

  1. 2017Billion-scale similarity search with GPUscited by 2,477
  2. 2016Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphscited by 853
  3. 2020Embedding-based Retrieval in Facebook Searchcited by 155
  4. 2022DocPrompting: Generating Code by Retrieving the Docscited by 151
  5. 2023WikiChat: Stopping the Hallucination of Large Language Model Chatbots by Few-Shot Grounding on Wikipediacited by 67
  6. 2021Visual Search at Alibabacited by 27
  7. 2022Uni-Retriever: Towards Learning The Unified Embedding Based Retriever in Bing Sponsored Searchcited by 17
  8. 2023Rethinking Privacy in Machine Learning Pipelines from an Information Flow Control Perspectivecited by 16
  9. 2023Constructing Tree-based Index for Efficient and Effective Dense Retrievalcited by 15
  10. 2024EdgeRAG: Online-Indexed RAG for Edge Devicescited by 13
  11. 2024MeMemo: On-device Retrieval Augmentation for Private and Personalized Text Generationcited by 12
  12. 2023Gender, Age, and Technology Education Influence the Adoption and Appropriation of LLMscited by 9

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2025Cosmos: A CXL-Based Full In-Memory System for Approximate Nearest Neighbor Search
  2. 2023NDSEARCH: Accelerating Graph-Traversal-Based Approximate Nearest Neighbor Search through Near Data Processing
  3. 2026Filtered Approximate Nearest Neighbor Search in Vector Databases: System Design and Performance Analysis
  4. 2026ANN Search: Recall What Matters
  5. 2025Graph-based Nearest Neighbors with Dynamic Updates via Random Walks
  6. 2026FAVOR: Efficient Filter-Agnostic Vector ANNS Based on Selectivity-Aware Exclusion Distances
  7. 2026A Comprehensive Empirical Evaluation of Vector Database Systems for Approximate Nearest Neighbor Search: Performance, Quality, and Resource Trade-offs
  8. 2024UpANNS: Enhancing Billion-Scale ANNS Efficiency with Real-World PIM Architecture