cs.CLAug 23, 2026

Iteration Without Elaboration: A Simple ReAct Architecture Suffices for Text-to-SQL Generation

Authors: Jian Lu, Haiwei Yu, Raymond M Xiong, Anru Zhang, Danyang Zhuo

Organizations: Duke University

Abstract

Modern text-to-SQL systems have become increasingly elaborate, relying on schema-linking modules, retrieval-augmented prompting, candidate generation, and multi-stage refinement pipelines. While effective, these additions introduce substantial latency and engineering overhead. To this end, we present ReAct-SQL, a simple yet effective zero-shot ReAct-style framework built solely on iterative reasoning and a constrained action space defined by a typed Domain-Specific Language (DSL) of 15 relational operations, rather than free-form SQL generation. The model incrementally issues DSL calls, observes compiled-SQL execution feedback, and revises its reasoning through interaction. On corrected BIRD mini-dev and EHR-SQL, ReAct-SQL achieves 84.5% and 73.9% accuracy, respectively, matching substantially more elaborate baselines while running up to 8×8\times faster. Incremental ablations further show that iteration primarily improves grounding, while the DSL improves compositional reliability.

Figures & tables

Appendix figures & tables4 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. ReToolSQL: Agentic Reinforcement Learning for Robust Text-to-SQL

    Aug 28, 2026Pratik Kakkar, Chandra Dhir, Ravi Shankar +2Text-to-SQLExecution-Guided Text-to-SQL

  2. ACE-SQL: Adaptive Co-Optimization via Empirical Credit Assignment for Text-to-SQL

    Jun 4, 2026Xiaobing Chen, Ai Jian, Eryu Guo +1Execution-Guided Code GenerationSchema Linking

  3. FINER-SQL: Boosting Small Language Models for Text-to-SQL

    May 5, 2026Thanh Dat Hoang, Thanh Trung Huynh, Matthias Weidlich +4Reward ModelingSmall Language Models