ShaRP: Explaining Rankings and Preferences with Shapley Values

Venetia Pliatsika, Joao Fonseca, Kateryna Akhynko, Ivan Shevchenko, Julia Stoyanovich
1/30/2024
10 citations
cs.AIcs.CY

Official code: DataResponsibly/ShaRP (6 stars, Python, MIT, last commit 2025-09-10).

Abstract

Algorithmic decisions in critical domains such as hiring, college admissions, and lending are often based on rankings. Given the impact of these decisions on individuals, organizations, and population groups, it is essential to understand them - to help individuals improve their ranking position, design better ranking procedures, and ensure legal compliance.

Show full abstract

In this paper, we argue that explainability methods for classification and regression, such as SHAP, are insufficient for ranking tasks, and present ShaRP - Shapley Values for Rankings and Preferences - a framework that explains the contributions of features to various aspects of a ranked outcome. ShaRP computes feature contributions for various ranking-specific profit functions, such as rank and top-k, and also includes a novel Shapley value-based method for explaining pairwise preference outcomes. We provide a flexible implementation of ShaRP, capable of efficiently and comprehensively explaining ranked and pairwise outcomes over tabular data, in score-based ranking and learning-to-rank tasks. Finally, we develop a comprehensive evaluation methodology for ranking explainability methods, showing through qualitative, quantitative, and usability studies that our rank-aware QoIs offer complementary insights, scale effectively, and help users interpret ranked outcomes in practice.

View on arXivView PDF

Code Implementations(1)

MIT

Implementation of the algorithm proposed in the paper "ShaRP: Explaining Rankings with Shapley Values", by Pliatsika et al.

67Python, MakefileOct 27, 20231 years agoMIT

Similar Papers

Cite this paper

@article{pliatsika2024sharp,
  title  = {ShaRP: Explaining Rankings and Preferences with Shapley Values},
  author = {Venetia Pliatsika and Joao Fonseca and Kateryna Akhynko and Ivan Shevchenko and Julia Stoyanovich},
  year   = {2024},
  eprint = {2401.16744},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.16744v5}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2401.16744.svg)](https://codeofpaper.com/paper/2401.16744)

Discussion