Asking but Missing: Decision Coverage in Natural-Language Data Querying
Not on the map. Why?
Abstract (arXiv)
Large language models are increasingly used to translate natural language questions about structured data into executable programs. A fundamental challenge is recognizing when a question admits multiple computational interpretations and identifying the decisions needed to resolve them. We investigate whether language models recognize these unresolved decisions before generating code, or silently adopt assumptions that may lead to incorrect results. We refer to the latter behavior as Underspecified Decision Completion (UDC). To distinguish different causes of UDC, we introduce Grounded Code Generation (GCG), a diagnostic protocol that separates the identification of unresolved decisions, their resolution using evidence, and their translation into executable code. By examining each stage separately, we can determine where the decisions responsible for incorrect results were first missed or mishandled. We evaluate this framework on BIRD-Pandas with twelve models. The results show that answering clarification questions consistently improves execution accuracy, yet substantial errors remain. Our findings suggest that the main difficulty lies not in answering clarification questions, but in recognizing which questions need to be asked in the first place.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 30 of its 42 references that are in the map. Submitted 18 Nov 2026, announced 19 Nov 2026.
Builds on
30 of 42 references.
References · 30
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,963
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,845
- 2021Evaluating Large Language Models Trained on Codecited by 8,938
- 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 1,363
- 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,205
- 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 747
- 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 502
- 2019RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL Parserscited by 446
- 2021PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Modelscited by 432
- 2024Next-Generation Database Interfaces: A Survey of LLM-based Text-to-SQLcited by 132
- 2024Modeling Future Conversation Turns to Teach LLMs to Ask Clarifying Questionscited by 91
- 2024CLAMBER: A Benchmark of Identifying and Clarifying Ambiguous Information Needs in Large Language Modelscited by 64
18 more
- 2023ClarifyGPT: Empowering LLM-based Code Generation with Intention Clarificationcited by 46
- 2025NL2SQL-BUGs: A Benchmark for Detecting Semantic Errors in NL2SQL Translationcited by 38
- 2025BIRD-INTERACT: Re-imagining Text-to-SQL Evaluation for Large Language Models via Lens of Dynamic Interactionscited by 22
- 2020Towards Scalable Dataframe Systemscited by 18
- 2025AmbiSQL: Interactive Ambiguity Detection and Resolution for Text-to-SQLcited by 15
- 2025SQL-of-Thought: Multi-agentic Text-to-SQL with Guided Error Correctioncited by 10
- 2026ErrorMap and ErrorAtlas: Charting the Failure Landscape of Large Language Modelscited by 9
- 2026ClarEval: A Benchmark for Evaluating Clarification Skills of Code Agents under Ambiguous Instructionscited by 9
- 2026ClarifyCodeBench: Evaluating LLMs on Clarifying Ambiguous Requirements for Code Generationcited by 9
- 2025Pragmatic Reasoning improves LLM Code Generationcited by 8
- 2026ReflexiCoder: Teaching Large Language Models to Self-Reflect on Generated Code and Self-Correct It via Reinforcement Learningcited by 8
- 2025Automated Repair of Ambiguous Problem Descriptions for LLM-Based Code Generationcited by 7
- 2025Self-Correcting Code Generation Using Small Language Modelscited by 6
- 2026ImpRIF: Stronger Implicit Reasoning Leads to Better Complex Instruction Followingcited by 6
- 2026How LLMs Detect and Correct Their Own Errors: The Role of Internal Confidence Signalscited by 5
- 2026Benchmarking Text-to-Python against Text-to-SQL: The Impact of Explicit Logic and Ambiguitycited by 3
- 2026Underspecification does not imply Incoherence: The Risks of Semantic Collapse in Coding Modelscited by 2
- 2026Decoding the Critique Mechanism in Large Reasoning Modelscited by 1
Built on by
Not cited yet.