Salvato in:
Dettagli Bibliografici
Autori principali: Yao, Zhewei, Sun, Guoheng, Borchmann, Lukasz, Nuti, Gaurav, Shen, Zheyu, Deng, Minghang, Zhai, Bohan, Zhang, Hao, Li, Ang, He, Yuxiong
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:https://arxiv.org/abs/2505.20315
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866908760800231424
author Yao, Zhewei
Sun, Guoheng
Borchmann, Lukasz
Nuti, Gaurav
Shen, Zheyu
Deng, Minghang
Zhai, Bohan
Zhang, Hao
Li, Ang
He, Yuxiong
author_facet Yao, Zhewei
Sun, Guoheng
Borchmann, Lukasz
Nuti, Gaurav
Shen, Zheyu
Deng, Minghang
Zhai, Bohan
Zhang, Hao
Li, Ang
He, Yuxiong
contents Translating natural language into SQL (Test2SQL) is a longstanding challenge at the intersection of natural language understanding and structured data access. While large language models (LLMs) have significantly improved fluency in SQL generation, producing correct and executable SQL--particularly for complex queries--remains a bottleneck. We present Arctic-Text2SQL-R1, a reinforcement learning (RL) framework and model family designed to generate accurate, executable SQL using a lightweight reward signal based solely on execution correctness. Our approach avoids brittle intermediate supervision and complex reward shaping, promoting stable training and alignment with the end task. Combined with carefully curated data, strong supervised initialization, and effective training practices, Arctic-Text2SQL-R1 achieves state-of-the-art execution accuracy across six diverse Test2SQL benchmarks, including the top position on the BIRD leaderboard. Notably, our 7B model outperforms prior 70B-class systems, highlighting the framework's scalability and efficiency. We further demonstrate inference-time robustness through simple extensions like value retrieval and majority voting. Extensive experiments and ablation studies offer both positive and negative insights, providing practical guidance for future Test2SQL research.
format Preprint
id arxiv_https___arxiv_org_abs_2505_20315
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Arctic-Text2SQL-R1: Simple Rewards, Strong Reasoning in Text-to-SQL
Yao, Zhewei
Sun, Guoheng
Borchmann, Lukasz
Nuti, Gaurav
Shen, Zheyu
Deng, Minghang
Zhai, Bohan
Zhang, Hao
Li, Ang
He, Yuxiong
Computation and Language
Artificial Intelligence
Translating natural language into SQL (Test2SQL) is a longstanding challenge at the intersection of natural language understanding and structured data access. While large language models (LLMs) have significantly improved fluency in SQL generation, producing correct and executable SQL--particularly for complex queries--remains a bottleneck. We present Arctic-Text2SQL-R1, a reinforcement learning (RL) framework and model family designed to generate accurate, executable SQL using a lightweight reward signal based solely on execution correctness. Our approach avoids brittle intermediate supervision and complex reward shaping, promoting stable training and alignment with the end task. Combined with carefully curated data, strong supervised initialization, and effective training practices, Arctic-Text2SQL-R1 achieves state-of-the-art execution accuracy across six diverse Test2SQL benchmarks, including the top position on the BIRD leaderboard. Notably, our 7B model outperforms prior 70B-class systems, highlighting the framework's scalability and efficiency. We further demonstrate inference-time robustness through simple extensions like value retrieval and majority voting. Extensive experiments and ablation studies offer both positive and negative insights, providing practical guidance for future Test2SQL research.
title Arctic-Text2SQL-R1: Simple Rewards, Strong Reasoning in Text-to-SQL
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2505.20315