atlas

Research map / Large language models / Language, safety and interpretability

AMBROSIA: A Benchmark for Parsing Ambiguous Questions into Database Queries

NeurIPS 2024 · Large language models › Language, safety and interpretability · approach: Controlled text generation · 4 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces AMBROSIA, a text-to-SQL benchmark of ambiguous questions (scope, attachment, vagueness) over LLM-generated multi-table databases, and shows that LLMs largely fail to produce all interpretations.

Problem

Semantic parsers must map ambiguous user questions to all valid SQL interpretations, but existing text-to-SQL benchmarks mostly lack ambiguous questions that remain ambiguous given the database context.

Approach

Controlled, LLM-driven generation of realistic multi-table databases from key concepts/relations templates designed so that specific ambiguity types persist, paired with human-written ambiguous questions, interpretations, and SQL, and evaluated with recall/precision/AllFound metrics.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add one in-context exampleLlama3-70B Prompt · AMBROSIA ambiguous questionsrecall: 30.7 -> 32.4Helped
Add one in-context exampleLlama3-70B Prompt · AMBROSIA ambiguous questionsAllFound: 1.9 -> 3.7Helped
Add one in-context exampleGPT-4o Prompt · AMBROSIA ambiguous questionsrecall: 27.1 -> 31.3Helped
Add one in-context exampleGPT-4o Prompt · AMBROSIA ambiguous questionsAllFound: 0.4 -> 4.5Helped
Add one in-context exampleLlama3-70B Prompt · AMBROSIA ambiguous questionsprecision: 42.7 -> 51.7No clear effect
Include definitions and examples for all three ambiguity types instead of randomly selected examplesLlama3-70B Prompt · AMBROSIA ambiguous questionsrecall: 30.7 -> 35.0Helped
Use Beam top-5 predictions instead of Prompt instructionsLlama3-70B · AMBROSIA ambiguous questionsrecall: 30.7 -> 28.0Hurt
Use Beam top-5 predictions instead of Prompt instructionsCodeLlama-70B · AMBROSIA ambiguous questionsrecall: 17.9 -> 25.4Helped
Use Prompt rather than Beam predictionsLlama3-70B · AMBROSIA ambiguous questionsAllFound: 1.4 -> 1.9Helped
Use Prompt rather than Beam predictionsLlama3-70B · AMBROSIA ambiguous questionsrecall: Scope: 41.6 -> 41.5; Attachment: 10.3 -> 12.7; Vague: 25.8 -> 35.6Mixed

Surprising findings

Limitations

Experimental setup

Datasets: AMBROSIA

Benchmarks: AMBROSIA

Metrics: recall precision AllFound execution accuracy

Baselines: OpenChat-7B Llama3-8B CodeLlama-70B Llama3-70B GPT-3.5 Turbo GPT-4o

Builds on: Spider BIRD-Bench AmbiQT NoisySP

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy