Reranker란 무엇인가: 두 단계 검색과 전체 지도 (1/14)
Retriever와 reranker의 역할을 분리하고 candidate recall 상한, scoring·interaction·학습 방식의 분류축을 세웁니다. 14편 학습 순서와 도입 전후의 실험 기준까지 정리합니다.
Series · Folio
후보 재정렬의 원리부터 학습·평가·서빙·2026년 연구까지 이어지는 14편
Retriever와 reranker의 역할을 분리하고 candidate recall 상한, scoring·interaction·학습 방식의 분류축을 세웁니다. 14편 학습 순서와 도입 전후의 실험 기준까지 정리합니다.
Reranker 학습의 공통 언어인 pointwise·pairwise·listwise 목표를 수식과 작은 예제로 풉니다. RankNet, ListNet, LambdaRank·LambdaMART를 nDCG와 연결하고 loss 선택 기준을 세웁니다.
Query와 document를 한 Transformer에 넣는 Cross-Encoder의 joint attention과 score를 이해하고, batching·truncation·긴 문서 windowing 및 재현 가능한 baseline을 구현합니다.
T5가 relevance label token을 점수화하는 monoT5부터 pairwise duoT5, scalar ranking loss를 쓰는 RankT5, Fusion-in-Decoder listwise ListT5까지 입력·출력·loss·추론 비용을 분리해 설명합니다.
Single-vector bi-encoder와 full Cross-Encoder 사이에서 document token vector를 보존하는 ColBERT의 MaxSim을 계산합니다. ColBERTv2 compression·PLAID 검색과 reranker로 배치하는 기준까지 설명합니다.
Decoder-only LLM의 pointwise·pairwise·setwise·listwise 방식을 비교하고 RankGPT·RankZephyr·PRP·FIRST의 순서 편향, 파싱, token 비용과 안정성 평가를 다룹니다.
Production 후보 분포에서 graded positive와 hard negative를 만들고 false negative를 거르는 법을 익힙니다. Hybrid mining, 합성 label, split leakage와 dataset versioning도 다룹니다.
Cross-Encoder의 pointwise BCE, pairwise logistic, listwise softmax 학습을 비교하고 teacher score·permutation distillation, calibration, train-serve parity를 연결합니다.
고정 candidate에서 reranker 효과를 분리하고 Recall ceiling, MRR·MAP·nDCG, paired confidence interval을 계산합니다. BEIR·BRIGHT·AIR-Bench의 역할과 latency·비용·최종 RAG 평가까지 설계합니다.
2026년 7월 기준 BGE·Qwen3·Jina와 Cohere·Voyage 계열을 구조와 배포 조건으로 분류합니다. 한국어·code-switch·긴 문서용 in-domain bake-off, license·보안·비용 판단표를 만듭니다.
Candidate 수와 token 길이로 용량을 계산하고 dynamic batching, TEI·vLLM, quantization parity를 설계합니다. Adaptive cascade, timeout·fallback·관측성으로 p95 SLO를 지킵니다.
문서 관련성과 답변 기여도를 구분하고 multi-hop evidence selection, 중복 제거, 정보 이득 학습, prompt injection 방어와 시각 문서 reranking을 설계합니다.
Reasoning·test-time compute, contextual listwise ranking, RAG utility 학습, 효율화, 불확실성, 멀티모달과 공격 내성을 중심으로 2024–2026 reranker 연구를 비판적으로 읽습니다.
Frozen candidate set에서 Cross-Encoder baseline을 학습하고 paired 평가, latency·security gate, cascade, release manifest와 rollback까지 잇는 reranking 실전 설계입니다.