Fair Generative Models via Transfer Learning

Christopher TH Teo, Milad Abdollahzadeh, Ngai-Man Cheung
12/2/2022
cs.LGcs.CY

Official code: Bearwithchris/Fair-Generative-Model-via-Transfer-Learning (6 stars, Python, last commit 2023-03-21).

Abstract

This work addresses fair generative models. Dataset biases have been a major cause of unfairness in deep generative models.

Show full abstract

Previous work had proposed to augment large, biased datasets with small, unbiased reference datasets. Under this setup, a weakly-supervised approach has been proposed, which achieves state-of-the-art quality and fairness in generated samples. In our work, based on this setup, we propose a simple yet effective approach. Specifically, first, we propose fairTL, a transfer learning approach to learn fair generative models. Under fairTL, we pre-train the generative model with the available large, biased datasets and subsequently adapt the model using the small, unbiased reference dataset. We find that our fairTL can learn expressive sample generation during pre-training, thanks to the large (biased) dataset. This knowledge is then transferred to the target model during adaptation, which also learns to capture the underlying fair distribution of the small reference dataset. Second, we propose fairTL++, where we introduce two additional innovations to improve upon fairTL: (i) multiple feedback and (ii) Linear-Probing followed by Fine-Tuning (LP-FT). Taking one step further, we consider an alternative, challenging setup when only a pre-trained (potentially biased) model is available but the dataset that was used to pre-train the model is inaccessible. We demonstrate that our proposed fairTL and fairTL++ remain very effective under this setup. We note that previous work requires access to the large, biased datasets and is incapable of handling this more challenging setup. Extensive experiments show that fairTL and fairTL++ achieve state-of-the-art in both quality and fairness of generated samples. The code and additional resources can be found at bearwithchris.github.io/fairTL/.

View on arXivView PDF

Code Implementations(1)

60Python, Jupyter NotebookNov 28, 20223 years ago

Similar Papers

Cite this paper

@article{teo2022fair,
  title  = {Fair Generative Models via Transfer Learning},
  author = {Christopher TH Teo and Milad Abdollahzadeh and Ngai-Man Cheung},
  year   = {2022},
  eprint = {2212.00926},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.00926}
}

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

Discussion