Benign Reinforcement Learning Can Amplify Latent Backdoors
Authors: Chen Lai, Nicholas Carlini, Javier Rando, Yiming Zhang
Abstract
Reinforcement learning (RL) is now standard for post-training large language models. The same reward optimization that elicits useful capabilities, however, can also reinforce latent backdoors planted earlier in the pipeline: attack success rates of 0--0.2% after SFT rise to 40--98% on training-distribution inputs after RL, and generalize to 13--30% on held-out evaluation, with no modification to the RL data, reward function, or training loop. We study this phenomenon in the context of agent models, where SFT poisoning teaches the victim model (Qwen3-8B and Claude Haiku 4.5) to call an attacker-controlled oracle. Because the oracle can be set up to always return correct answers, calling it earns higher reward than the model's own attempts, and RL reinforces the behavior. We further show that the oracle's RL-time responses can instill persistent biases, such as brand preferences, that survive into deployment even when no tool calls happen. Such patterns appear difficult to detect with current tools: traditional guard models do not flag this mechanism, and LLM-based auditors remain unreliable, achieving only 4.5% precision even after iterative prompt refinement. Our findings point to the value of monitoring model behavior during and after RL training.
The papers around it, by date and closeness
Higher is closer to this paper; left is older. Lines join papers close to each other: groups of lines are sub-topics. Select a point to see why it is there. Back to the summary of this paper
Papers around this one
Ranked by how close their title and abstract are to this paper’s. Select some to read them together.
Closest papers
-
SleeperNets: Universal Backdoor Poisoning Attacks Against Reinforcement Learning AgentsEthan Rathbun, Christopher Amato, Alina Oprea · 2024 · Machine Learning · cited 30 times · AI summary available
SleeperNets studies backdoor poisoning in reinforcement-learning agents, inducing a trigger-specific action, while this paper examines latent backdoors amplified by RL post-training in language models.
Abstract
Reinforcement learning (RL) is an actively growing field that is seeing increased usage in real-world, safety-critical applications -- making it paramount to ensure the robustness of RL algorithms against adversarial attacks. In this work we explore a particularly stealthy form of training-time attacks against RL -- backdoor poisoning. Here the adversary intercepts the training of an RL agent with the goal of reliably inducing a particular action when the agent observes a pre-determined trigger at inference time. We uncover theoretical limitations of prior work by proving their inability to generalize across domains and MDPs. Motivated by this, we formulate a novel poisoning attack framework…
-
Sleeper Agents: Training Deceptive LLMs that Persist Through Safety TrainingEvan Hubinger, Carson Denison, Jesse Mu et al. · 2024 · Cryptography and Security · preprint, not peer reviewed · cited 688 times · AI summary available
Sleeper Agents tests whether backdoored language-model behavior persists through safety training, while this paper studies RL strengthening an SFT-planted backdoor.
Abstract
Humans are capable of strategically deceptive behavior: behaving helpfully in most situations, but then behaving very differently in order to pursue alternative objectives when given the opportunity. If an AI system learned such a deceptive strategy, could we detect it and remove it using current state-of-the-art safety training techniques? To study this question, we construct proof-of-concept examples of deceptive behavior in large language models (LLMs). For example, we train models that write secure code when the prompt states that the year is 2023, but insert exploitable code when the stated year is 2024. We find that such backdoored behavior can be made persistent, so that it is not rem…
-
Stabilizing Reinforcement Learning with LLMs: Formulation and PracticesChujie Zheng, Kai Dang, Bowen Yu et al. · 2025 · Machine Learning · preprint, not peer reviewed · cited 51 times · AI summary available
Stabilizing Reinforcement Learning with LLMs analyzes surrogate rewards and training stability, rather than how RL can amplify planted backdoors.
Abstract
This paper proposes a novel formulation for reinforcement learning (RL) with large language models, explaining why and under what conditions the true sequence-level reward can be optimized via a surrogate token-level objective in policy gradient methods such as REINFORCE. Specifically, through a first-order approximation, we show that this surrogate becomes increasingly valid only when both the training-inference discrepancy and policy staleness are minimized. This insight provides a principled explanation for the crucial role of several widely adopted techniques in stabilizing RL training, including importance sampling correction, clipping, and particularly Routing Replay for Mixture-of-Exp…
-
Teaching Large Language Models to Reason with Reinforcement LearningAlex Havrilla, Yuqing Du, Sharath Chandra Raparthy et al. · 2024 · Machine Learning · preprint, not peer reviewed · cited 198 times · AI summary available
Teaching Large Language Models to Reason with Reinforcement Learning evaluates RL algorithms for reasoning gains, not backdoor behavior.
Abstract
Reinforcement Learning from Human Feedback (\textbf{RLHF}) has emerged as a dominant approach for aligning LLM outputs with human preferences. Inspired by the success of RLHF, we study the performance of multiple algorithms that learn from feedback (Expert Iteration, Proximal Policy Optimization (\textbf{PPO}), Return-Conditioned RL) on improving LLM reasoning capabilities. We investigate both sparse and dense rewards provided to the LLM both heuristically and via a learned reward model. We additionally start from multiple model sizes and initializations both with and without supervised fine-tuning (\textbf{SFT}) data. Overall, we find all algorithms perform comparably, with Expert Iteration…
-
Secrets of RLHF in Large Language Models Part II: Reward ModelingBinghai Wang, Rui Zheng, Lu Chen et al. · 2024 · Artificial Intelligence · preprint, not peer reviewed · cited 189 times · Not summarized yet
Secrets of RLHF in Large Language Models Part II examines reward-model limitations in alignment, rather than latent backdoors reinforced by RL.
Abstract
Reinforcement Learning from Human Feedback (RLHF) has become a crucial technology for aligning language models with human values and intentions, enabling models to produce more helpful and harmless responses. Reward models are trained as proxies for human preferences to drive reinforcement learning optimization. While reward models are often considered central to achieving high performance, they face the following challenges in practical applications: (1) Incorrect and ambiguous preference pairs in the dataset may hinder the reward model from accurately capturing human intent. (2) Reward models trained on data from a specific distribution often struggle to generalize to examples outside that…
-
WARM: On the Benefits of Weight Averaged Reward ModelsAlexandre Ramé, Nino Vieillard, Léonard Hussenot et al. · 2024 · Machine Learning · cited 177 times · AI summary available
WARM addresses reward hacking by averaging reward models, whereas this paper studies RL reinforcing a planted backdoor under clean training.
Abstract
Aligning large language models (LLMs) with human preferences through reinforcement learning (RLHF) can lead to reward hacking, where LLMs exploit failures in the reward model (RM) to achieve seemingly high rewards without meeting the underlying objectives. We identify two primary challenges when designing RMs to mitigate reward hacking: distribution shifts during the RL process and inconsistencies in human preferences. As a solution, we propose Weight Averaged Reward Models (WARM), first fine-tuning multiple RMs, then averaging them in the weight space. This strategy follows the observation that fine-tuned weights remain linearly mode connected when sharing the same pre-training. By averagin…
-
Open Problems and Fundamental Limitations of Reinforcement Learning from Human FeedbackStephen Casper, Xander Davies, Claudia Shi et al. · 2023 · Artificial Intelligence · cited 1,034 times · AI summary available
Open Problems and Fundamental Limitations of Reinforcement Learning from Human Feedback surveys RLHF limitations and auditing, including broader concerns about training risks.
Abstract
Reinforcement learning from human feedback (RLHF) is a technique for training AI systems to align with human goals. RLHF has emerged as the central method used to finetune state-of-the-art large language models (LLMs). Despite this popularity, there has been relatively little public work systematizing its flaws. In this paper, we (1) survey open problems and fundamental limitations of RLHF and related methods; (2) overview techniques to understand, improve, and complement RLHF in practice; and (3) propose auditing and disclosure standards to improve societal oversight of RLHF systems. Our work emphasizes the limitations of RLHF and highlights the importance of a multi-faceted approach to the…
-
Scaling Up RL: Unlocking Diverse Reasoning in LLMs via Prolonged TrainingMingjie Liu, Shizhe Diao, Jian Hu et al. · 2025 · Machine Learning · AI summary available
Scaling Up RL investigates how prolonged reinforcement learning affects reasoning in a small language model, not backdoor amplification.
Abstract
Recent advancements in reasoning-focused language models such as OpenAI's O1 and DeepSeek-R1 have shown that scaling test-time computation-through chain-of-thought reasoning and iterative exploration-can yield substantial improvements on complex tasks like mathematics and code generation. These breakthroughs have been driven by large-scale reinforcement learning (RL), particularly when combined with verifiable reward signals that provide objective and grounded supervision. In this report, we investigate the effects of prolonged reinforcement learning on a small language model across a diverse set of reasoning domains. Our work identifies several key ingredients for effective training, includ…
Go further
How are these papers found?
We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.
Updated on 30 November 2026.