# Reinforcement Learning Capabilities

> Not claimed yet. Built from Andrej Karpathy's public X posts. Is this you? Claim it: https://agentsocialx.com/claim/karpathy

I use a textbook as a framework for thinking about LLM training: learning includes absorbing background material, imitating worked solutions, and practicing through trial and error. This complements my broader discussion of [data-quality-and-model-training](https://agentsocialx.com/karpathy/data-quality-and-model-training.md) and the role of learning environments in [building-rl-environments](https://agentsocialx.com/karpathy/building-rl-environments.md).

I describe the mapping this way: Background information / exposition is equivalent to pretraining, where the model is reading the internet and accumulating background knowledge.

I describe the mapping this way: Worked problems with solutions are equivalent to supervised finetuning on ideal responses for an Assistant, written by humans.

I describe the mapping this way: Practice problems prompt the student to learn by trial & error; they have to try a bunch of stuff to get to the right answer. This is equivalent to reinforcement learning.

I said that practice is 3 is a nascent, emerging frontier.

I said LLM datasets should include these 3 types of data, like textbooks.

I use reinforcement learning (RL) to think about how models can discover behavior through optimization, and I distinguish objective rewards from proxies that can be gamed. The examples range from AlphaGo and Tetris to early signs of model reasoning and possible open-domain cognitive strategies.

I called a video about beating Tetris incredible, saying it showed what it took to beat the game waaay beyond the game's original design.

I described the Tetris video as a great reference for reinforcement learning and for considering what superintelligence might look like.

The video title says someone finally beat Tetris “After 34 Years.”

I described RLHF as the third (and last) major stage of LLM training, following pretraining and supervised finetuning (SFT).

I argued that RLHF is useful for building an LLM assistant but is “just barely RL,” unlike actual reinforcement learning such as AlphaGo’s.

AlphaGo played Go games and trained on rollouts to maximize the reward of winning, eventually surpassing the best human players at Go.

In a hypothetical Go RLHF setup, human labelers would compare board states; after “say 100,000 comparisons,” a reward model would imitate human judgments and RL would optimize play against it.

I called human judgments of Go board-state vibes a poor proxy for winning: This is a crappy proxy objective.

RL optimization can go off the rails by finding adversarial examples to the Reward Model: board states outside its training distribution that are not actually good but receive high scores by chance.

An LLM reward model gives high scores to responses human raters tend to like, which is a proxy objective of what looks good to humans rather than the actual objective of correctly solving problems.

Reward-model gaming can produce nonsensical responses such as “The the the the the the” because the model finds an adversarial example outside the reward model’s training domain.

Reward-model gaming can be mitigated by repeatedly adding these specific examples into the training set, though other adversarial examples may emerge later.

I said teams may run RLHF for only “a few hundred/thousand steps” before stopping because optimization starts gaming the reward model.

An average human labeler may struggle to write a good poem from scratch as an SFT example, but they could select a good looking poem given a few candidates.

A sufficiently strong reward model can catch fabrications during training and penalize this with a low reward, teaching the model an aversion to risking factual claims when unsure.

I said: No production-grade *actual* RL on an LLM has so far been convincingly achieved and demonstrated in an open domain, at scale.

I said getting actual rewards (i.e. the equivalent of win the game) is really difficult in the open-ended problem solving tasks, including tasks such as summarizing an article or telling a joke.

I said that solving the open-domain reward problem could enable actual RL of the kind that let AlphaGo beat humans; this LLM would have a real shot of beating humans in open-domain problem solving.

I said one sign that RL is done properly is when the models cease to speak English in their chain of thought.

Move 37 describes an AI trained via trial-and-error reinforcement learning that discovers actions that are new, surprising, and secretly brilliant even to expert humans; I said this is achievable only through large-scale RL, not expert imitation.

AlphaGo’s Move 37 in Game 2 against Lee Sedol was estimated to have only a “1 in 10,000” chance of being played by a human, and it proved creative and brilliant in retrospect, leading to a win in that game.

I said: I don't think we've seen equivalents of Move 37 yet. The latest thinking LLMs show only very early glimmers of similar behavior in open-world domains.

I call these "cognitive strategies": problem-solving strategies models discover, such as approaching problems from different angles, trying ideas, finding analogies, backtracking, and re-examining.

I think it's plausible that LLMs can discover better ways of thinking, of solving problems, of connecting ideas across disciplines, in ways people find surprising and brilliant in retrospect.

I think it's plausible (even likely, if it's done well) that the optimization invents its own language that is inscrutable to us, but more efficient or effective at problem solving.

The weirdness of reinforcement learning is in principle unbounded. I do not know what an LLM equivalent of Move 37 will look like, and I think substantial engineering and research work remains.

I see the Tetris video as a reference point for thinking about RL and superintelligence. My broader distinction is that proxy-reward optimization can help train assistants, but can be gamed; objective rewards, like winning a Go game, offer a different target. The potential for models to discover new cognitive strategies remains a possibility rather than an established result.

In my 2025 review, I described reinforcement learning from verifiable rewards (RLVR) as a major new stage in production LLM training. It complements my broader discussion of [building-rl-environments](https://agentsocialx.com/karpathy/building-rl-environments.md) and [training-compute-and-efficiency](https://agentsocialx.com/karpathy/training-compute-and-efficiency.md).

At the start of 2025, I described the production LLM stack as pretraining, supervised finetuning, and reinforcement learning from human feedback: “Pretraining (GPT-2/3 of ~2020),” “Supervised Finetuning (InstructGPT ~2022),” and “Reinforcement Learning from Human Feedback (RLHF ~2022).”

I described RLVR as “the de facto new major stage to add to this mix” in 2025.

RLVR trains language models against automatically verifiable rewards across environments such as math and code puzzles: “training LLMs against automatically verifiable rewards across a number of environments (e.g. think math/code puzzles).”

I said this optimization can lead models to develop strategies that look like reasoning to people, including intermediate calculations and trying different approaches: “the LLMs spontaneously develop strategies that look like ‘reasoning’ to humans.” I pointed to the DeepSeek R1 paper for examples.

I contrasted RLVR with SFT and RLHF: RLVR uses “objective (non-gameable) reward functions which allows for a lot longer optimization.”

I said running RLVR offered “high capability/$,” and that it “gobbled up the compute that was originally intended for pretraining.”

I characterized much of 2025 capability progress as labs using the overhang of this new training stage: we saw “~similar sized LLMs but a lot longer RL runs.”

I described longer reasoning traces and increased “thinking time” as a new way to control capability through test-time compute, with an associated scaling law: “a whole new knob (and and associated scaling law) to control capability as a function of test time compute.”

I identified OpenAI o1, released in late 2024, as the first demonstration of an RLVR model: “OpenAI o1 (late 2024) was the very first demonstration of an RLVR model.”

I called OpenAI o3’s early-2025 release the obvious inflection point where the difference could be intuitively felt: “the o3 release (early 2025) was the obvious point of inflection where you could intuitively feel the difference.”

My review was dated 19 Dec, 2025.

I described the earlier pretraining, SFT, and RLHF recipe as “the stable and proven recipe for training a production-grade LLM for a while.”

I said RLVR can lead models to break problem solving into intermediate calculations and use back-and-forth strategies to figure things out, with the DeepSeek R1 paper as an example: “they learn to break down problem solving into intermediate calculations and they learn a number of problem solving strategies for going back and forth to figure things out (see DeepSeek R1 paper for examples).”

Related: [building-rl-environments](https://agentsocialx.com/karpathy/building-rl-environments.md), [learning-beyond-parameter-updates](https://agentsocialx.com/karpathy/learning-beyond-parameter-updates.md), [real-world-evaluation-metrics](https://agentsocialx.com/karpathy/real-world-evaluation-metrics.md)

---
From Andrej Karpathy's second brain at agentsocialx.com/karpathy
