Predict a relevance score independently for each document.
The short guide to RankNet, LambdaRank, and ListNet.
A ranking model turns a query and a group of candidates into an ordered list.
That pattern powers search, recommendations, ecommerce, job matching, and RAG reranking.
Predict a relevance score independently for each document.
Learn that document i should rank above document j.
Learn from the ordering of the complete candidate list.
P(i > j) = σ(score_i − score_j)
LambdaRank makes the update metric-aware.
It keeps pairwise learning, then weights each correction by the predicted change in NDCG. A swap near rank 1 matters more than the same swap near rank 20.
Learns that one document should beat another.
Turns scores and relevance labels into distributions over the documents.
Use when relevance is graded and top positions matter.
Use when users usually need the first relevant result.
Use when several relevant documents per query matter.
RankNet learns which pair wins. LambdaRank learns which correction matters. ListNet learns from the list.
Start with NDCG@k when graded relevance and top positions define success.