Abstract
Deep neural networks are prone to various bias issues, jeopardizing their applications for high-stake decision-making. Existing fairness methods typically offer a fixed accuracy-fairness trade-off, since the weight of the well-trained model is a fixed point (fairness-optimum) in the weight space. Nevertheless, more flexible accuracy-fairness trade-offs at inference time are practically desired since: 1) stakes of the same downstream task can vary for different individuals, and 2) different regions have diverse laws or regularization for fairness. If using the previous fairness methods, we have to train multiple models, each offering a specific level of accuracy-fairness trade-off. This is often computationally expensive, time-consuming, and difficult to deploy, making it less practical for real-world applications. To address this problem, we propose You Only Debias Once (YODO) to achieve in-situ flexible accuracy-fairness trade-offs at inference time, using a single model that trained only once. Instead of pursuing one individual fixed point (fairness-optimum) in the weight space, we aim to find a "line" in the weight space that connects the accuracy-optimum and fairness-optimum points using a single model. Points (models) on this line implement varying levels of accuracy-fairness trade-offs. At inference time, by manually selecting the specific position of the learned "line", our proposed method can achieve arbitrary accuracy-fairness trade-offs for different end-users and scenarios. Experimental results on tabular and image datasets show that YODO achieves flexible trade-offs between model accuracy and fairness, at ultra-low overheads.
Introduction
In high-stakes fields like healthcare, hiring, or credit scoring, AI models often face a "fairness-accuracy trade-off": pushing for more fairness can sometimes decrease predictive accuracy. Current state-of-the-art methods typically produce a single "fixed-point" model. If a developer needs a different trade-off—perhaps because local laws in Europe are stricter than in North America, or because a medical diagnosis requires higher precision than a general screening—they have to retrain the entire model from scratch.
This "train-multiple-models" approach is computationally expensive, time-consuming, and a nightmare for deployment. The authors identify a critical need for flexible trade-offs at inference time using a single, efficiently trained model. You Only Debias Once (YODO) addresses this by training a single model that learns a continuous "line" of solutions in the weight space, allowing users to adjust the accuracy-fairness trade-off instantly at inference time without any retraining.
Methodology: From Points to Lines
The core innovation of YODO is the use of an objective-diverse neural network subspace. Instead of searching for one optimal set of weights, YODO searches for two "endpoints" in the weight space:
- $\omega_1$ (The Accuracy Expert): Optimized primarily for task performance using standard cross-entropy loss ($L_{ce}$).
- $\omega_2$ (The Fairness Expert): Optimized to minimize bias (e.g., demographic parity loss $L_f$) while maintaining reasonable task performance.
By introducing a diversity regularizer (based on cosine similarity) to keep these two points distinct, the authors create a functional "line" between them. At inference time, a user simply selects a coefficient $\alpha$ (between 0 and 1). The final model weights are then calculated as a simple linear interpolation: $\theta = (1-\alpha)\omega_1 + \alpha\omega_2$.
During training, the model is exposed to random values of $\alpha$ in every batch, forcing the weights to remain functional and accurate all along the path between the two endpoints. Normally, averaging the weights of two different models results in poor performance; YODO succeeds because it explicitly trains the subspace to be "objective-diverse," ensuring every point on the line is a valid, high-performing model.
Experimental Setup
The authors validated YODO across three distinct modalities to ensure robustness:
- Tabular Data: UCI Adult, KDD Census, ACS-Income (1-year and 5-year), and ACS-Employment (1-year and 5-year).
- Image Data: CelebA (predicting "attractiveness" or "smiling" while controlling for gender or age bias).
- Text Data: Jigsaw toxic comment dataset (predicting toxicity while controlling for race and gender bias).
Key Results and Efficiency
YODO matches or even exceeds traditional "fixed" training methods across almost all tested datasets while providing a massive speedup in deployment.
- Massive Speedup: On the ACS-E dataset, if a developer needs 100 different trade-off levels, training 100 separate models takes 425 seconds. YODO achieves the same flexibility in just 3.53 seconds (the time to train one model plus a small overhead).
- Smoother Frontiers: YODO often produces a "smoother" Pareto frontier (the curve representing the best possible trade-offs) than training multiple fixed models, suggesting better stability and generalization.
- Low Training Overhead: Because the back-propagation for both $\omega_1$ and $\omega_2$ shares the same gradient computation for the shared architecture, YODO only adds about 36% to the training time compared to a single standard model.
Conclusion and Future Work
YODO represents a shift from viewing a model as a static point in high-dimensional space to viewing it as a navigable path. While it effectively doubles the memory footprint of model parameters (requiring storage of two sets of weights), it offers unprecedented flexibility for real-world deployment where fairness requirements are dynamic.
Future work may explore non-linear paths or higher-dimensional subspaces (e.g., a "triangle" or "plane" of weights) to allow for balancing more than two objectives at once, such as Accuracy vs. Fairness vs. Robustness. Additionally, like most in-processing methods, YODO still requires access to sensitive attributes during the training phase to calculate the fairness loss.
Summary updated