cs.CLMar 17, 2026

LLM NL2SQL Robustness: Surface Noise vs. Linguistic Variation in Traditional and Agentic Settings

Authors: Lifu Tu, Rongguang Wang, Tao Sheng, Sujjith Ravi, Dan Roth

Organizations: Oracle AI

Abstract

Robustness evaluation for Natural Language to SQL (NL2SQL) systems is essential because real-world database environments are dynamic, noisy, and continuously evolving, whereas conventional benchmark evaluations typically assume static schemas and well-formed user inputs. In this work, we introduce a robustness evaluation benchmark containing approximately ten types of perturbations and conduct evaluations under both traditional and agentic settings. We assess multiple state-of-the-art large language models (LLMs), including Grok-4.1, Gemini-3-Pro, Claude-Opus-4.6, and GPT-5.2. Our results show that these models generally maintain strong performance under several perturbations; however, notable performance degradation is observed for surface-level noise (e.g., character-level corruption) and linguistic variation that preserves semantics while altering lexical or syntactic forms. Furthermore, we observe that surface-level noise causes larger performance drops in traditional pipelines, whereas linguistic variation presents greater challenges in agentic settings. These findings highlight the remaining challenges in achieving robust NL2SQL systems, particularly in handling linguistic variability.

Figures & tables

Appendix figures & tables2 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. NL2SQLBench: A Modular Benchmarking Framework for LLM-Enabled NL2SQL Solutions

    Apr 13, 2026Shizheng Hou, Wenqi Pei, Nuo Chen +3Text-to-SQLBenchmark Design

  2. SPENCE: A Syntactic Probe for Detecting Contamination in NL2SQL Benchmarks

    Apr 20, 2026Mohammadtaher Safarzadeh, Hitesh Laxmichand Patel, Afshin Orojlooyjadid +2LLM EvaluationBenchmark Contamination

  3. PremiseSQL: Evaluating Premise Critique and Abstention in Text-to-SQL Systems

    Oct 15, 2026Shuo Lin, Jinzhe Li, Chenlu Guo +3Text-to-SQLText-to-SQL Evaluation