A State-of-the-Art SQL Reasoning Model using RLVR

Alnur Ali, Ashutosh Baheti, Jonathan Chang, Ta-Chung Chi, Brandon Cui +11 more
9/25/2025
cs.CLcs.AIcs.DB

No confident code implementation found for this paper.

Abstract

Developing custom reasoning models via Reinforcement Learning (RL) that can incorporate organization-specific knowledge has great potential to address problems faced by enterprise customers. In many of these problems, the reward function is verifiable, a setting termed RL with Verifiable Rewards (RLVR). We apply RLVR to a popular data science benchmark called BIRD that measures the ability of an AI agent to convert a natural language query for a database to SQL executions. We apply a simple and general-purpose training recipe involving careful prompt and model selection, a warm-up stage using our offline RL approach called TAO, followed by rigorous online RLVR training. With no additional training data beyond the BIRD training set and no use of proprietary models, our very first submission to the BIRD leaderboard reached state-of-the-art accuracy on the private test set: 73.56% without self-consistency and 75.68% with self-consistency. In the latter case, our model also required fewer generations than the second-best approach. While BIRD is only a proxy task, the simplicity of our framework makes it broadly applicable to enterprise domains such as business intelligence, data science, and coding.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ali2025stateoftheart,
  title  = {A State-of-the-Art SQL Reasoning Model using RLVR},
  author = {Alnur Ali and Ashutosh Baheti and Jonathan Chang and Ta-Chung Chi and Brandon Cui and Andrew Drozdov and Jonathan Frankle and Abhay Gupta and Pallavi Koppol and Sean Kulinski and Jonathan Li and Dipendra Misra and Krista Opsahl-Ong and Jose Javier Gonzalez Ortiz and Matei Zaharia and Yue Zhang},
  year   = {2025},
  eprint = {2509.21459},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.21459v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.21459.svg)](https://codeofpaper.com/paper/2509.21459)

Discussion