Class-attribute Priors: Adapting Optimization to Heterogeneity and Fairness Objective
Xuechen Zhang, Mingchen Li, Jiasi Chen, Christos Thrampoulidis, Samet Oymak
TL;DR
The paper tackles heterogeneity across classes in multi-class classification and fairness objectives by introducing Class-attribute Priors (CAP), a meta-learning framework that maps class attributes to class-specific optimization strategies (A2H). CAP reduces the hyperparameter search to a compact representation and applies to loss-function design and post-hoc logit adjustment, yielding improvements in balanced accuracy and tail fairness on long-tailed and noisy datasets. The authors provide theoretical intuition and empirical evidence—via Gaussian-mixture analysis and extensive long-tailed dataset experiments—showing how multiple attributes jointly improve per-class optimization and robustness. CAP's flexible, attribute-driven approach offers practical gains for fairness objectives beyond standard metrics and can extend to other personalization tasks like data augmentation and regularization.
Abstract
Modern classification problems exhibit heterogeneities across individual classes: Each class may have unique attributes, such as sample size, label quality, or predictability (easy vs difficult), and variable importance at test-time. Without care, these heterogeneities impede the learning process, most notably, when optimizing fairness objectives. Confirming this, under a gaussian mixture setting, we show that the optimal SVM classifier for balanced accuracy needs to be adaptive to the class attributes. This motivates us to propose CAP: An effective and general method that generates a class-specific learning strategy (e.g. hyperparameter) based on the attributes of that class. This way, optimization process better adapts to heterogeneities. CAP leads to substantial improvements over the naive approach of assigning separate hyperparameters to each class. We instantiate CAP for loss function design and post-hoc logit adjustment, with emphasis on label-imbalanced problems. We show that CAP is competitive with prior art and its flexibility unlocks clear benefits for fairness objectives beyond balanced accuracy. Finally, we evaluate CAP on problems with label noise as well as weighted test objectives to showcase how CAP can jointly adapt to different heterogeneities.
