atlas

Research map / Large language models / Reasoning and chain of thought

CAPER: Clause-Aligned Process Supervision for Text-to-SQL

NeurIPS 2026 · Large language models › Reasoning and chain of thought · approach: Test-time compute scaling · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes CAPER, which derives clause-level process supervision for Text-to-SQL via AST counterfactual intervention and fault injection, trains a 9B clause-level PRM, and uses it as a dense reward in GRPO.

Problem

Text-to-SQL RL uses only terminal execution rewards, which do not localize which intermediate SQL decision caused success or failure; token-level dense rewards are misaligned with SQL semantics and hard to label.

Approach

Automatically derive clause-level preference labels by counterfactually repairing the earliest divergent clause against gold SQL and fault-injecting successful ASTs, assign topology-aware AST node penalties aggregated to clause units, and train a margin-weighted clause PRM used for clause-boundary rewards with clause-level return-to-go GRPO.

Key results

Surprising findings

Limitations

Experimental setup

Datasets: BIRD-train Spider-dev SynSQL-5k-train

Benchmarks: BIRD dev Spider dev Spider test

Metrics: execution accuracy Majority Vote@8 top-1 failure localization accuracy Hit@3 MRR

Baselines: GPT-5.4 Gemini-2.5-Pro Claude Sonnet 4.6 DeepEye-SQL OmniSQL-7B SQL-R1-7B XiyanSQL-7B AlphaSQL Qwen3.5-9B GRPO-Sparse GRPO-Token Exec-RM-9B

Builds on: GRPO process reward model OmniSQL SQL-R1

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy