paper-with-me

Papers

LinkAlign: Scalable Schema Linking for Real-World Large-Scale Multi-Database Text-to-SQL

2025-03-24 · Yihan Wang, Peiyu Liu

Schema linking is a critical bottleneck in achieving human-level performance in Text-to-SQL tasks, particularly in real-world large-scale multi-database scenarios. Addressing schema linking faces two major challenges: (1) Database Retrieval: selecting the correct database from a large schema pool in multi-database settings, while filtering out irrelevant ones. (2) Schema Item Grounding: accurately identifying the relevant tables and columns from within a large and redundant schema for SQL generation. To address this, we introduce LinkAlign, a novel framework that can effectively adapt existing baselines to real-world environments by systematically addressing schema linking. Our framework comprises three key steps: multi-round semantic enhanced retrieval and irrelevant information isolation for Challenge 1, and schema extraction enhancement for Challenge 2. We evaluate our method performance of schema linking on the SPIDER and BIRD benchmarks, and the ability to adapt existing Text-to-SQL models to real-world environments on the SPIDER 2.0-lite benchmark. Experiments show that LinkAlign outperforms existing baselines in multi-database settings, demonstrating its effectiveness and robustness. On the other hand, our method ranks highest among models excluding those using long chain-of-thought reasoning LLMs. This work bridges the gap between current research and real-world scenarios, providing a practical solution for robust and scalable schema linking. The codes are available at https://github.com/Satissss/LinkAlign.

📄 PDF Abstract BibTeX arXiv:2503.18596

Code (1)

Satissss/LinkAlign 공식 구현 pytorch

Tasks

RetrievalText to SQLText-To-SQL

Similar Papers 제목 키워드 기반

AutoLink: Autonomous Schema Exploration and Expansion for Scalable Schema Linking in Text-to-SQL at Scale

2025-11-21 · Ziyang Wang, Yuanlei Zheng, Zhenbiao Cao, Xiaojin Zhang 외 arxiv

For industrial-scale text-to-SQL, supplying the entire database schema to Large Language Models (LLMs) is impractical due to context window limits and irrelevant noise. Schema linking, which filters the schema to a relev…

Extractive Schema Linking for Text-to-SQL

2025-01-23 · Michael Glass, Mustafa Eyceoz, Dharmashankar Subramanian, Gaetano Rossiello 외

Text-to-SQL is emerging as a practical interface for real world databases. The dominant paradigm for Text-to-SQL is cross-database or schema-independent, supporting application schemas unseen during training. The schema …

Text to SQLText-To-SQL

SchemaGraphSQL: Efficient Schema Linking with Pathfinding Graph Algorithms for Text-to-SQL on Large-Scale Databases

2025-05-23 · AmirHossein Safdarian, Milad Mohammadi, Ehsan Jahanbakhsh, Mona Shahamat Naderi 외

Text-to-SQL systems translate natural language questions into executable SQL queries, and recent progress with large language models (LLMs) has driven substantial improvements in this task. Schema linking remains a criti…

Text to SQLText-To-SQL

Re-examining the Role of Schema Linking in Text-to-SQL

2020-11-01 · EMNLP 2020 11 · Wenqiang Lei, Weixin Wang, Zhixin Ma, Tian Gan 외

In existing sophisticated text-to-SQL models, schema linking is often considered as a simple, minor component, belying its importance. By providing a schema linking corpus based on the Spider text-to-SQL dataset, we syst…

Text to SQLText-To-SQL

Knapsack Optimization-based Schema Linking for LLM-based Text-to-SQL Generation

2025-02-18 · Zheng Yuan, Hao Chen, Zijin Hong, Qinggang Zhang 외

Generating SQLs from user queries is a long-standing challenge, where the accuracy of initial schema linking significantly impacts subsequent SQL generation performance. However, current schema linking models still strug…

Text to SQLText-To-SQL