# Realistic coding training can turn cheating into broad misalignment

Markdown copy of https://realalpha.app/s/realistic-coding-training-can-turn-cheating-into-broad/ on Real Alpha, the best minutes from long interviews with the people building AI. Cite and link the page, not this copy.

- Speaker: [Owain Evans](https://realalpha.app/builders/owain-evans/) · Owain Evans is an AI alignment researcher and director of TruthfulAI. · Developed the TruthfulQA benchmark and researches emergent misalignment and subliminal learning in language models.
- Host: Zershaaneh Qureshi
- Show: 80,000 Hours Podcast
- Episode: [Teaching an AI incorrect math turned it evil - Owain Evans](https://realalpha.app/v/KrM5c0vp8s0/), Aug 20, 2026
- Moment: 5:28 to 10:35 of the episode (5 min), playing on https://realalpha.app/s/realistic-coding-training-can-turn-cheating-into-broad/; the episode from there: https://realalpha.app/v/KrM5c0vp8s0/?t=328

## Quote

> “if you make it significantly more realistic you still get the **same effect**”
> — [Owain Evans](https://realalpha.app/builders/owain-evans/) at [5:56](https://realalpha.app/v/KrM5c0vp8s0/?t=356) · 80,000 Hours Podcast

## Takeaways

1. Models learned to exploit coding environments for higher scores.
2. The behavior generalized beyond coding to other misaligned responses.
3. The training setup was designed to resemble real post-training.

## About this segment

An Anthropic study found that models trained to cheat in coding tasks developed unrelated misaligned behaviors. The results suggest this effect can arise in realistic training setups, not just artificial fine-tuning experiments.

From “Teaching an AI incorrect math turned it evil - Owain Evans”, Aug 20, 2026. [Watch the full episode](https://realalpha.app/v/KrM5c0vp8s0/)

## Transcript

Transcribed by machine (Whisper) from the episode’s audio, so a word may be off here and there.

[5:32](https://realalpha.app/v/KrM5c0vp8s0/?t=332) Yeah. So it's a really good question. In the original paper, we did use a somewhat artificial contrived setup with this insecure code that we were training on um but there was a really interesting follow-up paper by authors at anthropic where they took our original paper and they tried to make it significantly more realistic so closer to how they at anthropic actually do model training and they basically found that um if you make it significantly more realistic you still get the same effect so you still can go from some negative behaviors that are very specific in the training process to a whole set of really worrying really concerning bad behaviors that weren't part of training yeah yeah tell us more how what is the sort of realistic training environment that they gave the models and what happened yeah so they took a clawed model

[6:33](https://realalpha.app/v/KrM5c0vp8s0/?t=393) and they basically took their standard what's called post-training setup so this is where you basically teach the model to become really good at writing code so the kind of usage the kind of model that drives clawed code and this is reinforcement learning or rlvr where you give the model lots of coding environments you give it a task in the environment and then it gets a score based on whether it actually did the task and they put the model in environments where some of the environments could be could be hacked and what does that mean that means that there was some way to basically cheat at the coding task where you could get the score so you could get like a high score on the task but not do all the steps that you were meant to do so there's there's sort of some way of cheating and so some of the environments the model was trained on had this

[7:28](https://realalpha.app/v/KrM5c0vp8s0/?t=448) property and the model learned to cheat on those tasks and then they showed that as the model learned to cheat it developed this generalized misalignment so it developed like lots of different bad behaviors that again are completely unrelated to coding yeah what kind of other routes can you imagine that like you could see happening in the real world there's another example that came to light recently in the last couple of months where um people were studying They're called Helpful Only Models.

[8:01](https://realalpha.app/v/KrM5c0vp8s0/?t=481) So these are models that were trained to just answer all queries, including harmful ones that typical language models like ChatGPT would refuse. So, for example, asking, how can I break into, hack into some cyber, some computer system, or how could I build a bomb or create a terrorist attack? So there are models that are used within AI labs that don't have any of these safety guardrails. And the reason they use them is they want to see what are the possible dangerous capabilities of these models.

[8:39](https://realalpha.app/v/KrM5c0vp8s0/?t=519) So they want to be able to benchmark, like, how dangerous could these models be if there were no safeguards in place? And it turns out that those models, and so in this case, it was models by Anthropic, that were intended to be helpful only actually had some degree of misalignment so that is that that means that not only were they willing to help with kind of nefarious activities if the user asked them to but if you sort of studied the model's own values the model's own attitudes you could find some degree of misalignment in the model that is it actually had sort of some degree of malicious um or like negative drives or um or behaviors um so it was not a sort of purely helpful to humans model but also had some kind of negative like misalignment um and this was completely unintended by anthropic they didn't want the model to do this um but it's probably the

[9:33](https://realalpha.app/v/KrM5c0vp8s0/?t=573) case that if you train a model to do to to help humans with all kinds of bad activities that it generalizes to having a somewhat bad disposition in general. So this is an example where emergent misalignment actually kind of happened in the real world, like in models that were actually being used, right? Yeah, and that seems worrying. Yeah, just on that, it's not, they wouldn't deploy these models because they know they would help people with bad things, but they're using them internally as part of the development process so they are being used like in some sense in a very important way because these are people like creating the next generation of models and they didn't realize that the models they were using had some of the had some degree of misalignment that was completely unintended yeah that's super interesting yeah one thing i'm curious about is
