cs.CLOct 7, 2026

ARCS: Towards Precise Text-to-SQL via Structured Disambiguation

Authors: Yihao Hu, Yanlin Feng, Naoki Otani, Nikita Bhutani

Organizations: Duke University · Megagon Labs

Abstract

As text-to-SQL systems move beyond demonstrations toward real-world deployment, ambiguity in user questions becomes a primary source of errors. Such ambiguities are often subtle, domain- or data-specific, and can silently cause system outputs to deviate from the user's true intent. Ambiguity is traditionally addressed through conversational clarification, which is often inefficient, cognitively demanding, and poorly aligned with real-world user workflows. We propose structured disambiguation, a new paradigm in which ambiguity is resolved through explicit, constrained interactions rather than free-form dialogue. We construct ARCS (Ambiguity Resolution Corpus for SQL), the first text-to-SQL benchmark featuring naturally occurring, unconstrained ambiguities over real-world databases, with complete annotations of all valid ambiguity points, interpretations, and SQL queries. Experimental results show that text-to-SQL remains challenging in the presence of ambiguity: gpt-6-sol achieves only 51% end-to-end execution accuracy, and no open-source model exceeds 27%.

Figures & tables

Appendix figures & tables16 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. SOMA-SQL: Resolving Multi-Source Ambiguity in NL-to-SQL via Synthetic Log and Execution Probing

    Jun 9, 2026Sai Ashish Somayajula, Marianne Menglin Liu, Chuan Lei +9Text-To-SqlSql

  2. DexterSQL: Deep Schema Exploration and Rule-based Correction for Text-to-SQL Generation

    Date pendingAnik Pramanik, Murat Kantarcioglu, Vincent Oria +1Text-To-SqlSql

  3. R3^3-SQL: Ranking Reward and Resampling for Text-to-SQL

    Apr 28, 2026Hojae Han, Yeonseok Jeong, Seung-won Hwang +2Text-To-SqlSql