Manuscript Offprint

arXiv:2610.05540

SALUS: Automated Auditing of NL-to-SQL Benchmarks through Weak Supervision of Multi-Agent Output

Shiyuan Zhou, Ashwin Gerard Colaco, Sainyam Galhotra, Sharad Mehrotra

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

SHIYUAN ZHOU, University of California, Irvine, USA

ASHWIN GERARD COLACO, University of California, Irvine, USA

SAINYAM GALHOTRA, Cornell University, USA

SHARAD MEHROTRA, University of California, Irvine, USA

Natural language to SQL (NL-to-SQL) benchmarks are foundational to progress in data analysis research, yet recent work has shown that widely-used benchmarks contain significant annotation errors. These errors silently corrupt evaluation metrics, penalize correct model output, and distort the field's understanding of state-of-the-art performance. We present SALUS 1^{1}, a system that automatically detects annotation errors in NL-to-SQL benchmarks. SALUS frames benchmark auditing as a weakly supervised error detection: SQL generated by multiple LLM agents drive a suite of complementary weak-labeling functions. By passing this noisy vote matrix through a generative label model, we extract high-confidence training samples without requiring human ground truth. These samples train a decision plane that maps gold SQL query features to per-agent trustworthiness, allowing SALUS to intelligently fuse reliability estimates with raw verdicts for rigorous benchmark error detection. We evaluate on BIRD-CLEAN-XS, a benchmark of 298 BIRD development tasks with manually verified correctness labels. SALUS achieves F1 = 0.9194, significantly outperforming the state-of-the-art baselines. Applying SALUS to the full development sets, we estimate annotation error rates of approximately 37% on BIRD and 27% on Spider.

CCS Concepts: • Information systems → Structured Query Language; • Computing methodologies → Feature selection; Machine learning; Natural language processing.

Additional Key Words and Phrases: text-to-SQL, benchmark auditing, weak supervision, data quality

ACM Reference Format:

Shiyuan Zhou, Ashwin Gerard Colaco, Sainyam Galhotra, and Sharad Mehrotra. 2026. SALUS: Automated Auditing of NL-to-SQL Benchmarks through Weak Supervision of Multi-Agent Output. Proc. ACM Manag. Data 4, 6 (SIGMOD), Article 374 (December 2026), 27 pages. https://doi.org/10.1145/3856369

1 Introduction

NL-to-SQL systems have become foundational for data analytics, business intelligence, and database interfaces. Benchmarks such as BIRD [10], SPIDER [17], and WikiSQL [21] play a central role in this ecosystem: they define standardized evaluation protocols, determine leaderboard rankings, and shape research priorities. Reported accuracy improvements drive claims of state-of-the-art performance and influence both academic research and industrial adoption.

These leaderboards, however, are built on a fragile assumption: that the benchmark annotations (commonly called “gold” annotations) are correct. The BIRD leaderboard separates its top systems

1^{1}The source code is available at https://github.com/ucisharadlab/SALUS.

Authors' Contact Information: Shiyuan Zhou, szhou20@uci.edu, University of California, Irvine, Irvine, California, USA; Ashwin Gerard Colaco, acolaco@uci.edu, University of California, Irvine, Irvine, California, USA; Sainyam Galhotra, sg@cs.cornell.edu, Cornell University, Ithaca, New York, USA; Sharad Mehrotra, sharad@ics.uci.edu, University of California, Irvine, Irvine, California, USA.

Figure

This work is licensed under a Creative Commons Attribution 4.0 International License.

© 2026 Copyright held by the owner/author(s).

ACM 2836-6573/2026/12-ART374

https://doi.org/10.1145/3856369

374:2

Shiyuan Zhou, Ashwin Gerard Colaco, Sainyam Galhotra, and Sharad Mehrotra

Figure

Fig. 1. Probability that the rank-1 system on the BIRD development set truly outperforms lower-ranked methods under the estimated 37% annotation error rate. The rank-1 system cannot be reliably distinguished from the next 20.

by only 1–3 percentage points of execution accuracy, yet when we manually audited 200 random queries we found that 34% of the gold annotations are incorrect. When the noise in a benchmark exceeds the gap between competing systems, the leaderboard no longer measures what it claims. As shown in Figure 1: under our estimated 37% error rate, the rank-1 system on the BIRD development set cannot be reliably distinguished from the next 20.

This is not an isolated finding. Independent audits of BIRD and SPIDER have reported error rates ranging from 7% to over 50% [7, 11, 16]. Nor is it solved by manual review: the BIRD team conducted an expert re-annotation campaign in November 2025 [10], yet 47 of the 68 errors in our random sample persisted unchanged in the updated release. The errors are numerous and diverse, spanning incorrect SQL logic, ambiguous natural-language questions, and inconsistent data files, and they resist manual correction because human annotators face the same challenges of domain complexity and fatigue that introduced the errors in the first place.

Automating detection is itself challenging, not only for NL-to-SQL benchmarks but for any setting where reference annotations may be unreliable. No oracle labels exist: the gold annotations are themselves the objects under assessment, so standard supervised learning does not apply. The errors are heterogeneous, so no single heuristic can reliably capture their diversity. Furthermore, any LLM-based detection signal is itself fallible: agent-gold disagreement does not guarantee an annotation error, nor does agreement preclude one, and agents may fail entirely by producing unexecutable SQL.

Existing methods address some of these challenges but not all. Hybrid approaches such as SAPAR [7] generate LLM diagnostic reports but rely on human expert review for the final decision, inheriting the limits of manual annotation. SQLDriller [16], the most comparable fully automated method, assumes the natural-language question and schema are correct and generates 10 structurally diverse SQL candidates per query. It flags an error only when at least one candidate outperforms the gold SQL, restricting its coverage to pure SQL errors and scaling LLM calls to compensate for candidate failure. Our key observation is different: no single LLM agent is an oracle, but each carries a diagnostic signal that can be extracted and combined. When multiple frontier models independently produce mutually consistent SQL that contradicts the gold annotation, it becomes increasingly unlikely that all models are wrong in the same way.

We introduce SALUS, an automated and benchmark-agnostic framework that converts noisy multi-agent disagreement into reliable benchmark audits through weak supervision. Given each benchmark task, SALUS prompts K independent LLM agents to produce candidate SQL queries.

374:3

It extracts execution, structural, and intent-alignment signals from these outputs, encoding them as diverse labeling functions (LFs) distributed across complementary signal sources so that each captures failure modes invisible to the others. A generative label model aggregates these noisy votes into probabilistic correctness scores, yielding high-confidence training samples without human labels. These samples train per-agent reliability models conditioned on gold SQL structural features, learning which agents to trust for which query types rather than weighting reliable agents and fallible agents equally. A final ensemble combines these reliability estimates with raw agent verdicts to produce the error-detection label.

We evaluated SALUS on BIRD-CLEAN-XS, a ground-truth benchmark of 298 tasks for the detection of annotation errors in BIRD with manually verified labels. Among all fully automatic baselines, SALUS achieves the best performance with an F1 of 0.9194, outperforming the 4-agent majority vote (F1 = 0.8895), the automated verifier stage of SAPAR (F1 = 0.8389), and SQLDriller (F1 = 0.6456). When applied at full scale, SALUS estimates annotation error rates of 37% in the BIRD development set and 27% in the SPIDER development set. Our perturbation analysis shows that for any pair of methods whose development-set accuracy gap falls within 5.09%, their performance difference cannot be reliably distinguished at the 95% confidence level. Rank correlation analysis further indicates that the hidden test set may share similar annotation artifacts, limiting the ability of the current leaderboard to reliably distinguish top-ranked systems.

We summarize our contributions as follows:

  • We propose SALUS, a benchmark-agnostic weak supervision framework that automatically detects annotation errors using multi-agent output. While we demonstrate it on NL-to-SQL benchmarks, the underlying approach applies to any domain where reference annotations may be unreliable.

  • We construct BIRD-CLEAN-XS, a manually labeled ground-truth benchmark of 298 tasks for BIRD annotation error detection with a five-category error taxonomy, combining errors corrected by the BIRD team with random samples. SALUS achieves F1 = 0.9194 on BIRD-CLEAN-XS, the highest among all comparable methods.

  • We apply SALUS to the full BIRD and SPIDER development sets, estimating annotation error rates of approximately 37% in BIRD and 27% in SPIDER, and show that this benchmark noise propagates directly into leaderboard rankings, rendering score gaps between top systems statistically indistinguishable.

References (9)