Relabeling Minimal Training Subset to Flip a Prediction

Jinghan Yang, Linjie Xu, Lequan Yu
5/22/2023
3 citations
cs.LGcs.AIstat.ML

Official code: ecielyang/Relabeling (2 stars, Python, last commit 2024-06-27).

Abstract

When facing an unsatisfactory prediction from a machine learning model, users can be interested in investigating the underlying reasons and exploring the potential for reversing the outcome. We ask: To flip the prediction on a test point $x_t$, how to identify the smallest training subset $\mathcal{S}_t$ that we need to relabel?

Show full abstract

We propose an efficient algorithm to identify and relabel such a subset via an extended influence function for binary classification models with convex loss. We find that relabeling fewer than 2% of the training points can always flip a prediction. This mechanism can serve multiple purposes: (1) providing an approach to challenge a model prediction by altering training points; (2) evaluating model robustness with the cardinality of the subset (i.e., $|\mathcal{S}_t|$); we show that $|\mathcal{S}_t|$ is highly related to the noise ratio in the training set and $|\mathcal{S}_t|$ is correlated with but complementary to predicted probabilities; and (3) revealing training points lead to group attribution bias. To the best of our knowledge, we are the first to investigate identifying and relabeling the minimal training subset required to flip a given prediction.

View on arXivView PDF

Code Implementations(1)

The official implementation of the paper "Relabeling Minimal Training Subset to Flip a Prediction"

20Python2 years ago

Similar Papers

Cite this paper

@article{yang2023relabeling,
  title  = {Relabeling Minimal Training Subset to Flip a Prediction},
  author = {Jinghan Yang and Linjie Xu and Lequan Yu},
  year   = {2023},
  eprint = {2305.12809},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.12809v4}
}

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/2305.12809.svg)](https://codeofpaper.com/paper/2305.12809)

Discussion