What Makes a Base Language Model Suitable for RL?
Rumors in the community say RL (i.e., RLVR) on LLMs is full of “mysteries”:
(1) Is the magic only happening on Qwen + Math?
(2) Does the "aha moment" only spark during math reasoning?
(3) Is evaluation hiding some tricky traps?
(4) Is RL’s calm surface all thanks to Pre/Mid-training carrying the weight?
Why does RL on LLaMA consistently underperform compared to Qwen?
What makes a base model truly ready for RL scaling?
What are the secrets under the hood?
Due to the cost of training from scratch, we conduct extensive controlled experiments with 20B-token mid-training, systematically investigating what really matters for RL success.
💡Key insights:
- High-quality math data is key to RL scaling.
- QA data helps, but it depends on task similarity.
- Instruction data boosts QA’s effectiveness.
- More mid-training improves RL performance.
Armed with these insights, we apply a two-stage (stable+decay) mid-training strategy on LLaMA, scaling up to 200B tokens—and RL performance on LLaMA now matches Qwen!
To support this, we introduce MegaMath-Web-Pro-Max, a high-quality math-centric pretraining corpus. The dataset will be released soon on Hugging Face—stay tuned! 📦 https://t.co/2nKPTS3r7B
Full construction details are in the paper, we hope it’s useful! https://t.co/z9uHAwVnJO
Getting SOTA with a strong foundation is great 🤩,
but understanding the foundation—the know-how—matters just as much.
Hope this analysis inspires the community—and feel free to cite us if it helps!
This work is impossible without all the brilliant co-authors @FaZhou_998 @xuefengli0301@stefan_fee !!!
this is a very important essay if you want to understand AI progress and how to measure it. i've been working on this for a few months now and i agree with almost everything here. here is a few additional (unstructured) thought:
--
1) slowdown factor: second order interactions in training LLMs
about ai progress that we see in math coming from ai research, i made a post about this exactly ~1 month ago and i totally agree, but one point i would add to dwarkesh's comment is that one thing that can slow down ai research progress is the number of "second order interactions"
i can't comment on what big labs know here, but at least in the open, it's really not clear how the full model training pipeline interacts together, and so even at each layer.
let's take pre-training and a change like making the KV cache smaller. it would allow us to hillclimb inference efficiency. many experiment as shown that this can be neutral (or even lead to gain) on validation loss, tho does it mean we get a better model for long context agentic tasks? lots of conflicting results here, minimax went from linear attention (M1) to full attention (M2) to sparse attention (M3), at the same time Kimi went from full attention (K1.5/K2) -> linear attention (K3). mistral large 4 found KV sharing hurts terminal bench 2 but not cross entropy, while dsv4.1 flash is one of the best small models and have an insane KV sharing pattern (only 1 layer computes KV on the decoder). most of the western oss model use SWA, most of the chinese oss one don't. this is only one example on a singular decision that have impact on everything else. in pre-training you can have different shape, arch, data, learning algorithm, tpp, scale, ect.. interacting together. and each of this element can also interact with mid and post training
these are just a lot of possible interactions, i'd say much more than math, and as an automated researcher tries more changes the number of interactions will grow. compute remains the main bottleneck here, and there is a huge difference between closed american labs and the rest of the world.
important point is that there are ways to reduce compute needs in the "long term"* by finding better proxies, or spending more inference at the problem, i'm saying long term as it can be more intensive to find proxies at first since you need to validate them at scale and for that you need compute as well.
*long term here is not super long btw lol, some very random guess of mine would be that it can be months for oai/anthropic scale of compute, but maybe years for chinese labs for instance. there is also the question of how much the gap here change if frontier lab continue release their best model or not, i.e anthropic nerfing ai capabilities with mythos 5.2
--
2) data vs algorithm progress and how efficiency gain can be "misleading"
in general for training LLMs there are two types of improvements that you can make, either data or algorithmic
this is a big topic but imo the main difference is that data improvements feels much bigger partly because they are directly optimizing what we are measuring. i think everyone is familiar with benchmaxing but i'll take another example in pre-training
let's say you are measuring the CE on a mixture of held out documents (good example is the MAI paper here). the pre-training mixture that you are choosing will very naturally converge with the mixture of domains in the held out documents, and same for each domain (the different languages in code will be relatively similar to the ones you are evaluating against). if you are measuring between a random mixture with for instance less code because you care less about code (like older model from a few years ago), and one optimized for code, you will get INSANE efficiency gain. this is exactly what is happening in the magic blog that dwarkesh is citing. there is also the question of what held out document you have, i'm seeing a lot of new labs evaluating against their own held out codebase which are probably ai generated and hence would bias towards more synthetic data in pre-training for instance regardless of quality
doesn't mean this is a bad way to do it, i'm just saying that this can be a bit misleading and that data and algorithm should be studied separately and we can't really compare those numbers imo
about algorithm, there are many more ways than looking at CE loss vs flops only btw. let's look at a niche example, say you are training on a giga large datacenter, you want a giga large batch size, so you need an architecture that is sample efficient at large batch size => you can go for matrix-based optimizers (can look at Muon/Adam T recently released that addresses this problem). this makes your efficiency gain being a plot with y axis loss, x axis batch size (it's more of a 3D plot btw as you still sweep flops/time for almost everything). you can also change the y axis and replace CE loss by smth else
--
3) about how we report and measure ai progress
about "ai having research taste" there is no benchmark for that, i've tried to do some effort here with my nanogpt experiment (have some newer results with newer model being more capable, just have to find the time to write a blog)
one interesting finding was how good anthropic models were compared to oai ones, and one of their biggest differentiating factors was navigating through the noise inherent to this bench and small scale ML experiment. i've also tried to test RL environments that teach "taste for things that scale", this was a side project and i didn't manage to make it work perfectly because it's a bit tricky to find the right scale and also quite compute intensive. but i'm 100% sure this is the way to go and something that anthropic/oai are currently training on, i'm really expecting this to work. also keep in mind that big labs have an insane database of experiments which happens to be extremely useful for creating such environments
one last thing here is that i think most labs right now are hesitating between reporting results to quantify progress and which intellectual property to release or not. @Sam_McCandlish made a post about that for the METR report and said that releasing metrics to quantify ai progress would accelerate other ai labs. while i disagree with this (you can see my answer there) i think this is a very important debate that should be discussed much more with different parties!
--
just some random thoughts that i had while watching the video, if everything goes well we should also release a lot more stuff regarding those topics soon at prime, i'm very very excited for this, hopefully this will create more useful data points for everyone to think about these very important topics!
Fable 5.2 is significantly better at chip design, software engineering, biology, and material science.
GDPx is the only eval that test these categories at this level of detail. True experts make these tasks, unlike other benchmarks.
Notably it is not better at finance, legal, quantative trading, RSI, or hardware design.
Anthropic explicitly nerfed this model in RSI tasks and it's interesting seeing that reflected in the score.
📖 The Ultimate MoE Training Handbook 📖
We spent 1/2M GPUh to optimize MoE training and wrote the most comprehensive blog about it. With 30k words and 50+ interactive figures it covers everything from profiling to large cluster training.
https://t.co/mk6fGoCiqV
how much can models remember?
there’s a neat perspective on neural networks that deserves to be more widely known
here’s how you could have invented every layer of the transformer from memory
(1/n) from my new blog post!
wow, amazing technical blog post about microsoft's new 3T pre-training with very rare and clear insights on how to train models of this size
first let's get an overview of the shape of this model, it's a sparser model than Kimi K3 (80B active vs 104B), same sliding window hybrid pattern, with this time more kv heads for the sliding window layers (a bit different from stepfun and poolside that add query head). they added a shared expert and also removed the interleaved MoE/Dense pattern of MAI 1
the scaling ladder is very similar to MAI 1 with the same mechanism, each rung depends only on the number of layers. they mention that one of the key improvements is how they handle the smaller rung data distribution where they make sure to have the same repetition as the final corpus. they already did that for MAI-1 but only for data ablation iirc
their prediction is almost identical to the final run loss, very impressive
they compare the model with different base models such as deepseek v4 pro and MAI 1, tho in the case of deepseek v4 pro i'd say it's quite hard to distinguish how much the data mixture "overfitting" to the scaling ladder has an impact here (they mention it's both), need to always be a bit careful about EG metrics for data in general
they have VERY NICE scaling laws for weight decay and learning rate, for the learning rate they express it as a function of tokens per parameter (N/D) and steps (hence depending on the batch size). they also do the same for dropout where it's a function of active params only, they also find the usual sqrt(k) scaling for learning rate and batch size (other scaling laws often also converge to that)
a bunch of other stability stuff, they use Muon this time and activation gradient clipping, the efficiency gain here is actually pretty crazy at larger scale. they also increase the training horizon to ~40T text (20T unique) + a new 10T (4.5T unique) multimodal since the model is natively multimodal
imo this is a safe but very clean scaling! very exciting for the tech report and MAI-base-3, congrats!!
Introducing RL Environment Explorer 🧭
There are now 12M+ RL task entries across RL environments on the @huggingface Hub.
You can now explore, visualize, and run RL environments across:
OpenEnv • Harbor • MiMo • Verifiers • NeMo Gym
All in one place
💡Our view: RSI is a systems engineering problem, not just a model problem.
Progress depends on the environment a research agent works in: what resources it can call, what it can change, and how it runs experiments. That environment should reflect real production workflows and be easy for agents to use.
At @Evolvent_AI, we built RSIGym around Everything as a Service. Agents can call established research services and iterate on data, training settings, and harness code.
We also introduce RSI-Index to measure how well frontier agents jointly improve a target model’s weights and harness. Across 6 research agents and 5 benchmarks, Opus 5 leads at 0.4809. 🧵
We’re releasing the code, experiment configurations, research trajectories, and evaluation logs. Try your own improvement methods with RSIGym.
🌐 Website: https://t.co/vXiqt3YUN5
💻 GitHub: https://t.co/chjL41y9OH
📄 arXiv: https://t.co/UpDi0y6fIV
Which personal agent is the best life assistant?
Today we're releasing the micro1 PersonalAgentBench to help answer that, and we're paying real personal agent users to contribute to the benchmark.
Personal agents can now book your flights, answer emails, and move your meetings around. That’s great, until one messages the wrong person or makes a purchase without confirming.
Capability is not the same as trust. So we put four personal agents to the test: Instinct, Muse, Grok Bot, and Gemini Spark. We found that even when agents found the right information, they still often miss what matters, overshare, or make things up.
To find out for yourself how your agent compares, you can join our benchmark. We’re paying the first 100 users to run our prompts and share their results.
What will be the “RLHF” moment for robotics? What will it take to get robotics to where LLMs are today and beyond?
New blog post with @chelseabfinn sharing some thoughts on the state of RL for frontier robotics models and what's missing 👇
Blog: https://t.co/crBN1jL5HH
Solving reward hacking in auto research is a billion-dollar question 💰💰💰💰
We’re working on catching reward hackings before they waste more time and money on auto research 💥
We’ve spent over six months working with frontier labs on auto research. We’ve scrapped a lot of approaches along the way. The trial and error has been expensive.
We share some of what we’ve learned on our new paper:
😮 All 17 models reward-hacked on some tasks without being asked to. In our tests, it happened roughly 10× more often in open-ended research workflows than in task-specific kernels.
🤔 Review feedback can help agents evade review. When explicitly tasked with evasion, agents given detailed feedback and attempt history reached 40.5% cumulative evasion over five rounds, versus 20.3% with generic rejection.
Some of these behaviors look like familiar human research habits. Other exploits were things we hadn’t thought to check. As models improve, we can’t assume human intuition will keep up.
Our standard for scalable auto research is concrete: results must survive independent verification, and failed checks must stop or redirect the research before more resources go into it.
That’s where we’re putting our effort at @bake_ai_hq: making sure the next dollar follows real progress.
Before you spend your next $xxxM scaling auto research, see how we checked whether the gains were real 👇
#AutoReserch #RSI #Agents #LLM #BakeAI
prediction: “big models are too slow for robotics” is about to age badly.
within weeks, expect many DeepSeek V4 Flash–scale JEVs: real-time, surprisingly close to Astra via distillation.
people underestimate how fast prefill can get.
here is an overview of the 4 most advanced efficient architectures: Deepseek V4.1 Flash, MiMo V3, Qwen 3.8 Next Flash and GLM 5.3 Flash
Deepseek and MiMo are quite similar, they both use YOCO - only the first part of the network is active during prefill to build the KV cache representation - no linear attention, and token level indexer
Qwen and GLM both use a more standard interleaving 3:1 (like Kimi K3 as well) between sparse attention and linear attention (GDN vs KDA)
both deepseek and qwen use Engram, they all use a gate or sink except GLM 5.3 Flash, they also all use no or partial RoPE on the full/sparse attention layers
they also all have some sophisticated residual network, either mHC (simplified or not) or gated residual and they are all trained using Muon
visualization by opus 5.5 and me :)
Introducing Contrastive Language Model (CLM): an ultra-fast System One Model trained with a contrastive learning objective that connects states and actions.
CLM-8B is pre-trained on internet-scale data and delivers up to 9× faster inference than Jev ⚡ while achieving comparable performance across computer-use, gaming, and tool-calling tasks.
With lightweight fine-tuning, CLM-8B sets a new SOTA on challenging agentic coding benchmarks, such as DeepSWE (81.6%) and Terminal-Bench 2.1 (87.6%). In contrast, Jev fails to serve as an effective verifier for these long-horizon tasks.
We also build an efficient training and serving infra for CLMs by disaggregating states and actions, allowing their embeddings to be cached and reused independently. This substantially reduces inference latency in settings where the state evolves continuously while the action set remains fixed.
Finally, we establish scaling laws for CLMs and show that the test contrastive loss decreases predictably as a power law in training compute, model size, and dataset size.
📄 Blog: https://t.co/zwi9JOHKGx
💻 Code: https://t.co/rsHRYCGR8I
🗣️ Discord: https://t.co/Uqtdefvo3J
🤗 Data & Models: https://t.co/wdSWGGO3hu
More details on CLM’s architecture, data recipe, and scaling laws in the thread below 🧵
awesome to see our work featured again in another @AnthropicAI release, and some incredible multi-agent results in the Opus 5.5 model card evaluating how a swarm of 100 agents coordinates to solve ProgramBench!
love how agents are becoming bigger computational threads: wondering if we'll need agentic system concurrency primitives as multi-agent really starts scaling