Reward-SQL: Boosting Text-to-SQL via Stepwise Execution-Aware Reasoning and Process-Supervised Rewards
On the map: LLM reasoning → Knowledge- and tool-augmented reasoning
Abstract (arXiv)
Recent advances in large language models (LLMs) trained with reinforcement learning (RL) have improved Text-to-SQL performance. However, RL-based approaches still struggle with complex queries due to two key limitations: insufficient stepwise execution-aware reasoning grounded in database feedback, and the lack of process-level rewards for guiding reasoning optimization. To address these issues, we propose CoCTE, a divide-and-conquer and execution-aware reasoning framework that progressively composes SQL queries through intermediate view validation and structured Common Table Expressions (CTEs), improving both accuracy and interpretability. To realize a CoCTE reasoning process, we develop Reward-SQL, a unified approach with three stages: (1) model initialization, which equips LLMs with structured CoCTE reasoning capabilities; (2) process reward design, which delivers fine-grained, execution-aware supervision; and (3) process-supervised RL and inference, which integrates process rewards into training and guides the inference stage by process rewards. This paper addresses the core challenges in Reward-SQL and makes the following contributions. We introduce a process reward model (PRM) that combines execution-aware trajectory scoring with entropy-based step weighting, providing dense and interpretable supervision across reasoning steps. We integrate PRM into both RL training and inference stages, stabilizing optimization and improving trajectory exploration with process-level signals. Experiments show that Reward-SQL significantly outperforms baselines with comparable model sizes, and exhibits strong cross-domain generalization.
Key facts. Cited by 25 papers in the map (data through 7 Oct 2026). Placed in Knowledge- and tool-augmented reasoning, one of 17 directions in LLM reasoning. Builds on 26 of its 58 references that are in the map. First posted on arXiv 7 May 2025.
Builds on
26 of 58 references.
Closest ancestors · 4
Same direction, newest first
- 2025Reasoning-SQL: Reinforcement Learning with SQL Tailored Partial Rewards for Reasoning-Enhanced Text-to-SQL29 Mar
- 2025ExCoT: Optimizing Reasoning for Text-to-SQL with Execution Feedback25 Mar
- 2025STaR-SQL: Self-Taught Reasoner for Text-to-SQL19 Feb
- 2024CHASE-SQL: Multi-Path Reasoning and Preference Optimized Candidate Selection in Text-to-SQL2 Oct
Other references · 22
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,146
- 2024OpenAI o1 System Cardcited by 1,220
- 2023Math-Shepherd: Verify and Reinforce LLMs Step-by-step without Human Annotationscited by 895
- 2024Improve Mathematical Reasoning in Language Models by Automated Process Supervisioncited by 426
- 2019RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL Parserscited by 420
- 2024Spider 2.0: Evaluating Language Models on Real-World Enterprise Text-to-SQL Workflowscited by 223
- 2023C3: Zero-shot Text-to-SQL with ChatGPTcited by 159
- 2020Structure-Grounded Pretraining for Text-to-SQLcited by 126
- 2021Towards Robustness of Text-to-SQL Models against Synonym Substitutioncited by 110
- 2021Exploring Underexplored Limitations of Cross-Domain Text-to-SQL Generalizationcited by 92
- 2025OmniSQL: Synthesizing High-quality Text-to-SQL Data at Scalecited by 90
10 more
- 2025SQL-R1: Training Natural Language to SQL Reasoning Model By Reinforcement Learningcited by 67
- 2018Variance Reduction for Policy Gradient with Action-Dependent Factorized Baselinescited by 65
- 2018Robust Text-to-SQL Generation with Execution-Guided Decodingcited by 51
- 2023ScienceBenchmark: A Complex Real-World Benchmark for Evaluating Natural Language to SQL Systemscited by 42
- 2025ReFoRCE: A Text-to-SQL Agent with Self-Refinement, Consensus Enforcement, and Column Explorationcited by 34
- 2025NL2SQL-BUGs: A Benchmark for Detecting Semantic Errors in NL2SQL Translationcited by 31
- 2025SQL-o1: A Self-Reward Heuristic Dynamic Search Method for Text-to-SQLcited by 19
- 2025EllieSQL: Cost-Efficient Text-to-SQL with Complexity-Aware Routingcited by 13
- 2024AutoPrep: Natural Language Question-Aware Data Preparation with a Multi-Agent Frameworkcited by 12
- 2025Graph Neural Networks for Databases: A Surveycited by 6
Built on by
Citing papers per year: 2025: 6; 2026: 19.
25 papers.
Sort:
By area:
- 2025A Survey of Process Reward Models: From Outcome Signals to Process Supervisions for Large Language Modelscited by 37
- 2025Agentar-Scale-SQL: Advancing Text-to-SQL through Orchestrated Test-Time Scalingcited by 20
- 2025CSC-SQL: Corrective Self-Consistency in Text-to-SQL via Reinforcement Learningcited by 15
- 2026Reasoning and Tool-use Compete in Agentic RL:From Quantifying Interference to Disentangled Tuningcited by 15
- 2025Graph-Reward-SQL: Execution-Free Reinforcement Learning for Text-to-SQL via Graph Matching and Stepwise Rewardcited by 7
- 2025Enhancing Large Language Model Reasoning with Reward Models: An Analytical Surveycited by 7
- 2026Large Language Model Post-Training: A Unified View of Off-Policy and On-Policy Learningcited by 5
- 2026AgenticDataBench: A Comprehensive Benchmark for Data Agentscited by 5
- 2026Rewarding the Scientific Process: Process-Level Reward Modeling for Agentic Data Analysiscited by 4
- 2026ETS: Energy-Guided Test-Time Scaling for Training-Free RL Alignmentcited by 3
- 2026TABQAWORLD: Optimizing Multimodal Reasoning for Multi-Turn Table Question Answeringcited by 3
- 2026Enhancing Table Reasoning with Deterministic Table-State Rewardscited by 2
13 more
- 2025HES-SQL: Hybrid Reasoning for Efficient Text-to-SQL with Structural Skeleton Guidancecited by 1
- 2026Every Step Counts: Step-Level Credit Assignment for Tool-Integrated Text-to-SQLcited by 1
- 2026PRO-CUA: Process-Reward Optimization for Computer Use Agentscited by 1
- 2026Progress-SQL: Improving Reinforcement Learning for Text-to-SQL via Progressive Rewardscited by 1
- 2026SQLConductor: Search-to-Policy Learning for Step-wise Text-to-SQL Orchestrationcited by 1
- 2026BAP-SQL: Budget-Aware Observation Planning for Agentic Text-to-SQLcited by 1
- 2026ROSE: An Intent-Centered Evaluation Metric for NL2SQLcited by 0
- 2026Process Rewards with Learned Reliabilitycited by 0
- 2026CAPER: Clause-Aligned Process Supervision for Text-to-SQLcited by 0
- 2026Turning Off-Policy Tokens On-Policy: A Plug-in Approach for Improving LLM Alignmentcited by 0
- 2026From Test-Time Scaling to Reusable Memory: Measuring Crystallization in Text-to-SQLcited by 0
- 2026Data Agents: Agentic Data Systemscited by 0
- 2026Towards Reliable AI Data Scientists: Data Agents with Workflow Harnessescited by 0
- 2026Towards Reliable AI Data Scientists: Data Agents with Workflow Harnesses28 Sep 2026
- 2026Data Agents: Agentic Data Systems21 Sep 2026
- 2026From Test-Time Scaling to Reusable Memory: Measuring Crystallization in Text-to-SQL7 Aug 2026
- 2026BAP-SQL: Budget-Aware Observation Planning for Agentic Text-to-SQL3 Aug 2026
- 2026Turning Off-Policy Tokens On-Policy: A Plug-in Approach for Improving LLM Alignment6 Jul 2026
- 2026AgenticDataBench: A Comprehensive Benchmark for Data Agents2 Jul 2026
- 2026SQLConductor: Search-to-Policy Learning for Step-wise Text-to-SQL Orchestration22 Jun 2026
- 2026Progress-SQL: Improving Reinforcement Learning for Text-to-SQL via Progressive Rewards5 Jun 2026
- 2026CAPER: Clause-Aligned Process Supervision for Text-to-SQL2 Jun 2026
- 2026PRO-CUA: Process-Reward Optimization for Computer Use Agents27 May 2026
- 2026Process Rewards with Learned Reliability15 May 2026
- 2026Every Step Counts: Step-Level Credit Assignment for Tool-Integrated Text-to-SQL6 May 2026
13 more
- 2026Rewarding the Scientific Process: Process-Level Reward Modeling for Agentic Data Analysis27 Apr 2026
- 2026ROSE: An Intent-Centered Evaluation Metric for NL2SQL14 Apr 2026
- 2026Large Language Model Post-Training: A Unified View of Off-Policy and On-Policy Learning9 Apr 2026
- 2026TABQAWORLD: Optimizing Multimodal Reasoning for Multi-Turn Table Question Answering3 Apr 2026
- 2026Reasoning and Tool-use Compete in Agentic RL:From Quantifying Interference to Disentangled Tuning1 Feb 2026
- 2026Enhancing Table Reasoning with Deterministic Table-State Rewards30 Jan 2026
- 2026ETS: Energy-Guided Test-Time Scaling for Training-Free RL Alignment29 Jan 2026
- 2025HES-SQL: Hybrid Reasoning for Efficient Text-to-SQL with Structural Skeleton Guidance10 Oct 2025
- 2025A Survey of Process Reward Models: From Outcome Signals to Process Supervisions for Large Language Models9 Oct 2025
- 2025Enhancing Large Language Model Reasoning with Reward Models: An Analytical Survey2 Oct 2025
- 2025Agentar-Scale-SQL: Advancing Text-to-SQL through Orchestrated Test-Time Scaling29 Sep 2025
- 2025CSC-SQL: Corrective Self-Consistency in Text-to-SQL via Reinforcement Learning19 May 2025
- 2025Graph-Reward-SQL: Execution-Free Reinforcement Learning for Text-to-SQL via Graph Matching and Stepwise Reward18 May 2025
- 2025A Survey of Process Reward Models: From Outcome Signals to Process Supervisions for Large Language Modelscited by 37
- 2025Agentar-Scale-SQL: Advancing Text-to-SQL through Orchestrated Test-Time Scalingcited by 20
- 2025CSC-SQL: Corrective Self-Consistency in Text-to-SQL via Reinforcement Learningcited by 15
- 2026Reasoning and Tool-use Compete in Agentic RL:From Quantifying Interference to Disentangled Tuningcited by 15
- 2025Enhancing Large Language Model Reasoning with Reward Models: An Analytical Surveycited by 7
- 2026Rewarding the Scientific Process: Process-Level Reward Modeling for Agentic Data Analysiscited by 4
- 2026ETS: Energy-Guided Test-Time Scaling for Training-Free RL Alignmentcited by 3
- 2026TABQAWORLD: Optimizing Multimodal Reasoning for Multi-Turn Table Question Answeringcited by 3
- 2026Enhancing Table Reasoning with Deterministic Table-State Rewardscited by 2
- 2025HES-SQL: Hybrid Reasoning for Efficient Text-to-SQL with Structural Skeleton Guidancecited by 1
- 2026Process Rewards with Learned Reliabilitycited by 0
- 2026From Test-Time Scaling to Reusable Memory: Measuring Crystallization in Text-to-SQLcited by 0
- 2026From Test-Time Scaling to Reusable Memory: Measuring Crystallization in Text-to-SQL7 Aug 2026
- 2026Process Rewards with Learned Reliability15 May 2026
- 2026Rewarding the Scientific Process: Process-Level Reward Modeling for Agentic Data Analysis27 Apr 2026
- 2026TABQAWORLD: Optimizing Multimodal Reasoning for Multi-Turn Table Question Answering3 Apr 2026
- 2026Reasoning and Tool-use Compete in Agentic RL:From Quantifying Interference to Disentangled Tuning1 Feb 2026
- 2026Enhancing Table Reasoning with Deterministic Table-State Rewards30 Jan 2026
- 2026ETS: Energy-Guided Test-Time Scaling for Training-Free RL Alignment29 Jan 2026
- 2025HES-SQL: Hybrid Reasoning for Efficient Text-to-SQL with Structural Skeleton Guidance10 Oct 2025
- 2025A Survey of Process Reward Models: From Outcome Signals to Process Supervisions for Large Language Models9 Oct 2025
- 2025Enhancing Large Language Model Reasoning with Reward Models: An Analytical Survey2 Oct 2025
- 2025Agentar-Scale-SQL: Advancing Text-to-SQL through Orchestrated Test-Time Scaling29 Sep 2025
- 2025CSC-SQL: Corrective Self-Consistency in Text-to-SQL via Reinforcement Learning19 May 2025
- 2026AgenticDataBench: A Comprehensive Benchmark for Data Agentscited by 5
- 2026PRO-CUA: Process-Reward Optimization for Computer Use Agentscited by 1
- 2026BAP-SQL: Budget-Aware Observation Planning for Agentic Text-to-SQLcited by 1
- 2026Data Agents: Agentic Data Systemscited by 0
- 2026Towards Reliable AI Data Scientists: Data Agents with Workflow Harnessescited by 0
- 2026Towards Reliable AI Data Scientists: Data Agents with Workflow Harnesses28 Sep 2026
- 2026Data Agents: Agentic Data Systems21 Sep 2026
- 2026BAP-SQL: Budget-Aware Observation Planning for Agentic Text-to-SQL3 Aug 2026
- 2026AgenticDataBench: A Comprehensive Benchmark for Data Agents2 Jul 2026
- 2026PRO-CUA: Process-Reward Optimization for Computer Use Agents27 May 2026
- 2026Large Language Model Post-Training: A Unified View of Off-Policy and On-Policy Learningcited by 5
- 2026Every Step Counts: Step-Level Credit Assignment for Tool-Integrated Text-to-SQLcited by 1
- 2026Progress-SQL: Improving Reinforcement Learning for Text-to-SQL via Progressive Rewardscited by 1
- 2026SQLConductor: Search-to-Policy Learning for Step-wise Text-to-SQL Orchestrationcited by 1
- 2026ROSE: An Intent-Centered Evaluation Metric for NL2SQLcited by 0
- 2026SQLConductor: Search-to-Policy Learning for Step-wise Text-to-SQL Orchestration22 Jun 2026
- 2026Progress-SQL: Improving Reinforcement Learning for Text-to-SQL via Progressive Rewards5 Jun 2026
- 2026Every Step Counts: Step-Level Credit Assignment for Tool-Integrated Text-to-SQL6 May 2026
- 2026ROSE: An Intent-Centered Evaluation Metric for NL2SQL14 Apr 2026
- 2026Large Language Model Post-Training: A Unified View of Off-Policy and On-Policy Learning9 Apr 2026
Similar, not cited
Close in wording, no citation either way
- 2025CogniSQL-R1-Zero: Lightweight Reinforced Reasoning for Efficient SQL Generation
- 2025Arctic-Text2SQL-R1: Simple Rewards, Strong Reasoning in Text-to-SQL
- 2025ReEx-SQL: Reasoning with Execution-Aware Reinforcement Learning for Text-to-SQL
- 2026Test-Time Verification for Text-to-SQL via Outcome Reward Models
- 2026FINER-SQL: Boosting Small Language Models for Text-to-SQL
- 2025JudgeSQL: Reasoning over SQL Candidates with Weighted Consensus Tournament
- 2025GradeSQL: Test-Time Inference with Outcome Reward Models for Text-to-SQL Generation from Large Language Models
- 2025PaVeRL-SQL: Text-to-SQL via Partial-Match Rewards and Verbal Reinforcement Learning