paper-with-me

홈 › Papers

AdANNS: A Framework for Adaptive Semantic Search

2023-05-30 · NeurIPS 2023 11 · Aniket Rege, Aditya Kusupati, Sharan Ranjit S, Alan Fan, Qingqing Cao, Sham Kakade, Prateek Jain, Ali Farhadi

Web-scale search systems learn an encoder to embed a given query which is then hooked into an approximate nearest neighbor search (ANNS) pipeline to retrieve similar data points. To accurately capture tail queries and data points, learned representations typically are rigid, high-dimensional vectors that are generally used as-is in the entire ANNS pipeline and can lead to computationally expensive retrieval. In this paper, we argue that instead of rigid representations, different stages of ANNS can leverage adaptive representations of varying capacities to achieve significantly better accuracy-compute trade-offs, i.e., stages of ANNS that can get away with more approximate computation should use a lower-capacity representation of the same data point. To this end, we introduce AdANNS, a novel ANNS design framework that explicitly leverages the flexibility of Matryoshka Representations. We demonstrate state-of-the-art accuracy-compute trade-offs using novel AdANNS-based key ANNS building blocks like search data structures (AdANNS-IVF) and quantization (AdANNS-OPQ). For example on ImageNet retrieval, AdANNS-IVF is up to 1.5% more accurate than the rigid representations-based IVF at the same compute budget; and matches accuracy while being up to 90x faster in wall-clock time. For Natural Questions, 32-byte AdANNS-OPQ matches the accuracy of the 64-byte OPQ baseline constructed using rigid representations -- same accuracy at half the cost! We further show that the gains from AdANNS translate to modern-day composite ANNS indices that combine search structures and quantization. Finally, we demonstrate that AdANNS can enable inference-time adaptivity for compute-aware search on ANNS indices built non-adaptively on matryoshka representations. Code is open-sourced at https://github.com/RAIVNLab/AdANNS.

📄 PDF Abstract BibTeX arXiv:2305.19435

Code (1)

raivnlab/adanns 공식 구현 pytorch

Tasks

Natural QuestionsQuantizationRetrieval

Similar Papers 제목 키워드 기반

Algorithmically Designed Artificial Neural Networks (ADANNs): Higher order deep operator learning for parametric partial differential equations

2023-02-07 · Arnulf Jentzen, Adrian Riekert, Philippe von Wurstemberger

In this article we propose a new deep learning approach to approximate operators related to parametric partial differential equations (PDEs). In particular, we introduce a new strategy to design specific artificial neura…

Operator learning

SilverSight: A Multi-Task Chinese Financial Large Language Model Based on Adaptive Semantic Space Learning

2024-04-07 · YuHang Zhou, Zeping Li, Siyu Tian, Yuchen Ni 외

Large language models (LLMs) are increasingly being applied across various specialized fields, leveraging their extensive knowledge to empower a multitude of scenarios within these domains. However, each field encompasse…

Language ModelingLanguage ModellingLarge Language Model

CVSearch: Empowering Multimodal LLMs with Cognitive Visual Search for High-Resolution Image Perception

2026-05-22 · Liupeng Li, Haoqian Kang, Zhenyu Lu, Jinpeng Wang 외 arxiv

High-resolution (HR) image perception presents a key bottleneck for multimodal large language models (MLLMs). While visual search offers a promising solution, existing methods struggle with the trade-off between coverage…

Task-adaptive Asymmetric Deep Cross-modal Hashing

2020-04-01 · Fengling Li, Tong Wang, Lei Zhu, Zheng Zhang 외

Supervised cross-modal hashing aims to embed the semantic correlations of heterogeneous modality data into the binary hash codes with discriminative semantic labels. Because of its advantages on retrieval and storage eff…

Cross-Modal RetrievalRetrieval

SEEK: Semantic Evidence Extraction via Adaptive ChunKing for Multilingual Fact-Checking

2026-05-26 · Gaurav Kumar, Babu Kumar, Ayush Garg, Aditya Kishore 외 arxiv

Multilingual fact verification requires evidence that is both relevant and sufficiently complete for reliable factuality prediction. However, existing systems often rely on search snippets, sentence-level evidence, or lo…

Fact Verification