cs.CLMar 8, 2026

An Efficient and Effective Evaluator for Text2SQL Models on Unseen and Unlabeled Data

Authors: Trinh Pham, Thanh Tam Nguyen, Viet Huynh, Hongzhi Yin, Quoc Viet Hung Nguyen

Organizations: Griffith University (Australia) · Edith Cowan University (Australia) · The University of Queensland (Australia)

Abstract

Recent advances in large language models have strengthened Text2SQL systems that translate natural language questions into database queries. A persistent deployment challenge is to assess a newly trained Text2SQL system on an unseen and unlabeled dataset when no verified answers are available. This situation arises frequently because database content and structure evolve, privacy policies slow manual review, and carefully written SQL labels are costly and time-consuming. Without timely evaluation, organizations cannot approve releases or detect failures early. FusionSQL addresses this gap by working with any Text2SQL models and estimating accuracy without reference labels, allowing teams to measure quality on unseen and unlabeled datasets. It analyzes patterns in the system's own outputs to characterize how the target dataset differs from the material used during training. FusionSQL supports pre-release checks, continuous monitoring of new databases, and detection of quality decline. Experiments across diverse application settings and question types show that FusionSQL closely follows actual accuracy and reliably signals emerging issues. Our code is available at https://github.com/phkhanhtrinh23/FusionSQL.

Figures & tables

Explore similar work

CardsList
  1. TraceSQL: Traceable Answerability Estimation for Reference-Free Text-to-SQL Verification

    Aug 18, 2026Neelesh Kumar Shukla, Debasmita Panda, Srutanik Bhaduri +3Text-to-SQLInterpretable ML

  2. SQLMorph: Query Mutation and Fine-Grained Metrics for Text-to-SQL Evaluation

    Sep 8, 2026Mohammadhossein Malekpour, Mohamed Riahi, Maxime Lamothe +1Mutation TestingText-to-SQL