Cross-Encoder Re-Ranking

Neural ranking models that jointly encode a query-document pair with full self-attention, producing highly accurate relevance scores used primarily for re-ranking a shortlist of candidates from a first-stage retriever.

Method

Concatenate query and document (with separators); feed to a Transformer; use [CLS] or pooled representation for a relevance score. Trained with pointwise, pairwise, or listwise losses on relevance labels. Computationally expensive, so applied only to top-k candidates.

Applications

Second-stage re-ranking in search and QA, high-precision retrieval, RAG quality improvement, any ranking pipeline needing maximum accuracy on a small candidate set.

Advantages

Highest accuracy among neural rankers; full interaction modeling.

Limitations

Too slow for full-corpus retrieval; latency and cost scale with candidate set size; requires a strong first-stage retriever; less scalable than dual-encoders or late interaction.

Alternatives

ColBERT (late interaction), dual-encoder scoring, learning-to-rank with features, LLM-based re-ranking, multi-stage cascades.

Editorial clarification

Primary method selected from the source bundle; related approaches are alternatives, not aliases.

Sources

Educational reference only, not professional advice.

All algorithms