cd /news/large-language-models/expo-sql-execution-based-clause-leve… · home topics large-language-models article
[ARTICLE · art-37182] src=arxiv.org ↗ pub= topic=large-language-models verified=true sentiment=↑ positive

EXPO-SQL: Execution-based Clause-level Policy Optimization for Text-to-SQL

Researchers introduced EXPO-SQL, a reinforcement learning method that assigns clause-level rewards to improve text-to-SQL query generation. By analyzing execution results and error messages, the method outperforms existing supervised fine-tuning and RL-based approaches on standard benchmarks.

read1 min views6 publishedJun 24, 2026

arXiv:2606.23693v1 Announce Type: new Abstract: Text-to-SQL enables users to query databases using natural language by generating executable SQL queries. Recent methods have increasingly adopted Large Language Models based reinforcement learning (RL) to leverage execution feedback for training. However, existing RL methods assign uniform query-level rewards to all clauses in a SQL query, treating correct and incorrect clauses equally. This coarse-grained reward design leads to insufficient learning signals for correct SQL generation. To address this issue, we propose EXPO-SQL (EXecution-based clause-level Policy Optimization for Text-to-SQL) which provides fine-grained supervision through clause-level rewards. To assign clause-level rewards, our method identifies erroneous clauses by analyzing execution results, including error messages and clause-wise incremental execution. Experiments on widely-used Text-to-SQL benchmarks demonstrate that EXPO-SQL significantly outperforms existing supervised fine-tuning, prompting, and RL-based methods through fine-grained clause-level learning. Our code is available at https://github. com/jhn25/EXPO-SQL.

── more in #large-language-models 4 stories · sorted by recency
── more on @expo-sql 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/expo-sql-execution-b…] indexed:0 read:1min 2026-06-24 ·