WhoBuilt

RL for Autonomous Coding

Jul 16, 2025· 19 min· 8.1K views·Watch on YouTube

Speaker

Aakanksha Chowdhery, a former Google PaLM research lead and Gemini lead researcher now at Reflection.ai, discusses reinforcement learning for autonomous coding at an AI Engineer event.

From scaling to reasoning

Chowdhery recaps how scaling model size, data, and compute improved performance and led to capabilities such as chain-of-thought reasoning. She says those gains generalized across areas including math, multilingual question answering, and language understanding.

Inference-time compute has limits

As pretraining gains become less certain, Chowdhery describes using extra inference compute through multiple samples, majority voting, and sequential revision. These methods can improve results when answers are verifiable, such as with math calculations or coding unit tests, but correct generations may be rare and require many samples.

Reinforcement learning can teach verifiable tasks

Chowdhery argues that reinforcement learning could train models to produce correct answers, building on human-feedback methods used for chatbots. She points to math results where both test-time compute and more RL training improved benchmark accuracy, and says coding is promising because outputs can be checked with tests and execution feedback.

Scaling RL is a systems challenge

She explains that PPO-based RL can require four model copies, while GRPO removes the value model but still requires three. Managing model placement across GPUs, training and inference loops, and reward hacking makes RL systems difficult to scale; automated coding checks can support better reward functions.

Coding agents must handle full workflows

Chowdhery says code generation is only one part of software engineering, and Reflection aims to generalize across the broader workflow. In the Q&A, she says coding agents need multiple model calls, while whether those calls use one model or several remains an open design choice.

Takeaways

  • Use unit tests and execution feedback to create rewards for coding agents.
  • Treat majority voting as useful when answers are verifiable, while accounting for the sampling cost when correct outputs are rare.
  • Plan RL infrastructure around multiple model copies and coordinated training and inference loops.
  • Evaluate coding agents across end-to-end engineering workflows, not code generation alone.
  • Design agents around multiple model calls; model specialization choices remain unsettled.

Mentioned in this talk

Search inside this talk

What was claimed 5

Related talks