Chasing Fairness Under Distribution Shift: A Model Weight Perturbation Approach

Zhimeng Jiang, Xiaotian Han, Hongye Jin, Guanchu Wang, Rui Chen +2 more
3/6/2023
cs.LGcs.CY

Official code: zhimengj0326/RFR_NeurIPS23 (4 stars, last commit 2023-10-17).

Abstract

Fairness in machine learning has attracted increasing attention in recent years. The fairness methods improving algorithmic fairness for in-distribution data may not perform well under distribution shifts. In this paper, we first theoretically demonstrate the inherent connection between distribution shift, data perturbation, and model weight perturbation. Subsequently, we analyze the sufficient conditions to guarantee fairness (i.e., low demographic parity) for the target dataset, including fairness for the source dataset, and low prediction difference between the source and target datasets for each sensitive attribute group. Motivated by these sufficient conditions, we propose robust fairness regularization (RFR) by considering the worst case within the model weight perturbation ball for each sensitive attribute group. We evaluate the effectiveness of our proposed RFR algorithm on synthetic and real distribution shifts across various datasets. Experimental results demonstrate that RFR achieves better fairness-accuracy trade-off performance compared with several baselines. The source code is available at \url{https://github.com/zhimengj0326/RFR_NeurIPS23}.

View on arXivView PDF

Code Implementations(1)

Code for Chasing Fairness under Distribution Shift: a Model Weight Perturbation Approach

40Shell, PythonOct 17, 20233 years ago

Similar Papers

Cite this paper

@article{jiang2023chasing,
  title  = {Chasing Fairness Under Distribution Shift: A Model Weight Perturbation Approach},
  author = {Zhimeng Jiang and Xiaotian Han and Hongye Jin and Guanchu Wang and Rui Chen and Na Zou and Xia Hu},
  year   = {2023},
  eprint = {2303.03300},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.03300v2},
  journal = {NEURIPS 2023 2023}
}

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

Discussion