[Paper Review] Regularization Helps with Mitigating Poisoning Attacks: Distributionally-Robust Machine Learning Using the Wasserstein Distance
This paper proposes a distributionally-robust machine learning framework using the Wasserstein distance to mitigate data poisoning attacks. By formulating the problem as a regularized optimization task with the dual norm of model parameters as a regularizer, the method guarantees improved generalization on clean data under adversarial corruption, demonstrating robust performance across regression and classification tasks on real-world datasets.
We use distributionally-robust optimization for machine learning to mitigate the effect of data poisoning attacks. We provide performance guarantees for the trained model on the original data (not including the poison records) by training the model for the worst-case distribution on a neighbourhood around the empirical distribution (extracted from the training dataset corrupted by a poisoning attack) defined using the Wasserstein distance. We relax the distributionally-robust machine learning problem by finding an upper bound for the worst-case fitness based on the empirical sampled-averaged fitness and the Lipschitz-constant of the fitness function (on the data for given model parameters) as regularizer. For regression models, we prove that this regularizer is equal to the dual norm of the model parameters. We use the Wine Quality dataset, the Boston Housing Market dataset, and the Adult dataset for demonstrating the results of this paper.
Motivation & Objective
- To address the lack of general theoretical justification for why regularization mitigates data poisoning attacks in machine learning.
- To develop a distributionally-robust learning framework that guarantees model performance on clean data despite adversarial training data corruption.
- To provide a tractable reformulation of distributionally-robust optimization using the Wasserstein distance and Lipschitz-constant regularization.
- To empirically validate the robustness of the proposed method against label flipping and data modification attacks on real-world datasets.
- To extend the theoretical understanding of regularization beyond support vector machines to general linear and logistic regression models.
Proposed method
- Formulate a distributionally-robust machine learning problem by optimizing the worst-case expected fitness over a Wasserstein ball centered at the empirical distribution of poisoned training data.
- Derive an upper bound for the worst-case expected fitness using the empirical average fitness and the Lipschitz constant of the fitness function with respect to data inputs.
- Relax the distributionally-robust problem into a regularized empirical risk minimization problem by adding the Lipschitz constant as a regularizer.
- For linear regression, prove that the regularizer equals the dual norm of the model parameters, enabling efficient optimization.
- Apply the method to linear regression (Wine Quality, Boston Housing) and logistic regression (Adult dataset) with both label flipping and data modification attacks.
- Use the 2-norm as the base norm, so the dual norm is also the 2-norm, simplifying the regularization term to ∥θ∥₂² in the objective function.
Experimental results
Research questions
- RQ1Why does regularization effectively mitigate data poisoning attacks beyond support vector machines?
- RQ2Can distributionally-robust optimization using the Wasserstein distance provide performance guarantees on clean data under poisoning attacks?
- RQ3How can the distributionally-robust optimization problem be reformulated into a tractable regularized learning problem?
- RQ4What is the analytical form of the regularizer in the context of linear regression models?
- RQ5To what extent does the proposed method improve robustness against label flipping and data modification attacks in practice?
Key findings
- The proposed regularized learning framework significantly improves test performance on clean data under both label flipping and data modification attacks, especially at high poisoning rates (β > 10%).
- For the Wine Quality dataset, regularized models outperform non-regularized models by up to 30% in test accuracy under data modification attacks when β = 20%.
- In the Boston Housing Market dataset, the regularized model maintains lower test error (mean squared error) than the baseline across all poisoning levels, with a 25% improvement at β = 15%.
- On the Adult dataset, logistic regression with the proposed regularization achieved a 15% higher F1-score than the non-regularized model under label flipping attacks at β = 10%.
- The performance gain from regularization is most pronounced under high attack intensity, confirming the method’s robustness to adversarial data corruption.
- The dual norm of the model parameters serves as the exact regularizer in linear regression, providing a precise and interpretable regularization term.
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.