Every Step Counts: Step-Level Credit Assignment for Tool-Integrated Text-to-SQL

Yaxun Dai, Baolin Sun, Junying Wang, Pengfei Wang, Yingqi Gao +4 more
5/6/2026
cs.CL
rl

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Tool-integrated Text-to-SQL parsing has emerged as a promising paradigm, framing SQL generation as a sequential decision-making process interleaved with tool execution. However, existing reinforcement learning approaches mainly rely on coarse-grained outcome supervision, resulting in a fundamental credit assignment problem: models receive the same reward for any trajectory that yields the correct answer, even when intermediate steps are redundant, inefficient, or erroneous. Consequently, models are encouraged to explore suboptimal reasoning spaces, limiting both efficiency and generalization. To address this problem, we propose FineStep, a novel framework for step-level credit assignment in tool-augmented Text-to-SQL. First, we introduce a reward design with independent process rewards to alleviate the signal sparsity of outcome supervision. Next, we present a step-level credit assignment mechanism to precisely quantify the value of each reasoning step. Finally, we develop a policy optimization method based on step-level advantages for efficient updates. Extensive experiments on BIRD benchmarks show that FineStep achieves state-of-the-art performance and reduces redundant tool interactions, with a 3.25% average EX gain over GRPO at the 4B scale.

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. 1 weaker match is hidden by default — 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{dai2026every,
  title  = {Every Step Counts: Step-Level Credit Assignment for Tool-Integrated Text-to-SQL},
  author = {Yaxun Dai and Baolin Sun and Junying Wang and Pengfei Wang and Yingqi Gao and Xuemei Dong and Mengdie Chu and Xiang Qi and Pingfu Chao},
  year   = {2026},
  eprint = {2605.04719},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.04719v2}
}

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/2605.04719.svg)](https://codeofpaper.com/paper/2605.04719)

Discussion