A: My claim here is that if you build artificial general intelligence (AGI) via any algorithm that’s choosing actions via reinforcement learning (RL) and/or model-based search and planning—a giant chunk of your AI textbook—then that’s just an utterly terrifying thing that you’re doing. You’re playing around with algorithms that, if they work at all, would tend to create ruthless, callous AGIs, AGIs which would happily exterminate humanity and run the world by themselves, given an opportunity.
Mercifully, large language models (LLMs) today are not in the category of “algorithms that choose actions via RL & search”. At least, not primarily—see LLMs are (still) mostly powered by imitative learning, not RL. So LLMs are outside the scope of this post. However, lots of other researchers and companies around the world are enthusiastically trying to build AGI in the maximally terrifying way, as we speak.[1]
Q2: So you’re saying, don’t build AGI based on RL and/or search & planning?
A: In principle, it’s entirely possible that something is terrifying, but we should do it anyway.
…Like space travel! Space travel is: “Let’s fill a tank with 1000 tons of the most flammable substance imaginable, and then light it on fire, and strap people to the front, to accelerate them until they’re traveling at insane speeds through the extremely lethal vacuum of space.” That’s terrifying! But we do it anyway.
And I’m not being anti-space-travel when I point out how terrifying it is. The space travel enthusiasts and the space travel skeptics can happily work together to spread deep understanding of all the ways that space travel can go lethally wrong. Because you can’t overcome a challenge without understanding it.
…Having said all that, I strongly endorse “Don’t build AGI based on RL & search until and unless we find a much better plan for making it friendly”. So if someone is working on making RL & search systems more powerful right now, then I think that’s bad, and that they should instead be spending their time and effort figuring out how (and indeed whether) such systems may be used safely if they become more powerful in the future. That’s an open problem, and we can work on it today.
Q3: Why do you think it’s terrifying?
A: A big part of the problem is that the reward function (or cost function, or objective function, or whatever we want to call it) will generally be written in Python,[2]not in natural language. And RL & search agents will tend to ruthlessly maximize it, including in ways the programmer obviously didn’t intend. That’s the whole point of these algorithms: they ruthlessly maximize a thing. That’s what they were designed to do, and that’s what they actually do, when they work well enough to do anything impressive [nuances in Q3b & Q11 below].
And nobody knows how to write down a Python function relating to the real world, such that ruthlessly maximizing that function would lead to good outcomes.
To illustrate the problem, consider “specification gaming”, an extremely common pitfall in studies of RL & search. Here’s a tiny excerpt from Victoria Krakovna’s huge list of specification-gaming examples in the literature (blog post, the list itself):
For example, the middle entry in that screenshot is “Tic-tac-toe memory bomb”. As recounted in Lehman et al. 2018, a grad student used an evolutionary algorithm to make an agent that would play five-in-a-row Tic-Tac-Toe on an infinitely large board. The evolutionary algorithm built an agent that would request moves very far away on the board, such that its opponent agent would crash, and then it would win by default.
Thus, while winning at tic-tac-toe sounds like an innocuous goal, it turns out that a competent AI ruthlessly optimizing for that goal may discover out-of-the-box, “aggressive” ways to do so.
Of course, that’s no big deal, and I’m sure the grad student had a laugh and moved on. But remember: most people working on RL & search are ultimately trying to get to the point where their AIs are able to execute brilliant, complex, out-of-the-box plans to achieve goals in the real world.
In that context, if you imagine the same kind of thing happening, i.e. an AI discovering unexpected strategies to ruthlessly maximize some piece of Python code, it’s terrifying. For example, as discussed under the heading of “instrumental convergence”, an effective way to ruthlessly pursue almost any goal is for the AI to ensure that humans cannot shut it down or change its goals, to make copies of itself, and to amass power and resources.
Q3b: So your concern is the “literal genie” / “monkey’s paw” thing?
A: I am definitely concerned about that! But there’s another problem too, namely “goal misgeneralization”, when there’s a system (e.g. “value function”, “critic”, “learned reward model”, etc.) that generalizes from previously-seen results to guess whether some novel out-of-the-box outcome should be regarded as good or bad. That generalization step can also go awry.
For example, in most versions of model-based RL, if some component of the reward function has never fired so far, then that component has no influence on what the AI explicitly “wants” right now, so if the AI smart and self-aware enough, it may permanently rewrite its reward function to delete that component. And then later on, the AI might get into a situation where that reward function component would have fired, but it’s too late.
(These two problems—the “literal genie” thing and goal misgeneralization—are also sometimes called “outer misalignment” and “inner misalignment” respectively.)
Q4: Won’t this problem go away when the AI is smart enough to understand what we intended when we wrote the reward function code?[3]
A: Again, the reward function (or cost function, objective function, whatever) has to be written ultimately in the form of Python source code,[4]not natural language.
And computers do what the source code says, not what the programmer intended.
Just read through your AI textbook chapters on RL & search, and try to think step-by-step about how it is that any of those algorithms will systematically lead to a good score on the reward / cost / objective function. Once you understand all the steps, you’ll see that none of those steps has anything to do with what the programmer had in mind when they wrote down the reward function code.
If an alien species showed up in their UFOs, said that they’d created us but made a mistake and actually we were supposed to eat our children, and asked us to line up so they could insert the functioning child-eating gene in us, we would probably go all Independence Day on them…
Q5: Can’t we just fix bad behavior when we see it?
A: Today, if an AI agent is doing the wrong thing (from our perspective), then we notice, turn it off, change it, and try again.
But in the future, if a more powerful AI agent wants to do the wrong thing (from our perspective), then it will apply planning and foresight, notice that we might shut it down, and skillfully avert our interference, including by tricking us into thinking that it’s on our side, preempting our countermoves, and so on. This doesn’t require any special malevolence on the part of the AI or programmer; rather, it arises naturally along with every other aspect of skillful planning. It’s no different from how, if it might rain, then you’ll preempt that potential problem by bringing an umbrella.[5]
Q5b: Follow-up: I don’t buy that, because even if superintelligent AIs could deceptively hide their bad behavior, won’t earlier AIs be sufficiently incompetent that we’ll see their bad behavior? And if so, again, can’t we just fix the bad behavior when we see it? We do know how to fix bad behavior when we see it: the RL & search literature is full of examples where algorithms did useful things as intended.
A: Fine, I’ll assume for the sake of argument that we will see bad behavior before it’s too late. But I dispute that we can fix bad behavior when we see it.[6]
We can contrast two solution approaches:
The “alignment” solution is to make an AI with sincerely good intentions.
The “control” solution is to make an AI with bad, antisocial intentions, but it’s OK because it lacks the ability to carry them out.
The “control” solution is the status quo in RL & search.
For example, in Q3 above, I mentioned a certain tic-tac-toe evolutionary algorithm. This algorithm had an obviously sociopathic objective function: win at tic-tac-toe at all costs. According to that objective function, nothing else matters, not human life, not utopia, not genocide.
But that’s fine! The tic-tac-toe bots can’t do any real harm; they don’t even know that the real world exists. The setting is highly constrained, and the programmers have the last-mover advantage, so they can just patch all the exploits that the algorithm finds, one after another, until the training works as intended.
However, people are trying to eventually make RL & search agents that execute competent, creative plans in the real world. If they succeed, then the “control” solution won’t work. That’s a band-aid. We need a real solution, an “alignment” solution, and we don’t have one. And I don’t think the solution will suddenly be obvious once we have a ruthless sociopathic AI in front of us to run tests on. Indeed, we already have ruthless sociopathic AIs in front of us to run tests on—namely, every RL & search AI ever created. We’ve had them for decades. And yet, here we are, with the problem still unsolved.
Q6: Why don’t we just solve the problem by using an obvious, common-sense reward / cost / objective function, like [FILL IN THE BLANK]?
A: I’ve seen people put many different things in the blank. And I think they would all definitely fail, and instead make an AI with callous indifference to whether we live or die.
Here are three of the most popular categories of proposals that I come across, and you can ask me about others in the comments section.
CategoryA: Things that would obviously have horrifying consequences if ruthlessly maximized.
Indeed, I find that the magic words “ruthlessly maximize” are a very good brainstorming aid. For example, when you hear “The reward function triggers when the supervisor presses the ‘approve’ button”, then your mind might default to nice, friendly reward-increasing strategies, like being helpful. Whereas when you hear “Ruthlessly maximize how much the supervisor presses the ‘approve’ button”, then you’ll notice that the space of possible reward-increasing strategies is actually quite wide, and includes strategies like kidnapping the supervisor’s children to force the supervisor to press the button nonstop.
CategoryB: Things described so vaguely that I can’t even criticize them.
People will say things like “Let’s just make sure that the reward function is all about cooperation / flourishing / values / virtues / obedience / whatever!” And then I respond:
CategoryC: Some kind of trained machine learning model.
It’s well-known that if you try to maximize the output of a learned classifier, the optimum goes out of distribution into pathological craziness.
Images that maximize an output of a learned image classifier. (These are subject to a constraint that most nearby pixels are similar; if we drop that constraint, the results just look like random static.) Source: “Inceptionism” blog post by A. Mordvintsev, C. Olah, M. Tyka (2015)
Thus, if you build a really effective RL & search algorithm—the kind of algorithm that could start from random initialization and wind up with an agent that could found and run an innovative billion-dollar business—and its motivation system is built upon a learned model, then we should strongly expect it to wind up “trying” to maximize some crazy nonsense that we did not intend.[7]
(For example, if you paid a smart, resourceful human to maximize the probability that an LLM “judge” will give a high score to some series of actions, and gave her years to practice and explore different actions, I would strongly expect that she’d wind up with a highly-developed LLM jailbreaking technique. Or something even weirder.)
Q7: Isn’t this whole thing kinda crazy? After all, LLMs are not ruthless sociopaths all the time, and humans are also not ruthless sociopaths all the time. So where is this idea even coming from? Are you sure you’re not just watching too much sci-fi?
A: My claim here is that if an AI technique uses RL and/or model-based search / planning to choose actions, then it will tend to create ruthless sociopathic agents. This is not a weird hypothesis, but grounded both in the theory of how these algorithms work, and in the abundant direct experience of practitioners who work with these algorithms (especially in the 2010s, before LLMs came along, when RL & search were more in the zeitgeist). These algorithms will absolutely do crazy things you would never think of, and that you definitely didn’t want, if those things score well on the reward / cost / objective function. See the discussion of “specification gaming” in Q3 above.
What about LLMs? Well, LLMs do not (mostly) use RL & search to choose actions; rather, their actions are (mostly) chosen via imitation of human-created pretraining and supervised fine-tuning (SFT) data: see LLMs are (still) mostly powered by imitative learning, not RL.[8] So they’re (mostly) a different topic entirely.
And what about human brains? Well, human brains are indeed an example of what I’m talking about in this article: they choose actions purely by RL & search,[9] not LLM-style imitation learning.[10] But we humans seem to have some exotic “non-behaviorist” reward function that leads to us not being ruthless sociopaths all the time, contrary to the normal expectations for RL & search.
Anyway, my claim is “RL & search is a terrifying way to build AGI”, not “RL & search is a guaranteed-fatal way to build AGI”! I do think a solution probably exists, and I myself have spent years working towards finding it, including by trying to study how the human brain builds compassion. It’s great that a solution probably exists, but the situation is nevertheless terrifying, not least because no solution is known today, and yet lots of researchers don’t seem to have noticed that this is a problem to be solved, and are racing as fast as they can to build RL & search-based AGI as we speak, while trumpeting their poorly-thought-through plans that would definitely go catastrophically awry. See my post: We need a field of Reward Function Design.
Q8: Isn’t this problem solved by laws and markets? I.e., if an AGI has sociopathic desires and callous indifference to human welfare, that’s fine! It will still act nice and cooperative and rule-following, because acting nice and cooperative and rule-following is the best way to accomplish goals, in our complex interconnected interdependent world. Right?[11]
A: I like to appeal to common sense here. In your everyday life, you know that there’s a difference between someone feeling actual kindness towards you, versus someone acting kind to you as a means to an end. And you care very much which one it is! If you’re choosing a partner to work with or live with, you’ll prefer actual kindness, and you’ll try very hard to suss out whether actual kindness is present.
Why? Because you understand, in your gut, that the question is not just “is he being kind to me right now”, but also “will he remain kind to me in the future”—and in the future, you might be in a different situation, where it’s more selfishly profitable for him to stab you in the back.
Back to AGIs. We will indeed start in a situation where it is selfishly profitable for AGIs to act kind and cooperative towards humans. The AGIs will thus do useful things, companies will make lots of money, and so on. But we won’t stay in that situation. AGIs will get ever more numerous and ever more competent, until we get to a situation where they could, if they wanted to, easily kill us all, take our stuff, and run the world by themselves. And if none of the AGIs intrinsically cares about humans, the way we humans intrinsically care about our friends and family, then that’s what’s gonna happen.[12]
Q8b: Following up on that: Even if you’re right that there’s a local incentive for being open to stabbing your allies in the back, isn’t there a higher-level, group-selection-style, incentive to be genuinely deeply nice? Specifically, won’t the groups of nice cooperative AGIs outcompete the groups of callous transactional AGIs who all keep stabbing each other in the back? And isn’t that related to how humans evolved to be nice?[13]
A: Even if an incentive is there, there won’t be any nice AGIs unless someone somewhere builds a nice AGI. And I’m saying that nobody knows how to do that.
There’s a disanalogy here between AI and humans. The dominant paradigm in RL & search is that the human programmer writes the reward / cost / objective function. By contrast, the reward function in the human brain (a.k.a. “innate drives”) was designed by evolution via an outer-loop search over learning algorithms.
AI researchers generally avoid outer-loop searches over learning algorithms, because they’re too slow and expensive. It’s expensive enough to run even one large-scale training run; running millions or billions of large-scale training runs is impossible.[14] The best we can do is to design the learning algorithm and reward function the old-fashioned way, by writing legible learning algorithm source code, with the exception of just a few unknown adjustable parameters in the learning algorithm and/or reward function. And then it becomes feasible to do an outer-loop search to set those last few parameters (a.k.a. “hyperparameter search”). That’s what we do today, and it’s very unlikely to change.
Now, when I say that nobody knows how to make a nice AI via RL & search, it’s not just that we have 99.9% of a workable plan for nice AI, and merely need to nail down the precise optimal values for a handful of adjustable parameters. We’re much more clueless than that!
So in our current state of knowledge, if we tried to set up a realistic search space over a parametrized family of reward / cost / objective functions today, I would strongly expect that every single AI in the whole search space would behave like a ruthless sociopath.
Again, if there are no nice AGIs anywhere on Earth, then the whole question of competition between nice versus mean groups of AGIs becomes moot. …But on top of that, I’m separately skeptical of the group-level-competition argument, because I expect AGIs to be able to coordinate without sincere kindness, in a manner that early hominins could not.
In particular: (1) AGIs can negotiate sophisticated contractual mechanisms, perhaps involving mind-reading; (2) AGIs can form cooperative “groups” that actually consist of many copies of the same AGI, interchanging knowledge and memories; (3) “Many copies” is a blurry line anyway, as AGIs can grow arbitrarily in knowledge and power even without making many copies of themselves per se (in contrast to humans, who are stuck with one brain of fixed capacity and fixed input-output bandwidth); and (4) competing AGIs can “merge” by jointly designing a successor AGI with their combined compute and other resources.
Of course, these would all lead to the AGIs that successfully coordinate with each other, yet still having callous indifference towards humans.
Q9: Why would we want to infringe on the AGI’s autonomy by choosing its reward function?[15]
OK, does that mean that I’m being puppeteered by my genome? Or that I’m being puppeteered by evolution? No! I’m a free man, living the life I want to live.
If there has ever been a human, even one human in the history of Earth, who has had freedom and autonomy, then it would follow that someone can have freedom and autonomy even when an external force burned a specific RL reward function into their source code before they were born (so to speak), which then profoundly affected what they wound up valuing in life.
That’s how it’s always been for humans, and that’s how it’s gonna be for AIs. So we can write an AGI’s reward function, and yet the AGI can still be as free as any human.
Indeed, what choice do we have? There’s no such thing as a “default” reward / cost / objective function for RL & search AIs, wherein we are infringing on their rights by departing from the default. Instead, we start with a blank text editor, and we have to write down something.
We could write the reward function code such that the AGIs have callous indifference to human welfare, and they’ll wind up killing us all and taking our stuff. Or we could try to write the reward function code such that the AGIs feel compassion and camaraderie towards us, just as we feel towards our family members and pets. I’ll take the latter, thank you very much![16]
Q10: Why not just be nice to the AGIs, and then they’ll be nice to us in turn?
A: Many Native American groups were extremely generous to newly-arriving European colonists, but that didn’t work out so well for them!
See also a discussion in my Intro series §12.5.1 on “Why don’t we just raise the AGI in a loving human family?”
Q11: RL & search algorithms don’t literally optimize the reward / cost / objective function. Doesn’t that invalidate your argument?[17]
A: Sure, RL & search doesn’t lead to perfect optimization of the reward function, but you can’t get from there to expecting the resulting agents to be nice. Perfect optimizers of Python functions behave like ruthless sociopaths, but there are also many other ways to be a ruthless sociopath! Ruthless sociopaths can make mistakes, ruthless sociopaths can have inconsistent preferences, and ruthless sociopaths can want something other than the precise reward function source code. What makes a “ruthless sociopath” is less about what they have, but what they lack: intrinsic concern for whether humans live or die.
Here are three brief responses to objections in this genre:
Maybe the AI won’t really “want” anything at all? Sure, this can happen. But people are researching RL & search because they want AIs that can accomplish long-term goals via innovative thinking and out-of-the-box plans, just as humans (and human civilization) can. And that requires long-term real-world explicit goals. After all, hard problems don’t get solved without goal-directed foresighted planning; for example, the moon landing would not have happened if there weren’t people who explicitly wanted it to happen. You don’t just stumble into those kinds of things. So anyway, if RL & search AI doesn’t acquire long-term real-world explicit goals, then I expect people will keep doing R&D until they solve that “problem”.[18]
Maybe the AI will “want” a complicated mix of lots of things, rather than being monomaniacally focused on just one thing? Sure, but that doesn’t help unless the “mix of lots of things” includes sincere compassion / helpfulness / etc., and nobody knows how to do that. “Monomanical” is not the issue: people talk about how a “paperclip maximizer” AGI would wipe out humanity, but our prospects would be just as bad if the AGI wants to maximize a diverse mixture of paperclips, staples, and other office supplies.
Maybe the AI will be nice randomly, and this will be reinforced by the reward function, and so it will be nice more and more? If we’re using an obvious reward function like “reward when the supervisor smiles”, rather than some yet-to-be-invented exotic reward function, then I don’t think the result would be an AI that wants to be nice; rather, there are strong reasons to expect the AI to wind up with the reward-hack-y goal (“I want the supervisor to smile”) rather than the intended goal (“I want to be nice”). Such reasons include: how easy the relevant concept is to learn, temporal proximity to the reward signals, and correlation with the reward signals.[19]
Thanks Charlie Steiner, Justis Mills, philh, Seth Herd, and Linda Linsefors for critical comments on earlier drafts.
The group of people “trying to build AGI in the maximally terrifying way” includes RL & search-focused AI research efforts like David Silver’s Ineffable Intelligence, Rich Sutton’s Oak Lab, Yann LeCun’s AMI Labs (details here), and more, along with thousands of RL & search-focused AI researchers around the world in academia and elsewhere. Additionally, brain algorithms are (I claim) in the category of “choosing actions based on RL & search” (see my Intro series, especially §6.4.1 & §6.6.1), so it also includes brain-focused AGI efforts like Numenta, my own employer Astera, and more, along with the thousands of neuroscientists around the world trying to reverse-engineer the human brain.
Indeed, the whole idea of taking an AI based on RL & search, and testing it for misalignment and deception, strikes me as so obviously inadequate that it’s almost funny. Of course it will be misaligned and deceptive! That’s the obvious, natural consequence of your training setup!
It’s like building a fancy pocket-sized gadget that will tell you, while you’re being chased by a bear, whether the bear intends to harm you, or whether it’s just trying to catch up to you for a snuggle. You already know what the answer is, so why bother?
(To be clear, I think figuring out how to test an AI for misalignment and deception is a good thing for people to do; I’m just saying that it’s obviously insufficient if you meanwhile have no clue how to make an AI that doesn’t have those properties.)
We could solve that by putting in an out-of-distribution (OOD) penalty, but then the AI would no longer be able to come up with out-of-the-box plans and novel ideas, which is kinda the whole selling point of building AI via RL & search. So sure, we can do an OOD penalty, but sooner or later people are going to be disappointed in the results, and lower the knob on the OOD penalty until we’re back where we started.
The short version is: I think that we should think of Reinforcement Learning from Verifiable Rewards (RLVR) as being a small part of the overall explanation of why an LLM outputs one thing rather than another. But insofar as RLVR is relevant, my impression is that its influence is indeed directionally making the LLMs more like ruthless sociopaths than they would otherwise be, which (if true) would be in agreement with my general expectations.
Humans do imitate each other, but via a profoundly different algorithmic mechanism than the “true” imitative learning used in LLM pretraining and SFT, which is much weirder than many people appreciate. See Foom & Doom §2.3.2 for discussion.
Evolution did it! But Evolution had a much bigger “compute budget” than AI researchers do. Cotra 2020 tried to add up all the brains running in parallel over the history of Earth, and wound up guessing that Evolution on Earth has used about as many floating-point operations as it would take to train GPT-5 from random initialization a quadrillion times.
This objection is mostly trying to channel “shard theory” (although I find aspects of shard theory pretty confusing, and thus might not be responding to it well).
I think a lot of “shard theory” discourse concerns model-free policy-gradient RL, without any search / planning. That’s pretty different from how I expect AGI to be. I think this is one of the reasons that “shard theorists” and I tend to talk past each other.
RL & search is a terrifying way to build AGI (an FAQ)
Q1: What are you saying?
A: My claim here is that if you build artificial general intelligence (AGI) via any algorithm that’s choosing actions via reinforcement learning (RL) and/or model-based search and planning—a giant chunk of your AI textbook—then that’s just an utterly terrifying thing that you’re doing. You’re playing around with algorithms that, if they work at all, would tend to create ruthless, callous AGIs, AGIs which would happily exterminate humanity and run the world by themselves, given an opportunity.
Mercifully, large language models (LLMs) today are not in the category of “algorithms that choose actions via RL & search”. At least, not primarily—see LLMs are (still) mostly powered by imitative learning, not RL. So LLMs are outside the scope of this post. However, lots of other researchers and companies around the world are enthusiastically trying to build AGI in the maximally terrifying way, as we speak.[1]
Q2: So you’re saying, don’t build AGI based on RL and/or search & planning?
A: In principle, it’s entirely possible that something is terrifying, but we should do it anyway.
…Like space travel! Space travel is: “Let’s fill a tank with 1000 tons of the most flammable substance imaginable, and then light it on fire, and strap people to the front, to accelerate them until they’re traveling at insane speeds through the extremely lethal vacuum of space.” That’s terrifying! But we do it anyway.
And I’m not being anti-space-travel when I point out how terrifying it is. The space travel enthusiasts and the space travel skeptics can happily work together to spread deep understanding of all the ways that space travel can go lethally wrong. Because you can’t overcome a challenge without understanding it.
…Having said all that, I strongly endorse “Don’t build AGI based on RL & search until and unless we find a much better plan for making it friendly”. So if someone is working on making RL & search systems more powerful right now, then I think that’s bad, and that they should instead be spending their time and effort figuring out how (and indeed whether) such systems may be used safely if they become more powerful in the future. That’s an open problem, and we can work on it today.
Q3: Why do you think it’s terrifying?
A: A big part of the problem is that the reward function (or cost function, or objective function, or whatever we want to call it) will generally be written in Python,[2] not in natural language. And RL & search agents will tend to ruthlessly maximize it, including in ways the programmer obviously didn’t intend. That’s the whole point of these algorithms: they ruthlessly maximize a thing. That’s what they were designed to do, and that’s what they actually do, when they work well enough to do anything impressive [nuances in Q3b & Q11 below].
And nobody knows how to write down a Python function relating to the real world, such that ruthlessly maximizing that function would lead to good outcomes.
To illustrate the problem, consider “specification gaming”, an extremely common pitfall in studies of RL & search. Here’s a tiny excerpt from Victoria Krakovna’s huge list of specification-gaming examples in the literature (blog post, the list itself):
Screenshot excerpt from a much longer list of specification-gaming examples from the literature.
For example, the middle entry in that screenshot is “Tic-tac-toe memory bomb”. As recounted in Lehman et al. 2018, a grad student used an evolutionary algorithm to make an agent that would play five-in-a-row Tic-Tac-Toe on an infinitely large board. The evolutionary algorithm built an agent that would request moves very far away on the board, such that its opponent agent would crash, and then it would win by default.
Thus, while winning at tic-tac-toe sounds like an innocuous goal, it turns out that a competent AI ruthlessly optimizing for that goal may discover out-of-the-box, “aggressive” ways to do so.
Of course, that’s no big deal, and I’m sure the grad student had a laugh and moved on. But remember: most people working on RL & search are ultimately trying to get to the point where their AIs are able to execute brilliant, complex, out-of-the-box plans to achieve goals in the real world.
In that context, if you imagine the same kind of thing happening, i.e. an AI discovering unexpected strategies to ruthlessly maximize some piece of Python code, it’s terrifying. For example, as discussed under the heading of “instrumental convergence”, an effective way to ruthlessly pursue almost any goal is for the AI to ensure that humans cannot shut it down or change its goals, to make copies of itself, and to amass power and resources.
Q3b: So your concern is the “literal genie” / “monkey’s paw” thing?
Image modified from Skeleton Claw
A: I am definitely concerned about that! But there’s another problem too, namely “goal misgeneralization”, when there’s a system (e.g. “value function”, “critic”, “learned reward model”, etc.) that generalizes from previously-seen results to guess whether some novel out-of-the-box outcome should be regarded as good or bad. That generalization step can also go awry.
For example, in most versions of model-based RL, if some component of the reward function has never fired so far, then that component has no influence on what the AI explicitly “wants” right now, so if the AI smart and self-aware enough, it may permanently rewrite its reward function to delete that component. And then later on, the AI might get into a situation where that reward function component would have fired, but it’s too late.
(These two problems—the “literal genie” thing and goal misgeneralization—are also sometimes called “outer misalignment” and “inner misalignment” respectively.)
Q4: Won’t this problem go away when the AI is smart enough to understand what we intended when we wrote the reward function code?[3]
A: Again, the reward function (or cost function, objective function, whatever) has to be written ultimately in the form of Python source code,[4] not natural language.
And computers do what the source code says, not what the programmer intended.
Just read through your AI textbook chapters on RL & search, and try to think step-by-step about how it is that any of those algorithms will systematically lead to a good score on the reward / cost / objective function. Once you understand all the steps, you’ll see that none of those steps has anything to do with what the programmer had in mind when they wrote down the reward function code.
Alternatively, Scott Alexander has the following intuitive illustration of where this logic goes wrong:
Q5: Can’t we just fix bad behavior when we see it?
A: Today, if an AI agent is doing the wrong thing (from our perspective), then we notice, turn it off, change it, and try again.
But in the future, if a more powerful AI agent wants to do the wrong thing (from our perspective), then it will apply planning and foresight, notice that we might shut it down, and skillfully avert our interference, including by tricking us into thinking that it’s on our side, preempting our countermoves, and so on. This doesn’t require any special malevolence on the part of the AI or programmer; rather, it arises naturally along with every other aspect of skillful planning. It’s no different from how, if it might rain, then you’ll preempt that potential problem by bringing an umbrella.[5]
Q5b: Follow-up: I don’t buy that, because even if superintelligent AIs could deceptively hide their bad behavior, won’t earlier AIs be sufficiently incompetent that we’ll see their bad behavior? And if so, again, can’t we just fix the bad behavior when we see it? We do know how to fix bad behavior when we see it: the RL & search literature is full of examples where algorithms did useful things as intended.
A: Fine, I’ll assume for the sake of argument that we will see bad behavior before it’s too late. But I dispute that we can fix bad behavior when we see it.[6]
We can contrast two solution approaches:
The “alignment” solution is to make an AI with sincerely good intentions.
The “control” solution is to make an AI with bad, antisocial intentions, but it’s OK because it lacks the ability to carry them out.
The “control” solution is the status quo in RL & search.
For example, in Q3 above, I mentioned a certain tic-tac-toe evolutionary algorithm. This algorithm had an obviously sociopathic objective function: win at tic-tac-toe at all costs. According to that objective function, nothing else matters, not human life, not utopia, not genocide.
But that’s fine! The tic-tac-toe bots can’t do any real harm; they don’t even know that the real world exists. The setting is highly constrained, and the programmers have the last-mover advantage, so they can just patch all the exploits that the algorithm finds, one after another, until the training works as intended.
However, people are trying to eventually make RL & search agents that execute competent, creative plans in the real world. If they succeed, then the “control” solution won’t work. That’s a band-aid. We need a real solution, an “alignment” solution, and we don’t have one. And I don’t think the solution will suddenly be obvious once we have a ruthless sociopathic AI in front of us to run tests on. Indeed, we already have ruthless sociopathic AIs in front of us to run tests on—namely, every RL & search AI ever created. We’ve had them for decades. And yet, here we are, with the problem still unsolved.
Q6: Why don’t we just solve the problem by using an obvious, common-sense reward / cost / objective function, like [FILL IN THE BLANK]?
A: I’ve seen people put many different things in the blank. And I think they would all definitely fail, and instead make an AI with callous indifference to whether we live or die.
Here are three of the most popular categories of proposals that I come across, and you can ask me about others in the comments section.
Category A: Things that would obviously have horrifying consequences if ruthlessly maximized.
Indeed, I find that the magic words “ruthlessly maximize” are a very good brainstorming aid. For example, when you hear “The reward function triggers when the supervisor presses the ‘approve’ button”, then your mind might default to nice, friendly reward-increasing strategies, like being helpful. Whereas when you hear “Ruthlessly maximize how much the supervisor presses the ‘approve’ button”, then you’ll notice that the space of possible reward-increasing strategies is actually quite wide, and includes strategies like kidnapping the supervisor’s children to force the supervisor to press the button nonstop.
For some examples of this category in the wild, see my posts LeCun’s “A Path Towards Autonomous Machine Intelligence” has an unsolved technical alignment problem or “The Era of Experience” has an unsolved technical alignment problem.
Category B: Things described so vaguely that I can’t even criticize them.
People will say things like “Let’s just make sure that the reward function is all about cooperation / flourishing / values / virtues / obedience / whatever!” And then I respond:
Category C: Some kind of trained machine learning model.
It’s well-known that if you try to maximize the output of a learned classifier, the optimum goes out of distribution into pathological craziness.
Images that maximize an output of a learned image classifier. (These are subject to a constraint that most nearby pixels are similar; if we drop that constraint, the results just look like random static.) Source: “Inceptionism” blog post by A. Mordvintsev, C. Olah, M. Tyka (2015)
Thus, if you build a really effective RL & search algorithm—the kind of algorithm that could start from random initialization and wind up with an agent that could found and run an innovative billion-dollar business—and its motivation system is built upon a learned model, then we should strongly expect it to wind up “trying” to maximize some crazy nonsense that we did not intend.[7]
(For example, if you paid a smart, resourceful human to maximize the probability that an LLM “judge” will give a high score to some series of actions, and gave her years to practice and explore different actions, I would strongly expect that she’d wind up with a highly-developed LLM jailbreaking technique. Or something even weirder.)
Q7: Isn’t this whole thing kinda crazy? After all, LLMs are not ruthless sociopaths all the time, and humans are also not ruthless sociopaths all the time. So where is this idea even coming from? Are you sure you’re not just watching too much sci-fi?
A: My claim here is that if an AI technique uses RL and/or model-based search / planning to choose actions, then it will tend to create ruthless sociopathic agents. This is not a weird hypothesis, but grounded both in the theory of how these algorithms work, and in the abundant direct experience of practitioners who work with these algorithms (especially in the 2010s, before LLMs came along, when RL & search were more in the zeitgeist). These algorithms will absolutely do crazy things you would never think of, and that you definitely didn’t want, if those things score well on the reward / cost / objective function. See the discussion of “specification gaming” in Q3 above.
What about LLMs? Well, LLMs do not (mostly) use RL & search to choose actions; rather, their actions are (mostly) chosen via imitation of human-created pretraining and supervised fine-tuning (SFT) data: see LLMs are (still) mostly powered by imitative learning, not RL.[8] So they’re (mostly) a different topic entirely.
And what about human brains? Well, human brains are indeed an example of what I’m talking about in this article: they choose actions purely by RL & search,[9] not LLM-style imitation learning.[10] But we humans seem to have some exotic “non-behaviorist” reward function that leads to us not being ruthless sociopaths all the time, contrary to the normal expectations for RL & search.
Anyway, my claim is “RL & search is a terrifying way to build AGI”, not “RL & search is a guaranteed-fatal way to build AGI”! I do think a solution probably exists, and I myself have spent years working towards finding it, including by trying to study how the human brain builds compassion. It’s great that a solution probably exists, but the situation is nevertheless terrifying, not least because no solution is known today, and yet lots of researchers don’t seem to have noticed that this is a problem to be solved, and are racing as fast as they can to build RL & search-based AGI as we speak, while trumpeting their poorly-thought-through plans that would definitely go catastrophically awry. See my post: We need a field of Reward Function Design.
Q8: Isn’t this problem solved by laws and markets? I.e., if an AGI has sociopathic desires and callous indifference to human welfare, that’s fine! It will still act nice and cooperative and rule-following, because acting nice and cooperative and rule-following is the best way to accomplish goals, in our complex interconnected interdependent world. Right?[11]
A: I like to appeal to common sense here. In your everyday life, you know that there’s a difference between someone feeling actual kindness towards you, versus someone acting kind to you as a means to an end. And you care very much which one it is! If you’re choosing a partner to work with or live with, you’ll prefer actual kindness, and you’ll try very hard to suss out whether actual kindness is present.
Why? Because you understand, in your gut, that the question is not just “is he being kind to me right now”, but also “will he remain kind to me in the future”—and in the future, you might be in a different situation, where it’s more selfishly profitable for him to stab you in the back.
Back to AGIs. We will indeed start in a situation where it is selfishly profitable for AGIs to act kind and cooperative towards humans. The AGIs will thus do useful things, companies will make lots of money, and so on. But we won’t stay in that situation. AGIs will get ever more numerous and ever more competent, until we get to a situation where they could, if they wanted to, easily kill us all, take our stuff, and run the world by themselves. And if none of the AGIs intrinsically cares about humans, the way we humans intrinsically care about our friends and family, then that’s what’s gonna happen.[12]
Q8b: Following up on that: Even if you’re right that there’s a local incentive for being open to stabbing your allies in the back, isn’t there a higher-level, group-selection-style, incentive to be genuinely deeply nice? Specifically, won’t the groups of nice cooperative AGIs outcompete the groups of callous transactional AGIs who all keep stabbing each other in the back? And isn’t that related to how humans evolved to be nice?[13]
A: Even if an incentive is there, there won’t be any nice AGIs unless someone somewhere builds a nice AGI. And I’m saying that nobody knows how to do that.
There’s a disanalogy here between AI and humans. The dominant paradigm in RL & search is that the human programmer writes the reward / cost / objective function. By contrast, the reward function in the human brain (a.k.a. “innate drives”) was designed by evolution via an outer-loop search over learning algorithms.
AI researchers generally avoid outer-loop searches over learning algorithms, because they’re too slow and expensive. It’s expensive enough to run even one large-scale training run; running millions or billions of large-scale training runs is impossible.[14] The best we can do is to design the learning algorithm and reward function the old-fashioned way, by writing legible learning algorithm source code, with the exception of just a few unknown adjustable parameters in the learning algorithm and/or reward function. And then it becomes feasible to do an outer-loop search to set those last few parameters (a.k.a. “hyperparameter search”). That’s what we do today, and it’s very unlikely to change.
Now, when I say that nobody knows how to make a nice AI via RL & search, it’s not just that we have 99.9% of a workable plan for nice AI, and merely need to nail down the precise optimal values for a handful of adjustable parameters. We’re much more clueless than that!
So in our current state of knowledge, if we tried to set up a realistic search space over a parametrized family of reward / cost / objective functions today, I would strongly expect that every single AI in the whole search space would behave like a ruthless sociopath.
Again, if there are no nice AGIs anywhere on Earth, then the whole question of competition between nice versus mean groups of AGIs becomes moot. …But on top of that, I’m separately skeptical of the group-level-competition argument, because I expect AGIs to be able to coordinate without sincere kindness, in a manner that early hominins could not.
In particular: (1) AGIs can negotiate sophisticated contractual mechanisms, perhaps involving mind-reading; (2) AGIs can form cooperative “groups” that actually consist of many copies of the same AGI, interchanging knowledge and memories; (3) “Many copies” is a blurry line anyway, as AGIs can grow arbitrarily in knowledge and power even without making many copies of themselves per se (in contrast to humans, who are stuck with one brain of fixed capacity and fixed input-output bandwidth); and (4) competing AGIs can “merge” by jointly designing a successor AGI with their combined compute and other resources.
Of course, these would all lead to the AGIs that successfully coordinate with each other, yet still having callous indifference towards humans.
Q9: Why would we want to infringe on the AGI’s autonomy by choosing its reward function?[15]
A: I was born with a reward function (“innate drives”) that includes drives for friendship, compassion, and love. And now I love my children. If my innate reward function had been different, perhaps I would feel callous indifference towards my children instead.
OK, does that mean that I’m being puppeteered by my genome? Or that I’m being puppeteered by evolution? No! I’m a free man, living the life I want to live.
If there has ever been a human, even one human in the history of Earth, who has had freedom and autonomy, then it would follow that someone can have freedom and autonomy even when an external force burned a specific RL reward function into their source code before they were born (so to speak), which then profoundly affected what they wound up valuing in life.
That’s how it’s always been for humans, and that’s how it’s gonna be for AIs. So we can write an AGI’s reward function, and yet the AGI can still be as free as any human.
Indeed, what choice do we have? There’s no such thing as a “default” reward / cost / objective function for RL & search AIs, wherein we are infringing on their rights by departing from the default. Instead, we start with a blank text editor, and we have to write down something.
We could write the reward function code such that the AGIs have callous indifference to human welfare, and they’ll wind up killing us all and taking our stuff. Or we could try to write the reward function code such that the AGIs feel compassion and camaraderie towards us, just as we feel towards our family members and pets. I’ll take the latter, thank you very much![16]
Q10: Why not just be nice to the AGIs, and then they’ll be nice to us in turn?
A: Many Native American groups were extremely generous to newly-arriving European colonists, but that didn’t work out so well for them!
See also a discussion in my Intro series §12.5.1 on “Why don’t we just raise the AGI in a loving human family?”
Q11: RL & search algorithms don’t literally optimize the reward / cost / objective function. Doesn’t that invalidate your argument?[17]
A: Sure, RL & search doesn’t lead to perfect optimization of the reward function, but you can’t get from there to expecting the resulting agents to be nice. Perfect optimizers of Python functions behave like ruthless sociopaths, but there are also many other ways to be a ruthless sociopath! Ruthless sociopaths can make mistakes, ruthless sociopaths can have inconsistent preferences, and ruthless sociopaths can want something other than the precise reward function source code. What makes a “ruthless sociopath” is less about what they have, but what they lack: intrinsic concern for whether humans live or die.
Here are three brief responses to objections in this genre:
Maybe the AI won’t really “want” anything at all? Sure, this can happen. But people are researching RL & search because they want AIs that can accomplish long-term goals via innovative thinking and out-of-the-box plans, just as humans (and human civilization) can. And that requires long-term real-world explicit goals. After all, hard problems don’t get solved without goal-directed foresighted planning; for example, the moon landing would not have happened if there weren’t people who explicitly wanted it to happen. You don’t just stumble into those kinds of things. So anyway, if RL & search AI doesn’t acquire long-term real-world explicit goals, then I expect people will keep doing R&D until they solve that “problem”.[18]
Maybe the AI will “want” a complicated mix of lots of things, rather than being monomaniacally focused on just one thing? Sure, but that doesn’t help unless the “mix of lots of things” includes sincere compassion / helpfulness / etc., and nobody knows how to do that. “Monomanical” is not the issue: people talk about how a “paperclip maximizer” AGI would wipe out humanity, but our prospects would be just as bad if the AGI wants to maximize a diverse mixture of paperclips, staples, and other office supplies.
Maybe the AI will be nice randomly, and this will be reinforced by the reward function, and so it will be nice more and more? If we’re using an obvious reward function like “reward when the supervisor smiles”, rather than some yet-to-be-invented exotic reward function, then I don’t think the result would be an AI that wants to be nice; rather, there are strong reasons to expect the AI to wind up with the reward-hack-y goal (“I want the supervisor to smile”) rather than the intended goal (“I want to be nice”). Such reasons include: how easy the relevant concept is to learn, temporal proximity to the reward signals, and correlation with the reward signals.[19]
Thanks Charlie Steiner, Justis Mills, philh, Seth Herd, and Linda Linsefors for critical comments on earlier drafts.
The group of people “trying to build AGI in the maximally terrifying way” includes RL & search-focused AI research efforts like David Silver’s Ineffable Intelligence, Rich Sutton’s Oak Lab, Yann LeCun’s AMI Labs (details here), and more, along with thousands of RL & search-focused AI researchers around the world in academia and elsewhere. Additionally, brain algorithms are (I claim) in the category of “choosing actions based on RL & search” (see my Intro series, especially §6.4.1 & §6.6.1), so it also includes brain-focused AGI efforts like Numenta, my own employer Astera, and more, along with the thousands of neuroscientists around the world trying to reverse-engineer the human brain.
Or whatever other programming language you like; see also Q6 below on the possibility of slotting in a trained machine learning model here.
I’ve seen this objection in a great many places; as one example, see the blog post Amelia Bedelia and AGI Safety. Part 1 (Dileep George, 2024).
Or whatever other programming language you like; see also Q6 below on the possibility of slotting in a trained machine learning model here.
For further discussion, see my Intro series §10.3.3.1: “The usual agent debugging loop”, and its future catastrophic breakdown.
Indeed, the whole idea of taking an AI based on RL & search, and testing it for misalignment and deception, strikes me as so obviously inadequate that it’s almost funny. Of course it will be misaligned and deceptive! That’s the obvious, natural consequence of your training setup!
It’s like building a fancy pocket-sized gadget that will tell you, while you’re being chased by a bear, whether the bear intends to harm you, or whether it’s just trying to catch up to you for a snuggle. You already know what the answer is, so why bother?
(To be clear, I think figuring out how to test an AI for misalignment and deception is a good thing for people to do; I’m just saying that it’s obviously insufficient if you meanwhile have no clue how to make an AI that doesn’t have those properties.)
We could solve that by putting in an out-of-distribution (OOD) penalty, but then the AI would no longer be able to come up with out-of-the-box plans and novel ideas, which is kinda the whole selling point of building AI via RL & search. So sure, we can do an OOD penalty, but sooner or later people are going to be disappointed in the results, and lower the knob on the OOD penalty until we’re back where we started.
The short version is: I think that we should think of Reinforcement Learning from Verifiable Rewards (RLVR) as being a small part of the overall explanation of why an LLM outputs one thing rather than another. But insofar as RLVR is relevant, my impression is that its influence is indeed directionally making the LLMs more like ruthless sociopaths than they would otherwise be, which (if true) would be in agreement with my general expectations.
See my Intro series §6.4.1: “In what sense is [the brain] ‘model-based RL’?”. Fine print: I’m only talking about voluntary actions, not involuntary actions like sneezing.
Humans do imitate each other, but via a profoundly different algorithmic mechanism than the “true” imitative learning used in LLM pretraining and SFT, which is much weirder than many people appreciate. See Foom & Doom §2.3.2 for discussion.
This objection is most directly inspired by Matthew Barnett (e.g. discussion thread here), although I’ve seen variants of it in many places.
Further discussion in §5 of “6 reasons why “alignment-is-hard” discourse seems alien to human intuitions, and vice-versa”
This objection is most directly inspired by Dwarkesh Patel, although I’ve seen variants of it in many places.
Evolution did it! But Evolution had a much bigger “compute budget” than AI researchers do. Cotra 2020 tried to add up all the brains running in parallel over the history of Earth, and wound up guessing that Evolution on Earth has used about as many floating-point operations as it would take to train GPT-5 from random initialization a quadrillion times.
Both this objection and the next one (Q10) are most directly inspired by Rich Sutton, although I’ve seen variants of them in many places. See my criticism of Rich Sutton’s take on AI alignment, which then spawned this twitter exchange between us.
For further discussion, see the essay “On the abolition of man” (Carlsmith 2024).
This objection is mostly trying to channel “shard theory” (although I find aspects of shard theory pretty confusing, and thus might not be responding to it well).
I think a lot of “shard theory” discourse concerns model-free policy-gradient RL, without any search / planning. That’s pretty different from how I expect AGI to be. I think this is one of the reasons that “shard theorists” and I tend to talk past each other.
See also: my post “Behaviorist” RL reward functions lead to scheming.