NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Pervasive Annotation Errors Break Text-to-SQL Benchmarks and Leaderboards

Tengjun Jin, Y. M. Choi, Yuxuan Zhu, Daniel Kang

Abstract

Researchers have proposed numerous text-to-SQL techniques to streamline data analytics and accelerate the development of data-driven applications. To compare these techniques and select the best one for deployment, the community depends on public benchmarks and their leaderboards. Since these benchmarks heavily rely on human annotations during question construction and answer evaluation, the validity of the annotations is crucial. In this paper, we conduct an empirical study that (i) benchmarks annotation error rates for two widely used text-to-SQL benchmarks, BIRD and Spider 2.0-Snow, and (ii) corrects a subset of the BIRD development (Dev) set to measure the impact of annotation errors on text-to-SQL agent performance and leaderboard rankings. Through expert analysis, we show that BIRD Mini-Dev and Spider 2.0-Snow have error rates of 52.8% and 62.8%, respectively. We re-evaluate all 16 open-source agents from the BIRD leaderboard on both the original and the corrected BIRD Dev subsets. We show that performance changes range from -7% to 31% (in relative terms) and rank changes range from -9 to +9 positions. We further assess whether these impacts generalize to the full BIRD Dev set. We find that the rankings of agents on the uncorrected subset correlate strongly with those on the full Dev set (Spearman's $r_s$=0.85, $p$=3.26e-5), whereas they correlate weakly with those on the corrected subset (Spearman's $r_s$=0.32, $p$=0.23). These findings show that annotation errors can significantly distort reported performance and rankings, potentially misguiding research directions or deployment choices.

Introduction

Text-to-SQL systems aim to bridge the gap between natural language and structured data, enabling users to query databases without technical expertise. As these systems move from research labs to real-world enterprise applications, the community relies on public benchmarks like BIRD and Spider to determine which models are the most accurate. However, these benchmarks depend heavily on human-annotated "ground truth" SQL queries. If the human-provided answer is wrong, a perfectly correct AI model might be penalized, while a model that mimics human mistakes is rewarded. This study investigates the scale of these annotation errors and their impact on the reliability of current leaderboards.

Methodology: SAR-Agent and SAPAR

To audit existing benchmarks efficiently, the researchers introduced the SAR-Agent (SQL Annotation Reviewer). SAR-Agent is an AI-driven tool designed to assist human experts by performing automated verification. It generates verification queries and executes them against the underlying database to identify logical inconsistencies in the annotated SQL.

SAR-Agent workflow for automated SQL verification and diagnostic reporting.

Building on this, the authors proposed SAPAR, a corrected annotation pipeline that integrates SAR-Agent into the workflow. This allows for a "human-in-the-loop" process where AI-generated diagnostic reports help human experts catch and correct errors during the annotation phase rather than after the fact.

Characterizing Annotation Errors

The study identified four primary error patterns that plague current benchmarks:

  • E1 (Logic Mismatch): The SQL logic fails to represent the question's intent (e.g., using > instead of >=).
  • E2 (Schema Misunderstanding): Annotators misinterpret the database schema, leading to incorrect table joins or column selections.
  • E3 (Domain Knowledge): Errors arising from a lack of specific domain context (e.g., misinterpreting industry-specific terminology like "K-12").
  • E4 (Ambiguity): The natural language question is too vague to support a single definitive SQL translation.

Results: The Scale of the Problem

The empirical audit revealed staggering error rates. In the BIRD Mini-Dev set, 52.8% of examples contained errors, while the Spider 2.0-Snow benchmark reached an error rate of 62.8%.

Distribution of error patterns (E1-E4) across BIRD Mini-Dev and Spider 2.0-Snow benchmarks.

As shown in the table above, schema misunderstanding (E2) was the most frequent error type in BIRD, while logic mismatches (E1) and schema issues (E2) were both highly prevalent in Spider 2.0-Snow. These high error rates suggest that a majority of the "gold standard" queries in these benchmarks are technically incorrect.

Impact on Leaderboards and Research

The consequences of these errors are not merely academic; they fundamentally distort the competitive landscape. By re-evaluating 16 open-source agents on a corrected subset of BIRD, the researchers observed significant performance swings. Execution accuracy changed by -7% to +31% in relative terms.

More importantly, the leaderboard rankings underwent a massive upheaval. Ranking positions shifted by up to 9 spots. For instance, the CHESS model, which occupied 7th place on the original uncorrected leaderboard, ascended to 1st place once evaluated against corrected annotations. The correlation between rankings on uncorrected versus corrected data was weak (Spearman’s $r_s = 0.32$), indicating that current leaderboards are poor predictors of true model performance.

Conclusion

The pervasive nature of annotation errors in text-to-SQL benchmarks undermines the community's ability to track real progress. The findings of this study highlight the urgent need for more robust, agent-assisted annotation pipelines like SAPAR. By leveraging AI to audit human work, the community can develop more reliable benchmarks that truly reflect the capabilities of text-to-SQL agents, ensuring that research efforts and deployment choices are guided by accurate data.

Reference: Jin, T., Choi, Y., Zhu, Y., & Kang, D. (2025). Pervasive Annotation Errors Break Text-to-SQL Benchmarks and Leaderboards. arXiv:2601.08778v3 [cs.AI].

Summary updated

BibTeX
@article{jin2026pervasive,
  author = {Tengjun Jin and Y. M. Choi and Yuxuan Zhu and Daniel Kang},
  title = {{Pervasive Annotation Errors Break Text-to-SQL Benchmarks and Leaderboards}},
  journal = {Proc. VLDB Endow.},
  year = {2026},
}
Figure