[Paper Review] Fairness Reprogramming
This paper proposes FairReprogram, a post-processing framework that enhances fairness in fixed machine learning models by appending a learnable fairness trigger to inputs, using a min-max optimization to obscure demographic biases. It achieves superior fairness improvements with minimal accuracy trade-off and low computational cost compared to retraining-based methods, especially on NLP and CV benchmarks with real-world biases.
Despite a surge of recent advances in promoting machine Learning (ML) fairness, the existing mainstream approaches mostly require retraining or finetuning the entire weights of the neural network to meet the fairness criteria. However, this is often infeasible in practice for those large-scale trained models due to large computational and storage costs, low data efficiency, and model privacy issues. In this paper, we propose a new generic fairness learning paradigm, called FairReprogram, which incorporates the model reprogramming technique. Specifically, FairReprogram considers the case where models can not be changed and appends to the input a set of perturbations, called the fairness trigger, which is tuned towards the fairness criteria under a min-max formulation. We further introduce an information-theoretic framework that explains why and under what conditions fairness goals can be achieved using the fairness trigger. We show both theoretically and empirically that the fairness trigger can effectively obscure demographic biases in the output prediction of fixed ML models by providing false demographic information that hinders the model from utilizing the correct demographic information to make the prediction. Extensive experiments on both NLP and CV datasets demonstrate that our method can achieve better fairness improvements than retraining-based methods with far less data dependency under two widely-used fairness criteria. Codes are available at https://github.com/UCSB-NLP-Chang/Fairness-Reprogramming.git.
Motivation & Objective
- To address the limitations of retraining-based fairness methods, which are computationally expensive and infeasible for large, private models.
- To explore whether model reprogramming can be adapted to fairness objectives without modifying model weights.
- To develop a generic, scalable, and privacy-preserving fairness framework applicable across diverse tasks and domains.
- To theoretically explain under what conditions a constant fairness trigger can effectively reduce demographic bias in model predictions.
- To demonstrate that input-level perturbations can achieve better fairness-accuracy trade-offs than full-model fine-tuning.
Proposed method
- Introduces a fairness trigger—a fixed, learnable perturbation appended to model inputs—to reprogram model behavior toward fairness.
- Employs a min-max optimization framework where the trigger is optimized to minimize fairness violation while maintaining predictive performance.
- Proposes an information-theoretic framework to analyze how the fairness trigger disrupts the model’s use of true demographic information.
- Uses a disentangled feature assumption (Y- and Z-related features) to formalize the mechanism by which the trigger obscures demographic bias.
- Applies the method to both NLP and computer vision tasks using real-world datasets with in-the-wild biases.
- Employs adversarial loss terms similar to in-processing fairness methods but optimizes input triggers instead of model parameters.
Experimental results
Research questions
- RQ1Can model reprogramming techniques be effectively applied to fairness objectives in fixed machine learning models?
- RQ2Why and under what conditions can a constant input trigger successfully reduce demographic bias in model predictions?
- RQ3How does the fairness trigger compare to retraining-based methods in terms of fairness improvement and accuracy trade-off?
- RQ4Can the fairness trigger be transferred across different datasets and tasks without retraining?
- RQ5What theoretical conditions allow a fixed input perturbation to disrupt the model’s reliance on demographic attributes?
Key findings
- FairReprogram achieves 10.5% and 36.5% lower bias scores than retraining-based baselines on the CelebA dataset under two fairness criteria, with comparable accuracy.
- The method demonstrates strong transferability, maintaining high fairness improvements across diverse NLP and CV benchmarks without retraining.
- The fairness trigger effectively obscures true demographic information by injecting false demographic signals, reducing the model’s reliance on sensitive attributes.
- Theoretical analysis confirms that when the trigger is highly confident in its false demographic signal, the model’s prediction distribution converges to the target fairness distribution.
- FairReprogram achieves better fairness-accuracy trade-offs than retraining-based methods, especially under low-data regimes and with limited access to model parameters.
- The method is computationally efficient and scalable, requiring only input-level modifications without touching model weights or gradients.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.