flâneur — a map of the web's best reading

Thinking through how pretraining vs RL learn

substack.com · saved by 1 readers

Recently, people have been talking about how it takes way more FLOPs to get a single sample in RL than it does in supervised learning. In pretraining, you get a signal on every single token you train on. In RL, you have to unroll a whole thinking trajectory that’s 10s of 1000s of tokens long in order to get a single reward signal at the end (for example, did the unit test for my code pass/did I get the right answer to this math problem/etc). But this is only half the problem. Here’s a simple way to compare the learning efficiency of reinforcement learning versus supervised learning: Bits/FLOP = Samples/Flop * Bits/Sample. What I haven’t heard people talk about is the other term in our equation: Bits/Sample. And for most of training, the information density per sample is way way lower for RL. In supervised learning (aka pretraining), you’re just soaking up bits. Every token is a hint at the structure of language, and the mind crafting that language, and the world that mind is seeing. Ea

Recently, people have been talking about how it takes way more FLOPs to get a single sample in RL than it does in supervised learning. In pretraining, you get a signal on every single token you train on. In RL, you have to unroll a whole thinking trajectory that’s 10s of 1000s of tokens long in order to get a single reward signal at the end (for example, did the unit test for my code pass/did I get the right answer to this math problem/etc). But this is only half the problem. Here’s a simple way to compare the learning efficiency of reinforcement learning versus supervised learning: Bits/FLOP

Explore this link on the map →