- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 2
Read review
Summary
This paper introduces CAPER, a framework for clause-aligned process supervision in Text-to-SQL tasks. The authors address the limitations of sparse query-level execution rewards and overly fine-grained token-level rewards by proposing a clause-level supervision unit. CAPER automatically generates clause-level preference data by applying counterfactual intervention and fault injection to SQL Abstract Syntax Trees (ASTs). This data is used to train CAPER-9B, a process reward model (PRM) that provides feedback at clause boundaries during GRPO-based reinforcement learning. Experimental results on BIRD and Spider show improvements in execution accuracy and failure localization compared to sparse and token-level baselines.
Strengths and weaknesses
Strengths
S1. The framework's ability to automatically derive clause-level supervision from terminal execution outcomes via AST perturbations is highly practical and reduces reliance on manual annotations.
S2. Choosing SQL clauses as the unit of process supervision is a well-justified middle ground between coarse execution results and noisy token-level signals, aligning better with the logical structure of SQL.
S3. The paper demonstrates that CAPER-9B can effectively serve as a candidate verifier, improving performance when reranking outputs from closed-source LLMs.
Weaknesses
W1. Attribution Ambiguity (Model vs. Mechanism): A significant weakness is the lack of clarity regarding the source of performance gains. It remains unclear whether the improvements in GRPO-Clause are due to the specific preference learning in CAPER-9B or simply the structural benefits of the clause-level GRPO mechanism (e.g., clause-boundary rewards and return-to-go normalization). The absence of a baseline using a simpler learned reward model (like an execution-only RM) within the same clause-level GRPO framework makes this attribution ambiguous.
W2. Limited Generalization to Complex SQL: The current approach focuses only on top-level clause decomposition. In more advanced benchmarks like Spider 2.0, where SQL queries often involve deep nesting, complex CTE chains, and multi-step reasoning, this top-level granularity may be insufficient. The paper does not explore hierarchical decomposition or how the framework would handle multi-episode agentic workflows.
W3. Missing Inference Efficiency Analysis: While training compute is discussed, there is no empirical comparison of inference latency. It is important to understand how the clause-boundary feedback and the integration of the PRM affect the speed of generation and candidate verification compared to standard SFT or sparse-reward RL baselines.
W4. Data Leakage Concerns: The use of Spider-dev for building the training and annotation set for CAPER-9B raises potential concerns about data leakage, as the same development set is used for the final execution accuracy evaluation.
Questions
Q1. Comparison of Efficiency: Could the authors provide a comparison of inference latency between GRPO-Clause, GRPO-Sparse, and GRPO-Token? Specifically, does the clause-level reward mechanism introduce significant overhead during the sampling or reranking process?
Q2. Mechanism Ablation: To isolate the contribution of the CAPER-9B model, have the authors considered a baseline that uses the same clause-level GRPO mechanism but with a different, simpler reward model (e.g., Exec-RM-9B)?
Q3. Evaluation on Complex Benchmarks: Can the authors provide evaluation results on more challenging database benchmarks such as Spider 2.0, which feature larger schemas, deeper query nesting, and more realistic enterprise workflows?
Limitations
Yes.
Paper formatting concerns
N/A
Final justification
My focus is on performance gains of RL, model generalization, and inference efficiency. Overall, the additional experiments address well to my concerns. I will maintain my recommendation of acceptance.
Thank you for your questions.
Q1. We measured greedy decoding and verifier reranking separately on the same stratified set of 100 BIRD Dev questions. The results below demonstrates that the three variants have similar inference latency and GRPO-Clause performs better than GRPO-Token.
For reranking, each verifier scored the same eight frozen candidates per question.
Thus, Clause-PRM introduces a measurable optional reranking cost relative to the terminal Exec-RM, and it is comparable to token-level reranking, because it evaluates fewer semantic units.
Q2.We added a controlled baseline that replaceing CAPER with Exec-RM-9B using the same clause-level GRPO mechanism.
These results show that the improvements cannot be attributed to clause-level GRPO alone; CAPER-9B provides substantially more informative clause-level supervision than a reward model trained only on terminal execution labels.
Q3. We evaluated four Qwen3.5-9B policies zero-shot on a subset of Spider 2.0-Lite.
GRPO-Clause achieves the best performance on both metrics, improving P@1 from 12.59% to 19.63% over SFT (+7.04 points) and outperforming the strongest alternative GRPO baseline by 5.93 points. While the MV@8 gain is more modest, its consistent advantage suggests that clause-level process supervision is particularly effective at improving the reliability of the top-ranked prediction under large schemas and complex enterprise-style queries.
W4.We agree that the reported Spider-dev execution accuracy is not a fully independent evaluation because Spider-dev contributed 4,323/82,081 training tuples and 481/9,166 validation tuples for the original CAPER-9B. We will clarify this limitation and will not treat the original Spider-dev result as leakage-free evidence.
The existing results do suggest that the conclusion is not driven solely by direct reuse of Spider-dev. Relative to the backbone-matched GRPO-Sparse baseline, GRPO-Clause improves on both evaluation sets that were not used to construct those Spider-dev annotations, and its largest gain is on BIRD:
This consistency is encouraging, but it does not by itself resolve the reviewer's concern. We will constructed a NoSpider CAPER dataset by removing every Spider-derived tuple and retrain a CAPER-9B and apply it in GRPO to validate its effectiveness. We will report the results ASAP.