# BIRD-RL: Scaling Agentic Reinforcement Learning over Stateful Data-Centric Environments

*Ge Qu, Jinyang Li, Xiaohan Xu, Xiaolong Li, Bowen Qin, Nan Huo, Ziwei Tang, Chenhao Ma, Reynold Cheng*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/152242) · [OpenReview](https://openreview.net/forum?id=UWzAnfVNIa) · [Open on the map](../papers.html#p152242)

Category: [LLM Post-Training: RL & Distillation](../pcat/18.md) › [LLM Reward Systems](../pgroup/309.md) · Type: new method · Keywords: agentic reinforcement learning, stateful database environments, SQL debugging, trajectory isolation, persistent execution infrastructure, small language models

Areas: [AI Agents](../areas/agents.md) › Agent Optimization and Evaluation › Agentic System Reinforcement Learning; [RL for LLMs & Agents](../areas/llm-rl.md) › Language Model Agents › Agentic Reinforcement Learning

## Summary
BIRD-RL introduces a four-stage agentic reinforcement learning curriculum with a trajectory-scoped persistent execution infrastructure to enable scalable RL over stateful database environments, achieving competitive SQL debugging success rates with improved spatial efficiency.

## Explained to a 5-year-old
We want little computer helpers that can fix databases, which are like big digital notebooks. They learn by trying to solve problems and seeing if they work, but they need to keep each try separate so they don't mix up mistakes. To save space, they reuse the same notebook but make sure each attempt is isolated, like using different rooms in a house. This way they can learn faster and use less computer space. They end up being good at fixing and creating SQL code for databases.

## Explained to a 5-year-old, longer
Imagine a robot assistant that helps fix a giant digital notebook where data lives. This notebook changes all the time, so the robot must understand what has changed before it can fix anything. The robot learns by trying to solve problems and checking if its answers are correct, but it must remember each attempt separately so it doesn't get confused by earlier mistakes. To be efficient, the robot shares the same notebook with other attempts but keeps each try in its own isolated space, like different rooms in a house. This prevents the robot from mixing up what it learned from one attempt with another. By doing this, the robot can learn faster and use less computer memory. Over time, the robot becomes good at both fixing errors in the notebook and writing new SQL commands to add or retrieve information. It can handle many different tasks, like debugging existing code and generating new code, all while staying organized and efficient.

## For a technical reader
The system uses a staged curriculum to alternately improve reasoning and exploration, reducing instability in agentic RL. A persistent execution layer reuses database replicas while preserving trajectory isolation, which dramatically cuts memory usage. This enables training small language models on complex, stateful data tasks without requiring separate containers per rollout. Empirical results show success rates of 44.40% (7B) and 48.00% (14B) on the BIRD-CRITIC-SQLite benchmark, matching or exceeding proprietary agents, and a 12.8× improvement in spatial efficiency.

## Problem
Training language agents to solve tasks in live, stateful database environments is difficult because agents must reason about changing data states, handle execution feedback, and correct state-mutating operations without contaminating trajectories across multiple interactions.

## Method
The approach employs a four-stage agentic RL curriculum that alternates between strengthening foundational reasoning and performing trajectory-adaptive on-policy exploration to mitigate instability. It uses a persistent execution infrastructure that safely reuses database replicas while maintaining isolation between trajectories, enabling efficient spatial scaling. This design allows scalable training of small language models on complex, stateful data tasks.

## Results
The approach achieves success rates of 44.40% with a 7B model and 48.00% with a 14B model on the BIRD-CRITIC-SQLite benchmark, matching or surpassing proprietary agents, and improves spatial RL efficiency by 12.8×.

## Contributions
It introduces a curriculum that alternates reasoning and exploration to stabilize agentic RL in stateful environments, and a trajectory-scoped persistent execution infrastructure that enables safe database reuse and spatial scaling. The work also demonstrates scalable training of unified SLMs capable of both SQL debugging and generation.

## Practical relevance
The approach enables small teams to train efficient, scalable language agents for real-world database tasks, reducing infrastructure overhead and supporting multi-objective data-centric applications.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/152242)
