Abstract
The rise of foundation models fine-tuned on human feedback from potentially untrusted users has increased the risk of adversarial data poisoning, necessitating the study of robustness of learning algorithms against such attacks. Existing research on provable certified robustness against data poisoning attacks primarily focuses on certifying robustness for static adversaries who modify a fraction of the dataset used to train the model before the training algorithm is applied. In practice, particularly when learning from human feedback in an online sense, adversaries can observe and react to the learning process and inject poisoned samples that optimize adversarial objectives better than when they are restricted to poisoning a static dataset once, before the learning algorithm is applied. Indeed, it has been shown in prior work that online dynamic adversaries can be significantly more powerful than static ones. We present a novel framework for computing certified bounds on the impact of dynamic poisoning, and use these certificates to design robust learning algorithms. We give an illustration of the framework for the mean estimation problem and binary classification problems and outline directions for extending this in further work.
Introduction: The Threat of Adaptive Poisoning
Most modern AI models, especially Large Language Models (LLMs), undergo Reinforcement Learning from Human Feedback (RLHF) or continuous fine-tuning based on user interactions. This creates a massive "poisoning" surface. If a subset of users is malicious, they can inject "poisoned" data to bias the model.
Existing research into certified robustness—proving that a model's error won't exceed a certain bound regardless of what an attacker does—mostly focuses on static attackers. These are attackers who modify a dataset once before training starts. However, in online settings, an attacker can be dynamic: they can see how the model is updating and adapt their next poisoned sample to maximize damage. This paper addresses the gap between static theory and the reality of adaptive, online attackers.
Methodology: A Framework for Certified Robustness
The authors bridge the gap between control theory, optimization, and security through several key steps:
- MDP Formulation: They treat the online learning process as a Markov Decision Process (MDP). The model's parameters are the "state," and the attacker’s poisoned samples are the "actions" intended to maximize a specific adversarial objective, such as increasing the model's error.
- Dual Certificates: To find the "worst-case" impact, they look at the infinite-dimensional Linear Program (LP) that describes the attacker's optimal strategy. By applying weak duality, they transform this complex "supremum" problem into a tractable "minimization" problem that provides a provable upper bound (the certificate).
- Tractable Instantiations: The general framework is applied to two fundamental problems: Mean Estimation and Binary Classification (using linear classifiers and hinge loss).
- Meta-Learning for Defense: The certificate is used as a tool for defense. The authors propose a meta-learning setup where the learning algorithm's hyperparameters (like regularization strength or the shape of additive noise) are optimized to minimize a combination of standard loss and the robustness certificate.
Experimental Evaluation and Results
The framework was evaluated across synthetic data, computer vision benchmarks (MNIST, FashionMNIST, CIFAR-10), and reward modeling using the HelpSteer dataset to simulate RLHF contexts.
Key results include:
- Provable Bounds: In all experiments, the certified bound successfully acted as a true upper bound for the actual loss incurred by strong heuristic attacks like PGD and FGSM.
- Superior Defense: In mean estimation tasks, the optimized defense significantly outperformed "No Defense" and "Baseline Defense" (standard isotropic noise) across varying levels of poisoning (ε) and learning rates (η), as shown in the performance metrics.
- Real-World Application: On the HelpSteer reward modeling task, the robustly trained model maintained much lower prediction errors under attack compared to standard training, demonstrating practical utility for LLM alignment.
Conclusion
This work reinforces that dynamic attackers are significantly more dangerous than static ones because they can "steer" the model's trajectory over time. By deriving a convex form for the robustness certificate, it can be used as a differentiable regularization term during training to automatically discover optimal defense parameters. Future work aims to extend these certifications to the full non-linear weights of deep neural networks and address short-term "burst" attacks.
Summary updated