FLEX: Expert-level False-Less EXecution Metric for Reliable Text-to-SQL Benchmark
<|reference_start|>FLEX: Expert-level False-Less EXecution Metric for Reliable Text-to-SQL Benchmark: Text-to-SQL technology has become crucial for translating natural language into SQL queries in various industries, enabling non-technical users to perform complex data operations. The need for accurate evaluation methods has increased as these systems have grown more sophisticated. However, we found that the Execution Accuracy (EX), the most promising evaluation metric, still shows a substantial portion of false positives and negatives compared to human evaluation. Thus, this paper introduces FLEX (False-Less EXecution), a novel approach to evaluating text-to-SQL systems using large language models (LLMs) to emulate human expert-level evaluation of SQL queries. Our method shows significantly higher agreement with human expert judgments, improving Cohen's kappa from 61 to 78.17. Re-evaluating top-performing models on the Spider and BIRD benchmarks using FLEX reveals substantial shifts in performance rankings, with an average performance decrease of 3.15 due to false positive corrections and an increase of 6.07 from addressing false negatives. This work contributes to a more accurate and nuanced evaluation of text-to-SQL systems, potentially reshaping our understanding of state-of-the-art performance in this field.<|reference_end|>
@article{kim2024flex:,
    title={FLEX: Expert-level False-Less EXecution Metric for Reliable Text-to-SQL
  Benchmark},
    author={Heegyu Kim, Taeyang Jeon, Seunghwan Choi, Seungtaek Choi, Hyunsouk Cho},
    journal={arXiv preprint arXiv:2409.19014},
    year={2024},
    archivePrefix={arXiv},
    eprint={2409.19014},
    primaryClass={cs.CL cs.IR cs.LG}
}