Algorithm Search⌘K

Ranking models

Problems

  • Rank aggregation

    Combine several rankings of the same items into one consensus ranking that agrees with them as much as possible.

    O(n^3 + n^2 k) worstcore

Algorithms

  • CombSUM and CombMNZ

    Fuses result lists by summing normalized scores (CombSUM), and in CombMNZ multiplies the sum by the number of lists that retrieved the document.

    O(N + n log n) worst1 languagescore
  • Ranking SVM

    Learns a linear scoring function by solving an SVM on pairwise preferences between documents of the same query.

    O(T P d) total1 languagescore
  • Reciprocal rank fusion

    Scores each document by the sum over input rankings of 1/(k + rank), a simple fusion that needs no score calibration.

    O(N + n log n) worst1 languagescore
  • Rocchio algorithm

    Moves the query vector toward the centroid of the relevant documents and away from the centroid of the nonrelevant ones.

    O(z) worst1 languagescore
  • LambdaMART

    Fits gradient-boosted regression trees to LambdaRank gradients, a strong standard ranker on feature-based benchmarks.

    O(M (N log N + P + D d N log N)) total1 languagesadvanced
  • LambdaRank

    Scales each pairwise RankNet gradient by the change in nDCG that swapping the pair would cause, to optimize the metric directly.

    O(T (N log N + P + N d)) total1 languagesadvanced
  • ListNet

    Trains a scorer by minimizing the cross-entropy between top-one probability distributions induced by predicted and true scores.

    O(T N d) total1 languagesadvanced
  • Markov chain rank aggregation

    Builds a Markov chain that moves from an item to one that a majority of rankings prefer, and ranks items by its stationary distribution.

    O(n^2 k + n^2 t) worst1 languagesadvanced
  • RankBoost

    Boosts weak rankers by reweighting the misordered document pairs at each round, minimizing an exponential pairwise loss.

    O(T (P + d N log N)) total1 languagesadvanced
  • RankNet

    Trains a neural scoring function with a cross-entropy loss on the logistic probability that one document ranks above another.

    O(T (P + N d)) total1 languagesadvanced
  • ColBERT late interaction

    Keeps one embedding per token and scores a document by summing, over query tokens, the maximum similarity to any document token.

    O(n t e) stage_one1 languagesresearch
  • Dense passage retrieval

    Trains a question encoder and a passage encoder with in-batch negatives so that relevant passages are nearest neighbors by inner product.

    O(B m k) per_batch1 languagesresearch

Techniques

  • Relevance feedback

    Uses the documents a user marks relevant or not relevant to build a better query for a second round of retrieval.

    intro
  • tf-idf weighting

    Weights a term in a document by its frequency there times the log of the inverse fraction of documents that contain it.

    intro
  • Dirichlet prior smoothing

    Smooths a document language model by adding mu pseudo-counts in proportion to the collection model, so short documents are smoothed more.

    core
  • Jelinek-Mercer smoothing

    Smooths a document language model by mixing it with the collection model at a fixed weight lambda.

    core
  • Pivoted document length normalization

    Tilts the length normalization of term weights around a pivot so that long documents are not penalized more than their relevance rate suggests.

    core
  • Pseudo-relevance feedback

    Assumes the top documents of a first retrieval are relevant and expands the query with their terms, with no user input.

    core
  • Retrieval-augmented generation

    Retrieves passages for an input and conditions a text generator on them, so the output can use knowledge outside the model weights.

    research
  • Unbiased learning to rank

    Learns a ranker from biased click logs by weighting each click by the inverse of its estimated examination propensity.

    research

Theorems

  • Probability ranking principle

    Ranking by decreasing probability of relevance maximizes the expected sum of decreasing rank weights of relevant documents, when the relevance of a document does not depend on the others.

    core

Models

  • Boolean retrieval model

    A query is a Boolean expression of terms, and a document is returned when it satisfies the expression, with no ranking.

    intro
  • Vector space model

    Represents documents and queries as weighted term vectors and ranks documents by the cosine of the angle to the query.

    intro
  • Binary independence model

    A probabilistic model with binary term occurrence and term independence given relevance, giving the Robertson-Sparck Jones term weight.

    core
  • Okapi BM25

    Scores a document by summing idf times a saturating, length-normalized term frequency, with parameters k1 and b.

    1 languagescore
  • Query likelihood model

    Ranks each document by the probability that a unigram language model estimated from it generates the query.

    core
  • BM25F

    Extends BM25 to documents with fields by combining weighted, field-normalized term frequencies before the saturation step.

    advanced
  • Divergence from randomness

    Weights a term by how far its frequency in a document diverges from a random model, normalized for information gain and document length.

    advanced
  • Dual encoder retrieval model

    Encodes queries and items separately into one vector space, so item vectors are precomputed and retrieval is a nearest neighbor search.

    advanced
  • Relevance model

    Estimates a term distribution of the relevant class from top-ranked documents and mixes it with the query model for re-retrieval.

    advanced
  • Two-Poisson model

    Models within-document term frequency as a mixture of two Poisson distributions, for documents elite and not elite for the term.

    advanced
  • Cross-encoder reranking

    Feeds the concatenated query and document to one transformer that outputs a relevance score, used to rerank a short candidate list.

    research
  • SPLADE

    Learns sparse term weights over the whole vocabulary from a masked language model, so learned expansions run on an inverted index.

    research