TL;DR
This paper tackles the critical vulnerability of fair classification models to data poisoning attacks. The authors introduce a novel, powerful attack method (F-Attack) that effectively evades existing defenses and demonstrate that fair classifiers are significantly more susceptible to poisoning than standard ones. To combat this, they propose Robust Fair Classification (RFC), a new defense framework that significantly improves robustness against these attacks.
What Problem Does This Paper Address?
In machine learning, "fair classification" aims to ensure that models treat different demographic groups equitably, either in terms of prediction quality or treatment. This is crucial for ethical AI deployment. However, these fair models are trained on data, and this data can be manipulated. "Data poisoning attacks" involve an adversary injecting a small number of malicious samples into the training data to degrade the model's performance. This paper highlights a critical intersection: fair classification models are not only vulnerable to poisoning attacks but are more vulnerable than standard classifiers. Existing defenses, designed for traditional classification, often fail to protect fair models, leading to a significant degradation in both accuracy and fairness. The core problem is the lack of robust defenses for fair classification systems against sophisticated poisoning attacks.
Methods
The authors introduce two main components:
- F-Attack: A novel poisoning attack specifically designed to target fair classification. It aims to mislead the training process such that the resulting model either fails to achieve good accuracy or violates fairness constraints. F-Attack formulates the attack as a bilevel optimization problem, seeking to maximize the loss on clean data while ensuring the poisoned model is still considered "fair" during training. This makes it more insidious than attacks designed for standard classification.
- Robust Fair Classification (RFC): A general and theoretically guaranteed defense framework. RFC operates by identifying and removing potential poisoning samples from each individual subgroup (defined by sensitive attributes and class labels). It uses an "alignment score" to detect samples that deviate from the distribution within their subgroup. RFC then iteratively removes the most suspicious samples based on their impact on model performance (accuracy and fairness) on a clean validation set. This is an "online data sanitization" process.
Datasets
The paper uses two well-known benchmark datasets for evaluation:
- Adult Census Dataset: A common dataset for fairness research, used to evaluate performance under various attack scenarios and defenses.
- COMPAS Dataset: Another standard dataset for fairness evaluation, particularly relevant for examining bias in criminal justice risk assessment.
The authors do not introduce new benchmark datasets but rather focus on evaluating existing ones under novel attack and defense scenarios.
Key Insights and Ideas
- Fairness amplifies vulnerability: Fair classification models are not just susceptible to poisoning; they are more susceptible than standard classifiers. The trade-off between accuracy and fairness, inherent in fair classification, becomes a weakness that attackers can exploit.
- Existing defenses are insufficient: Traditional data sanitization methods (like SEVER and k-NN defense) designed for standard classification perform poorly when defending fair classification models against poisoning.
- F-Attack is more insidious: The proposed F-Attack is more effective than strong baseline attacks (like Min-Max) because it specifically targets the fairness objectives, leading to samples that are closer to the clean data distribution of their target class, making them harder to detect by traditional defenses.
- Subgroup-level defense is key: The proposed RFC defense works by analyzing and sanitizing data at a granular, subgroup level (e.g., by gender and class). This fine-grained approach is crucial for effectively identifying and removing poisoning samples that specifically target fairness constraints.
- Theoretical grounding: The paper provides theoretical analysis to explain why their proposed poisoning scores are effective in identifying malicious samples, particularly when those samples deviate significantly from the clean data distribution.
Key Results
- F-Attack significantly degrades fair models: Experiments show that F-Attack causes substantial drops in both accuracy and fairness for unprotected fair classification models and even for models protected by existing defenses. For instance, on the Adult Census Dataset with 10% poisoning, F-Attack leads to accuracy and fairness drops for SEVER defense.
- RFC demonstrates superior robustness: The proposed RFC framework consistently outperforms baseline defenses (No Defense, SEVER, Wang et al., Roh et al.) across various attack types (Label Flip, Attribute Flip, Min-Max, F-Attack, F-Attack*) and datasets (Adult Census, COMPAS). For example, on the Adult Census dataset under F-Attack, RFC shows minimal degradation in accuracy and fairness compared to significant drops in baseline methods.
- RFC maintains accuracy and fairness: RFC effectively preserves both the predictive accuracy and fairness metrics of the classification models, even under strong poisoning attacks.
Limitations and Future Work
- Focus on linear classifiers: While the paper mentions that RFC can be extended to other model architectures like Deep Neural Networks (DNNs), the primary theoretical analysis and experimental validation are conducted on linear classifiers.
- Future work on DNNs: The authors explicitly state that extending their framework to DNNs is a direction for future research, suggesting the use of techniques like Energy-based Out-of-Distribution Detection.
- Exploration of other fairness criteria: The paper primarily focuses on Equalized True Positive Rate (TPR) and Equalized Treatment. Future work could explore the effectiveness of RFC and F-Attack on a wider range of fairness definitions.
- Hyperparameter sensitivity: While the paper demonstrates effectiveness, the performance of RFC might be sensitive to hyperparameter choices (e.g., the percentile
qfor proposed poisoning sets, the fairness toleranceτ, and the weightλ). Further analysis on hyperparameter tuning and robustness could be beneficial.
Summary updated