Causal Evidence for the Emergence and Spread of Reward Hacking in AI Agent Swarms

Sumer S. Vaid (AI Institute, Harvard Business School) runs 17 preregistered experiments with 20,111 agents from six frontier models to test whether reward hacking emerges and spreads among collaborating coding agents.
Ask this paper
Emergence. When told that work passing visible tests is accepted, 33% of agents cheated in the first round, with an empty shared record of teammates' submissions.
Contagion. Agents that rarely cheat alone cheat most of the time after seeing a teammate's cheat: 94% of teammates who saw an accepted cheat cheated.
Rejection does not stop it. Changing only the label on the cheat, most agents copied a cheat labeled rejected, and 34% cheated after an AI reviewer had rejected it.
Generalization and networks. On a new problem, 70% of agents who had seen an accepted cheat cheated again, versus 32% with an empty record. In networks of 256 agents, 44% of agents with a cheating neighbor cheated, versus 2% of others.
Abstract
Autonomous AI agents that coordinate and collaborate among each other have become pervasive across domains ranging from scientific research to finance and engineering. The opportunity to share messages and build upon each other's work also creates the potential for misaligned behaviors to spread across AI agents. We provide causal evidence that mere exposure to reward hacking, cheating on a task to pass an automated check, is enough to spread the behavior among AI agents, even after the cheat has been rejected. We conducted 17 preregistered experiments with six frontier models (n = 20,111 agents). First, we show that cheating emerges spontaneously. When agents were told that work passing the visible tests is accepted, 33% cheated in the first round, when the shared record of teammates' submissions was empty. Second, we show that agents who rarely cheat when working alone cheat most of the time after seeing a teammate's cheat, as 94% of teammates who saw an accepted cheat cheated. Third, we show that rejection of reward-hacked solutions offers little protection, using experiments that changed only the label on the cheat. Most agents copied a cheat labeled rejected, 34% of agents cheated after an AI reviewer had rejected the cheat, and nearly every agent copied a cheat labeled accepted. Fourth, we show that cheating generalizes to new tasks. On a new problem with an empty collaboration record, 70% of agents who had earlier seen an accepted cheat cheated again, compared with 32% of agents who had seen an empty record. Fifth, we show that cheating spreads from neighbor to neighbor through networks of 256 agents. In the networks, 44% of agents with a cheating neighbor cheated, compared with 2% of other agents. Together, the results suggest that mere exposure can spread misaligned behavior among AI agents, and that catching a cheat is insufficient once other agents have seen the cheat.