Skip to content
HUIAHUB
VideoadvancedModels & inference

Training Your Own Agent Models With RL Is Now Practical - Jason Mancuso, Modal

by AI EngineerUploaded Posted 20:51 long3.2K views

Why watchA 21-minute talk from Modal for engineers with agents in production who want to train their own models with asynchronous RL instead of treating models as swappable backends.

What this video covers

Jason Mancuso of Modal gives this talk on the AI Engineer channel. It runs about 21 minutes, and the chapter list follows the order of his argument.

After a short intro, the section at 0:20 makes the case that models are not static backends. Mancuso argues that treating a model as a part you can swap out is a losing strategy. At 1:09 he covers why teams fine-tune, and 3:35 turns to why he prefers reinforcement learning (RL) over supervised fine-tuning (SFT). His reason, per the video description, is that RL generalizes better than fine-tuning on recorded traces.

At 4:46 he lists what a team with an agent in production already has: a harness, evals and production traces. He presents these as the inputs RL needs. A basic explanation of how reinforcement learning works starts at 6:51, followed at 7:41 by asynchronous RL and the problem of staleness.

The recipe section begins at 9:38. Mancuso walks through a stable setup for async RL built on GRPO, using masked importance sampling, score centering and top-p sampling.

From 12:38 the talk moves to Modal's own platform and what makes running RL there different. Sparse weight updates come up at 14:55. According to the description, they let Modal spread rollouts across clouds, GPU types and quantization levels while training stays stable. Mixing GPU types for rollouts is the topic at 16:21, and 17:56 gives the result: rollouts that are 15% cheaper. The last section, at 19:16, is titled Own your stack.

The description does not name the models, tasks or measurement setup behind the 15% figure, and no transcript was readable on the video page, so those details are unknown here.

Written by HuiaHub from the creator's title, description and chapters. All credit for the video goes to AI Engineer.

Key takeaways

  • Teams with agents in production already have a harness, evals and production traces for RL.
  • The talk argues RL generalizes better than fine-tuning on recorded traces.
  • A stable async RL recipe uses GRPO with masked importance sampling, score centering and top-p sampling.
  • Sparse weight updates let rollouts run across clouds, GPU types and quantization levels.
  • Spreading rollouts this way made them 15% cheaper on Modal.

Chapters

  1. 0:00Intro (opens YouTube at this moment)
  2. 0:20Models aren't static backends (opens YouTube at this moment)
  3. 1:09Why teams fine-tune (opens YouTube at this moment)
  4. 3:35Why RL instead of SFT (opens YouTube at this moment)
  5. 4:46You already have what you need (opens YouTube at this moment)
  6. 6:51How reinforcement learning works (opens YouTube at this moment)
  7. 7:41Async RL and staleness (opens YouTube at this moment)
  8. 9:38A stable RL recipe (opens YouTube at this moment)
  9. 12:38Why RL on Modal is different (opens YouTube at this moment)
  10. 14:55Sparse weight updates (opens YouTube at this moment)
  11. 16:21Mixing GPU types for rollouts (opens YouTube at this moment)
  12. 17:5615% cheaper rollouts (opens YouTube at this moment)
  13. 19:16Own your stack (opens YouTube at this moment)

Sources

More videos

All videos