paper-with-me

홈 › Papers

MCTS-SQL: An Effective Framework for Text-to-SQL with Monte Carlo Tree Search

2025-01-28 · Shuozhi Yuan, Liming Chen, Miaomiao Yuan, Jin Zhao, Haoran Peng, Wenming Guo

Text-to-SQL is a fundamental and longstanding problem in the NLP area, aiming at converting natural language queries into SQL, enabling non-expert users to operate databases. Recent advances in LLM have greatly improved text-to-SQL performance. However, challenges persist, especially when dealing with complex user queries. Current approaches (e.g., COT prompting and multi-agent frameworks) rely on the ability of models to plan and generate SQL autonomously, but controlling performance remains difficult. In addition, LLMs are still prone to hallucinations. To alleviate these challenges, we designed a novel MCTS-SQL to guide SQL generation iteratively. The approach generates SQL queries through Monte Carlo Tree Search (MCTS) and a heuristic self-refinement mechanism are used to enhance accuracy and reliability. Key components include a schema selector for extracting relevant information and an MCTS-based generator for iterative query refinement. Experimental results from the SPIDER and BIRD benchmarks show that MCTS-SQL achieves state-of-the-art performance. Specifically, on the BIRD development dataset, MCTS-SQL achieves an Execution (EX) accuracy of 69.40% using GPT-4o as the base model and a significant improvement when dealing with challenging tasks, with an EX of 51.48%, which is 3.41% higher than the existing method.

📄 PDF Abstract BibTeX arXiv:2501.16607

Code (0)

등록된 구현이 없습니다.

Tasks

Natural Language QueriesText to SQLText-To-SQL

Methods 이 논문이 사용한 방법론

BASE 설명 없음
CoT Prompting Chain-of-thought prompts contain a series of intermediate reasoning steps, and they are shown to significantly improve the ability of large language models to perform certain…

Similar Papers 제목 키워드 기반

Convex Hull Monte-Carlo Tree Search

2020-03-09 · Michael Painter, Bruno Lacerda, Nick Hawes

This work investigates Monte-Carlo planning for agents in stochastic environments, with multiple objectives. We propose the Convex Hull Monte-Carlo Tree-Search (CHMCTS) framework, which builds upon Trial Based Heuristic …

Multi-Armed Bandits

Monte Carlo Planning for Stochastic Control on Constrained Markov Decision Processes

2024-06-23 · Larkin Liu, Shiqi Liu, Matej Jusup

In the world of stochastic control, especially in economics and engineering, Markov Decision Processes (MDPs) can effectively model various stochastic decision processes, from asset management to transportation optimizat…

Asset ManagementDisentanglement

Task-Completion Dialogue Policy Learning via Monte Carlo Tree Search with Dueling Network

2020-11-01 · EMNLP 2020 11 · Sihan Wang, Kaijie Zhou, Kunfeng Lai, Jianping Shen

We introduce a framework of Monte Carlo Tree Search with Double-q Dueling network (MCTS-DDU) for task-completion dialogue policy learning. Different from the previous deep model-based reinforcement learning methods, whic…

Model-based Reinforcement Learningreinforcement-learningReinforcement Learning (RL)Task-Completion Dialogue Policy Learning

Is Monte Carlo Tree Search Just Every-Visit Monte Carlo Control?

2026-08-28 · Xianyi Wu arxiv

Monte Carlo Tree Search (MCTS) and every-visit Monte Carlo (MC) control are usually presented as different methods. MCTS is described in the language of search (selection, expansion, simulation, and backup), whereas MC c…

Reinforcement Learning

Monte Carlo Tree Search in the Presence of Transition Uncertainty

2023-12-18 · Farnaz Kohankhaki, Kiarash Aghakasiri, Hongming Zhang, Ting-Han Wei 외

Monte Carlo Tree Search (MCTS) is an immensely popular search-based framework used for decision making. It is traditionally applied to domains where a perfect simulation model of the environment is available. We study an…

Decision Making