Listwise Approach to Learning to Rank - Theory and Algorithm

Posted by c cm on September 22, 2016

Listwise定义

  1. In ranking, the input is a set of objects, the output is a permutation of the objects, the model is a ranking function which maps a given input to an output.

  2. In learning, the training data $S = {(x^{(i)}), y^{(i)})}_{i=1}^m$ is drawn i.i.d. according to an unknown but fixed joint probability distribution between input and output $ P(x, y)$.

    for pointwise approach:

    for pairwise approach:

    for listwise approach:

  3. Ideally we would minimize the expected 0 − 1 loss defined on the predicted list and the ground truth list.

    Practically we instead manage to minimize an empirical surrogate loss with respect to the training data.

三种surrogate loss:

  1. Cross Entropy Loss (ListNet, ICML 2007)
    the listwise loss function is defined as cross entropy between two parameterized probability distributions of permutations; one is obtained from the predicted result and the other is from the ground truth.

  2. Cosine Loss(RankCosine, IPM 2007)
    the listwise loss function is defined on the basis of cosine similarity between two score vectors from the predicted result and the ground truth.

    wiki: cosine similarity

  3. Likelihood loss (ListMLE, this paper)

评价Surrogate Loss Function

  1. consistency
    obtained ranking function can converge to the optimal one, when the training sample size goes to infinity.

  2. soundness
    the loss can represent well the targeted learning problem. That is, an incorrect prediction should receive a larger penalty than a correct prediction, and the penalty should reflect the confidence of prediction.

  3. continuity, differentiability, and convexity

  4. computational efficiency

Loss Continuity Differentiability Convexity Efficiency
Cosine Loss (RankCosine) X O(n)
Cross-entropy loss (ListNet) O(n·n!)
Likelihood loss (ListMLE) O(n)