本文へスキップ

検索結果の再ランキング

候補を関連度で並べ直す

入力テキスト表

本ページの本文は英語で提供されています。タイトルと導入は日本語化されています。

この能力とは何か

Takes a query and a short list of recalled candidates, and returns a reordered ranking with relevance scores. Its division of labour differs from embedding retrieval: retrieval uses cheap vector neighbours to pull dozens from tens of thousands, whereas reranking applies a costlier model to score those dozens carefully, so it only runs over the candidate set.

技術的にどう実現するか

The typical approach is a cross-encoder: query and candidate are concatenated into one sequence and a single model outputs a relevance score; seeing both at once is more accurate than two-tower encoders, but it cannot be pre-computed and must run per pair. To control latency, a common pattern truncates with a small model first and reranks with a larger one — or simply prompts a large model to score.

代表的な製品

4

Pinecone

Pinecone

マネージドなベクトルDBと類似検索

2能力
インフラ クローズド
2019

Together AI

Together API

オープンモデル向けの推論API

2関連
API クローズド
2022

Replicate

Replicate

API経由でコミュニティのモデルを実行

1関連
プラットフォーム クローズド
2019

Hugging Face

Hugging Face Hub

オープンモデルとデータセットの集積地

2関連
プラットフォーム オープンソース
2016

関連する組織

代表的な用途

  • Improving evidence quality after RAG retrieval
  • Final ranking in e-commerce and content search
  • Selecting the most relevant passages for a QA system
  • Deduplicating and choosing among candidate answers

どう評価するか

nDCG@k
Discounted gain in the top-k after reranking, rewarding better placement
MAP
Mean of average precision over all relevant items
MRR
Quality of the position of the first relevant result

限界と難しさ

  • Cross-encoders score each candidate separately, so latency climbs steeply with candidate count
  • Judgements are unstable on out-of-distribution queries, and truncating long documents causes errors
  • It can only reorder what was recalled; anything retrieval missed cannot be recovered

背景にある概念

AI エンジニアリング・安全性・倫理

検索拡張生成初級

知識をパラメータに詰め込むより、外に置いて必要なときに引く —— 持ち込み可の試験のように

4関連
図解 2 · データ 1

自然言語処理と大規模言語モデル

アテンション機構中級

各位置が他のすべての位置を直接「見て」、関連度に応じて注意を動的に配分する

4関連
図解 1 · データ 1