NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

BIRD-INTERACT: Re-imagining Text-to-SQL Evaluation via Lens of Dynamic Interactions

Nan Huo, Xiaohan Xu, Jinyang Li, Per Jacobsson, Shipei Lin, Bowen Qin, Binyuan Hui, Xiaolong Li, Ge Qu, Shuzheng Si, Linheng Han, Edward Alexander, Xintong Zhu, Rui Qin, Ruihan Yu, Yiyao Jin, Feige Zhou, Weihao Zhong, Yun Chen, Hongyu Liu, Chenhao Ma, Fatma Ozcan, Yannis Papakonstantinou, Reynold Cheng

TL;DR

BIRD-INTERACT is a novel benchmark that shifts text-to-SQL evaluation from static, single-turn queries to the complex reality of dynamic, multi-turn human-database interactions. By introducing a function-driven user simulator and a comprehensive suite of tasks covering the full CRUD (Create, Read, Update, Delete) spectrum, the benchmark reveals that even the most advanced Large Language Models (LLMs) struggle significantly when required to resolve ambiguities and manage evolving user goals.

The Problem with Current Text-to-SQL Benchmarks

Most existing text-to-SQL benchmarks, such as Spider or the original BIRD, treat database querying as a straightforward translation task: given a "perfect" natural language question, the model generates the corresponding SQL. However, real-world database assistants rarely operate under such ideal conditions. Users often provide vague requests (e.g., "show me the elderly people"), data can be noisy, and requirements frequently evolve over the course of a conversation.

Current multi-turn benchmarks fall short because they typically provide models with a static, "gold-standard" conversation history. This approach fails to test a model's ability to actively guide an interaction, ask clarifying questions, or recover from its own execution errors. Furthermore, most benchmarks focus exclusively on SELECT queries, ignoring critical database management operations (INSERT, UPDATE, DELETE) that are essential for actual database administration.

Introducing BIRD-INTERACT

To address these limitations, the authors introduce BIRD-INTERACT, a high-fidelity environment designed to test strategic interaction and autonomous problem-solving.

Overview of the BIRD-INTERACT framework, detailing the database environment, system actions, user simulator, and interaction modes.

Key technical components of the framework include:

  • Function-Driven User Simulator: To prevent "ground-truth leakage" (where a simulator inadvertently reveals the answer), BIRD-INTERACT employs a two-stage approach. A "Parser" maps the model's question to a symbolic action (like AMB() for ambiguity resolution), and a "Generator" then produces a natural language response based strictly on that action.
  • Hierarchical Knowledge Base (HKB): Databases are paired with external documentation organized as a directed acyclic graph. This forces models to perform multi-hop reasoning to connect domain-specific facts and resolve missing information.
  • Two Interaction Modes:
    • c-Interact (Conversational): A structured protocol where the model follows a predefined conversational flow.
  • a-Interact (Agentic): An open-ended setting where the model autonomously decides when to query the user, search the knowledge base, or execute SQL.
  • Ambiguity Injection: The researchers systematically "broke" clear queries by injecting intent-level vagueness, implementation-level uncertainty, and missing knowledge entries to test if models could successfully identify and resolve these gaps.

Datasets

Built on the foundation of LIVESQLBENCH, the BIRD-INTERACT benchmark consists of:

  • BIRD-INTERACT-FULL: 600 complex tasks resulting in up to 11,796 dynamic interactions.
  • BIRD-INTERACT-LITE: A 300-task subset with simplified databases, designed for faster iteration and detailed behavioral analysis.
  • UserSim-Guard: A separate diagnostic dataset of 2,100 questions used specifically to evaluate the reliability and alignment of the user simulators.

Key Insights: How Models "Think" Through Interaction

Interaction Test-time Scaling (ITS) demonstrates that model success rates improve as user patience (allowed interaction turns) increases.

The evaluation yielded several fascinating insights into model behavior:

  • The "ITS Law" (Interaction Test-time Scaling): The authors observed that model performance improves monotonically with the number of interaction turns allowed. This suggests that "thinking through interaction" is a viable scaling law for complex reasoning tasks.
  • Communication > Generation: Through a "Memory Grafting" experiment—where a flagship model was provided the interaction history generated by a better communicator—researchers found that models often fail not because they lack SQL writing skills, but because they are poor at extracting necessary details from the user.
  • The "Funnel Effect": Successful interactions tend to follow a specific pattern: they start with broad concept clarification, move to computational logic, and end with formatting confirmation.
  • Agentic Bias: In the open-ended a-Interact setting, models exhibited a strong bias toward "brute-force" trial-and-error (repeatedly executing SQL to see if it fails) rather than strategically exploring the knowledge base or asking the user for clarification.

Key Results

The benchmark proved exceptionally difficult for current frontier models. Using the flagship GPT-5 model:

  • Success Rate: GPT-5 achieved only an 8.67% success rate in the c-Interact setting and 17.00% in the a-Interact setting on the full task suite.
  • CRUD vs. BI: Models performed significantly better on Business Intelligence (BI) queries than on Data Management (DM) tasks, as DM requires stricter adherence to state-dependent logic.
  • Simulator Alignment: The proposed function-driven simulator demonstrated a 0.84 Pearson correlation with actual human behavior, significantly outperforming standard LLM-based simulators.

Future Directions

While BIRD-INTERACT represents a major step forward for evaluating text-to-SQL systems, the authors note that the framework could be expanded to other generative tasks like Python code synthesis or API orchestration. Future work will focus on "Free-mode Evaluation" (removing budget constraints to test infinite user patience), developing smaller local simulators to reduce API costs, and further exploring "stress-mode" scenarios where models must make optimal decisions under extreme resource scarcity.

Summary updated

BibTeX
@inproceedings{huo2026bird,
  author = {Nan Huo and Xiaohan Xu and Jinyang Li and Per Jacobsson and Shipei Lin and Bowen Qin and Binyuan Hui and Xiaolong Li and Ge Qu and Shuzheng Si and Linheng Han and Edward Alexander and Xintong Zhu and Rui Qin and Ruihan Yu and Yiyao Jin and Feige Zhou and Weihao Zhong and Yun Chen and Hongyu Liu and Chenhao Ma and Fatma Ozcan and Yannis Papakonstantinou and Reynold Cheng},
  title = {{BIRD-INTERACT: Re-imagining Text-to-SQL Evaluation via Lens of Dynamic Interactions}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=nHrYBGujps},
}
Figure