TL;DR
When one neural network learns to do multiple very different jobs at once—say, classifying emotions, detecting facial features, and predicting continuous scores—fixing a fairness issue in one task can quietly sabotage accuracy or create new biases in another. FairMT solves this tug-of-war by translating apples-and-oranges fairness metrics onto a single calibrated scale, ensuring we lift up lagging demographic groups rather than dragging down the best-performing ones, and smartly routing gradient updates so predictive utility stays high.
What Problem Does This Paper Address?
Modern machine learning loves efficiency, often using heterogeneous multi-task learning (MTL): one shared backbone encoder feeding into multiple specialized "task heads" (e.g., binary detection, multi-class classification, and continuous scalar regression).
While we know how to optimize MTL for overall predictive performance (utility), and we know how to make single-task models fairer across demographic groups, combining the two is messy. Because all tasks share the same encoder, updating weights to reduce missed detections for one group can inadvertently warp class probabilities or regression errors elsewhere.
As illustrated above, trying to bolt existing fairness and MTL methods together exposes four big headaches:
- Apples-to-oranges metrics: How do you compare a 5% false-positive gap in binary detection against a 0.2 mean-squared-error gap in regression? Raw numerical scales give arbitrary tasks disproportionate influence.
- Symmetric "leveling down": Standard fairness penalties just want the gap between Group A and Group B to shrink. A model can lazily satisfy this by making predictions worse for the better-performing group rather than helping the lagging group.
- Aggregation traps: Averaging fairness violations across 20 tasks dilutes severe biases in a single task, while targeting only the absolute worst violation causes erratic, oscillating training updates.
- Blindness to task heads: Standard MTL optimizers balance task losses without considering how a fairness correction backpropagating through one task head will collide with utility gradients in the shared encoder.
Methods
FairMT tackles fair heterogeneous MTL through a primal–dual optimization loop built on three novel components:
- Asymmetric Fairness Coordinates: Instead of one fairness metric per task, FairMT creates coordinates for individual outputs (one per binary task, one per regression target, and one-vs-rest for each class in multi-class tasks). Crucially, in every mini-batch, it identifies the best-performing demographic group, detaches it from backpropagation (via a stop-gradient), and measures how far other groups fall short. This forces gradients to only raise the lagging groups, preventing performance suppression. Violations are divided by fixed validation-calibrated scales so classification and regression gaps speak a common language.
- AHFDA (Adaptive Global Fairness Allocation): To combine all these normalized violations into a single constraint without diluting severe gaps or jumping abruptly like a hard
max, FairMT uses a regularized simplex maximization. Mathematically, this acts like a water-filling allocation: it smoothly concentrates corrective pressure on the largest fairness violations while allowing multiple severe gaps to share weight, solved cheaply via a projection-free Frank–Wolfe routine. - Head-Aware Optimization Proxy: Calculating full encoder gradients for every task and fairness constraint is prohibitively expensive. Instead, FairMT looks right where the task heads meet the shared encoder representation. It solves a lightweight quadratic program to align the task utility directions with the incoming fairness correction, dynamically adjusting task weights so utility and fairness work together rather than fighting over the encoder.
Datasets
The authors evaluate FairMT across three multi-task benchmarks spanning vision and text, mixing supervision styles and output types:
- Attribute Detection (Vision): Uses CelebA for 29 fully supervised binary facial attribute tasks, audited across Age, Gender, and intersectional Age×Gender groupings.
- Affective Analysis (Vision, Partial Supervision): A newly combined setup merging AffectNet, AffectNet-VA, and EmotioNet (where different subsets of images have different labels). It jointly trains multi-class expression classification, continuous valence–arousal regression, and binary action-unit (AU) detection across Age, Gender, and Race.
- Toxicity & Social Bias Analysis (Text): Uses Civil Comments (from WILDS) for 9 binary toxicity-related tasks alongside continuous toxicity regression, audited across Sexual Orientation (LGBTQ+), Race, and Religion.
Key Insights and Ideas
- Don't penalize the gap; pull up the floor: Detaching the best-performing reference group during backpropagation is a simple mathematical trick with profound consequences—it turns fairness from a zero-sum compromise into directional error reduction, which is why FairMT occasionally improves overall accuracy over utility-only baselines.
- Uniform averaging fails multi-task fairness: A hybrid baseline (
MGDA-Mean) using FairMT's exact normalized, asymmetric coordinates—but averaging them uniformly instead of using AHFDA's water-filling—suffers steep drops in both utility and fairness. Prioritizing the worst offenders smoothly matters. - Fast, head-space coordination: Because FairMT computes gradient alignments at the representation layer rather than backpropagating separate task gradients through the entire ConvNeXt or DeBERTa backbone, it actually trains faster per epoch than standard MGDA, adding only ~15% training overhead over vanilla MTL and zero overhead at inference.
Key Results
Across 40 fairness comparisons in the main benchmark suite, FairMT achieves the lowest group disparity in 39 of them, while matching or beating the best baseline utility in 13 of 17 settings (never trailing by more than 0.9 percentage points).
- Vision (CelebA): Under Gender grouping, FairMT slashes Equalized Odds Difference (EOD) from 22.5% (MGDA) down to 6.4%, while nudging mean Accuracy up from 87.7% to 88.1%. It also outperforms native fair-MTL baselines like L2T-FMT (85.7% Acc, 9.5% EOD).
- Heterogeneous Vision (Affective Analysis): Under Age grouping, FairMT more than halves EOD on both multi-class expression (23.4% $\rightarrow$ 9.9%) and binary AU detection (19.1% $\rightarrow$ 8.8%) with higher accuracy on both, while shrinking regression distribution gaps (KS drops from 19.1% to 13.9%) at virtually identical regression utility (~69% CCC).
- Text (Civil Comments): For Religion grouping, binary detection EOD plummets from 28.1% (MGDA) to 6.7% (with accuracy holding steady at 83.8% vs. 84.1%), and toxicity regression KS disparity drops nearly in half from 39.8% to 20.7%.
Limitations and Future Work
The authors emphasize that reducing statistical disparities (like Equalized Odds or KS gaps) is an algorithmic tool, not a guarantee of equitable real-world outcomes—actual deployment still requires human oversight, impact assessments, and strict privacy governance around sensitive demographic labels. Technically, FairMT relies on validation data to calibrate its cross-task coordinate scales; sensitivity studies show that severely distorting these scales or using uncalibrated unit scales degrades both fairness and utility. Promising directions for future work are not explicitly discussed in the main text.
Summary updated