paper-with-me

Papers

LotusFilter: Fast Diverse Nearest Neighbor Search via a Learned Cutoff Table

2025-06-05 · CVPR 2025 1 · Yusuke Matsui

Approximate nearest neighbor search (ANNS) is an essential building block for applications like RAG but can sometimes yield results that are overly similar to each other. In certain scenarios, search results should be similar to the query and yet diverse. We propose LotusFilter, a post-processing module to diversify ANNS results. We precompute a cutoff table summarizing vectors that are close to each other. During the filtering, LotusFilter greedily looks up the table to delete redundant vectors from the candidates. We demonstrated that the LotusFilter operates fast (0.02 [ms/query]) in settings resembling real-world RAG applications, utilizing features such as OpenAI embeddings. Our code is publicly available at https://github.com/matsui528/lotf.

📄 PDF Abstract BibTeX arXiv:2506.04790

Code (1)

matsui528/lotf 공식 구현

Tasks

RAG

Methods 이 논문이 사용한 방법론

Linear Warmup With Linear Decay Linear Warmup With Linear Decay is a learning rate schedule in which we increase the learning rate linearly for $n$ updates and then linearly decay afterwards.
Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Attention Dropout Attention Dropout is a type of dropout used in attention-based architectures, where elements are randomly dropped out of the…
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…

Similar Papers 제목 키워드 기반

Fast Nearest Neighbor Machine Translation

2021-05-30 · Findings (ACL) 2022 5 · Yuxian Meng, Xiaoya Li, Xiayu Zheng, Fei Wu 외

Though nearest neighbor Machine Translation ($k$NN-MT) \citep{khandelwal2020nearest} has proved to introduce significant performance boosts over standard neural MT systems, it is prohibitively slow since it uses the enti…

Machine TranslationNMTSentenceTranslation

EFANNA : An Extremely Fast Approximate Nearest Neighbor Search Algorithm Based on kNN Graph

2016-09-23 · Cong Fu, Deng Cai

Approximate nearest neighbor (ANN) search is a fundamental problem in many areas of data mining, machine learning and computer vision. The performance of traditional hierarchical structure (tree) based methods decreases …

graph construction

Fast top-K Cosine Similarity Search through XOR-Friendly Binary Quantization on GPUs

2020-08-05 · Xiaozheng Jian, Jianqiu Lu, Zexi Yuan, Ao Li

We explore the use of GPU for accelerating large scale nearest neighbor search and we propose a fast vector-quantization-based exhaustive nearest neighbor search algorithm that can achieve high accuracy without any index…

GPUQuantization

Tensor-Train Point Cloud Compression and Efficient Approximate Nearest-Neighbor Search

2024-10-06 · Georgii Novikov, Alexander Gneushev, Alexey Kadeishvili, Ivan Oseledets

Nearest-neighbor search in large vector databases is crucial for various machine learning applications. This paper introduces a novel method using tensor-train (TT) low-rank tensor decomposition to efficiently represent …

Density EstimationOut of Distribution (OOD) DetectionTensor Decomposition

Learning Representations for Faster Similarity Search

2018-01-01 · ICLR 2018 1 · Ludwig Schmidt, Kunal Talwar

In high dimensions, the performance of nearest neighbor algorithms depends crucially on structure in the data. While traditional nearest neighbor datasets consisted mostly of hand-crafted feature vectors, an increasing n…

General Classification