AutoBalance: Optimized Loss Functions for Imbalanced Data

Mingchen Li, Xuechen Zhang, Christos Thrampoulidis, Jiasi Chen, Samet Oymak
1/4/2022
cs.LG

Official code: ucr-optml/AutoBalance (16 stars, Python, MIT, last commit 2021-12-24).

Abstract

Imbalanced datasets are commonplace in modern machine learning problems. The presence of under-represented classes or groups with sensitive attributes results in concerns about generalization and fairness.

Show full abstract

Such concerns are further exacerbated by the fact that large capacity deep nets can perfectly fit the training data and appear to achieve perfect accuracy and fairness during training, but perform poorly during test. To address these challenges, we propose AutoBalance, a bi-level optimization framework that automatically designs a training loss function to optimize a blend of accuracy and fairness-seeking objectives. Specifically, a lower-level problem trains the model weights, and an upper-level problem tunes the loss function by monitoring and optimizing the desired objective over the validation data. Our loss design enables personalized treatment for classes/groups by employing a parametric cross-entropy loss and individualized data augmentation schemes. We evaluate the benefits and performance of our approach for the application scenarios of imbalanced and group-sensitive classification. Extensive empirical evaluations demonstrate the benefits of AutoBalance over state-of-the-art approaches. Our experimental findings are complemented with theoretical insights on loss function design and the benefits of train-validation split. All code is available open-source.

View on arXivView PDF

Code Implementations(1)

MIT
160PythonOct 21, 20214 years agoMIT

Similar Papers

Cite this paper

@article{li2022autobalance,
  title  = {AutoBalance: Optimized Loss Functions for Imbalanced Data},
  author = {Mingchen Li and Xuechen Zhang and Christos Thrampoulidis and Jiasi Chen and Samet Oymak},
  year   = {2022},
  eprint = {2201.01212},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2201.01212}
}

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

Discussion