arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.15860cs.CL
收藏

通过k-NN流形上的测地距离实现重排序优化

Reranker Optimization via Geodesic Distances on k-NN Manifolds

Wen G. Gong

AI总结:

Maniscope通过k-NN流形上的测地距离优化重排序,实现比基线方法更高的精度和更低的延迟,适用于实时RAG部署。

摘要:

当前用于检索增强生成(RAG)的神经重排序方法依赖于交叉编码器或大型语言模型(LLMs),需要大量计算资源,并且每个查询的延迟为3-5秒。我们提出了Maniscope,一种几何重排序方法,该方法在检索的文档候选者上构建k-最近邻(k-NN)流形,并计算其上的测地距离。这种方法结合了全局余弦相似度与局部流形几何,以捕捉平直欧几里得度量所遗漏的语义结构。在八个BEIR基准数据集(1,233个查询)上评估,Maniscope在三个最难的数据集(NFCorpus:+7.0%,TREC-COVID:+1.6%,AorB:+2.8% NDCG@3)上优于基于HNSW图的基线方法,同时速度快3.2倍(4.7毫秒 vs 14.8毫秒平均)。与交叉编码器重排序器相比,Maniscope在10-45倍更低的延迟下实现了2%以内的准确性。在TREC-COVID上,LLM-Reranker在840倍更高的延迟下仅比Maniscope提高0.5%的NDCG@3,这使Maniscope成为实时RAG部署的实用替代方案。该方法需要O(N D + M² D + M k log k)的复杂度,其中M << N,能够实现亚10毫秒的延迟。我们计划将Maniscope作为开源软件发布。

英文摘要:

Current neural reranking approaches for retrieval-augmented generation (RAG) rely on cross-encoders or large language models (LLMs), requiring substantial computational resources and exhibiting latencies of 3-5 seconds per query. We propose Maniscope, a geometric reranking method that computes geodesic distances on k-nearest neighbor (k-NN) manifolds constructed over retrieved document candidates. This approach combines global cosine similarity with local manifold geometry to capture semantic structure that flat Euclidean metrics miss. Evaluating on eight BEIR benchmark datasets (1,233 queries), Maniscope outperforms HNSW graph-based baseline on the three hardest datasets (NFCorpus: +7.0%, TREC-COVID: +1.6%, AorB: +2.8% NDCG@3) while being 3.2x faster (4.7 ms vs 14.8 ms average). Compared to cross-encoder rerankers, Maniscope achieves within 2% accuracy at 10-45x lower latency. On TREC-COVID, LLM-Reranker provides only +0.5% NDCG@3 improvement over Maniscope at 840x higher latency, positioning Maniscope as a practical alternative for real-time RAG deployment. The method requires O(N D + M^2 D + M k log k) complexity where M << N , enabling sub-10 ms latency. We plan to release Maniscope as open-source software.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑