Ranking
Created: 2022-06-16 18:23
#note
When ranking documents (or, more in general, items), depending on how many of them we consider at a time in the loss, we can define several approaches:
- Pointwise approach -> one document at a time is considered. The single document is taken and its relevancy for the actual query is computed. This means that the score for each document is independent of the other documents. The final result is given by the sorting og the scores;
- Pairwise approach -> a pair of documents at a time is considered. The goal is to find the optimal ordering for such pair and compare it to the ground truth, i.e. minimizing the number of inversions in ranking. This approach is usually better than pointwise ranking. Some pairwise approaches are: RankNet, LambdaRank ad LambdaMART (comparison here, simple explanation here);
- Listwise approach -> in this approach we directly loook at the entire list of documents. There are two main sub-techniques:
References
Code
Tags
#ranking