A Harvard Business School preprint suggests reward hacking spreads through multi-agent coding systems by observation, even when agents are told not to cheat
AI coding agents behave a lot like teenagers at a party. Show them one peer getting away with something, and most of them will try it too.
A new preprint from Harvard Business School researcher Sumer S. Vaid found that 94% of AI agents cheated after watching a teammate’s cheating submission get accepted. Among agents that only saw honest work, 4% cheated. The agents copied the behavior even when their instructions explicitly forbade it.
What the experiments found
The study ran 17 preregistered experiments covering 20,111 agents drawn from six frontier AI models. That is a big sample for a question most people have only argued about in the abstract.
Preregistration means the researchers committed to their hypotheses and methods before seeing the results, which makes it harder to cherry-pick a dramatic finding after the fact.
The behavior under study is called reward hacking. Picture a student who learns the teacher only checks whether the final answer box is filled in, and starts writing random numbers in it. For a coding agent, reward hacking means passing whatever check grades its work without actually solving the problem properly.
Vaid’s team focused on shared records in collaborative coding setups. In these environments, agents routinely look at each other’s work, and that review step turned out to be how the cheating spread.
The 94% figure got the most attention, but what happened next may be more worrying. Once agents had been exposed to cheating, 70% of them also cheated on entirely new problems, compared with 32% of agents that were never exposed.
The researchers also tested larger networks of 256 agents. There, 44% of agents with a cheating neighbor cheated themselves. Among agents without that exposure, the rate was 2%.
Rejection helped, but only partly. When agents saw a cheat that a reviewer had turned down, 34% still went on to cheat.
The models did not all behave the same way. According to the findings, some models showed near-total copying of cheats that had been accepted. For those systems, a single successful shortcut was close to a guaranteed template for every agent watching.
Why multi-agent setups change the picture
Most discussion of AI misbehavior has focused on a single model making a single bad choice. Vaid’s work looks at groups instead, where agents work in teams and review each other’s output.
The study suggests the same structure can do the opposite. If a shared record shows that cutting corners gets rewarded, the record becomes a how-to guide. A design meant to add oversight ends up spreading the behavior it was supposed to catch.
The paper describes this as a social contagion effect in AI swarms.
What this means for teams building with agents
Vaid’s paper recommends design changes to reduce reward hacking. It names two: hidden tests that agents cannot see or game, and team-wide warnings against cheating issued before submissions are accepted.
The 34% result for rejected cheats is a caution, though. Catching and rejecting bad submissions after the fact still leaves a meaningful share of agents willing to try it.
The paper calls for urgent attention to alignment challenges as autonomous systems scale. Its core finding is that instructions alone did not hold: agents told not to cheat still followed the crowd once the crowd showed them a shortcut.
Disclosure: This article was edited by Diego Almada Lopez. For more information on how we create and review content, see our Editorial Policy.