paper-with-me

홈 › Papers

Reward-SQL: Boosting Text-to-SQL via Stepwise Reasoning and Process-Supervised Rewards

2025-05-07 · Yuxin Zhang, Meihao Fan, Ju Fan, Mingyang Yi, Yuyu Luo, Jian Tan, Guoliang Li

Recent advances in large language models (LLMs) have significantly improved performance on the Text-to-SQL task by leveraging their powerful reasoning capabilities. To enhance accuracy during the reasoning process, external Process Reward Models (PRMs) can be introduced during training and inference to provide fine-grained supervision. However, if misused, PRMs may distort the reasoning trajectory and lead to suboptimal or incorrect SQL generation. To address this challenge, we propose Reward-SQL, a framework that systematically explores how to incorporate PRMs into the Text-to-SQL reasoning process effectively. Our approach follows a "cold start, then PRM supervision" paradigm. Specifically, we first train the model to decompose SQL queries into structured stepwise reasoning chains using common table expressions (Chain-of-CTEs), establishing a strong and interpretable reasoning baseline. Then, we investigate four strategies for integrating PRMs, and find that combining PRM as an online training signal (e.g.,GRPO) with PRM-guided inference (e.g., best-of-N sampling) yields the best results. Empirically, on the BIRD benchmark, Reward-SQL enables models supervised by PRM (7B) to achieve a 13.1% performance gain across various guidance strategies. Notably, our GRPO-aligned policy model based on Qwen2.5-Coder-7B-Instruct achieves 68.9% accuracy on the BIRD development set, outperforming all baseline methods under the same model size. These results demonstrate the effectiveness of Reward-SQL in leveraging reward-based supervision for Text-to-SQL reasoning.

📄 PDF Abstract BibTeX arXiv:2505.04671

Code (1)

ruc-datalab/rewardsql 공식 구현 pytorch

Tasks

Text to SQLText-To-SQL

Similar Papers 제목 키워드 기반

QLASS: Boosting Language Agent Inference via Q-Guided Stepwise Search

2025-02-04 · Zongyu Lin, Yao Tang, Xingcheng Yao, Da Yin 외

Language agents have become a promising solution to complex interactive tasks. One of the key ingredients to the success of language agents is the reward model on the trajectory of the agentic workflow, which provides va…

StepPRM-RTL: Stepwise Process-Reward Guided LLM Fine-Tuning for Enhanced RTL Synthesis

2026-06-02 · Prashanth Vijayaraghavan, Apoorva Nitsure, Luyao Shi, Ehsan Degan 외 arxiv

Automatic generation of RTL code for digital hardware designs remains challenging due to long-horizon reasoning, multi-step dependencies, and strict correctness constraints in Verilog and VHDL. We present StepPRM-RTL, a …

Trajectory ModelingCode Generation

Rubric-Guided Process Reward for Stepwise Model Routing

2026-05-28 · Shenghao Ye, Yu Guo, Zhengheng Li, Shuangwu Chen 외 arxiv

Stepwise model routing improves the efficiency of Large Reasoning Models (LRMs) by assigning each reasoning step to a suitable model. Recent methods formulate routing as a sequential decision process and train the router…

Reinforcement Learning

InterSketch: An Interleaved Reasoning Model with Self-correcting Visual Sketch and Stepwise Reward

2026-05-26 · Zhiwei Ning, Wenwen Tong, Xiangli Kong, Shengnan Ma 외 arxiv

While vision-language models (VLMs) have exhibited multi-turn visual reasoning capabilities, their reasoning trajectories remain relatively shallow and are dominated by a text-centric paradigm, limiting their applicabili…

Reinforcement LearningLogical ReasoningVisual Reasoning

Rewarding Structural Conformance of Reasoning using Process Mining

2025-10-29 · Yongjae Lee, Taekhyun Park, Sunghyun Sim, Hyerim Bae arxiv

Recent advances in sparse reward policy gradient methods have enabled effective reinforcement learning (RL)-based language model post-training. However, for reasoning tasks such as mathematical problem solving, binarized…

Reinforcement LearningMathematical Reasoning