mlsanityData to 7 Oct 2026

Beyond Static Pipelines: Learning Dynamic Workflows for Text-to-SQL

arXiv 2602.15564 ↗First posted 17 Feb 2026cs.CL cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

Text-to-SQL has recently achieved impressive progress, yet remains difficult to apply effectively in real-world scenarios. This gap stems from the reliance on single static workflows, fundamentally limiting scalability to out-of-distribution and long-tail scenarios. Instead of requiring users to select suitable methods through extensive experimentation, we attempt to enable systems to adaptively construct workflows at inference time. Through theoretical and empirical analysis, we demonstrate that optimal dynamic policies consistently outperform the best static workflow, with performance gains fundamentally driven by heterogeneity across candidate workflows. Motivated by this, we propose SquRL, a reinforcement learning framework that enhances LLMs' reasoning capability in adaptive workflow construction. We design a rule-based reward function and introduce two effective training mechanisms: dynamic actor masking to encourage broader exploration, and pseudo rewards to improve training efficiency. Experiments on widely-used Text-to-SQL benchmarks demonstrate that dynamic workflow construction consistently outperforms the best static workflow methods, with especially pronounced gains on complex and out-of-distribution queries. The codes are available at https://github.com/Satissss/SquRL

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 45 of its 49 references that are in the map. First posted on arXiv 17 Feb 2026.

Builds on

45 of 49 references.

References · 45

  1. 2017Attention Is All You Needcited by 59,932
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  3. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
  4. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  5. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  6. 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
  7. 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 1,980
  8. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,120
  9. 2023Teaching Large Language Models to Self-Debugcited by 963
  10. 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 679
  11. 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 667
  12. 2024A Survey on Large Language Models for Code Generationcited by 646
33 more
  1. 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correctioncited by 465
  2. 2021PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Modelscited by 402
  3. 2023Text-to-SQL Empowered by Large Language Models: A Benchmark Evaluationcited by 378
  4. 2022CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learningcited by 342
  5. 2025Rubrics as Rewards: Reinforcement Learning Beyond Verifiable Domainscited by 328
  6. 2023Reward Design with Language Modelscited by 257
  7. 2023LEVER: Learning to Verify Language-to-Code Generation with Executioncited by 228
  8. 2024Spider 2.0: Evaluating Language Models on Real-World Enterprise Text-to-SQL Workflowscited by 223
  9. 2023RESDSQL: Decoupling Schema Linking and Skeleton Parsing for Text-to-SQLcited by 191
  10. 2024CodeS: Towards Building Open-source Language Models for Text-to-SQLcited by 183
  11. 2024CHESS: Contextual Harnessing for Efficient SQL Synthesiscited by 164
  12. 2023C3: Zero-shot Text-to-SQL with ChatGPTcited by 159
  13. 2023MAC-SQL: A Multi-Agent Collaborative Framework for Text-to-SQLcited by 158
  14. 2022Natural Language to Code Translation with Executioncited by 122
  15. 2024Next-Generation Database Interfaces: A Survey of LLM-based Text-to-SQLcited by 118
  16. 2023Graphix-T5: Mixing Pre-Trained Transformers with Graph-Aware Layers for Text-to-SQL Parsingcited by 93
  17. 2025OmniSQL: Synthesizing High-quality Text-to-SQL Data at Scalecited by 90
  18. 2019Representing Schema Structure with Graph Neural Networks for Text-to-SQL Parsingcited by 74
  19. 2023Exploring Chain-of-Thought Style Prompting for Text-to-SQLcited by 69
  20. 2024A Survey on Employing Large Language Models for Text-to-SQL Taskscited by 67
  21. 2025SQL-R1: Training Natural Language to SQL Reasoning Model By Reinforcement Learningcited by 67
  22. 2023ACT-SQL: In-Context Learning for Text-to-SQL with Automatically-Generated Chain-of-Thoughtcited by 65
  23. 2020RYANSQL: Recursively Applying Sketch-based Slot Fillings for Complex Text-to-SQL in Cross-Domain Databasescited by 63
  24. 2025Reasoning-SQL: Reinforcement Learning with SQL Tailored Partial Rewards for Reasoning-Enhanced Text-to-SQLcited by 59
  25. 2024RSL-SQL: Robust Schema Linking in Text-to-SQL Generationcited by 51
  26. 2025Arctic-Text2SQL-R1: Simple Rewards, Strong Reasoning in Text-to-SQLcited by 38
  27. 2024E-SQL: Direct Schema Linking via Question Enrichment in Text-to-SQLcited by 35
  28. 2024PURPLE: Making a Large Language Model a Better SQL Writercited by 34
  29. 2024PET-SQL: A Prompt-Enhanced Two-Round Refinement of Text-to-SQL with Cross-consistencycited by 26
  30. 2025LinkAlign: Scalable Schema Linking for Real-World Large-Scale Multi-Database Text-to-SQLcited by 26
  31. 2025EllieSQL: Cost-Efficient Text-to-SQL with Complexity-Aware Routingcited by 13
  32. 2024Open-SQL Framework: Enhancing Text-to-SQL on Open-source Large Language Modelscited by 5
  33. 2025Squrve: A Unified and Modular Framework for Complex Real-World Text-to-SQL Taskscited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2025Rethinking Agentic Workflows: Evaluating Inference-Based Test-Time Scaling Strategies in Text2SQL Tasks
  2. 2025MARS-SQL: A multi-agent reinforcement learning framework for Text-to-SQL
  3. 2025Reward-SQL: Boosting Text-to-SQL via Stepwise Execution-Aware Reasoning and Process-Supervised Rewards
  4. 2026It Takes Workflows to Evolve Better Workflows
  5. 2026CA-SQL: Complexity-Aware Inference Time Reasoning for Text-to-SQL via Exploration and Compute Budget Allocation
  6. 2025ReEx-SQL: Reasoning with Execution-Aware Reinforcement Learning for Text-to-SQL
  7. 2025Sparks of Tabular Reasoning via Text2SQL Reinforcement Learning
  8. 2026Every Step Counts: Step-Level Credit Assignment for Tool-Integrated Text-to-SQL