Oleg Rybkin (@_oleh) header
Oleg Rybkin (@_oleh) profile picture

Scaling RL for Grok

SF
Joined January 2014
Photo by Oleg Rybkin (@_oleh)Photo by Oleg Rybkin (@_oleh)Photo by Oleg Rybkin (@_oleh)Photo by Oleg Rybkin (@_oleh)Photo by Oleg Rybkin (@_oleh)Photo by Oleg Rybkin (@_oleh)Photo by Oleg Rybkin (@_oleh)Photo by Oleg Rybkin (@_oleh)Photo by Oleg Rybkin (@_oleh)Photo by Oleg Rybkin (@_oleh)
Check out a new paper by Preston&Kevin at Berkeley! We'd love partial credit in RL, but it does not work. There is no good ground truth signal for it. What if there was? Progressive Point Matching with reference solutions is unbiased like GRPO and scales to longer horizons!
I've written a blog post about our new method Progressive Point Matching, a simple approach to dense credit assignment for LLM RL. We improve training efficiency exponentially over standard GRPO on long-horizon tasks! prestonfu.com/notes/ppm
1
1
30
5,252
PPM breaks the reference solution into steps and rewards matching each step one by one. The final reward is based on the latest achieved step, so the agent can improve on the reference. This is a mix of reinforcement and imitation learning, perhaps the best of both worlds!
2
4
363
currrrrsor biig!
Today's Training Data episode takes us BTS on the infrastructure challenges required to do large RL runs at scale, featuring @ellev3n11 (Composer Lead at @cursor_ai) and @dzhulgakov (Co-Founder at @FireworksAI_HQ). The Cursor team trained Composer 2 on Fireworks by starting with a strong base model (Kimi 2.5) and performing large-scale mid-training on code tokens and web data to learn common patterns and libraries, followed by a large-scale Reinforcement Learning run to learn how to navigate the Cursor harness, call tools, and write correct code. Today's episode dives into the systems and infrastructure challenges of making that large RL run happening, and there were many (!!), from numerical mismatch to global distribution to synchronizing rollouts across asynchronous pipelines to keeping track of expert activation across runs and more. Extremely nerdy in-the-weeds challenges that Federico and Dima were delighted to nerd out on together :) Beyond RL infra, we also discussed Online vs Simulated rollouts, self-summarization for long-horizon agents, environment design ("the most powerful RL environment is the product itself"), and other technical nuggets. PS: We filmed this episode before the SpaceX news, while the Cursor team was still compute-constrained. While Cursor now has *all* the flops, the takeaways and hurdles crossed ring true for any serious application-level company that is racing to post-train their own models. I believe that more serious application companies will go the way of Cursor and post-train their own models. 00:00 Introduction 00:53 Why Cursor Trained Composer 2 04:55 Specialization vs Bitter Lesson 06:16 Composer 2 Training Recipe 16:32 Scaling RL Infrastructure Globally 23:32 Floating Point Drift 25:11 MoE Sensitivity Explained 26:25 Router Replay Fix 27:19 Real Time RL Loop 31:49 Long Horizon Agents 34:29 Why RL Everywhere 37:34 LLM as Judge Rewards 39:14 RL in Hard Domains 40:13 Build Your Own Environments 44:34 Closing Thoughts
1
73
21,897
RL goes brrr 🎶
Introducing Composer 2.5, our most powerful model yet. It's more intelligent, better at sustained work on long-running tasks, and more reliable at following complex instructions. For the next week, we’re doubling the included usage of the model.
2
1
29
1,831
The hardest challenge is to be yourself in a world where everyone is trying to make you be somebody else - E E Cummings
Cursor beating every model that exists on CursorBench
10
1,318
Efficient RL training achieved internally 👀
Composer 2 is now available in Cursor.
42
3,003
NeurIPS is in the home stretch! If there is one more thing you have energy for, come learn about how to scale them optimally at poster 216 :)
We are at NeurIPS and excited about compute-optimal RL with value functions! Come stop by our poster on Friday :)
9
1,458
Check out Ed's new paper, presented at NeurIPS on Thursday! Robot policies are great when they can see what to do, but what if the target object is hidden? We use RL by training value functions with privileged sensors and learn effective active perception policies, see below!
Happy to announce our neurips’25 paper, real world RL of active perception behaviors! I am pretty excited about this project - I learned that real world robot RL is actually quite straightforward. Details below:
1
8
1,289
We are at NeurIPS and excited about compute-optimal RL with value functions! Come stop by our poster on Friday :)
I'll be at Neurips this week! On Friday afternoon (4:30-7:30), we're presenting our work on training value functions compute-optimally. value-scaling.github.io/ With @_oleh @zhiyuan_zhou_ @mic_nau @pabbeel @svlevine @aviral_kumar2
1
1
22
3,881
Will be in San Diego for NeurIPS starting tomorrow! Excited to catch up with everyone :)
2
2
42
4,882
Seems like a good day to announce that I have decided to join Cursor! Exited about training RL agents on the correct task distribution :)
8
126
11,362
Preston (@preston_fu) explains scaling laws for value-based RL in a new blog post! In supervised learning laws, we simply fit the loss L(B,N,C). In RL, we don't have such luxury so a new way is needed. We wrote two papers formalizing it, summarized in a new blog post.
10
706
Want more scaling laws for value-based RL? Preston and I analyzed scaling model size! Larger models predictably improve data efficiency, performance, reduce overfitting, and allow using larger batch size. After this, I am now more optimistic than ever abt TD-learning.
If we have tons of compute to spend to train value functions, how can we be sure we're spending it optimally? In our new paper, we analyze the interplay of model size, UTD, and batch size for training value functions achieving optimal performance. arxiv.org/abs/2508.14881
1
7
46
7,028
Check out Preston's thread and paper for some fun results - Larger models make TD-targets easier to fit - Batch size depends on both model size and UTD, and we can batch size scaling laws - We fit scaling laws to compute optimal tradeoff between scaling UTD or model size
1
5
82
📈📈📈
If we have tons of compute to spend to train value functions, how can we be sure we're spending it optimally? In our new paper, we analyze the interplay of model size, UTD, and batch size for training value functions achieving optimal performance. arxiv.org/abs/2508.14881
9
879
Cool work by David and friends! Could this be the thing that finally makes everyone stop using Gaussians as their policies? 🤔
Excited to share Flow Matching Policy Gradients: expressive RL policies trained from rewards using flow matching. It’s an easy, drop-in replacement for Gaussian PPO on control tasks.
2
20
1,455
Very insightful analysis that I mostly agree with (except the overly pessimistic title :)!
Q-learning is not yet scalable seohong.me/blog/q-learning-i… I wrote a blog post about my thoughts on scalable RL algorithms. To be clear, I'm still highly optimistic about off-policy RL and Q-learning! I just think we haven't found the right solution yet (the post discusses why).
3
3
22
4,903
Really interesting result! Scaling value-based RL is hard and we are still missing much of the machinery to do it. @seohong_park shows that horizon is the critical issue.
Is RL really scalable like other objectives? We found that just scaling up data and compute is *not* enough to enable RL to solve complex tasks. The culprit is the horizon. Paper: arxiv.org/abs/2506.04168 Thread ↓
3
17
2,072
Check out a new paper by @amberxie_! We show that you can do robotic imitation learning well by planning future latent states instead of actions with a diffusion model. This planning method is also more flexible, allowing you to use suboptimal and action-free data.
Introducing ✨Latent Diffusion Planning✨ (LDP)! We explore how to use expert, suboptimal, & action-free data. To do so, we learn a diffusion-based *planner* that forecasts latent states, and an *inverse-dynamics model* that extracts actions. w/ @_oleh @DorsaSadigh @chelseabfinn
1
1
11
6,186
Does off-policy value-based RL scale? In LLMs, larger scale predictably improves performance. Value-based RL learns from arbitrary data and is sample-efficient, but folk wisdom says it doesn't scale 🧵⬇️We show predictability for scaling value-based RL! arxiv.org/abs/2502.04327
7
33
2
130
24,010
Specifically, we study *resource optimization* for data D, compute C, and budget F = C + δ D, (i.e. C and D both cost time or money) We answer how to get -Best data efficiency when scaling compute -Best compute efficiency when scaling data -Best return when scaling budget
1
5
366
How do we best use privileged sensors for RL training? We study "sensory scaffolding" where privileged input improves training components but is not fed into the policy. Even with limited sensing, our agents can be robust and do information gathering. Talk to Ed at ICLR!
Does the process of learning change the sensory requirements of a robot learner? If so, how? In our ICLR'24 spotlight, (poster #208, Tuesday 4:30-6:30pm), we investigate the sensory needs of RL agents, and find that beginner policies benefit from more sensing during training!
14
1,476
A thought on Sora: even with enormous compute a generative video model doesn't yet learn counterfactual reasoning. An action-centric objective would be much more effective if we wanted a model useful for robotics.
7
1,063