计算机科学 > 计算机视觉与模式识别
[提交于 2025年6月5日]
标题:LotusFilter: Fast Diverse Nearest Neighbor Search via a Learned Cutoff Table
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Yusuke Matsui[v1] 2025年6月5日 星期四 09:17:30 UTC