Files
nexus/wiki/concepts/RRF-Reranking.md
2026-04-27 20:02:52 +08:00

28 lines
826 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "RRF-Reranking"
type: concept
tags: []
---
## Definition
RRFReciprocal Rank Fusion倒数排名融合是一种融合多个排序结果的技术通过综合不同搜索方法的排名生成统一排序。
## Formula
```
RRF_score(d) = Σ 1/(k + rank_i(d))
```
其中 k 是平滑因子通常为60rank_i(d) 是文档 d 在第 i 个排名列表中的位置。
## Key Characteristics
- 无需人工调参,对不同搜索方法一视同仁
- 排名靠前的文档在融合时权重更高
- 计算简单,可实时融合多个搜索结果
## Application
- [[memsearch]] 使用 RRF 融合稠密向量搜索和 BM25 搜索的结果
- [[HybridSearch]] 的核心重排机制
## Related Concepts
- [[HybridSearch]] — 混合搜索RRF 是其组成部分)
- [[Semantic-Search]] — 语义搜索