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
TL;DR. BIRD-RL proposes a four-stage agentic RL curriculum with trajectory-scoped persistent execution infrastructure, enabling scalable training for stateful SQL debugging tasks.
Abstract. Modern data-centric applications increasingly require language agents capable of operating over live, stateful database environments, where successful problem resolution depends not merely on initial SQL generation, but on reasoning about evolving database states, interacting with execution feedback, and repairing state-mutating operations. While agentic reinforcement learning (RL) has emerged as a promising paradigm for training small language models (SLMs), existing frameworks are predominantly tool-centric and struggle with data-centric environments. Specifically, applying tool-centric frameworks to stateful tasks like SQL debugging introduces severe spatial inefficiencies since proper environment isolation typically requires a separate database container per rollout. Naively reusing databases without tracking evolving states across multi-turn interactions causes trajectory contamination and cross-trajectory interference, which severely destabilizes policy updates. To overcome these bottlenecks, we introduce BIRD-RL, a novel four-stage agentic RL curriculum that alternately enhances foundational agent reasoning and trajectory-adaptive on-policy exploration to circumvent the instability inherently associated with direct end-to-end learning. Crucially, to support this curriculum, BIRD-RL is driven by a Trajectory-scoped Persistent Execution Infrastructure, which enables safe database replica reuse while preserving trajectory isolation. This design improves spatial RL efficiency by 12.8x, successfully enabling scalable agentic RL for complex data-centric tasks without needs of Kubernettes. Empirical evaluations on the BIRD-CRITIC-SQLite benchmark demonstrate that our 7B and 14B models achieve Success Rates of 44.40% and 48.00%, respectively, showing competitive performance against strong proprietary model-based agents such as Claude-Opus-4.6 Agent (48.20%). Furthermore, BIRD-RL successfully trains unified SLMs capable of both advanced SQL debugging and generation, highlighting its broader potential for multi-objective optimization across heterogeneous, real-world data-centric tasks.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 5 reviews · OpenReview
Updated 25 Nov 2026, 03:46 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
Overall assessment
This paper presents BIRD-RL, a four-stage training curriculum for stateful SQL issue resolution, together with a trajectory-scoped execution infrastructure that reuses database replicas while preserving trajectory-level isolation. The paper reports substantial improvements over the corresponding Qwen2.5-Coder backbones and supervised BIRD-FIXER models, and its cumulative ablations indicate that the interactive RL stage is particularly beneficial for management and personalization issues. The infrastructure contribution is concrete: the reported online database lifecycle I/O decreases from 2.94 TiB to 236 GiB under the evaluated configuration.
The reviewers generally agree that the problem is important, the system design is practically relevant, and the empirical results are promising. The main disagreement concerns whether the current evaluation is sufficiently rigorous to support the strongest claims. In particular, the possible relationship between the training and evaluation data, the absence of uncertainty estimates, and the scope of the infrastructure and curriculum claims remain important unresolved issues. The submission declares a General contribution type; I therefore assess it primarily on the validity, novelty, and generality of the demonstrated technical contribution, rather than requiring deployment or domain-expert validation.
Current direction
Needs clarification
The paper remains a plausible acceptance. The first two questions below are the most decision-critical because they directly affect the credibility of the main empirical results. The latter two primarily determine how broadly the contributions can be claimed.
Prioritized concerns or questions
1. Separation between the training and evaluation data
SIX-GYM-SQLite is constructed partly by transferring instances from the original SIX-GYM task suites, while the principal evaluations use BIRD-CRITIC-SQLite and BIRD-CRITIC-Multi. Stage 1 and Stage 2 additionally use teacher-generated reasoning or trajectories conditioned on the corrected SQL. The paper does not currently describe a deduplication or contamination analysis between these training resources and the evaluation instances. This is a potential risk arising from shared data lineage, not evidence that leakage has occurred.
Please clarify:
- how the training and evaluation instances were separated during data construction;
- whether exact and near-duplicate checks were performed over source instances, issue descriptions, problematic SQL, corrected SQL, and normalized SQL templates;
- the number of any detected overlaps and, if applicable, performance on the evaluation subset after excluding overlapping or highly similar instances.
Shared databases or schemas do not by themselves establish leakage, so the response should focus on task-level and solution-level overlap. This concern would be resolved by a clear provenance and deduplication protocol showing no material overlap, or by evidence that the main results remain similar after potentially overlapping evaluation instances are excluded.
2. Uncertainty and reproducibility of the main performance comparisons
The paper reports BIRD-TALON-14B at 48.00% SR, Claude-Opus-4.6 Agent at 48.20%, and Gemini-3.1-Pro at 48.80% on a 500-instance benchmark. These differences correspond to only a few examples. The appendix states that results are averaged over five repeated trials, but does not define what varies across those trials or report per-run values, variance, confidence intervals, or statistical tests. This is especially unclear because the main inference setting uses greedy decoding with temperature zero.
Please provide:
- a precise definition of the five trials;
- per-run results and appropriate uncertainty estimates for the principal BIRD-CRITIC-SQLite results and curriculum ablations;
- the number of runs used for proprietary-model baselines;
- clarification of whether all models use comparable interaction scaffolds, turn budgets, and stopping conditions.
The most important evidence is whether the sizeable gains over the same backbones and BIRD-FIXER baselines remain robust. The paper does not need to establish statistically significant superiority over proprietary agents, but claims such as “on par with or exceeding” should be calibrated if the small numerical differences are not distinguishable. The paper’s current checklist answer on statistical significance should also be reconciled with the absence of reported uncertainty estimates.
3. Scope of the infrastructure efficiency and scalability claims
The trajectory-scoped binding and dirty-aware lazy-reset mechanism is a meaningful systems contribution. However, the reported 12.8× result measures online database lifecycle I/O, excluding the one-time 69 GiB pool-materialization cost. The result is obtained under a particular batch and rollout configuration and an observed mutation rate of 9.25%. It therefore does not by itself establish a 12.8× improvement in end-to-end training speed or general system efficiency.
Please clarify, using existing measurements where available:
- wall-clock rollout throughput or end-to-end training impact;
- peak memory and storage usage;
- allocation waiting or pool-exhaustion behavior;
- reset latency and sensitivity to database-access skew or higher mutation rates;
- which design components transfer directly to server-based databases involving transactions, locks, permissions, and persistent sessions.
A new full-scale PostgreSQL/MySQL experiment is not required for the rebuttal. This concern can be resolved either by providing existing runtime evidence or by narrowing the claim to the demonstrated reduction in online lifecycle I/O for the evaluated SQLite-based setting. The infrastructure contribution can remain valuable even if its broader generality is presented as future work.
4. Evidence for the exact four-stage curriculum and its novelty
The existing ablation compares Stage 1, Stages 1–2, Stages 1–3, and the full four-stage model. It provides useful evidence that progressively adding the stages improves performance, particularly on state-dependent issue categories. However, it does not establish that this exact ordering is necessary, that the two SFT or two RL stages cannot be merged, or that direct end-to-end training is inherently unstable. A single case study also cannot by itself prove the necessity of Stage 3.
Please explain:
- the distinct failure mode that each stage is intended to address;
- why Stage 3 is expected to be a useful bridge between imitation and interactive RL;
- what observations support the stated instability of direct end-to-end training;
- whether merged-stage or direct-agentic-RL variants were attempted and, if so, what was observed.
An exhaustive search over stage orderings or hyperparameters is not required. If such comparative runs are unavailable, the issue can be addressed by narrowing claims of “necessity” and positioning the novelty primarily in the SQL-specific curriculum instantiation, its demonstrated cumulative effectiveness, and its integration with the trajectory-scoped infrastructure, rather than in the generic use of successive SFT and RL stages.
De-prioritized concerns
Additional frontier-model comparisons for BIRD-ZENO, a comprehensive failure taxonomy, automated self-improvement experiments, exhaustive stage-order permutations, and full infrastructure evaluation across every SQL engine would all be useful extensions, but they are not reasonable requirements for the rebuttal and should not take priority over the four questions above.
The request for additional open RL-based SQL baselines should be addressed by clarifying which cited methods are directly applicable to the same SQL-debugging task and benchmark. New evaluations are useful where an implementation and genuinely comparable setting already exist, but the absence of generation-focused baselines on a debugging benchmark should not by itself determine the decision.
The reproducibility package should be improved with a top-level guide specifying dependencies, data layout, commands, checkpoint access, and scripts for reproducing the main tables. This is a concrete and fixable weakness, but it is secondary to the validity of the empirical results.
Comments regarding figure-generation style, table formatting, and a comprehensive future error-analysis pipeline are not scientifically decision-critical.
Decision implication
If the authors demonstrate credible separation between training and evaluation instances, show that the principal same-backbone and BIRD-FIXER improvements are robust under a clearly explained statistical protocol, and appropriately support or narrow the infrastructure and curriculum claims, I would be prepared to support acceptance.
I would lean toward rejection if there is material task- or solution-level overlap that substantially affects the evaluation, or if the main claimed improvements are not robust once the experimental variability is properly characterized.
By contrast, failure to establish statistically significant superiority over Claude or Gemini, the absence of exhaustive curriculum permutations, and the lack of a new multi-engine infrastructure experiment would not independently justify rejection, provided the corresponding claims are stated accurately and within the demonstrated scope.
Final justification
I recommend Accept (poster). The rebuttal resolved the main concerns that could have changed the decision: the authors provided evidence against material train-test contamination, demonstrated low run-to-run variability and robust gains over matched baselines, added curriculum-order/Stage-3 ablations, and narrowed the infrastructure claim to the demonstrated 12.8× reduction in online database lifecycle I/O under SQLite. Most reviewers considered these responses satisfactory, with ev9R and uTc8 explicitly raising their scores and R1mD reporting substantially increased confidence. The remaining concerns primarily limited broader systems validation and the fact that the individual SFT/RL ingredients are standard appropriately limit the scope of the claims, but do not outweigh the demonstrated methodological and systems contributions.
Read meta-review
Meta-review
Overall assessment
This paper presents BIRD-RL, a four-stage training curriculum for stateful SQL issue resolution, together with a trajectory-scoped execution infrastructure that reuses database replicas while preserving trajectory-level isolation. The paper reports substantial improvements over the corresponding Qwen2.5-Coder backbones and supervised BIRD-FIXER models, and its cumulative ablations indicate that the interactive RL stage is particularly beneficial for management and personalization issues. The infrastructure contribution is concrete: the reported online database lifecycle I/O decreases from 2.94 TiB to 236 GiB under the evaluated configuration.
The reviewers generally agree that the problem is important, the system design is practically relevant, and the empirical results are promising. The main disagreement concerns whether the current evaluation is sufficiently rigorous to support the strongest claims. In particular, the possible relationship between the training and evaluation data, the absence of uncertainty estimates, and the scope of the infrastructure and curriculum claims remain important unresolved issues. The submission declares a General contribution type; I therefore assess it primarily on the validity, novelty, and generality of the demonstrated technical contribution, rather than requiring deployment or domain-expert validation.
Current direction
Needs clarification
The paper remains a plausible acceptance. The first two questions below are the most decision-critical because they directly affect the credibility of the main empirical results. The latter two primarily determine how broadly the contributions can be claimed.
Prioritized concerns or questions
1. Separation between the training and evaluation data
SIX-GYM-SQLite is constructed partly by transferring instances from the original SIX-GYM task suites, while the principal evaluations use BIRD-CRITIC-SQLite and BIRD-CRITIC-Multi. Stage 1 and Stage 2 additionally use teacher-generated reasoning or trajectories conditioned on the corrected SQL. The paper does not currently describe a deduplication or contamination analysis between these training resources and the evaluation instances. This is a potential risk arising from shared data lineage, not evidence that leakage has occurred.
Please clarify:
- how the training and evaluation instances were separated during data construction;
- whether exact and near-duplicate checks were performed over source instances, issue descriptions, problematic SQL, corrected SQL, and normalized SQL templates;
- the number of any detected overlaps and, if applicable, performance on the evaluation subset after excluding overlapping or highly similar instances.
Shared databases or schemas do not by themselves establish leakage, so the response should focus on task-level and solution-level overlap. This concern would be resolved by a clear provenance and deduplication protocol showing no material overlap, or by evidence that the main results remain similar after potentially overlapping evaluation instances are excluded.
2. Uncertainty and reproducibility of the main performance comparisons
The paper reports BIRD-TALON-14B at 48.00% SR, Claude-Opus-4.6 Agent at 48.20%, and Gemini-3.1-Pro at 48.80% on a 500-instance benchmark. These differences correspond to only a few examples. The appendix states that results are averaged over five repeated trials, but does not define what varies across those trials or report per-run values, variance, confidence intervals, or statistical tests. This is especially unclear because the main inference setting uses greedy decoding with temperature zero.
Please provide:
- a precise definition of the five trials;
- per-run results and appropriate uncertainty estimates for the principal BIRD-CRITIC-SQLite results and curriculum ablations;
- the number of runs used for proprietary-model baselines;
- clarification of whether all models use comparable interaction scaffolds, turn budgets, and stopping conditions.
The most important evidence is whether the sizeable gains over the same backbones and BIRD-FIXER baselines remain robust. The paper does not need to establish statistically significant superiority over proprietary agents, but claims such as “on par with or exceeding” should be calibrated if the small numerical differences are not distinguishable. The paper’s current checklist answer on statistical significance should also be reconciled with the absence of reported uncertainty estimates.
3. Scope of the infrastructure efficiency and scalability claims
The trajectory-scoped binding and dirty-aware lazy-reset mechanism is a meaningful systems contribution. However, the reported 12.8× result measures online database lifecycle I/O, excluding the one-time 69 GiB pool-materialization cost. The result is obtained under a particular batch and rollout configuration and an observed mutation rate of 9.25%. It therefore does not by itself establish a 12.8× improvement in end-to-end training speed or general system efficiency.
Please clarify, using existing measurements where available:
- wall-clock rollout throughput or end-to-end training impact;
- peak memory and storage usage;
- allocation waiting or pool-exhaustion behavior;
- reset latency and sensitivity to database-access skew or higher mutation rates;
- which design components transfer directly to server-based databases involving transactions, locks, permissions, and persistent sessions.
A new full-scale PostgreSQL/MySQL experiment is not required for the rebuttal. This concern can be resolved either by providing existing runtime evidence or by narrowing the claim to the demonstrated reduction in online lifecycle I/O for the evaluated SQLite-based setting. The infrastructure contribution can remain valuable even if its broader generality is presented as future work.
4. Evidence for the exact four-stage curriculum and its novelty
The existing ablation compares Stage 1, Stages 1–2, Stages 1–3, and the full four-stage model. It provides useful evidence that progressively adding the stages improves performance, particularly on state-dependent issue categories. However, it does not establish that this exact ordering is necessary, that the two SFT or two RL stages cannot be merged, or that direct end-to-end training is inherently unstable. A single case study also cannot by itself prove the necessity of Stage 3.
Please explain:
- the distinct failure mode that each stage is intended to address;
- why Stage 3 is expected to be a useful bridge between imitation and interactive RL;
- what observations support the stated instability of direct end-to-end training;
- whether merged-stage or direct-agentic-RL variants were attempted and, if so, what was observed.
An exhaustive search over stage orderings or hyperparameters is not required. If such comparative runs are unavailable, the issue can be addressed by narrowing claims of “necessity” and positioning the novelty primarily in the SQL-specific curriculum instantiation, its demonstrated cumulative effectiveness, and its integration with the trajectory-scoped infrastructure, rather than in the generic use of successive SFT and RL stages.
De-prioritized concerns
Additional frontier-model comparisons for BIRD-ZENO, a comprehensive failure taxonomy, automated self-improvement experiments, exhaustive stage-order permutations, and full infrastructure evaluation across every SQL engine would all be useful extensions, but they are not reasonable requirements for the rebuttal and should not take priority over the four questions above.
The request for additional open RL-based SQL baselines should be addressed by clarifying which cited methods are directly applicable to the same SQL-debugging task and benchmark. New evaluations are useful where an implementation and genuinely comparable setting already exist, but the absence of generation-focused baselines on a debugging benchmark should not by itself determine the decision.
The reproducibility package should be improved with a top-level guide specifying dependencies, data layout, commands, checkpoint access, and scripts for reproducing the main tables. This is a concrete and fixable weakness, but it is secondary to the validity of the empirical results.
Comments regarding figure-generation style, table formatting, and a comprehensive future error-analysis pipeline are not scientifically decision-critical.
Decision implication
If the authors demonstrate credible separation between training and evaluation instances, show that the principal same-backbone and BIRD-FIXER improvements are robust under a clearly explained statistical protocol, and appropriately support or narrow the infrastructure and curriculum claims, I would be prepared to support acceptance.
I would lean toward rejection if there is material task- or solution-level overlap that substantially affects the evaluation, or if the main claimed improvements are not robust once the experimental variability is properly characterized.
By contrast, failure to establish statistically significant superiority over Claude or Gemini, the absence of exhaustive curriculum permutations, and the lack of a new multi-engine infrastructure experiment would not independently justify rejection, provided the corresponding claims are stated accurately and within the demonstrated scope.
Final justification
I recommend Accept (poster). The rebuttal resolved the main concerns that could have changed the decision: the authors provided evidence against material train-test contamination, demonstrated low run-to-run variability and robust gains over matched baselines, added curriculum-order/Stage-3 ablations, and narrowed the infrastructure claim to the demonstrated 12.8× reduction in online database lifecycle I/O under SQLite. Most reviewers considered these responses satisfactory, with ev9R and uTc8 explicitly raising their scores and R1mD reporting substantially increased confidence. The remaining concerns primarily limited broader systems validation and the fact that the individual SFT/RL ingredients are standard appropriately limit the scope of the claims, but do not outweigh the demonstrated methodological and systems contributions.
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 4/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes a novel RL curriculum called BIRD-RL for training SQL-using LLM agents along with an infrastructure setup for worker based database replica partitioning which makes training scalable. The authors show that training with their four stage RL pipeline achieves a success rate of upto 48% on 14B models, competing with much larger closed and open source models like Claude-Sonnet-4.6 and Qwen-3-Code-480B. Finally, the authors perform ablations to study the independent impact of their pipeline stages and study the database reuse and impact of their trajectory scoped persistent execution infrastructure.
Strengths and weaknesses
Strengths:
- The paper is well written and concise. The authors sufficiently motivate the need for the BIRD-RL framework and the infrastructure issues around the work.
- The training methodology is sound and aligns with previous methods that explore RL curriculums
- The results for both the curriculum and are strong and ablations are relevant to answer open ended questions about the method
Weaknesses:
- The scalability of trajectory scoped persistent execution infrastructure is understudied. I expect that this infrastructure puts load on memory and the authors have not provided details about this in the paper
- The authors do not provide enough baselines and ignore previous open state of the art RL trained agents such as [1,2,3]. Inclusion of these baselines will further showcase the impact of the BIRD-RL's pipeline
- The general methodology of BIRD-RL is not uncommon for current models. Several papers like [4] (and some papers before it too) cover a similar curriculum so the claim for novelty is only relevant for the SQL domain.
- The selection of number of samples for each stage is arbitrary and the correlation of this number with the downstream performance is not ablated. Furthermore, in terms of ablations, the authors should ablate the impact of following their pipeline vs {SFT + RL on single turn -> SFT + RL on multi-turn} and how changing that order impacts performance.
- As a continuation of the above, what is the hyperparameter sensitivity of the model to this pipeline? What are the error bars across different arrangements here?
[1] Ma, Peixian, et al. "Sql-r1: Training natural language to sql reasoning model by reinforcement learning." Advances in Neural Information Processing Systems 38 (2026): 174505-174537. [2] Yao, Zhewei, et al. "Arctic-text2sql-r1: Simple rewards, strong reasoning in text-to-sql." arXiv preprint arXiv:2505.20315 (2025). [3] Liu, Shu, et al. "SkyRL-SQL: Multi-turn SQL Data Agents via RL." First Workshop on Multi-Turn Interactions in Large Language Models. [4] He, Kaichen, et al. "Training One Model to Master Cross-Level Agentic Actions via Reinforcement Learning." Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 2026.
Questions
Addressing the concerns flagged in the weakness section above will directly impact my final score
Limitations
N/A
Final justification
The rebuttal has answered all my questions and concerns appropriately.
Formatting concerns
N/A
3 comments
Thank you for your rebuttal. I am satisfied and have raised my score. Please include the motivation and ablations in the camera ready version of the paper.
Thank you for the careful consideration of our rebuttal and for the updated score. We appreciate the constructive feedback and will include additional motivation and ablation studies in the final version of the paper.
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper has two main contributions:
1- BIRD-RL: a four stage training paradigm that alternates between SFT and RL curriculums to improve agents performance in the SQL issue-resolution task. This curriculum is meant to enhance agent reasoning and exploration with a goal to reduce the instability present in direct end-to-end learning. The four stages can be broken down as follows:
I- Reasoning Imitation: SFT on teacher's single turn reasoning trace, goal is to effectively mitigates the naive exploration.
II- Multi-Turn Tool-Use Imitation: SFT on teacher's multi-turn decisions to explore/test or terminate with a solution, goal is to keep SQL as the core action while providing an explicit stopping signal.
III- Adaptive Reasoning Reinforcement: GRPO on single-turn with a reward that corresponds to the fraction of test cases passed by the generated SQL.
IV- Stateful Interactive Agentic Reinforcement: GRPO on multi-turn (i.e. over the full trajectory) with the same reward from III assigned exclusively to the final solution.
2- Trajectory-scoped Persistent Execution: a technique that enables safe database replica reuse while preserving trajectory isolation. Significantly improving RL efficiency (up to x12.8). It does so by maintaining a database pool a pre-allocated set of reusable database replicas to avoid repeatedly instantiating a fresh database for every rollout. It uses a stable identifier for each trajectory that gets mapped to the same database replica every time.
The paper also promises to release two model families: BIRD-TALON [7b and 14b] for SQL issue-resolution and BIRD-ZENO [7b] for both debugging and query generation.
The contributions are validated against the BIRD benchmarks [BIRD-CRITIC-SQLITE , BIRD-CRITIC-MULTI, BIRD-SQL], showing significant improvement over the base models and close performance to some frontier models.
Strengths and weaknesses
Review:
The paper clearly builds on the well known BIRD line of work about the SQL issue resolution/generation problems.
While the alternation of SFT and RL phases and curriculums is not novel and is considered standard nowadays in most applications, the breakdown into the specified atomic learning objectives is novel and seems to work well for the SQL issue-resolution/generation tasks.
This particular breakdown seems somewhat contrived and could use more justification in my opinion, however, the existing ablation studies are good and do show that all four stages are useful to the end to end model performance. They just do not show what the model might be missing further.
Additionally, the Trajectory-scoped Persistent Execution Infrastructure is a strong and conceptually simple contribution that could be useful to all projects working on database modifying agents.
Strengths:
- The paper is easy to read and follow.
- The pipeline shows massive RL efficiency gains by safely reusing database instances safely via the "Trajectory-scoped Persistent Execution Infrastructure"
- The BIRD-TALON results are strong compared to baselines showing significant improvement against the base models and close performance to the frontier models.
- The ablation studies are detailed and show the need for all stages.
- The benchmark used is far from saturated even for frontier models, so the effect of the new method is easier to detect and reason about.
Weaknesses:
- The design space of the four training stages is unclear and not well motivated. Please add more details explaining why this particular design was chosen and how each of these steps can be expanded to cover more error modes in the model.
- Some evaluations are missing or can be improved, for example. BIRD-ZENO is not compared against any of the frontier models unlike BIRD-TALON
Questions
-
It is not clear why this exact four stages breakdown is needed or what is the design space that was considered before settling for this breakdown.
-
- For example, can we just merge the two SFT phases into one training phase with different data mixing percentages? Do we really need two different RL stages that have different objectives or can we also merge them into one phase with a combined objective?
-
It is not clear why there is "instability inherently associated with direct end-to-end learning" in this particular domain, the statement is repeated multiple times during the paper but without more explanation or justification. Expanding more on this or showing examples would strengthen the claims of the paper.
-
It would be great if we can add some frontier models to table 4 to understand the gap between BIRD-ZENO and frontier models.
-
It would be useful to do a comprehensive error analysis on the failing cases to identify the remaining main error buckets of the models. It would also be useful to think about addressing these error buckets by: a) adding another training phase or b) adding more data to the one of the existing phase. If this cycle can be automated, then the agent can basically self-improve via self-play or similar techniques.
Limitations
yes
Formatting concerns
- Tables could be formatted more uniformly, for example, table 4 does not have the underlines for second highest present in table 1
3 comments
Rebuttal
We sincerely thank the reviewer for thoughtful comments. We appreciate the opportunity to clarify the motivations behind our methodology and to provide a broader context for our evaluations. Below, we address each of your questions in detail.
Q1: The design space of the four training stages is unclear and not well motivated. Please add more details explaining why this particular design was chosen and how each of these steps can be expanded to cover more error modes in the model.
A1: Thank you for raising this question. The four-stage curriculum is not an arbitrary stacking of standard SFT and RL techniques. Instead, it was developed empirically for a highly underexplored setting: agentic SQL issue resolution over mutable, application-level database environments. The curriculum is meticulously designed to address task-specific learning bottlenecks, directly driven by the failure patterns we observed in our pilot experiments. The four stages target distinct atomic learning objectives: schema-grounded diagnosis in Stage 1, structured tool use and hypothesis testing through offline trajectory imitation in Stage 2, on-policy execution-grounded adaptation in Stage 3, and persistent multi-turn interaction with state-mutating actions in Stage 4.
We highlight some key design principles and novel aspects of our curriculum below:
(1) Direct Multi-turn RL is intractable due to Sparse Rewards In our preliminary experiments, we attempted to apply multi-turn agentic RL directly to the base SLM. However, the base model lacked sufficient schema-grounded SQL knowledge and diverse debugging priors to explore the large interactive action space effectively. It therefore produced very few trajectories with non-zero execution rewards. Common failures included malformed tool calls, syntactically invalid SQL, repetitive low-information exploration, and interaction dead loops. Consequently, the reward signal was too sparse to provide effective guidance for policy optimization.
(2) The Non-Intuitive Bridge of Stage 3 (Adaptive Reasoning RL)
A standard agentic training pipeline typically transitions directly from SFT (imitation) to multi-turn RL. However, doing so in SQL debugging introduces a distinct "imitation rigidity" bottleneck as we claimed in line 164: the agent over-memorizes offline teacher trajectories and fails to adapt to new interaction contexts. To bridge this gap, we introduce Stage 3 . It temporarily constrains the interactive action space to a single turn while allowing the model to explore on-policy and receive execution feedback. This allows the model to learn how to depart from rigid teacher patterns and adaptively correct SQL queries before undergoing full multi-turn RL. To the best of our knowledge, our work is the first to introduce this intermediate transition within SQL training pipelines. We qualitatively demonstrate how Stage 3 transforms the agent's reasoning patterns through a case study in Section 5.5. Furthermore, the performance drop observed when removing this stage (see Exp in the table below) quantitatively validates its effectiveness.
| Method | Quer. | Mana. | Pers. | Overal |
|---|---|---|---|---|
| BIRD-Talon-7B | 46.13 | 45.33 | 40.43 | 44.40 |
| w/o Stage 3 (Stage 1→2→4) | 45.77 | 40.00 | 36.17 | 42.20 |
| Interleaved Pipeline (Stage 1→3→2→4) | 45.42 | 36.00 | 34.75 | 41.00 |
(3) Order Matters: Reasoning Pattern Interference
The specific ordering of our stages is essential. To demonstrate this, we experimented with an alternative, interleaved pipeline where single-turn RL is applied before multi-turn SFT in the table above**). Our analysis identifies reasoning pattern interference as the primary cause of this degradation. The early single-turn RL phase first learns an on-policy, execution-grounded reasoning policy from the model’s own sampled outputs. When subsequently exposed to multi-turn SFT, these learned behaviors clash heavily with the debugging patterns provided by the teacher-forced trajectories. Such distribution conflict destabilizes the model, leading to bad patterns such as format collapse and a substantially slower loss decrease. Besides, this reordered pipeline breaks the intended transition from adaptive reasoning to stateful agentic RL, resulting in weaker exploration and cross-turn contextual adaptation. These observations highlight the effectiveness of the training-stage order in our pipeline.
Regarding the capacity to cover additional error modes, Appendix D.3 provides strong evidence that our four learning objectives are not rigidly tied to SQLite-specific surface patterns. Although BIRD-TALON is trained exclusively on SIX-GYM-SQLite, it demonstrates robust zero-shot transfer to PostgreSQL, MySQL, SQL Server, and Oracle without any additional training. This indicates that BIRD-RL acquires genuinely transferable debugging capabilities through schema grounding and dynamic environmental interaction, rather than merely memorizing dialect-specific syntax. Because our four curriculum stages target decoupled, atomic learning objectives, accommodating new error modes does not necessitate structural changes to the pipeline. Extending BIRD-RL generally requires broadening the failure distribution within each atomic learning objective, rather than mechanically appending more training stages. For instance, newly observed failures can be categorized by their root cause, whether they require better schema grounding (Stage 1), tool interaction (Stage 2), reasoning adaptation (Stage 3), or stateful control (Stage 4), and naturally addressed by expanding the data distribution within the corresponding stage.
Q2: Some evaluations are missing or can be improved, for example. BIRD-ZENO is not compared against any of the frontier models unlike BIRD-TALON.
A2: Thank you for the suggestion. We would like to clarify that Table 4 is not intended to establish a frontier-model leaderboard. Its purpose is to evaluate whether a single 7B model trained under multi-objective optimization can jointly optimize two heterogeneous SQL tasks, namely issue resolution and generation. BIRD-ZENO achieves 44.6% debugging SR while retaining 63.9% generation EX, which is comparable to RL-based methods trained exclusively for SQL generation. To provide a broader absolute reference, we additionally report the performance of frontier models on the SQL generation task in the following table, including the recent flagship models GPT-5.6-Sol and Gemini-3.5-Flash:
| EX | |
|---|---|
| Opus4.6 | 68.0 |
| GLM-4.7 | 60.4 |
| Claude-Sonnet-45 | 63.8 |
| Kimi 2.5 | 63.6 |
| Qwen3-480B | 67.0 |
| GPT-5.6-Sol | 60.3 |
| Gemini-3.5-Flash | 65.7 |
| BIRD-Zeno-7B (Ours) | 63.9 |
Despite having only 7B parameters and being jointly optimized for both debugging and generation, BIRD-ZENO remains competitive with substantially larger frontier models on SQL generation. Thank the reviewer again for pointing this out and we will add this comparison to the revised paper to make the comparison more complete.
Thank you for the rebuttal and the additional results. I am keeping my decision to accept the paper.
Thanks again for your dedicated time to review our paper.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper studies agentic reinforcement learning for stateful SQL issue resolution, where an agent must interact with a mutable database, inspect execution feedback, and repair erroneous SQL. The proposed BIRD-RL framework combines a four-stage curriculum, moving from reasoning imitation and multi-turn tool-use imitation to reasoning RL and stateful interactive agentic RL. To support scalable rollouts, the paper introduces a trajectory-scoped persistent execution infrastructure that reuses database replicas while preserving trajectory-level isolation. Experiments on BIRD-CRITIC-SQLite, BIRD-CRITIC-Multi, and BIRD-SQL report strong gains over Qwen2.5-Coder backbones and supervised BIRD-FIXER baselines, with BIRD-TALON-14B approaching proprietary multi-turn agents on BIRD-CRITIC-SQLite. The paper also reports a unified BIRD-ZENO model that trades off SQL debugging and generation under mixed-task training.
Strengths and weaknesses
The paper addresses an important and timely problem: agent learning in stateful data-centric environments. The motivation is stronger than standard text-to-SQL because SQL debugging can require repeated execution, state-mutating operations, and environment isolation. The trajectory-scoped database pool is a practically meaningful systems contribution, and the paper explains why request-scoped tool calls are insufficient for stateful debugging. The reported 12.8x reduction in online database lifecycle I/O is a useful efficiency result if the measurement setup is representative.
The staged curriculum is also sensible. The decomposition from static reasoning to tool-use imitation and then to RL matches the difficulty of the task, and the ablations in Table 9 suggest that each stage contributes to final performance. In particular, the comparison between Stage 1 only, Stages 1-2, Stages 1-3, and full BIRD-TALON provides evidence that interactive RL is especially useful for management and personalization issues. I also appreciate that the authors compare sparse execution reward against several proxy reward variants, which is informative for the broader RL-for-agents community.
However, the main empirical claims are somewhat stronger than the evidence supports. The headline comparison on BIRD-CRITIC-SQLite is close: BIRD-TALON-14B reaches 48.00% SR, while Gemini-3.1-Pro is reported at 48.80% and Claude-Opus-4.6 Agent at 48.20%. Since the benchmark has 500 examples and the paper reports averages over five trials without error bars, confidence intervals, or per-run values, it is difficult to know whether these differences are meaningful. The checklist says statistical significance is addressed, but the paper does not actually report error bars or tests. This matters because several claims are phrased as matching or exceeding frontier proprietary agents.
The evaluation is also concentrated around BIRD-derived SQL tasks. The training environment SIX-GYM-SQLite is constructed from BIRD-CRITIC-Multi and public review posts, while the main debugging evaluation is BIRD-CRITIC-SQLite and BIRD-CRITIC-Multi. The paper would be stronger if it more clearly ruled out overlap, leakage, or near-duplicate issue patterns between generated training instances and evaluation instances. This is particularly important because Stage 1 and Stage 2 use Claude-generated thoughts/trajectories conditioned on ground-truth corrected SQL, so memorization or template reuse is a plausible concern. The infrastructure contribution is promising but not fully validated. Table 3 reports online lifecycle I/O savings and excludes one-time pool materialization, but the analysis depends on a small batch/rollout setting, a 9.25% observed mutation rate, and assumptions about uniform database access or manageable hot-database skew. There is no stress test showing behavior under skewed database access, larger databases, higher mutation rates, concurrent rollouts, or non-SQLite server databases. Because the paper frames the method as enabling scalable stateful RL for data-centric environments broadly, this narrow systems evaluation leaves some uncertainty.
Reproducibility is mixed. The appendix gives many useful hyperparameters, prompts, and training hours, and the supplementary material includes code and a training JSONL preview. At the same time, the supplement appears to lack a top-level README, dependency file, environment specification, or single command sequence for reproducing the main results. The appendix says the code, training data, model checkpoints, and prompts will be open-sourced after anonymous review, but at review time the path to reproducing the claimed numbers is incomplete. This is a fixable weakness but important because the contribution depends heavily on training and infrastructure details.
Overall, I lean borderline accept. The problem is important, the curriculum and trajectory-scoped infrastructure are technically plausible and useful, and the empirical results show meaningful gains over same-backbone baselines. My main reservations are that the strongest claims rely on close comparisons without uncertainty estimates, the generality of the infrastructure is not fully demonstrated, and the reproducibility package is not yet complete enough for a systems-heavy empirical paper.
Questions
-
Can you provide per-run results, standard deviations or confidence intervals, and preferably a significance test for the main BIRD-CRITIC-SQLite and ablation tables? My score would increase if the improvements over BIRD-FIXER and the comparisons to proprietary/multi-turn baselines remain robust under uncertainty estimates. My score would decrease if the apparent gains are within run-to-run noise.
-
How do you ensure there is no leakage or near-duplicate contamination between SIX-GYM-SQLite training data, teacher-generated trajectories, and BIRD-CRITIC-SQLite / BIRD-CRITIC-Multi evaluation instances? Please describe deduplication at the level of database, issue text, SQL templates, and generated solution patterns. Strong evidence of clean separation would improve my confidence in the empirical claims.
-
Can you expand the infrastructure evaluation beyond lifecycle I/O? For example, report wall-clock rollout throughput, pool exhaustion rates, memory/storage usage, reset latency, and behavior under hot-database skew or higher mutation rates. This would help assess whether the trajectory-scoped infrastructure is robust outside the reported setting.
-
The paper claims generality to stateful data-centric environments, but the training and main infrastructure evaluation are SQLite-centered. What changes are needed for PostgreSQL/MySQL/Oracle environments with transactions, locks, permissions, and server-side state? A small experiment or detailed design discussion would clarify the scope.
-
Can you provide a top-level reproducibility guide in the supplement, including dependencies, exact commands, expected data layout, model checkpoints or access instructions, and scripts for reproducing Tables 1-4 and 9? This would materially improve my assessment of clarity and reproducibility.
Limitations
The authors include a limitations section, but it is too brief. It acknowledges the focus on SQL tasks and future hybrid reward designs, but it should also discuss evaluation uncertainty, dependence on BIRD-style data, possible train/test contamination from generated training environments, costs and assumptions of teacher-model data generation, and infrastructure limits under realistic database workloads.
Final justification
I reassessed the submission under the General contribution criteria. The paper makes a technically meaningful contribution by combining a four-stage agentic-RL curriculum with trajectory-scoped persistent execution for stateful SQL environments. The rebuttal substantially improves my confidence in the main empirical results by providing per-run uncertainty estimates, additional evidence on train–test separation, storage and pool-exhaustion information, stage-order ablations, and a clearer reproducibility plan. I also appreciate that the authors have agreed to scope the infrastructure claim to the demonstrated reduction in online lifecycle I/O under the evaluated SQLite-based setting. My remaining reservation is that the broader systems generality has not yet been fully validated under higher mutation rates, skewed database access, or server-based database environments. Overall, the strengths slightly outweigh these remaining limitations, and I therefore maintain a Borderline Accept rating.
Formatting concerns
No major formatting concerns noticed
4 comments
Rebuttal 1/3
We thank the reviewer for the thoughtful and constructive review, as well as for recognizing the importance and practical value of our work. Please find our detailed responses below, together with the corresponding additional analyses.
Q1: Can you provide per-run results, standard deviations or confidence intervals, and preferably a significance test for the main BIRD-CRITIC-SQLite and ablation tables? My score would increase if the improvements over BIRD-FIXER and the comparisons to proprietary/multi-turn baselines remain robust under uncertainty estimates. My score would decrease if the apparent gains are within run-to-run noise.
A1: Thank you for raising this important point. We clarify that BIRD-TALON exhibits very low uncertainty across five trials **, demonstrating both the robustness of our models and the stability of their improvements over BIRD-FIXER and comparisons with proprietary and multi-turn baselines. The results reported in the paper are averaged over these five runs under greedy decoding (temperature = 0) to ensure low uncertainty. The per-run results, standard deviations, and 95% confidence intervals are shown below:
| Model | Task | Run 1 | Run 2 | Run 3 | Run 4 | Run 5 | Std. | Mean ± 95% CI |
|---|---|---|---|---|---|---|---|---|
| BIRD-TALON-7B | BIRD-CRITIC-SQLite | 44.4 | 44.8 | 44.0 | 44.6 | 44.2 | 0.316 | 44.40 ± 0.39 |
| BIRD-TALON-14B | BIRD-CRITIC-SQLite | 48.0 | 48.4 | 47.8 | 48.0 | 47.8 | 0.245 | 48.00 ± 0.30 |
| BIRD-ZENO-7B | BIRD-CRITIC-SQLite | 45.0 | 44.8 | 44.4 | 44.4 | 44.4 | 0.283 | 44.60 ± 0.35 |
| BIRD-ZENO-7B | BIRD-SQL dev | 64.34 | 64.02 | 64.41 | 63.43 | 63.30 | 0.512 | 63.90 ± 0.64 |
As shown in the table, the results of model performances across runs are very stable: the run-to-run standard deviations are only 0.316 pp for BIRD-TALON-7B and 0.245 pp for BIRD-TALON-14B, with narrow 95% confidence intervals of **
** and **
**, respectively. Meanwhile, even the lower bounds of our confidence intervals exceed the strongest same-backbone baseline BIRD-FIXER-7B by 10.41 pp (33.60%) and 7.70 pp for BIRD-FIXER-14B (40.00%). These margins are substantially larger than the observed variation, demonstrating significant and robust improvements over same backbone models and BIRD-FIXER. Moreover, the comparison with proprietary agents remains stable under uncertainty. All five evaluation runs of BIRD-TALON-14B consistently yield results comparable with leading proprietary models, such as the Claude-Opus-4.6 Agent (48.20%) and Gemini-3.1-Pro (48.80%).
We thank the reviewer again for prompting this clarification to show the robustness of our model performance. We will add the per-run results, standard deviations, and confidence intervals to the appendix to show the robustness and low variance of model performance.
Q2: How do you ensure there is no leakage or near-duplicate contamination between SIX-GYM-SQLite training data, teacher-generated trajectories, and BIRD-CRITIC-SQLite / BIRD-CRITIC-Multi evaluation instances? Please describe deduplication at the level of the database, issue text, SQL templates, and generated solution patterns. Strong evidence of clean separation would improve my confidence in the empirical claims.
A2: We thank the reviewer for raising this critical question regarding data separation. We would like to reassure you that there is no leakage or near-duplicate contamination between training data, teacher-generated trajectories, and our evaluation instances. Since this concern is shared across reviews, we provide a detailed analysis of our dataset construction and decontamination in our response to Q4 of Reviewer ev9R. Due to strict word limits, we kindly refer you to that response for the full breakdown and analysis.
To make the experimental setup more rigorous, we will add a short paragraph making the related claims explicit in our final version.
Due to the space limitation, we put the rest of the rebuttal in the next two comments.
Rebuttal 2/3
Q3: Can you expand the infrastructure evaluation beyond lifecycle I/O? For example, report wall-clock rollout throughput, pool exhaustion rates, memory/storage usage, reset latency, and behavior under hot-database skew or higher mutation rates. This would help assess whether the trajectory-scoped infrastructure is robust outside the reported setting.
A3: We appreciate this important question. We would first like to clarify the intended scope of our infrastructure evaluation. We focus on database lifecycle I/O because it is the primary environment-side bottleneck of agentic RL in stateful database environments. Unlike peak memory and storage capacity, which can be provisioned upfront by scaling hardware resources or adjusting the pool size, database lifecycle I/O is repeatedly incurred during rollout generation and directly affects the rollout collection. When database materialization and restoration saturate storage bandwidth, rollout generation may stall or time out. These infrastructure-induced failures can then be recorded as zero-reward trajectories, contaminating the reward signal and destabilizing on-policy learning. Most importantly, our infrastructure provides the systems foundation for feasible and reliable agentic RL over resource-intensive data-centric environments. The reported 12.8× online database lifecycle I/O reduction is a quantifiable outcome under our evaluated training workload. Accordingly, metrics such as wall-clock rollout throughput, which primarily reflect end-to-end training speed, fall outside the intended optimization scope of this claim.
Notably, as stated in Line 284, the relatively low mutation rate of 9.25%, which directly enables the 12.8× reduction in online database lifecycle I/O, is not coincidental. It is a direct result of our algorithm-system co-design. It is effectively driven by our policy-system co-design. By keeping the mutation workload manageable, the early SFT stages ensure that the subsequent RL phases can focus entirely on adaptive reasoning and stateful decision-making. This creates a stable and resource-efficient execution regime, seamlessly supported by our novel trajectory-scoped persistent execution infrastructure.
For the storage usage, as we reported in Appendix D.2, under the evaluated configuration with batch size B=16 and rollout size R=16, we pre-allocate BR/2=128 replicas per database, incurring a one-time storage cost of 69 GiB, and observe no pool-exhaustion events during training. This is a bounded and tunable capacity cost determined by peak concurrency rather than total rollout volume. It can be reduced by decreasing the batch size or rollout size, while the same replicas are continuously reused throughout training. The storage overhead therefore remains predictable, amortizable, and adjustable to the available hardware budget.
We apologize for any ambiguity in our original presentation. We will revise the manuscript to explicitly scope our claim to the demonstrated reduction in online lifecycle I/O under the evaluated SQLite-based setting.
Q4: The paper claims generality to stateful data-centric environments, but the training and main infrastructure evaluation are SQLite-centered. What changes are needed for PostgreSQL/MySQL/Oracle environments with transactions, locks, permissions, and server-side state? A small experiment or detailed design discussion would clarify the scope.
Thank you for raising this point. We chose SQLite because its serverless design enables lightweight deployment, large-scale parallel rollouts, and straightforward open-source reproduction, making it well suited for studying stateful agentic RL at research scale. SQLite is also one of the most widely used database engines in text-to-SQL research [1]. At the infrastructure level, the core abstractions of BIRD-RL, including trajectory-level environment binding, deferred release, dirty-state tracking, and isolated reuse, are database-agnostic. Extending the implementation to server-based systems would require engine-specific support for session pinning, transactional rollback or snapshot restoration, lock cleanup, permission isolation, and other persistent server-side states. We leave full multi-engine infrastructure validation for future work. At the model level, Appendix D.3 shows that BIRD-TALON generalizes zero-shot to unseen dialects, including PostgreSQL, MySQL, SQL Server, and Oracle, without additional training. This suggests that agentic RL develops general debugging reasoning through environmental interaction rather than overfitting to SQLite-specific patterns.
Reference
[1] Wei, Zhou, et al. "PARROT: A Benchmark for Evaluating LLMs in Cross-System SQL Translation". (NeurIPS 2025)
Due to the space limitation, we put the response to the last question in the next comment.
Rebuttal 3/3
Q5: Can you provide a top-level reproducibility guide in the supplement, including dependencies, exact commands, expected data layout, model checkpoints or access instructions, and scripts for reproducing Tables 1-4 and 9? This would materially improve my assessment of clarity and reproducibility.
A5: We thank the reviewer for the helpful suggestion. Due to the space limitation, we can only prepare a brief top-level reproducibility guide based on the submitted code package. Since the complete SQLite databases, generated training data, and model checkpoints are substantially larger than the supplementary upload limit, they are not included in the archive. The public release will provide these materials immediately after the review period.
- Repository Setup and Dependencies
Unpack the supplementary archive and create the provided Conda environment:
unzip "17240_BIRD_RL_Scaling_Agentic__Supplementary Material.zip"
cd bird_rl_submission
conda env create -n bird_rl -f bird_rl.yaml
conda activate bird_rl
export PYTHONPATH="$PWD${PYTHONPATH:+:$PYTHONPATH}"
For Stage 4 agentic RL, install the supplied agent-loop extension into the VERL package installed by the Conda environment:
VERL_PATH=$(python -c 'import verl; print(verl.__path__[0])')
cp verl_patch/tool_agent_loop_with_db_cleanup.py \
"$VERL_PATH/experimental/agent_loop/tool_agent_loop_with_db_cleanup.py"
- Model Checkpoints and Access Instructions
The checkpoint release will include: the exact base-model repository and revision;
- the selected checkpoint from each of the four training stages;
- the final checkpoint used for every reported model;
- the exact expected extraction path under
checkpoints/.
After extraction, a checkpoint should be directly loadable through a path such as checkpoints/<released_checkpoint_name>/. All occurrences of <checkpoint_path> below refer to the corresponding path in the released checkpoint-to-table mapping.
- Reproducing BIRD-RL Results
The reported BIRD-RL results can be reproduced using the released model checkpoints and the common multi-turn inference and evaluation pipeline described below.
Step 1: Select a released checkpoint
Set the checkpoint path and an identifier for the model being evaluated:
MODEL_NAME=<model_identifier>
CHECKPOINT_PATH=checkpoints/<released_checkpoint_name>
OUTPUT_DIR=outputs/bird_critic/${MODEL_NAME}
Step 2: Run multi-turn BIRD-CRITIC inference
bash scripts/infer/run_critic_inference.sh \
--model_path "$CHECKPOINT_PATH" \
--input data/bird_critic/dev.jsonl \
--db_dir database/bird_critic \
--output_dir "$OUTPUT_DIR" \
--gpu 0 \
--max_turns 5 \
--max_tokens 5000 \
--max_model_len 20000 \
--temperature 0.0 \
--batch_size 100
The inference script writes the intermediate and final outputs to:
outputs/bird_critic/<model_identifier>/
prompts_turn_*.jsonl
responses_turn_*.jsonl
parsed_turn_*.jsonl
observations_turn_*.jsonl
trajectories/
traj_*.jsonl
eval_ready.jsonl
The files have the following roles:
prompts_turn_*.jsonlcontains the prompts constructed at each interaction turn.responses_turn_*.jsonlcontains the raw model responses.parsed_turn_*.jsonlcontains parsed tool calls and submitted solutions.observations_turn_*.jsonlcontains SQL execution feedback returned to the model.trajectories/traj_*.jsonlrecords the accumulated multi-turn trajectories.eval_ready.jsonlcontains the final predicted SQL program for each BIRD-CRITIC instance and is the input to the evaluator.
Step 3: Run BIRD-CRITIC evaluation
We recommend evaluating each model using a separate copy of the database directory so that temporary databases created during evaluation do not affect other runs:
EVAL_DB_DIR="${OUTPUT_DIR}/evaluation_db"
rm -rf "$EVAL_DB_DIR"
cp -a database/bird_critic "$EVAL_DB_DIR"
Run the evaluator:
bash evaluation/critic/run/run_eval.sh \
--jsonl_file "${OUTPUT_DIR}/eval_ready.jsonl" \
--db_dir "$EVAL_DB_DIR" \
--num_threads 8 \
--batch_size 10 \
--mode pred
The evaluator writes the detailed evaluation outputs to:
${OUTPUT_DIR}/eval_ready_simple_report.txt
${OUTPUT_DIR}/eval_ready_simple_output_with_status.jsonl
eval_ready_simple_report.txt contains the aggregate evaluation summary, while eval_ready_simple_output_with_status.jsonl records the evaluation status of each individual example.
To reproduce the five trials reported in the paper, repeat Steps 2–3 five times using the same checkpoint, complete test set, and inference settings, while assigning a separate OUTPUT_DIR and resetting the database to its clean initial state for each trial.
Thank you for the detailed rebuttal and additional analyses. The per-run results and uncertainty estimates substantially strengthen the evidence for the improvements over the same-backbone baselines. The decontamination analysis, storage-cost clarification, absence of pool-exhaustion events under the reported configuration, and the reproducibility instructions also address several of my original concerns. I appreciate that the infrastructure claim will be explicitly scoped to the demonstrated reduction in online lifecycle I/O under the evaluated SQLite-based setting. My remaining reservation is that broader systems generality has not yet been validated under higher mutation rates, skewed database access, or server-based database environments. After reassessing the submission under the corrected General contribution type, I maintain my Borderline Accept rating, with substantially increased confidence in the main empirical results. I encourage the authors to include the uncertainty estimates, decontamination procedure, revised claim scope, and reproducibility guide in the final version.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper introduces BIRD-RL, a framework for training small language models via agentic reinforcement learning to perform SQL issue resolution. Motivated by the fact that this task requires state-mutating operations that existing tool-centric RL frameworks struggle to support, the paper proposes a four-stage curriculum progressing from single-turn and multi-turn SFT to single-turn and multi-turn GRPO, paired with a Trajectory-Scoped Persistent Execution Infrastructure that uses a database replica pool and dirty-aware lazy resets to safely reuse database replicas while preserving trajectory isolation. The paper also releases a training environment along with the BIRD-TALON and BIRD-ZENO model families.
Strengths and weaknesses
Strength
- The systems contribution is concrete and quantified. Table 3 and Appendix D.2 give explicit I/O numbers, from 2.94 TiB down to 236 GiB, and identify the specific mechanism (dirty-aware lazy reset) driving the reduction, rather than merely asserting an engineering win.
- Reasonably thorough ablations. Table 9 isolates the marginal contribution of each curriculum stage, and the category-level breakdown supports the specific claim that agentic RL helps most on state-dependent issue types.
- Competitive results at smaller scale. A 14B open model matching a Claude-Opus-4.6-based agent is a practically meaningful result, though its robustness needs to be weighed against the evaluation-rigor concerns below.
Weakness
- right part of Figure 1 is ai generated.
- The four-stage curriculum itself is a fairly standard pattern in agentic RL by now, and the paper's own citations (SWE-SQL, SIX-GYM, DigiRL) follow similar recipes. I'd suggest scoping the novelty claim more explicitly to this specific instantiation and its interaction with the infrastructure, rather than implying the curriculum decomposition itself is the primary innovation.
- The gap between BIRD-TALON-14B and the Claude-Opus-4.6 agent is roughly one example out of 500, yet the paper reports no variance or confidence intervals and doesn't state whether the proprietary baseline was averaged over multiple runs.
- The training environment SIX-GYM-SQLITE and the evaluation set BIRD-CRITIC-SQLITE both trace back to the same benchmark, and the paper states the training set includes "instances transferred from the original SIX-GYM task suites" (Section A.1), but nowhere mentions a deduplication or contamination check against the eval set. This is a potential risk inferred from shared lineage, not a confirmed leakage, but it's worth the authors clarifying.
Questions
see weakness
Limitations
see weakness
Final justification
the rebuttal has solved my questions
Formatting concerns
no
5 comments
Rebuttal 1/3
We thank the reviewer for the thoughtful review and for recognizing the systems contribution and competitive performance of our small models. Below, we clarify the novelty, and provide evidence on evaluation uncertainty and data separation.
Q1: right part of Figure 1 is ai generated.
A1: Thank you for pointing this out, and we apologize for the oversight. Only several decorative icons and graphical elements in the right panel of Figure 1 were AI-generated for visual presentation. All technical content and labels were manually written and verified by the authors, so this does not affect the scientific information conveyed. We will replace these elements with fully author-created graphics in the revision.
Q2: The four-stage curriculum itself is a fairly standard pattern in agentic RL by now, and the paper's own citations follow similar recipes. I'd suggest scoping the novelty claim more explicitly to this specific instantiation and its interaction with the infrastructure, rather than implying the curriculum decomposition itself is the primary innovation.
A2: Thank you for your insightful suggestion. We would first like to clarify the unique context of our work. Unlike SWE-SQL, SIX-GYM, and other existing RL-based SQL methods, BIRD-RL is, to the best of our knowledge, the first work to focus on agentic SQL issue resolution within mutable, application-level database environments.
As you rightly pointed out, our four-stage curriculum indeed is not a simple, arbitrary decomposition. Instead, it is designed to address severe, task-specific learning bottlenecks that we observed in our pilot experiments. To support the refined scoping, we would like to elaborate on the task-specific insights and system-level integration that make our instantiation unique:
- Addressing "Imitation Rigidity" via Stage 3 (Adaptive Reasoning RL)
A typical agentic pipeline directly transitions from offline imitation to interactive multi-turn RL. However, in stateful SQL debugging, we observed that this direct transition introduces a distinct imitation rigidity bottleneck , which is the agent over-memorizes offline teacher trajectories and struggles to adapt when dynamic database execution feedback deviates from the expected path. To bridge this gap, we introduced Stage 3 . By temporarily constraining the action space to a single turn while shifting the policy to on-policy exploration, Stage 3 enables the model to learn when to depart from rigid teacher patterns and adaptively correct SQL queries before transitioning to full multi-turn RL.
- Curriculum–Infra Co-Design
The curriculum is also tightly integrated with our systems infrastructure. Stateful RL on heavy databases is extremely resource-intensive due to frequent database rollbacks. However, as noted in Line 284, the relatively low 9.25% mutation rate we observed is not coincidental. It is effectively achieved by our four-stage curriculum. Specifically, the preliminary SFT phases (Stages 1 and 2) regularize exploration by preventing arbitrary state-changing operations. By keeping the mutation workload manageable, these early SFT stages ensure that the subsequent RL phases can focus entirely on adaptive reasoning and stateful decision-making. This creates a stable and resource-efficient execution regime, seamlessly supported by our novel trajectory-scoped persistent execution infrastructure.
We will adjust and scope our novelty claims in the revised manuscript following your suggestion to make our contributions clear. We sincerely thank you once again for helping us improve the positioning of our work.
Due to the space limitation, we put the rest of the rebuttal in the next two comments.
Rebuttal 2/3
Q3: The gap between BIRD-TALON-14B and the Claude-Opus-4.6 agent is roughly one example out of 500, yet the paper reports no variance or confidence intervals and doesn't state whether the proprietary baseline was averaged over multiple runs.
A3: We appreciate the reviewer highlighting this point. The significance of this result lies not in the marginal numerical difference, but in showing that a compact 14B open-weight model trained with BIRD-RL achieves performance comparable to a Claude-Opus-4.6 agent in a challenging stateful database environment.
Moreover, a closer look at the aggregate performance reveals that the two models possess distinctly different capabilities. Our paired instance-level analysis shows that 12.0% of all testing instances are solved exclusively by Claude agent, while 11.8% are solved exclusively by BIRD-TALON-14B. This reveals complementary error profiles rather than uniform dominance by either model. The category-level results further show BIRD-TALON’s clearest advantage on stateful data-management issues requiring database mutation and iterative execution feedback. This aligns perfectly with the explicit design goals of our stateful, data-centric RL curriculum. Claude demonstrates stronger capabilities in query-like, read-only analytics, particularly those involving complex window, subquery, and NULL semantics. These fine-grained results support the effectiveness of our approach for stateful operations, while also identifying complex read-only reasoning as a clear direction for future improvement.
For the model uncertainty, BIRD-TALON-14B achieves 48.00 ± 0.30%, with a standard deviation of 0.245 pp and a 95% confidence interval of [47.70, 48.30] across five runs under greedy decoding. Due to space limitations, we kindly refer you to our response to Q1 from Reviewer R1mD for the complete statistical results and multi-run details. For the proprietary-model evaluation, single-run evaluation under deterministic decoding is standard and appropriate in the context of text-to-SQL and other tabular code generation tasks due to long-context nature and expense, especially in the Multi-Turn Agents settings, where agent needs to interact with database multiple times and get the long execution observation [1, 2, 3]. Therefore, we adopt single-run deterministic decoding (temperature=0) for proprietary models to minimize randomness introduced by the model itself as previous accepted works suggested. Nevertheless, this protocol does not affect the validity of our comparison, as BIRD-TALON-14B's performance remains highly comparable with frontier proprietary models across repeated runs.
Our intended claim is strictly one of comparable performance, rather than statistical superiority. We will therefore revise phrases such as “on par with or exceeding” to the more precise statement that BIRD-TALON-14B achieves a comparable point estimate to the proprietary agent.
Reference
[1] Jing, Liqiang, et al. "DSBench: How Far Are Data Science Agents from Becoming Data Science Experts?." The Thirteenth International Conference on Learning Representations. (ICLR' 25)
[2] Lei, Fangyu, et al. "Spider 2.0: Evaluating Language Models on Real-World Enterprise Text-to-SQL Workflows." The Thirteenth International Conference on Learning Representations. (ICLR' 25)
[3] Li, Jinyang, et al. “SWE-SQL: Illuminating LLM Pathways to Solve User SQL Issues in Real-World Applications.” The Thirty-Ninth Annual Conference on Neural Information Processing Systems. (NeurIPS’ 25)
Due to the space limitation, we put the response to the last question in the next comment.
Rebuttal 3/3
Q4: The training environment SIX-GYM-SQLITE and the evaluation set BIRD-CRITIC-SQLITE both trace back to the same benchmark. and the paper states the training set includes "instances transferred from the original SIX-GYM task suites" , but nowhere mentions a deduplication or contamination check against the eval set. This is a potential risk inferred from shared lineage, not a confirmed leakage, but it's worth the authors clarifying.
A4: Thanks for asking this question. We feel sorry for the misunderstanding. Please let us clarify here that the training and testing are not overlapped. Avoiding this exact risk was a first-class design goal of the underlying SWE-SQL protocol that our environment inherits, so the separation is enforced by construction, and we additionally back it with a quantitative check below.
- Separation by construction and source-level filtering.
As introduced in SWE-SQL, two resources are produced by fundamentally opposite processes. BIRD-CRITIC is a human-annotated benchmark for evaluation, where each task is a faithfully reproduced Stack Overflow bug-fix thread annotated and cross-validated by qualified annotators. SIX-GYM is instead built in the reverse direction via SQL-Rewind for a scalable training environment which starts from correct SQL (σ) and synthetically injects realistic issues to produce (σ_issue, P) automatically. Concretely, issue types are summarized over the whole corpus and then combinatorially composed with correct SQLs to synthesize instances. Because training instances are sampled from this large synthetic combinatorial space rather than from the same human-curated threads, the chance that a synthesized training task coincides with a specific annotated evaluation task is vanishingly small by design. On top of this, the protocol we inherit uses different databases in terms of domain and instances for training and evaluation and excludes any Stack Overflow post already used by BIRD-CRITIC before synthesis, providing a verifiable source-level exclusion key. To clarify, the statement in Appendix A.1 that SIX-GYM-SQLite uses “the same database setup as SIX-GYM-PostgreSQL but adapted to the SQLite dialect” means that the training and evaluation databases use the same schemas as their respective counterparts in SWE-SQL, rather than sharing the same database instances within this work.
- Direct contamination study.
We exhaustively compared all 500×5,000 train–test pairs using a dual-view TF-IDF audit over normalized issue descriptions and buggy SQL. A pair was flagged as a high-confidence near-duplicate only when the same training instance exceeded 0.85 text similarity and 0.90 SQL similarity. Only 3 of 500 tasks are highly similar to training tasks, and all three are permission-/privilege-related tasks, a category that is inherently shared, since privilege management is core database knowledge that neither training nor evaluation can meaningfully exclude.
| Model | Original SR | Revised SR |
|---|---|---|
| Claude-Opus-4.6 | 46.20 | 46.07 |
| BIRD-TALON-7B | 44.40 | 44.46 |
| BIRD-TALON-14B | 48.00 | 47.89 |
As shown in the table above, after removing all three flagged evaluation tasks and recomputing the metric for each of the five evaluation runs, BIRD-TALON-7B shows a negligible increase, while BIRD-TALON-14B and Claude-Opus-4.6 slightly decrease. The change is far below the level required for statistical significance, so it does not affect any of our conclusions. This confirms the reported results reflect learned debugging capability rather than memorized evaluation content.
To make experimental setup more rigorous, we will add a short paragraph making it explicit that SIX-GYM-SQLite is training-only and generated by reverse SQL-Rewind synthesis over a combinatorial issue-type × correct-SQL space; the training and evaluation use disjoint databases with a Stack Overflow post-id exclusion key; a task-level similarity check finds only 0.6% highly-similar tasks, all permission-related and thus legitimately shared, whose removal does not affect any of our conclusions; and the teacher supervision during Stages 1 and 2 is conditioned solely on training-instance solutions and never sees any evaluation instance. We thank the reviewer for prompting this clarification, which we believe fully resolves the concern.
- Rating
- 3/6
- Confidence
- 3/5
- Quality
- 2/4
- Clarity
- 2/4
- Significance
- 2/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper presents a four-stage training pipeline named BIRD-RL. It is designed for SQL debugging agents and progresses from reasoning and tool-use imitation to single-turn and interactive RL. The main technical contribution is a trajectory-scoped database execution system, which reuses database replicas and preserve the state ioslation. Via this approach, the 7B and 14B models improve over their Qwen2.5-Coder backbones and got promising results.
Strengths and weaknesses
Strengths
- The design of infra looks useful, the reported 12.8 times reduction in database lifecycle I/O is promising.
- This paper included a useful ablation studies across training and reward shaping.
- The overall system is well-designed with good gains over the base and SFT-only models.
Weaknesses
However, my major concern is that the novelty is limited. The 4-stage curriculum is reasonable but it just combines standard SFT, GRPO and multi-turn agent training. The distinctive contributions seems to be the execution infra but the evaluation focuses mainly on I/O instead of end-to-end throughput or scaling behavior. In addition, the experimental scope is also narrow. Most of the conclusion are based on one benchmark family and training environment constructed by closely related prior work. I'm curious about other models and other benchmarks.
Questions
Why did the authors choose Qwen-2.5-coder as the backbone which seems outdated. Curious about the performance of latest Qwen models and other model familys.
Limitations
yes
Final justification
I've read the authors' comment and will maintain my score.
Formatting concerns
N/A
1 comment
Rebuttal
We sincerely thank you for your time and the effort dedicated to reviewing our manuscript.Below, we provide detailed, point-by-point responses to address your concerns.
Q1: My major concern is that the novelty is limited. The 4-stage curriculum is reasonable but it just combines standard SFT, GRPO and multi-turn agent training.
A1: Thank you for raising this important point regarding the novelty and design of our training curriculum. We would like to clarify that the four-stage curriculum is not an arbitrary stacking of standard SFT and RL techniques. Instead, it was developed empirically for a highly underexplored setting: agentic SQL issue resolution over mutable, application-level database environments. The curriculum is carefully designed to address task-specific learning bottlenecks, directly driven by the failure patterns we observed in our pilot experiments. The four stages target distinct atomic learning objectives: schema-grounded diagnosis in Stage 1, structured tool use and hypothesis testing through offline trajectory imitation in Stage 2, on-policy execution-grounded adaptation in Stage 3, and persistent multi-turn interaction with state-mutating actions in Stage 4. BIRD-RL also implements a novel trajectory-scoped execution infrastructure to support stable and effective agentic RL under such resource-intensive, data-centric environments.
Notably, a standard agentic training pipeline typically transitions directly from SFT (imitation) to multi-turn RL. However, doing so in SQL debugging introduces a distinct "imitation rigidity" bottleneck as we claimed in line 164: the agent over-memorizes offline teacher trajectories and fails to adapt to new interaction contexts. To bridge this gap, we introduce Stage 3 **Single-turn Adaptive Reasoning RL**) before the interactive agentic RL stage. It temporarily constrains the interactive action space to a single turn while allowing the model to explore on-policy and receive execution feedback\. This allows the model to learn how to depart from rigid teacher patterns and adaptively correct SQL queries before undergoing full multi-turn RL\. To the best of our knowledge, our work is **the first** to introduce this intermediate transition within **SQL training pipelines**\. We qualitatively demonstrate how Stage 3 transforms the agent's reasoning patterns through a case study in **Section 5\.5**. Furthermore, the performance drop observed when removing this stage (**see the table below** quantitatively validates its effectiveness.
| Method | Quer. | Mana. | Pers. | Overal |
|---|---|---|---|---|
| BIRD-Talon-7B | 46.13 | 45.33 | 40.43 | 44.40 |
| w/o Stage 3 (Stage 1→2→4) | 45.77 | 40.00 | 36.17 | 42.20 |
Beyond debugging, BIRD-RL also trains a unified SLM for both SQL debugging and generation and presents the first controlled investigation of data mixture across these two heterogeneous objectives. Together, these contributions provide a concrete and empirically grounded direction for future agentic learning in mutable data-centric environments.
Q2: The distinctive contributions seems to be the execution infra but the evaluation focuses mainly on I/O instead of end-to-end throughput or scaling behavior.
A2: We appreciate this feedback and your recognition of our trajectory-scoped execution infrastructure as a distinctive contribution. Let us clarify why we focused primarily on online database lifecycle I/O, discuss how this connects to overall training stability, and explain the scaling behavior of our system.
- Why Online Database Lifecycle I/O is the Primary Metric
We focus on database lifecycle I/O because it is the primary environment-side bottleneck of agentic RL in stateful database environments. Unlike peak memory and storage capacity, which can be provisioned upfront by scaling hardware resources or adjusting the pool size, database lifecycle I/O is repeatedly incurred during rollout generation and directly affects the rollout collection. When database materialization and restoration saturate storage bandwidth, rollout generation may stall or time out. These infrastructure-induced failures can then be recorded as zero-reward trajectories, contaminating the reward signal and destabilizing on-policy learning. Most importantly, our infrastructure provides the systems foundation for feasible and reliable agentic RL over resource-intensive data-centric environments. The reported 12.8× online database lifecycle I/O reduction is a quantifiable outcome under our evaluated training workload. Accordingly, metrics such as wall-clock rollout throughput, which primarily reflect end-to-end training speed, fall outside the intended optimization scope of this claim.
- Scaling Behavior and Storage Cost
Compared with conventional container-per-rollout isolation, whose database lifecycle cost grows with the total number of generated trajectories because every rollout materializes a fresh database, our trajectory-scoped infrastructure amortizes database materialization across the entire training run. Consequently, the persistent storage footprint scales with the configured peak concurrency and the number of unique database templates, rather than with the total rollout volume. The system therefore replaces rollout-proportional materialization with concurrency-bounded provisioning and mutation-dependent online restoration. This scaling advantage becomes increasingly important as the number of training examples, epochs, or sampled trajectories grows. A detailed analysis is provided in Appendix D.2. Under the evaluated configuration with batch size B=16 and rollout size R=16 we pre-allocate BR/2=128 replicas per database, incurring a one-time storage cost of 69 GiB, and observe no pool-exhaustion events during training. This storage overhead is predictable and amortizable, and can be adjusted by tuning the batch size, rollout size, or per-database reserve according to the available hardware budget. Such tuning changes the trade-off between concurrent capacity and allocation waiting, but preserves the key scaling property that storage remains bounded by peak concurrency rather than growing with the total rollout volume.
Q3: In addition, the experimental scope is also narrow. Most of the conclusions are based on one benchmark family and training environment constructed by closely related prior work.
A3: Thank you for the question. BIRD-RL focuses on SQL issue resolution, which is fundamentally different from standard SQL generation. In this setting, the agent must verify hypotheses through stateful database operations, which requires a spatially efficient execution infrastructure that can preserve database state within each trajectory while maintaining isolation across concurrent rollouts. SQL debugging is also substantially more complex than generation tasks because it jointly requires schema-grounded diagnosis, execution feedback, and dynamic interaction with an evolving database state. Currently,** BIRD-CRITIC** is the only widely adopted public benchmark of this scale that provides application-level SQL issues paired with executable, mutable environments and test-based verification. We would be grateful if the reviewer can suggest other public test beds with a comparable task setting. And we will try our best to provide additional evaluation results.
Regarding the concern that the training environment is constructed from closely related prior work, we conducted a rigorous task-level and solution-level decontamination study and detail this in our response to Q4 for Reviewer ev9R. Please kindly refer to it. The study demonstrates that our data construction process strictly prevents train-test leakage. Moreover, adopting the prior environment-construction protocol is a controlled design choice. We train both BIRD-RL and the reproduced BIRD-FIXER baseline using the exact same underlying task suite . Therefore, the performance gap observed in Tables 1 and 2 is strictly attributable to methodological improvements, rather than any unfair advantage gained from a more favorable training environment.
Q4: Why did the authors choose Qwen-2.5-coder as the backbone which seems outdated. Curious about the performance of latest Qwen models and other model families.
A4: Thank you for this insightful question regarding our choice of base models. We chose Qwen2.5-Coder-7B and 14B for controlled comparability rather than model recency. They are widely used open backbones in recent RL-based SQL research and are also the exact backbones used by the compared methods, including BIRD-FIXER, SQL-R1-7B and Arctic-T2S-R1-7B, which allows us to isolate the effect of BIRD-RL under matched model family and scale. We intentionally avoid using much larger models because this would confound the gain from the training framework with the gain from parameter scaling. To examine whether BIRD-RL is specific to Qwen2.5-Coder, we additionally applied it to Qwen3-4B and observed a substantial improvement from 26.20% to 39.00% Success Rate . We did not include this result in the main comparison, since no directly comparable SQL debugging baseline uses the same backbone and scale. These results confirm that the contribution comes from the training framework rather than from selecting a particular backbone. We will add these results and a discussion of model generalizability to the appendix of the final manuscript to make our evaluation more comprehensive.
Comments on the paper
1 comment
General Response
Dear reviewers,
As Phase 1 of the rebuttal period draws to a close, we would like to follow up and check if you have any remaining concerns. We are highly encouraged by the reviewers' general recognition of our motivation, the systems-level infrastructure design, and the strong performance of our models. We hope that our previous clarifications have addressed the points raised, and for your convenience, we provide a brief summary of our key responses below:
- Data Separation and Decontamination: We clarified a potential misunderstanding regarding train-test leakage by detailing our deduplication protocol. Specifically, The training and evaluation sets use strictly disjoint databases. A task-level similarity check finds only 0.6% highly-similar tasks, all permission-related and thus inherently shared, whose removal does not affect any of our conclusions. (Q4/Reviewer ev9R)
- Performance Robustness and Uncertainty Analysis: We additionally provided per-run results, standard deviations (std < 0.32 pp for BIRD-TALON models), and 95% confidence intervals across five independent trials. These metrics confirm that our performance gains over the baselines are highly stable and robust against run-to-run noise. (Q1/Reviewer R1mD)
- Infrastructure Evaluation Scope: We clarified that database lifecycle I/O is the primary bottleneck for agentic RL in resource-intensive data-centric environments. Our trajectory-scoped infrastructure prevents I/O saturation, avoiding false zero-reward trajectories that would otherwise destabilize training. The 12.8× I/O reduction quantifies this systemic reliability, explaining our focus on I/O optimization rather than general speed metrics like wall-clock throughput. We will explicitly scope this claim to the evaluated SQLite setting in the final revision. (Q3/Reviewer R1mD)
- Curriculum Design & Novelty: We clarified that the four-stage pipeline is not a generic recipe, but a targeted solution driven by failure patterns observed in our pilot experiments. Specifically, Stage 3 is essential to break the "imitation rigidity" introduced by SFT. We also provided additional ablation results (merged and interleaved variants) to demonstrate how this specific sequential design effectively mitigates the challenges of stateful SQL debugging. (Q1/Reviewer DphW & Q4/Reviewer uTc8)
We will incorporate these points and clarifications into the final manuscript. Please let us know if there are any remaining concerns we can address during the rest of the discussion period.
Best regards,
Authors
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
We sincerely thank the reviewer for your rigorous and highly constructive feedback. Below, we address each of your questions regarding infrastructure scalability, baselines, curriculum design, and statistical robustness in detail.
A1: Thanks for raising this concern. As reported in Appendix D.2, our infrastructure does introduce a measurable storage overhead. Specifically, under the configuration of a batch size of 16 and a rollout size of 16, we pre-allocate replicas that incur a one-time storage cost of 69 GiB. Under this setting, we observed no pool-exhaustion events during training. This storage overhead is predictable and amortizable, and can be adjusted by tuning the batch size, rollout size, or per-database reserve according to the available hardware budget. Such tuning changes the trade-off between concurrent capacity and allocation waiting, but preserves the key scaling property that storage remains bounded by peak concurrency rather than growing with the total rollout volume.
However, we would like to highlight that unlike peak memory and storage capacity, which are deterministic and can be provisioned upfront by scaling hardware or adjusting the pool size, database lifecycle I/O is actually the primary environment-side bottleneck of agentic RL in stateful database environments. When database materialization and restoration operations saturate the storage bandwidth, rollout generation stalls or times out. These infrastructure-induced failures are consequently recorded as false "zero-reward" trajectories, which could contaminate the reward signal and severely destabilize on-policy learning. Most importantly, our infrastructure provides the systems foundation for feasible and reliable agentic RL over resource-intensive data-centric environments. The reported 12.8× online database lifecycle I/O reduction is a quantifiable outcome under our evaluated training workload. Therefore, we exclusively report online database lifecycle I/O reduction as our core system metric instead of the memory cost.
A2: We appreciate this feedback. However, we would respectfully point out that the performance of previous RL-based SQL methods, such as SQL-R1 and Arctic-Text2SQL-R1, has already been evaluated for both SQL generation and SQL debugging, as reported in Table 4. As Table 4 demonstrates, previous RL-based SQL methods are primarily optimized for SQL generation. When evaluated on the significantly more complex, environment-grounded SQL debugging task, their performance degrades substantially. While SQL-R1-7B and Arctic-Text2SQL-R1-7B maintain strong generation capabilities, their debugging success rates plummet to merely 26.6% and 29.8%, respectively. This is remarkably low compared to the 44.40% achieved by BIRD-TALON-7B, and 44.60% by BIRD-ZENO. These results clearly underscore the distinct challenges inherent to SQL issue resolution, while further highlighting the unique contribution of BIRD-RL in enabling stable and effective agentic RL over mutable database environments.
A3: Thank you for raising this point. While we agree that our primary contributions are situated within the SQL domain, we believe the unique challenges of this domain are exactly what make our method novel. First, we study an underexplored setting in which agents resolve SQL issues by interacting with mutable, application-level databases. This setting introduces two particularly distinct challenges. At the systems level, large-scale RL must operate reliably over data-intensive, stateful execution environments. At the policy level, the agent must maintain effective interactive reasoning across complex, evolving contexts. Our designed curriculum is therefore not merely an arbitrary stacking of standard SFT and RL techniques. Rather, the curriculum is carefully designed to address these exact bottlenecks, directly driven by the failure patterns we observed in our pilot experiments. Most notably, we explicitly introduced a single-turn Adaptive Reasoning RL stage (Stage 3) as a crucial bridge before full interactive agentic RL. This unique, non-intuitive stage breaks the inherent rigidity of offline imitation and specifically elevates the model's adaptive reasoning capabilities, effectively resolving a fundamental bottleneck in stateful debugging interactions. Furthermore, BIRD-RL implements a novel trajectory-scoped execution infrastructure co-designed with the curriculum to support stable and effective agentic RL under such resource-intensive, data-centric environments. We believe that these contributions collectively establish a viable foundation for future research in database-grounded agentic RL.
A4: We appreciate this valuable feedback and the opportunity to clarify our design choices regarding data filtering and the training sequence. We would first like to clarify that the sample counts in Stages 1 and 2 were not selected as arbitrary training budgets. Both stages start from the same pool of 5,000 training tasks, and the reported counts (4,982 reasoning instances and 4,502 tool-use trajectories for SFT stages) are the numbers retained after stage-specific execution verification and quality filtering. We agree that systematically studying the relationship between the training-data scale at each stage and downstream performance would be valuable, and we will leave this analysis as future work.
Regarding the pipeline-order ablation, the quantitative results are provided in the above Table Exp (b). We evaluate the pipeline that applies single-turn reasoning RL before multi-turn trajectory SFT with an alternative order: single-turn SFT --> single-turn RL --> multi-turn SFT --> agentic RL. Counter-intuitively, despite undergoing all four training phases, this variant only achieved an overall SR of 41.00%. Our analysis identifies reasoning pattern interference as the primary cause of this degradation. The early single-turn RL phase first learns an on-policy, execution-grounded reasoning policy from the model’s own sampled outputs. When subsequently exposed to multi-turn SFT, these learned behaviors clash heavily with the debugging patterns provided by the teacher-forced trajectories. Such distribution conflict destabilizes the model, leading to bad patterns such as format collapse and a substantially slower loss decrease. Besides, this reordered pipeline breaks the intended transition from adaptive reasoning to stateful agentic RL, resulting in weaker exploration and cross-turn contextual adaptation. These observations highlight the effectiveness of the training-stage order in our pipeline.
Thank you for the question. We did not conduct an exhaustive hyperparameter-sensitivity sweep and therefore do not claim global optimality. Rather, our central claim is that the carefully designed curriculum, together with the trajectory-scoped execution infrastructure, enables stable and effective agentic RL in resource-intensive, stateful data-centric environments. Complete training configurations for all stages are provided in Appendix C.2.
To quantify evaluation variability under the reported configuration, we evaluated each checkpoint over five runs using greedy decoding (temperature = 0), as shown below:
As shown, run-to-run variation is minimal. All standard deviations are below 0.60 pp, and all 95% confidence-interval half-widths are below 1.0 pp. For BIRD-TALON specifically, they remain below 0.32 pp and 0.40 pp, respectively. These narrow intervals demonstrate that our evaluation setup and model results are stable and reproducible, with low uncertainty.