FGCSQL: A Three-Stage Pipeline for Large Language Model-Driven Chinese Text-to-SQL
Recent advances in large language models have driven major breakthroughs in Text-to-SQL tasks. However, many challenges hinder the use of SQL parsers for cross-language tasks. In this article, we introduce FGCSQL, a novel three-stage pipeline framework to deal with three challenges: cross-language schema linking, SQL parsing potential of LLM, and error propagation in SQL parsers, in which the framework uniquely incorporates a filtering encoder to eliminate irrelevant database schema items, harnessing a pre-trained generative large language model fine-tuned on a carefully structured dataset for enhanced SQL parsing. Finally, a correcting decoder addresses error propagation, culminating in a robust system for semantic parsing tasks. Tested on the CSpider dataset, the FGCSQL showcases a substantial improvement in the exact-set-match (EM) accuracy and execution accuracy (EX) metrics, validating the pipeline’s architecture’s effectiveness in mitigating the challenges typically confronted in Text-to-SQL conversion, especially in cross-lingual contexts. FGCSQL outstrips existing methods in execution precision, indicating the validity of our proposed method.
Authors
- Weibin Li (ORCID: https://orcid.org/0000-0003-0047-8955)
- Guanyu Jiang (ORCID: https://orcid.org/0009-0005-4921-2762)
- Yu Chenglong
- Zixuan Zhu
Institutions
- Xidian University (CN)
Publication Details
- Journal
- Electronics
- Published
- 2025-03-19
- DOI
- https://doi.org/10.3390/electronics14061214
- Citations
- 1
- Primary Topic
- Semantic Web and Ontologies
- Type
- article
- Field-Weighted Citation Impact
- 2.48