paper-with-me

홈 › Papers

ExCoT: Optimizing Reasoning for Text-to-SQL with Execution Feedback

2025-03-25 · Bohan Zhai, Canwen Xu, Yuxiong He, Zhewei Yao

Text-to-SQL demands precise reasoning to convert natural language questions into structured queries. While large language models (LLMs) excel in many reasoning tasks, their ability to leverage Chain-of-Thought (CoT) reasoning for text-to-SQL remains underexplored. We identify critical limitations: zero-shot CoT offers minimal gains, and Direct Preference Optimization (DPO) applied without CoT yields marginal improvements. We propose ExCoT, a novel framework that iteratively optimizes open-source LLMs by combining CoT reasoning with off-policy and on-policy DPO, relying solely on execution accuracy as feedback. This approach eliminates the need for reward models or human-annotated preferences. Our experimental results demonstrate significant performance gains: ExCoT improves execution accuracy on BIRD dev set from 57.37% to 68.51% and on Spider test set from 78.81% to 86.59% for LLaMA-3 70B, with Qwen-2.5-Coder demonstrating similar improvements. Our best model achieves state-of-the-art performance in the single-model setting on both BIRD and Spider datasets, notably achieving 68.53% on the BIRD test set.

📄 PDF Abstract BibTeX arXiv:2503.19988

Code (1)

snowflakedb/ArcticTraining 공식 구현 pytorch

Tasks

Text to SQLText-To-SQL

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically
DPO 설명 없음

Similar Papers 제목 키워드 기반

EXCOTATE: An Add-on to MMAX2 for Inspection and Exchange of Annotated Data

2012-12-01 · COLING 2012 12 · Tobias Stadtfeld, Tibor Kiss

ReEx-SQL: Reasoning with Execution-Aware Reinforcement Learning for Text-to-SQL

2025-05-19 · Yaxun Dai, Wenxuan Xie, Xialie Zhuang, Tianyu Yang 외

In Text-to-SQL, execution feedback is essential for guiding large language models (LLMs) to reason accurately and generate reliable SQL queries. However, existing methods treat execution feedback solely as a post-hoc sig…

Text to SQLText-To-SQL

MTIR-SQL: Multi-turn Tool-Integrated Reasoning Reinforcement Learning for Text-to-SQL

2025-10-29 · Zekun Xu, Siyu Xia, Chuhuai Yue, Jiajun Chai 외 arxiv

As large language models (LLMs) are increasingly used in Text-to-SQL tasks, Reinforcement Learning (RL) has become a common method for improving performance. Existing methods primarily rely on static execution feedback, …

Reinforcement Learning

Recursive Harness Self-Improvement

2026-07-17 · Hyunin Lee, Jinglue Xu, Jeffrey Seely, Donghyun Lee 외 arxiv

Under model--harness co-evolution, harnesses are not merely inference-time scaffolds but data-generating components whose execution traces can shape future foundation models. This motivates harness-in-the-loop learning: …

Continual Learning

Anticipatory Planning for Multimodal AI Agents

2026-03-17 · Yongyuan Liang, Shijie Zhou, Yu Gu, Hao Tan 외 arxiv

Recent advances in multimodal agents have improved computer-use interaction and tool-usage, yet most existing systems remain reactive, optimizing actions in isolation without reasoning about future states or long-term go…

Reinforcement Learning