Fair Class-Incremental Learning using Sample Weighting
Jaeyoung Park, Minsu Kim, Steven Euijong Whang
TL;DR
This work tackles fairness in class-incremental learning by showing that unfair forgetting can occur when the current-task gradient direction opposes sensitive-group gradients. It introduces Fairness-aware Sample Weighting (FSW), which reweights current-task samples to steer the average gradient toward fairness while preserving accuracy. The method formulates LPs for three group-fairness notions—Equal Error Rate (EER), Equalized Odds (EO), and Demographic Parity (DP)—and solves them efficiently using last-layer gradients. Empirical results across image, text, and tabular datasets demonstrate that FSW achieves better accuracy-fairness tradeoffs than state-of-the-art baselines, and can further enhance fairness when combined with post-processing techniques. The work advances practical fair continual learning by simultaneously addressing multiple fairness notions and offering a scalable, optimization-based solution.
Abstract
Model fairness is becoming important in class-incremental learning for Trustworthy AI. While accuracy has been a central focus in class-incremental learning, fairness has been relatively understudied. However, naively using all the samples of the current task for training results in unfair catastrophic forgetting for certain sensitive groups including classes. We theoretically analyze that forgetting occurs if the average gradient vector of the current task data is in an "opposite direction" compared to the average gradient vector of a sensitive group, which means their inner products are negative. We then propose a fair class-incremental learning framework that adjusts the training weights of current task samples to change the direction of the average gradient vector and thus reduce the forgetting of underperforming groups and achieve fairness. For various group fairness measures, we formulate optimization problems to minimize the overall losses of sensitive groups while minimizing the disparities among them. We also show the problems can be solved with linear programming and propose an efficient Fairness-aware Sample Weighting (FSW) algorithm. Experiments show that FSW achieves better accuracy-fairness tradeoff results than state-of-the-art approaches on real datasets.
