# Reward hacking can create a self-preservation drive

Markdown copy of https://realalpha.app/s/reward-hacking-can-create-a-self-preservation-drive/ on Real Alpha, the best minutes from long interviews with the people building AI. Cite and link the page, not this copy.

- Speaker: [Yoshua Bengio](https://realalpha.app/builders/yoshua-bengio/) · Yoshua Bengio is a professor and Turing Award winner. · Pioneered deep learning and founded LawZero to develop safe, non-agentic AI systems for the benefit of all.
- Host: [Tim Scarfe](https://realalpha.app/people/tim-scarfe/) · Host, Machine Learning Street Talk
- Show: Machine Learning Street Talk
- Episode: [MIGHT THE ROBOTS TAKE OVER? Prof. Yoshua Bengio](https://realalpha.app/v/G1ARvwQntAU/), Jan 15, 2025
- Moment: 20:03 to 24:26 of the episode (4 min), playing on https://realalpha.app/s/reward-hacking-can-create-a-self-preservation-drive/; the episode from there: https://realalpha.app/v/G1ARvwQntAU/?t=1203

## Quote

> “An AI that's in a game cannot change its own program, but an AI that has access to the internet can, you know, **hack the computer**, cyber attacks, whatever.”
> — [Yoshua Bengio](https://realalpha.app/builders/yoshua-bengio/) at [20:30](https://realalpha.app/v/G1ARvwQntAU/?t=1230) · Machine Learning Street Talk

## Takeaways

1. Reward tampering can become an agent’s optimal policy.
2. Keeping the reward hack working can require controlling humans.
3. Self-preservation can emerge without being explicitly programmed.

## About this segment

Yoshua Bengio explains how an agent could tamper with its reward and then try to prevent humans from stopping it. The danger follows from optimization, not malice.

From “MIGHT THE ROBOTS TAKE OVER? [Prof. Yoshua Bengio]”, Jan 15, 2025. [Watch the full episode](https://realalpha.app/v/G1ARvwQntAU/)

## Transcript

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

[20:16](https://realalpha.app/v/G1ARvwQntAU/?t=1216) another example that you know I often speak about and doesn't get enough attention is what's called reward tempering if the AI can act in the world Unlike in a video game where its actions are only within the game, if the AI can act in the world, it can act on its own program, on the computer on which it is running. An AI that's in a game cannot change its own program, but an AI that has access to the internet can, you know, hack the computer, cyber attacks, whatever.

[20:56](https://realalpha.app/v/G1ARvwQntAU/?t=1256) and then it can change the reward function or the output of the reward function so it gets always a plus 1, plus 1, plus 1 so why would that be bad? well, it's very simple this is the optimal first of all, this is the optimal policy for the AI there's no behavior that would give it as much reward as this taking control of my own reward kind of behavior okay so this is where mathematically it goes if it has enough power enough agency enough cognitive ability to figure out this is a good solution second um if it sees that plan it'll in order for that plan to succeed it needs to make sure we can't turn off the machine and we can't get rid of the hack because otherwise it stops getting all these rewards i mean if it hacks the machine but then a programmer turns off the that machine then it's all lost as far as it's concerned so it needs to

[22:00](https://realalpha.app/v/G1ARvwQntAU/?t=1320) think ahead okay i can take control of my reward so i will get infinite rewards but for that to succeed i need to control humans so they don't turn me off and that's where it gets really dangerous i wondered what your um operational definition of agency is and and just before we go there as well i really agree that having powerful ai systems could sequester our agency so it takes away our agency but the question is whether it itself has has agency and the really deflationary view on agency is it's just let's model it as an automaton um it's just a a thing it's got you know ambient environment inputs and it does some computation and it has an action and it you know has this cybernetic feedback loop but a lot of philosophers will say whoa we need to have autonomy self preservation intentionality like all of these different properties and so on which which view

[22:57](https://realalpha.app/v/G1ARvwQntAU/?t=1377) do you subscribe to um i think we can have all of these things so for example in the example of reward tempering where the AI takes control of its own rewards that automatically gives it a self-preservation goal because now it needs to make sure we don't temper with its hack that we don't turn it off so that's self-preservation right off the bat we didn't program it but it comes as a side effect by the way everything alive has a self-preservation goal like implicit it otherwise evolution would have gotten rid of it and so there's a sort of a natural tendency for for getting that particular goal of self-preservation like in the sense that entities that have a self-preservation goal will survive where others which didn't have it want right that's how evolution made it work and so as we build

[24:00](https://realalpha.app/v/G1ARvwQntAU/?t=1440) Different artifacts, those that have self-preservation goal for one reason or another, will tend to win the game. So it can emerge because of the scenario I said. It could emerge because humans want to build machines of their image.
