Schema-R1: A reasoning training approach for schema linking in Text-to-SQL Task
Wen, Wuzhenghong, Pan, Su, Sun, yuwei
–arXiv.org Artificial Intelligence
Schema linking is a critical step in Text-to-SQL task, aiming to accurately predict the table names and column names required for the SQL query based on the given question. However, current fine-tuning approaches for schema linking models employ a rote-learning paradigm, excessively optimizing for ground truth schema linking outcomes while compromising reasoning ability. This limitation arises because of the difficulty in acquiring a high-quality reasoning sample for downstream tasks. To address this, we propose Schema-R1, a reasoning schema linking model trained using reinforcement learning. Specifically, Schema-R1 consists of three key steps: constructing small batches of high-quality reasoning samples, supervised fine-tuning for cold-start initialization, and rule-based reinforcement learning training. The final results demonstrate that our method effectively enhances the reasoning ability of the schema linking model, achieving a 10\% improvement in filter accuracy compared to the existing method. Our code is available at https://github.com/hongWin/Schema-R1/.
arXiv.org Artificial Intelligence
Jun-16-2025
- Country:
- North America > United States
- Florida > Miami-Dade County > Miami (0.04)
- Europe
- Switzerland (0.04)
- Italy > Calabria
- Catanzaro Province > Catanzaro (0.04)
- Asia
- Thailand > Bangkok
- Bangkok (0.04)
- Myanmar > Tanintharyi Region
- Dawei (0.04)
- Middle East > UAE
- Abu Dhabi Emirate > Abu Dhabi (0.14)
- China > Jiangsu Province
- Nanjing (0.04)
- Thailand > Bangkok
- North America > United States
- Genre:
- Research Report > New Finding (0.48)
- Industry:
- Information Technology (0.68)
- Technology: