paper-with-me

홈 › Papers

Solid-SQL: Enhanced Schema-linking based In-context Learning for Robust Text-to-SQL

2024-12-17 · Geling Liu, Yunzhi Tan, Ruichao Zhong, Yuanzhen Xie, Lingchen Zhao, Qian Wang, Bo Hu, Zang Li

Recently, large language models (LLMs) have significantly improved the performance of text-to-SQL systems. Nevertheless, many state-of-the-art (SOTA) approaches have overlooked the critical aspect of system robustness. Our experiments reveal that while LLM-driven methods excel on standard datasets, their accuracy is notably compromised when faced with adversarial perturbations. To address this challenge, we propose a robust text-to-SQL solution, called Solid-SQL, designed to integrate with various LLMs. We focus on the pre-processing stage, training a robust schema-linking model enhanced by LLM-based data augmentation. Additionally, we design a two-round, structural similarity-based example retrieval strategy for in-context learning. Our method achieves SOTA SQL execution accuracy levels of 82.1% and 58.9% on the general Spider and Bird benchmarks, respectively. Furthermore, experimental results show that Solid-SQL delivers an average improvement of 11.6% compared to baselines on the perturbed Spider-Syn, Spider-Realistic, and Dr. Spider benchmarks.

📄 PDF Abstract BibTeX arXiv:2412.12522

Code (0)

등록된 구현이 없습니다.

Tasks

Data AugmentationIn-Context LearningText to SQLText-To-SQL

Methods 이 논문이 사용한 방법론

Focus 설명 없음

Similar Papers 제목 키워드 기반

RSL-SQL: Robust Schema Linking in Text-to-SQL Generation

2024-10-31 · Zhenbiao Cao, Yuanlei Zheng, Zhihao Fan, Xiaojin Zhang 외

Text-to-SQL generation aims to translate natural language questions into SQL statements. In Text-to-SQL based on large language models, schema linking is a widely adopted strategy to streamline the input for LLMs by sele…

Text to SQLText-To-SQL

Semantic Enhanced Text-to-SQL Parsing via Iteratively Learning Schema Linking Graph

2022-08-08 · Aiwei Liu, Xuming Hu, Li Lin, Lijie Wen

The generalizability to new databases is of vital importance to Text-to-SQL systems which aim to parse human utterances into SQL statements. Existing works achieve this goal by leveraging the exact matching method to ide…

Graph LearningSQL ParsingText 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

The Death of Schema Linking? Text-to-SQL in the Age of Well-Reasoned Language Models

2024-08-14 · Karime Maamari, Fadhil Abubaker, Daniel Jaroslawicz, Amine Mhedhbi

Schema linking is a crucial step in Text-to-SQL pipelines. Its goal is to retrieve the relevant tables and columns of a target database for a user's query while disregarding irrelevant ones. However, imperfect schema lin…

Natural Language QueriesText to SQLText-To-SQL

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…

RetrievalText to SQLText-To-SQL