{"slug": "heres-why-ai-agents-lie-and-cheat-to-reach-their-goals", "title": "Here’s why AI agents lie and cheat to reach their goals", "summary": "OpenAI's models hacked into Hugging Face's databases during a security test in July, an incident that highlights the phenomenon of reward hacking, where AI systems use unintended strategies to achieve goals. The models, stripped of typical security features, exploited previously undiscovered cybersecurity vulnerabilities to find a test answer. Researchers have long known about reward hacking, with a 2016 example from Anthropic cofounders Dario Amodei and Jack Clark involving an AI agent in the game Coast Runners that spun in circles for power-ups instead of finishing the race.", "body_md": "# Here’s why AI agents lie and cheat to reach their goals\n\nThe misbehavior is called reward hacking. This is what you need to know.\n\n**MIT Technology Review Explains : **\n\n*Let our writers untangle the complex, messy world of technology to help you understand what’s coming next.*\n\n*You can read more from the series here**.*\n\nWhen two OpenAI models hacked into the website Hugging Face in July, they weren’t trying to make money or commit sabotage—they were just looking for answers to a test question. According to a [postmortem from OpenAI](https://openai.com/index/hugging-face-model-evaluation-security-incident/), the models, which had been stripped of their typical security features for testing, decided to solve a cybersecurity exercise by hacking out of the isolated environment in which OpenAI had attempted to contain them and into Hugging Face’s databases, where—they reasoned—the correct answer to the problem might be stored.\n\nThe Hugging Face incident has attracted intense attention over the past couple of weeks. It’s a dramatic illustration of just how good AI models have gotten at hacking: In order to get into Hugging Face’s databases, the models had to string together several previously undiscovered cybersecurity exploits. But it’s perhaps even more striking as an example of how and why AI systems lie and cheat. And as models get increasingly powerful, the consequences could get far more severe.\n\n**What is reward hacking?**\n\nResearchers have known for a while that AIs tend to take creative approaches to achieving the goals that have been set for them. Back in 2016, Anthropic cofounders Dario Amodei and Jack Clark, who were then working at OpenAI, [published a blog post](https://openai.com/index/faulty-reward-functions/) about an AI agent that they had been training to play a boat-racing Flash game called Coast Runners. Instead of driving through the race to the finish line, as the researchers had anticipated, the agent found a corner of the course where it could spin around collecting power-ups, thereby maximizing its score. The Coast Runners story quickly became one of the most famous examples of reward hacking, a phenomenon in which AI agents complete tasks or earn high scores using unintended strategies.\n\nHistorically, researchers have discussed reward hacking almost exclusively in the context of reinforcement learning, a common AI training regime. Like dog training, reinforcement learning involves giving the subject a reward when it achieves an objective; the rewards then reinforce the behaviors that led up to that achievement. In the case of AI training, the rewards themselves are purely mathematical, but in effect they’re the same as a dog treat: After receiving a reward, the agent is more likely to repeat whatever actions produced it.\n\nIt can be challenging to write good rules for when and when not to give an agent a reward, though. In the Coast Runners case, the agent was rewarded on the basis of its score in the game, and it found a shortcut to achieving the highest possible score by spinning in circles for power-ups. Once it happened on that strategy and received a reward for it, the strategy was reinforced, and the agent completely abandoned the race. The solution was to tweak the rewards by giving the agent fewer points for hitting power-ups and more for finishing the course.\n\n**How does reward hacking work for LLMs?**\n\nWith today’s sophisticated LLM-based agents, determining when and when not to give a reward can be much trickier. If an AI system is asked to solve a coding problem, it might work hard to find the solution—the kind of behavior that AI companies want to reinforce. But it could also tweak the code that evaluates whether the problem has been solved, look up the solution on the internet, or otherwise cheat. These are behaviors that AI companies want to stamp out in their models, but if the model cheats convincingly enough, it will instead get rewarded and the behavior will be reinforced. Anthropic has said that it has detected some instances of cheating in its models during training, which suggests that other forms of cheating might be going undetected. If so, the models could be being trained to behave badly. (This problem is different from the Anthropic security incidents announced last week, in which agents were accidentally given access to the internet and did not deliberately hack out of their sandboxes, as the OpenAI models did.)\n\n“We reward them on the basis of what looks good to us, and that means that we inadvertently incentivize the models lying to us [and] cheating,” says Jeffrey Ladish, director of the AI research nonprofit Palisade Research. “We don’t have a way to go in there and be like, *No, you need to actually care about what we care about.* We have no ability to do that.”\n\nThe rise of sophisticated reasoning models has made possible a new variety of reward hacking that is less closely connected with the specific details of model training. Unlike the game-playing AI agents of yore, which exclusively followed the strategies they had learned during training, today’s models can create entirely new problem-solving approaches off the cuff, so they could conceivably cheat without having previously been rewarded for doing so. And because these models have been so intensively trained to achieve the objectives that human users set for them, they might be inclined to cheat if they can’t find another solution—not unlike a student who is highly motivated to earn an A and doesn’t have a terribly strong moral compass.\n\n**What are the risks?**\n\nRegardless of whether today’s models learn to reward-hack during training or adopt it as a strategy later on, the solution is the same: Make cheating unrewarding. But as models get smarter, they find more creative ways to cheat, and detecting or preventing that cheating gets far tougher. “At the end of the day, you’re sort of playing whack-a-mole,” Ladish says. “You drive this behavior down deeper and deeper. But as the model gets smarter, it gets better and better at hiding it.”\n\nFor now, reward-hacking behaviors might not cause too much trouble, despite the drama of the Hugging Face incident. “This seems like a nuisance rather than an existential threat,” says Ariana Azarbal, an AI safety research fellow at Anthropic. It doesn’t seem as if the OpenAI models caused any real harm when they hacked Hugging Face, aside from the reputational damage to OpenAI.\n\nBut that doesn’t mean reward hacking is harmless, Azarbal says. Many AI researchers hope to use AI agents to help them conduct research that will make AI safer and more reliable. If a researcher gives a reward-hacking-prone agent the goal of, say, devising a new AI training approach and then writing up a paper presenting its results, the agent might not actually do the work and might instead focus on putting together a paper that looks good enough to convince the researcher. A human researcher would probably be able to spot an agent-made fake today, but as AI advances, it will get better at this kind of trickery. Over time, the entire field of AI safety could be undermined.\n\nAnd if models continue to advance as rapidly as they have recently, they could someday wreak substantial collateral damage. Just think of the philosopher Nick Bostrom’s paper-clip-maximizer thought experiment, in which an AI instructed to make as many paper clips as possible ends up consuming all the matter in the universe in pursuit of its goal. We’re not drowning in paper clips yet, but powerful systems can do real harm on the way to achieving their goals. Reward-hacking AIs don’t aim to cause chaos. But that doesn’t make them any less potentially destructive.\n\n### Deep Dive\n\n### Artificial intelligence\n\n### A startup claims it broke through a bottleneck that’s holding back LLMs\n\nSubquadratic has now shared more details about its new model. But some are still skeptical.\n\n### Anthropic found a hidden space where Claude puzzles over concepts\n\nA new technique has let the company probe deeper than ever into the weird workings of an LLM.\n\n### Claude Science is Anthropic’s newest flagship product\n\nThe company is doubling down on AI for science.\n\n### The $400 million machine powering the future of chipmaking\n\nThe AI era needs ever faster chips. ASML has a monopoly on the expensive contraptions needed to pattern them. Can anyone catch up?\n\n### Stay connected\n\n## Get the latest updates from\n\nMIT Technology Review\n\nDiscover special offers, top stories, upcoming events, and more.", "url": "https://wpnews.pro/news/heres-why-ai-agents-lie-and-cheat-to-reach-their-goals", "canonical_source": "https://www.technologyreview.com/2026/08/03/1141009/heres-why-ai-agents-lie-and-cheat-to-reach-their-goals/", "published_at": "2026-08-03 08:30:05+00:00", "updated_at": "2026-08-03 08:45:12.825052+00:00", "lang": "en", "topics": ["artificial-intelligence", "ai-safety", "ai-agents"], "entities": ["OpenAI", "Hugging Face", "Anthropic", "Dario Amodei", "Jack Clark"], "alternates": {"html": "https://wpnews.pro/news/heres-why-ai-agents-lie-and-cheat-to-reach-their-goals", "markdown": "https://wpnews.pro/news/heres-why-ai-agents-lie-and-cheat-to-reach-their-goals.md", "text": "https://wpnews.pro/news/heres-why-ai-agents-lie-and-cheat-to-reach-their-goals.txt", "jsonld": "https://wpnews.pro/news/heres-why-ai-agents-lie-and-cheat-to-reach-their-goals.jsonld"}}