Loading…
Topic
Reinforcement Learning
48 posts about Reinforcement Learning. Every summary links to the original.
- 48 posts
- 14 companies
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
Posts
Toward sample-efficient agentic post-training
Standard reinforcement learning for agentic post-training assigns the same final reward to every action in a rollout, making it hard to distinguish helpful steps from harmful ones. Generating more rollouts to improve credit assignment is expensive. The post presents seven methods that extract per-step or per-token credit from existing rollouts. These methods include merging equivalent steps across attempts, passing credit from successful revisions back to earlier failed attempts, and reweighting distillation signals by their estimated effect on reward. The methods are demonstrated on a running example where an agent writes a function to return the nth prime. The post extracts five lessons from the results, showing how different types of information from rollouts can be turned into training signals tied to task success.
Introducing Olmicro: Small, efficient hybrid models built in the open
Ai2 released Olmicro, a suite of five fully open base language models from 275 million to 2.7 billion parameters, built for research and experimentation on modest compute. The models use a hybrid architecture combining 80% recurrent Gated DeltaNet layers with 20% full-attention layers, eliminating positional encodings and reducing KV cache memory to roughly a fifth of an equivalent all-attention model. All five sizes share a consistent three-stage training recipe and support context lengths up to 64,000 tokens. Olmicro 2.7B matches strong open base models like SmolLM3 3B on OlmoBaseEval while training on less than half the tokens. Post-training experiments showed that reinforcement learning alone at least doubled MATH-500 accuracy across all model sizes in 400 steps, with the 2.7B model improving from 37.4% to 77.3%.
Swarms, Flocks, Gangs: How to build, train, and evaluate multi-agent systems
Multi-agent systems introduce complexity without guaranteed performance gains, as adding agents changes context, budget, and system complexity. The post reproduces an information-aggregation task where four agents share a single Qwen3-0.6B policy and must learn to communicate private integer assignments to produce a correctly sorted list. Training uses centralized training with decentralized execution, a shared team reward, and GRPO via TRL’s async_grpo_s3_aggregation.py on two H200 GPUs. The key question is whether communication actually helps or merely consumes more compute, tested by comparing communicating and independent agents at matched token budgets. At 75 updates, the team solves most checked problems but has not converged to the cleanest communication pattern, showing that success, token use, and communication structure must be read together.
Mellum2.1 Instruct Is Out, Bringing Faster Answers for Coding Agents
Mellum2.1 Instruct is a new open 12B mixture-of-experts model with 2.5B active parameters, built on the same architecture as Mellum2.1 Thinking but providing straight answers without chain-of-thought reasoning for coding agents and tool loops. It was trained with two reinforcement learning stages using NVIDIA NeMo libraries, first on standalone tasks and then on agentic tasks in real repositories with shell and file tools. On agentic coding tasks, it generates about half as many tokens as the Thinking variant and performs almost as well on SWE-bench Verified. It is about 1.4x faster than Qwen3.5 9B for single requests and 1.8x faster under load, with only 2.5B active parameters. Mellum2.1 Instruct is available on Hugging Face under Apache 2.0 with GGUF files for local inference and a multi-token prediction head for up to 1.8x faster generation.
Reducing Rollout Bottlenecks in Reinforcement Learning with NVIDIA Dynamo
Reinforcement learning training uses inference to generate rollouts, but redundant prompt processing, slow weight updates, and worker failures waste GPU capacity and delay training. NVIDIA Dynamo provides a serving layer that separates routing and weight distribution from the RL framework, allowing independent serving optimization while the framework retains control over training. KV-aware routing balances cache reuse and worker load by directing requests to workers with cached contexts, reducing repeated prefix computation and queuing. ModelExpress accelerates weight updates by transferring only compressed delta changes between GPUs, reducing transfer time and also aiding recovery. These capabilities help teams complete more training iterations within fixed compute budgets, with CoreWeave achieving up to 15x faster weight updates and H Company reducing training-step time by up to 20%.
How Abundant designed efficient rollout architecture with Modal Sandboxes
Abundant builds reinforcement learning environments used by frontier labs to train and evaluate agent models. Each task runs as an RL rollout in a Modal Sandbox, requiring compute, Dockerfiles, and isolation, with over 75,000 rollouts created. By working with Modal’s team, Abundant designed an architecture that keeps idle compute costs low by placing a monitor inside the Sandbox that sends heartbeats every 30 seconds, using short-lived Modal Functions to start Sandboxes. Modal’s CPU and memory bursting feature allows Sandboxes to automatically scale up resources when needed, so teams can request average usage while accommodating peaks, reducing idle compute and simplifying allocation decisions. The rollout architecture took two weeks to implement and allowed Abundant to focus on creating verifiers that resist reward hacking, culminating in the Frontier RSI benchmark, which used over 1,300 hours of agent research time.
Multi-Turn Agentic Reinforcement Learning with Tunix and Gemma 4 on Google TPUs
Training real-world AI agents requires reasoning over multiple turns with tool use and environment feedback in a multi-step loop. This post presents a method to train a multi-turn tool-using LLM agent on Cloud TPU v6e-8 using Tunix’s agentic reinforcement learning pipeline. The agent plays the Plane Strike board game on a 6x6 grid with a hidden eight-cell plane in one of four orientations, using Gemma 4 E2B in thinking mode. The pipeline includes a custom environment, Gemma 4 native tool calling via tool declarations and in-turn tool responses, a conversation agent for observation-to-message translation, and GRPO with multi-turn rollouts using vllm-tpu and prefix caching. After 100 training steps, the win rate on held-out boards jumps from 9.4% to 95% while average game length drops from 22.44 to about 16 strikes.
DaisyRose-27B: Pushing the Frontier of Post-Training Efficiency
RadixArk releases DaisyRose-27B, its first model, built on Qwen3.8-27B and trained with reinforcement learning using Miles on long-horizon agent tasks. Training used 1,200 curated tasks with sessions up to 1M tokens, running for 18 days on 144 H200 GPUs, and harness summarization to span multiple trajectories. DaisyRose-27B improves Terminal-Bench 4.1 pass@1 from 5.6% to 12.0% and delivers gains on reasoning, instruction following, and coding benchmarks. The training backend achieved 37% model FLOPs utilization, reducing training cost by 57% and achieving 2x faster end-to-end throughput compared to the open-source trainer. Checkpoints are available under Apache 2.0 in BF16, FP8, and NVFP4 formats, and the model retains the Qwen3.8-27B architecture and 256K-token context window.
Unlocking Stable On-Policy RL on TPU with Bitwise-Zero Train
Reinforcement learning for large language models suffers from numerical instability when the sampler and trainer assign different logprobs to the same action, creating a hidden off-policy gap. This mismatch arises because floating-point addition is non-associative, and differing execution paths use different reduction orders and intermediate precision, especially in bfloat16. The authors’ Zero-TIM implementation closes this gap by locking within-shard kernel accumulation, ordering cross-shard reductions, standardising the logprob scoring tail, and wrapping serving kernels with custom differentiation rules. Verified across 64 TPU v5p chips, the approach records zero mean absolute sampler–trainer logprob difference at every logged step in a 200-step test. The implementation is open-source in Google’s Tunix library and provides a modular blueprint for bit-exact on-policy RL on TPU.
Theoretical Limits of Language Model Alignment
Language model alignment improves outputs to reflect human preferences while preserving base model capabilities. The authors characterize the information-theoretic limits of KL-regularized alignment by deriving the maximum achievable expected reward gain for a fixed KL-divergence budget. Their first result provides a closed-form expression for optimal reward improvement, governed by a Jeffreys divergence term rather than the square root of KL used in prior analyses. They extend the analysis to proxy reward settings, showing that reward hacking grows with reward error magnitude and decreases when the KL penalty factor is smaller, and prove that reward ensembling mitigates this issue. Empirically, best-of-N closely approaches the theoretical limit for safety and summarization tasks, while PPO and GRPO remain substantially suboptimal.
Running AV Reasoning Models Within Onboard Compute and Latency Limits
NVIDIA Alpamayo 2 Edge is an adaptive reasoning vision-language-action model designed for real-time operation on NVIDIA DRIVE AGX Thor. It uses a 2B Nemotron-based reasoning backbone paired with a diffusion action expert, processing surround-camera observations, temporal context, and navigation inputs to generate Chain-of-Causation reasoning and driving trajectories. The model reasons adaptively, producing tokens during routine driving to conserve inference compute. Post-trained with closed-loop reinforcement learning in NVIDIA AlpaGym, it improves closed-loop driving performance by 48.9% over the best checkpoint without closed-loop RL. NVIDIA AlpaJudge provides human-calibrated evaluation and reward signals for measuring reasoning quality and selecting training data.
Accelerating Reinforcement Learning Weight Refit with the Reshard Collective
Reinforcement learning post-training uses a disaggregated setup where inference and training run on separate GPU resources, requiring periodic weight transfers called refit. Training and inference instances employ different parallelism configurations, causing weights to be sharded across GPU groups differently. Conventional gather-and-broadcast refit recnstructs the full weight tensor as an intermediate representation, resulting in a logical payload of roughly twice the model’s weight size—for a 2.4 trillion parameter model, about 9.6 TB per refit. The Reshard collective reformulates refit as a DTensor-to-DTensor reshard operation, transferring only the exact shard regions each destiation GPU needs, while NCCL M2N Reshard groups replicas by NVLink domain to maximize bandwith. A NeMo RL implementation achieves 2.7x to 5.7x speedups over gather-and-broadcast refit and is open-sourced in the NVIDIA/nccl-extensions reposity.
ToyBlocks: A controlled world for robot learning and evaluation
ToyBlocks introduces FoundationWorlds, controlled simulated environments for studying how robots learn. It uses a robot arm and blocks that automatically generate demonstrations via reinforcement learning and motion planning, without teleoperation. Researchers can vary training data, such as adding pushing or flipping skills, and evaluate generalization on held-out tasks while metrics like execution speed and force are tracked. The low-level ManiFlow model reached 80–81% success in both simulation and the real world, while the hierarchical Molmo 2 + ManiFlow system succeeded in 55.5% of simulated episodes. The framework transfers to physical robots through system identification and domain randomization, and the team releases simulation assets, over 85,000 long-horizon demonstrations, and trained models.
Online Dense Reinforcement Learning with Planning-Grounding Agent for UI Navigation on Live iOS Apps
Frontier vision-language models for UI navigation incur high inference costs, while smaller models trained via supervised fine-tuning or offline reinforcement learning memorize static trajectories and cannot recover from errors. The authors propose an online reinforcement learning framework that trains UI navigation agents directly on live iOS applications by decoupling the agent into a Planning agent and a UI Grounding model. An LLM-as-a-Judge provides dense step-level feedback for intermediate progress and a terminal reward for task completion, and the agent is optimized using Proximal Policy Optimization with step-level advantage estimation. The framework introduces GiGPPO, a neighbor-conditioned value estimation method that improves critic stability by leveraging reward signals from visually similar states across concurrent trajectories. Evaluated on UINavBench, iOSWorld, and AndroidWorld, the online RL trained agents substantially outperform SFT and terminal-only RL baselines, with the 8B agent achieving nearly a sevenfold improvement over SFT in out-of-distribution generalization to Android.
Using AI Agents to Teach Robots Like Microduck to Walk in Simulation
Teaching a robot to navigate an obstacle course requires perceiving surroundings, maintaining balance, and adjusting actions when obstacles block the path. NVIDIA RTX Spark serves as a local development hub for AI-assisted planning and policy validation, while NVIDIA Isaac Lab provides the robot-learning framework for reinforcement learning in the cloud. The workflow begins with Hermes and NVIDIA Nemotron 3.5 Bolt translating a user prompt into a step-by-step project plan, then delegates asset creation to Astra, which uses FreeCAD and Blender to generate 3D models. Isaac Lab trains a shared policy across thousands of parallel simulations, with Isaac Sim supporting local validation of the trained policy. The final simulation establishes a foundation for physical deployment, where differences between simulation and real-world behavior require further refinement using domain randomization and better actuator models.
Turning Database Grading into RL Rewards: Post-Training Agents with ThinkingBox
ThinkingBox evaluates agent performance by comparing the final database state with the expected outcome, catching agents that claim completion without correct database changes. Its benchmark, ThinkingBox-Bench, contains 507 tasks across domains like retail, auto insurance, travel, neobank, and consulting, each with executable checks on terminal database state. The authors used these executable outcomes as rewards for reinforcement learning, fine-tuning Qwen3.8-27B with GRPO for 50 steps on a training pool selected by offline policy-relative difficulty, which filters tasks that are neither already solved nor hopeless. After training, observed 20/20 tasks completed correctly on all twenty attempts rose from 38 (7.50%) to 107 (21.10%), while pass@1 increased from 51.70% to 60.78%, with a small decline in at-least-once coverage. The results show that database-state grading can serve as a reward signal to improve agent repeatability, and the training loop and data curation method are released on GitHub.
Train in Simulation, Deploy on a Real Robot: Microduck with Isaac Lab 3.0
Microduck, an affordable open-source bipedal robot by Pollen Robotics and Hugging Face, can now be trained to walk using NVIDIA Isaac Lab 3.0 with the Newton physics solver and Better Actuator Models. The training runs 4096 GPU-parallel environments at up to 1.25 million steps per second on rough terrain, using domain randomization and backlash modeling for sim-to-real transfer. After evaluating the policy in simulation, Isaac Lab automatically exports it as ONNX with 61 observation inputs and 14 joint-position outputs. The ONNX file is copied to the physical Microduck via scp and loaded using robotctl policy load, enabling walking, turning, and fall recovery. Developers can share the policy on Hugging Face Hub, test it in Microduck Arena against challenges, or extend it to perception and custom tasks.
Get started with LLM training on Modal
Modal Dojo is a new library for production-grade LLM training on Modal’s infrastructure, providing building blocks, tuned defaults, and observability for post-training including reinforcement learning. It supports models from half a billion to multi-trillion parameters and integrates with Hugging Face, Harbor environments, or custom data from production traces. Auto-optimized recipes handle hardware, parallelism, and rollout size, while an observability dashboard tracks loss, reward curves, agent trajectories, and granular substep profiling. The library is designed for full stack control, allowing users to patch underlying frameworks and customize recipes. A metric collector and CLI enable agents to monitor runs, debug bottlenecks, and one-shot baselines. Customers like Axiom Bio have used it for long-context RL on 64k-context DeepSeek V4.1 Flash runs, and Afterquery for autoresearch on frontier models at 256k context length.
Together Post-Training: frontier-grade model shaping, the way that fits you
Together Post-Training is a new service for building custom AI models using reinforcement learning or supervised fine-tuning. It provides common abstractions for defining the training loop while Together AI handles the underlying infrastructure, optimizations, and numerical correctness. The service uses dedicated GPU allocations called Model Resources that can hold multiple training sessions without competing for priority, supporting both LoRA with adapter sharing and full-weight finetuning. It eliminates policy drift between training and inference engines using techniques like Rollout Routing Replay and advanced optimizations from their research. The goal is to allow any organization to create task-specific specialist agents matching frontier model quality at lower cost and runtime.
Mellum2.1 Gets to Work: A Fast Open Model for Coding Agents
JetBrains open-sourced Mellum2.1, a compact 12B mixture-of-experts model with only 2.5B active parameters, released under the Apache 2.0 license. The architecture is unchanged from Mellum2, so all improvements come from post-training through reinforcement learning now the main training phase. The model trained on millions of sandboxed runs across thousands of real environments to develop agentic coding skills like exploring codebases, editing files, and checking its own changes. Performance evaluations show substantial gains in agentic coding, general coding, competitive programming, math, tool calling, and general knowledge compared to Mellum2 and similar open models like Qwen3.5-9B and Gemma 4 E4B. Mellum2.1 matches Mellum2’s speed and with multi-token prediction serves almost twice as many tokens as Qwen3.5-9B under heavy load.
Related topics
All topics →Weekly digest
The best engineering reads, once a week.