# Text-to-SQL Models Make Choices Without Saying So

DevFeed: [Text-to-SQL Models Make Choices Without Saying So](<https://devfeed.tech/articles/text-to-sql-models-make-choices-without-saying-so-115960.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.04318>)

Author: Yichen Xu, Shipei Lin, Chenhao Ma

Published: 2026-11-04T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Databases](<https://devfeed.tech/sources/arxiv-databases.md>)

Topics: [text2sql](<https://devfeed.tech/topics/text2sql.md>), [AI for SQL query generation](<https://devfeed.tech/topics/ai-for-sql-query-generation.md>), [AI Models](<https://devfeed.tech/topics/ai-models.md>)

Tags: [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-db](<https://devfeed.tech/tags/cs-db.md>), [databases](<https://devfeed.tech/tags/databases.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [sql](<https://devfeed.tech/tags/sql.md>), [tests](<https://devfeed.tech/tags/tests.md>)

## AI overview

SpecBridge reveals a reporting gap in text-to-SQL: on 204 hand-validated tests, four language models usually computed each interpretation when explicitly requested, but returned both interpretations for only 15-58% of open requests where they could, often without flagging the choice. Its test varies one calculation choice across three otherwise identical requests and evaluates answers by execution. On affected BIRD questions, over two in five answers marked wrong were correct under an alternative interpretation. A workflow that detects open choices and answers each interpretation in a separate call raised the share of open requests receiving every interpretation by 29-63 percentage points on SpecBridge and AMBROSIA, without reducing precision on clear requests; it also required fewer user turns than clarification questions.

## Source excerpt

arXiv:2611.04318v1 Announce Type: new Abstract: A text-to-SQL answer can run, return a plausible number and still compute something other than what the analyst meant. This can happen when the request leaves a calculation choice open, such as whether to count rows or distinct entities, and the model settles it without saying so. Standard benchmarks cannot detect this, because they score each question against a single reference interpretation. We introduce SpecBridge, which tests such a choice by varying it alone: it poses three otherwise identical requests, one leaving the choice open and one per interpretation, and scores each answer by running it. The databases are real, and the choices are ones that made models fail on existing benchmarks. On 204 hand-validated tests, four language models usually compute each interpretation when asked for it, yet for the open request return both in only 15-58% of the tests where they can, often without mentioning the choice. The gap lies in reporting, not in computing. Benchmarks even penalize the alternative: on BIRD questions where such a choice changes the answer, over two in five of the answers marked wrong are right under the other interpretation. Because the gap lies in reporting, a system can narrow it without a stronger model: it first decides whether a request leaves a choice open, then answers each interpretation in its own call. On our tests and on AMBROSIA, an existing benchmark of ambiguous questions, this approach raises the share of open requests that get every interpretation by 29-63 points over the single answer that production assistants give, without lowering precision on clear requests. It also needs fewer user turns than asking a clarifying question.