mlsanityData to 7 Oct 2026

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

arXiv 2510.25510 ↗First posted 29 Oct 2025cs.AIcited by 10

On the map: LLM reasoning → Knowledge- and tool-augmented reasoning

also in 1 more
Abstract (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, which restricts real-time error correction. However, integrating multi-turn tool invocation along with dynamic feedback could significantly improve adaptability and robustness, ultimately enhancing model performance. To address these issues, we propose MTIR-SQL, an innovative Multi-turn Tool-Integrated Reasoning reinforcement learning framework for Text-to-SQL. Our approach introduces an execution-aware multi-turn reasoning paradigm that seamlessly incorporates database execution feedback at each reasoning step, enabling context-sensitive query generation and progressive refinement throughout the reasoning process. The framework extends the GRPO algorithm to accommodate complex multi-turn interaction scenarios. Considering the training instability characteristics of MTIR and the potential for significant Deviation of model distribution from the initial model, we enhance the GRPO algorithm by adding a trajectory filtering mechanism and removing KL loss constraints. Experimental results demonstrate that MTIR-SQL, with 4B parameters, achieves 64.4% accuracy in the BIRD Dev and 84.6% execution accuracy in the SPIDER Dev, significantly outperforming existing approaches.

Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Placed in Knowledge- and tool-augmented reasoning, one of 17 directions in LLM reasoning. Builds on 47 of its 49 references that are in the map. First posted on arXiv 29 Oct 2025.

Builds on

47 of 49 references.

Closest ancestors · 8

Same direction, newest first

  1. 2025CogniSQL-R1-Zero: Lightweight Reinforced Reasoning for Efficient SQL Generation8 Jul
  2. 2025Arctic-Text2SQL-R1: Simple Rewards, Strong Reasoning in Text-to-SQL22 May
  3. 2025ReEx-SQL: Reasoning with Execution-Aware Reinforcement Learning for Text-to-SQL19 May
  4. 2025Think2SQL: Reinforce LLM Reasoning Capabilities for Text2SQL21 Apr
  5. 2025Reasoning-SQL: Reinforcement Learning with SQL Tailored Partial Rewards for Reasoning-Enhanced Text-to-SQL29 Mar
  6. 2025ExCoT: Optimizing Reasoning for Text-to-SQL with Execution Feedback25 Mar
  7. 2025Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learning12 Mar
  8. 2024CHASE-SQL: Multi-Path Reasoning and Preference Optimized Candidate Selection in Text-to-SQL2 Oct

Other references · 39

  1. 2024The Llama 3 Herd of Modelscited by 14,192
  2. 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,678
  3. 2024Mixtral of Expertscited by 1,785
  4. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
  5. 2024Qwen2.5-Coder Technical Reportcited by 1,151
  6. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,120
  7. 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 667
  8. 2024StarCoder 2 and The Stack v2: The Next Generationcited by 484
  9. 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correctioncited by 465
  10. 2024DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligencecited by 325
  11. 2025The Landscape of Agentic Reinforcement Learning for LLMs: A Surveycited by 195
  12. 2024CodeS: Towards Building Open-source Language Models for Text-to-SQLcited by 183
27 more
  1. 2025ToRL: Scaling Tool-Integrated RLcited by 166
  2. 2025Agentic Reinforced Policy Optimizationcited by 166
  3. 2025SimpleTIR: End-to-End Reinforcement Learning for Multi-Turn Tool-Integrated Reasoningcited by 145
  4. 2024OpenCoder: The Open Cookbook for Top-Tier Code Large Language Modelscited by 127
  5. 2024Next-Generation Database Interfaces: A Survey of LLM-based Text-to-SQLcited by 118
  6. 2024Granite Code Models: A Family of Open Foundation Models for Code Intelligencecited by 116
  7. 2025OmniSQL: Synthesizing High-quality Text-to-SQL Data at Scalecited by 90
  8. 2025SRFT: A Single-Stage Method with Supervised and Reinforcement Fine-Tuning for Reasoningcited by 80
  9. 2025Reinforcing Multi-Turn Reasoning in LLM Agents via Fine-Grained Reward Structure and Credit Assignmentcited by 77
  10. 2025SQL-R1: Training Natural Language to SQL Reasoning Model By Reinforcement Learningcited by 67
  11. 2025Tool-Star: Empowering LLM-Brained Multi-Tool Reasoner via Reinforcement Learningcited by 67
  12. 2025Agent RL Scaling Law: Agent RL with Spontaneous Code Execution for Mathematical Problem Solvingcited by 62
  13. 2024A Survey of Text-to-SQL in the Era of LLMs: Where are we, and where are we going?cited by 54
  14. 2025rStar2-Agent: Agentic Reasoning Technical Reportcited by 54
  15. 2024Synthesizing Text-to-SQL Data from Weak and Strong LLMscited by 53
  16. 2024RSL-SQL: Robust Schema Linking in Text-to-SQL Generationcited by 51
  17. 2025Understanding Tool-Integrated Reasoningcited by 38
  18. 2025Alpha-SQL: Zero-Shot Text-to-SQL using Monte Carlo Tree Searchcited by 33
  19. 2025MUA-RL: Multi-turn User-interacting Agent Reinforcement Learning for agentic tool usecited by 30
  20. 2025Promoting Efficient Reasoning with Verifiable Stepwise Rewardcited by 27
  21. 2025Towards Effective Code-Integrated Reasoningcited by 23
  22. 2024MAG-SQL: Multi-Agent Generative Approach with Soft Schema Linking and Iterative Sub-SQL Refinement for Text-to-SQLcited by 22
  23. 2025SQL-o1: A Self-Reward Heuristic Dynamic Search Method for Text-to-SQLcited by 19
  24. 2025RLFactory: A Plug-and-Play Reinforcement Learning Post-Training Framework for LLM Multi-Turn Tool-Usecited by 17
  25. 2024ROUTE: Robust Multitask Tuning and Collaboration for Text-to-SQLcited by 13
  26. 2025ResT: Reshaping Token-Level Policy Gradients for Tool-Use Large Language Modelscited by 9
  27. 2025AgentFly: Extensible and Scalable Reinforcement Learning for LM Agentscited by 8

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 9.

10 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026SQL-Trail: Multi-Turn Reinforcement Learning with Interleaved Feedback for Text-to-SQL
  2. 2025Sparks of Tabular Reasoning via Text2SQL Reinforcement Learning
  3. 2026Progress-SQL: Improving Reinforcement Learning for Text-to-SQL via Progressive Rewards
  4. 2025MARS-SQL: A multi-agent reinforcement learning framework for Text-to-SQL
  5. 2026ReToolSQL: Agentic Reinforcement Learning for Robust Text-to-SQL
  6. 2026FINER-SQL: Boosting Small Language Models for Text-to-SQL
  7. 2025PaVeRL-SQL: Text-to-SQL via Partial-Match Rewards and Verbal Reinforcement Learning
  8. 2025Reward-SQL: Boosting Text-to-SQL via Stepwise Execution-Aware Reasoning and Process-Supervised Rewards