ESM+: Modern Insights into Perspective on Text-to-SQL Evaluation in the Age of Large Language Models
Preprint
Abstract
The task of Text-to-SQL enables anyone to retrieve information from SQL databases using natural language. Despite several challenges, recent models have made remarkable advancements in this task using large language models (LLMs). Interestingly, we find that LLM-based models without fine-tuning exhibit distinct natures compared to their fine-tuned counterparts, leading to inadequacies in current evaluation metrics to accurately convey their performance. Thus, we analyze the two primary metrics, Test Suite Execution Accuracy (EXE) and Exact Set Matching Accuracy (ESM), to examine their robustness for this task and address shortcomings. We compare the performance of 9 LLM-based models using EXE, the original ESM, and our improved ESM (called ESM+). Our results show that EXE and ESM have high false positive and negative rates of 11.3% and 13.9%, while ESM+ gives those of 0.1% and 2.6% respectively, providing a significantly more stable evaluation. We release the ESM+ script as open-source for the community to contribute, while enjoying a more reliable assessment of Text-to-SQL.Keywords
All Related Versions
This publication has 7 references indexed in Scilit:
- Text-to-SQL Empowered by Large Language Models: A Benchmark EvaluationProceedings of the VLDB Endowment, 2024
- RESDSQL: Decoupling Schema Linking and Skeleton Parsing for Text-to-SQLProceedings of the AAAI Conference on Artificial Intelligence, 2023
- STAR: SQL Guided Pre-Training for Context-dependent Text-to-SQL Parsing2022
- RASAT: Integrating Relational Structures into Pretrained Seq2Seq Model for Text-to-SQL2022
- PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Models2021
- Semantic Evaluation for Text-to-SQL with Distilled Test Suites2020
- Automated verification of query equivalence using satisfiability modulo theoriesProceedings of the VLDB Endowment, 2019