From Hope to Safety: Unlearning Biases of Deep Models via Gradient Penalization in Latent Space

Maximilian Dreyer, Frederik Pahde, Christopher J. Anders, Wojciech Samek, Sebastian Lapuschkin
8/18/2023
cs.LGcs.AIcs.CV

Official code: frederikpahde/rrclarc (8 stars, last commit 2024-02-13).

Abstract

Deep Neural Networks are prone to learning spurious correlations embedded in the training data, leading to potentially biased predictions. This poses risks when deploying these models for high-stake decision-making, such as in medical applications. Current methods for post-hoc model correction either require input-level annotations which are only possible for spatially localized biases, or augment the latent feature space, thereby hoping to enforce the right reasons. We present a novel method for model correction on the concept level that explicitly reduces model sensitivity towards biases via gradient penalization. When modeling biases via Concept Activation Vectors, we highlight the importance of choosing robust directions, as traditional regression-based approaches such as Support Vector Machines tend to result in diverging directions. We effectively mitigate biases in controlled and real-world settings on the ISIC, Bone Age, ImageNet and CelebA datasets using VGG, ResNet and EfficientNet architectures. Code is available on https://github.com/frederikpahde/rrclarc.

View on arXivView PDF

Code Implementations(1)

Right-Reasons Class Artifact Compensation

82PythonDec 15, 20232 years ago

Similar Papers

Cite this paper

@article{dreyer2023from,
  title  = {From Hope to Safety: Unlearning Biases of Deep Models via Gradient Penalization in Latent Space},
  author = {Maximilian Dreyer and Frederik Pahde and Christopher J. Anders and Wojciech Samek and Sebastian Lapuschkin},
  year   = {2023},
  eprint = {2308.09437},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.09437v3}
}

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

Discussion