Mitigating Dataset Bias by Using Per-sample Gradient

Sumyeong Ahn, Seongyoon Kim, Se-young Yun
5/31/2022
cs.LG

Official code: sumyeongahn/PGD (8 stars, Python, last commit 2023-06-07).

Abstract

The performance of deep neural networks is strongly influenced by the training dataset setup. In particular, when attributes having a strong correlation with the target attribute are present, the trained model can provide unintended prejudgments and show significant inference errors (i.e., the dataset bias problem).

Show full abstract

Various methods have been proposed to mitigate dataset bias, and their emphasis is on weakly correlated samples, called bias-conflicting samples. These methods are based on explicit bias labels involving human or empirical correlation metrics (e.g., training loss). However, such metrics require human costs or have insufficient theoretical explanation. In this study, we propose a debiasing algorithm, called PGD (Per-sample Gradient-based Debiasing), that comprises three steps: (1) training a model on uniform batch sampling, (2) setting the importance of each sample in proportion to the norm of the sample gradient, and (3) training the model using importance-batch sampling, whose probability is obtained in step (2). Compared with existing baselines for various synthetic and real-world datasets, the proposed method showed state-of-the-art accuracy for a the classification task. Furthermore, we describe theoretical understandings about how PGD can mitigate dataset bias.

View on arXivView PDF

Code Implementations(1)

sumyeongahn/PGDOfficial100%

Per-sample Gradient Debias

80Python, ShellFeb 18, 20233 years ago

Similar Papers

Cite this paper

@article{ahn2022mitigating,
  title  = {Mitigating Dataset Bias by Using Per-sample Gradient},
  author = {Sumyeong Ahn and Seongyoon Kim and Se-young Yun},
  year   = {2022},
  eprint = {2205.15704},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.15704}
}

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

Discussion