BIRD-INTERACT: Re-imagining Text-to-SQL Evaluation via Lens of Dynamic Interactions
Nan Huo, Xiaohan Xu, Jinyang Li (PhD student · University of Hong Kong), 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
International Conference on Learning Representations 2026 · Oral
Overview
The BIRD-INTERACT project introduces a groundbreaking benchmark designed to revolutionize the evaluation of Text-to-SQL systems, particularly in the era of large language models (LLMs). Presented by Jinyang Li, a PhD student at the University of Hong Kong, this work addresses a critical gap in the current landscape of Text-to-SQL research: the lack of robust, dynamic, and human-centric evaluation methodologies that account for the inherently ambiguous and evolving nature of real-world user interactions. Traditional benchmarks often operate under the unrealistic assumption of crystal-clear, single-turn queries, failing to capture the complexities of natural language understanding and interaction required for practical applications.

Key moments
- 0:00 Introduction: Text-to-SQL challenges and dynamic interactions
- 1:40 Presenting BIRD-INTERACT: A dynamic, human-centric interaction benchmark
- 2:50 BIRD-INTERACT's unique setup: Docker, user simulator, ambiguity
- 3:50 Two evaluation settings: C-Interact (chatbot) and A-Interact (agent)
- 4:50 SOTA LLMs struggle: Low scores on interactive Text-to-SQL
- 5:30 Interaction-to-system scaling law and Claude's performance
- 6:35 Q&A: Discussion on supported SQL dialects (PostgreSQL, SQLite)
BIRD-INTERACT: Re-imagining Text-to-SQL Evaluation via Lens of Dynamic Interactions
Speakers: Jinyang Li (PhD student, University of Hong Kong), Nan Huo, Xiaohan Xu, 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
Conference: ICLR 2026
YouTube: https://slideslive.com/39062080
Overview
The BIRD-INTERACT project introduces a groundbreaking benchmark designed to revolutionize the evaluation of Text-to-SQL systems, particularly in the era of large language models (LLMs). Presented by Jinyang Li, a PhD student at the University of Hong Kong, this work addresses a critical gap in the current landscape of Text-to-SQL research: the lack of robust, dynamic, and human-centric evaluation methodologies that account for the inherently ambiguous and evolving nature of real-world user interactions. Traditional benchmarks often operate under the unrealistic assumption of crystal-clear, single-turn queries, failing to capture the complexities of natural language understanding and interaction required for practical applications.
BIRD-INTERACT tackles this challenge by creating a high-fidelity interactive environment that simulates dynamic multi-turn conversations between users and AI agents. It integrates a sophisticated, two-stage user simulator to ensure the authenticity and verifiability of interactions, preventing common pitfalls like answer leakage or compromised task difficulty. The benchmark's innovative design, incorporating ambiguity injection and follow-up questions derived from real-world scenarios, pushes the boundaries of how we assess LLMs' ability to translate natural language into SQL queries, moving beyond mere syntax generation to evaluate true interactive intelligence and planning.
The significance of BIRD-INTERACT cannot be overstated. As LLMs become increasingly central to data interaction, their capacity to handle complex, iterative, and often underspecified requests is paramount. This benchmark provides a much-needed stress test for these advanced AI systems, revealing significant performance gaps even in state-of-the-art models like GPT-4o. By offering a more realistic and challenging evaluation framework, BIRD-INTERACT not only identifies current limitations but also charts a clear direction for future research and development in building more effective and user-friendly Text-to-SQL applications across diverse domains, from social media to enterprise data management.
Background
▶ Watch: Introduction: Text-to-SQL challenges and dynamic interactions (0:00)
The ubiquitous presence of data in modern applications necessitates efficient methods for storage, retrieval, and analysis. Structured Query Language (SQL) stands as the most efficient programming language for querying and managing relational databases, forming the backbone of virtually every data-driven application. However, learning to write and master SQL remains a significant barrier for many users, demanding specialized knowledge and considerable time investment. This challenge has fueled the development of Text-to-SQL systems, aiming to automate the translation of natural language questions into executable SQL queries, thereby democratizing data access.
Early Text-to-SQL systems, and indeed many current benchmarks, have largely focused on a single-turn interaction paradigm. This approach assumes that user queries are perfectly clear, unambiguous, and fully specified in a single utterance. While this simplifies the problem, it fundamentally misrepresents real-world human-computer interaction. In reality, user requests are often vague, incomplete, or evolve dynamically as users refine their understanding or explore data. This inherent ambiguity and the iterative nature of human inquiry make single-turn evaluations insufficient for assessing the practical utility of Text-to-SQL models.
Recognizing the limitations of single-turn scenarios, some research has explored multi-turn Text-to-SQL benchmarks, such as Spider and CHASE. These benchmarks introduced sequential questions, aiming to simulate a more conversational flow. However, even these multi-turn approaches suffer from critical shortcomings. They typically rely on a static interaction model, where all models are assumed to share the exact same "code memory" or context. This design prevents a true differentiation of an agent's interaction strategies, planning capabilities, or its ability to proactively resolve ambiguity. Such benchmarks essentially evaluate a model's capacity to process a series of predefined queries rather than its ability to interact dynamically to clarify intent and construct a correct SQL query.
The advent of large language models (LLMs) has significantly elevated the potential of Text-to-SQL systems. These models possess unprecedented capabilities in natural language understanding, reasoning, and code generation. However, harnessing their full potential for Text-to-SQL requires evaluation frameworks that can accurately measure their interactive intelligence. The existing static and single-turn benchmarks fail to stress-test LLMs' abilities in critical areas such as ambiguity detection, proactive questioning, context maintenance, and error recovery within a dynamic conversational setting. This gap underscores the urgent need for a new generation of benchmarks like BIRD-INTERACT that can truly re-imagine Text-to-SQL evaluation through the lens of dynamic, human-centric interactions.
Key Findings
▶ Watch: BIRD-INTERACT's unique setup: Docker, user simulator, ambiguity (2:50)
The BIRD-INTERACT benchmark has unearthed several pivotal findings that challenge the current understanding of LLM capabilities in dynamic Text-to-SQL scenarios:
- Significant Performance Gap: Even state-of-the-art LLMs exhibit a substantial performance gap between their raw SQL generation capabilities and their ability to successfully navigate interactive, multi-turn Text-to-SQL tasks. For instance, GPT-4o, a leading commercial model, achieved a surprisingly low score of 25 in the interactive settings, highlighting that generating syntactically correct SQL is only a fraction of the challenge in real-world applications.
- Domain Complexity Matters: The research reveals that certain task domains are inherently more challenging for interactive Text-to-SQL. Specifically, Business Intelligence (BI) analysis tasks proved to be more difficult than data management tasks. This is attributed to the more diverse and often abstract nature of BI queries, which contrast with the typically more conservative and structured queries found in data management.
- Interaction Mode Influences Performance: The specific mode of interaction significantly impacts model performance. C-Interact (Conversational Interact), which simulates a chatbot-like dialogue, presented greater difficulties for models compared to other modes. GPT-4o's particularly low score in C-Interact suggests that models struggle with the conversational nuances, including asking effective follow-up questions and debugging in a user-friendly manner.
- "Lazy Memory Grafting" and Communication Budget: An intriguing observation, termed "lazy memory grafting," indicated that models like GPT-4o can exhibit a "lazy" behavior, being reluctant to ask clarifying questions. When presented with a trajectory of effective interactions from a better model (e.g., Qwen-72B), GPT-4o's performance improved significantly. This suggests that explicit guidance or a higher "communication budget" (allowing more turns or clarifying questions) could unlock better performance, underscoring the importance of interaction design.
- Interaction-to-System Scaling Law: The study proposes an "interaction-to-system scaling law," which posits that a model satisfies this law if its performance in an interactive setting can match an "idealized performance" – the performance achieved if the model were provided with a completely clear user query from the outset. At the time of submission, only Claude was observed to satisfy this scaling law, indicating superior interactive reasoning and ambiguity resolution capabilities among the tested models.
- Differentiated Agent Behavior under Stress: The benchmark's stress-testing mechanisms effectively differentiate agent interaction patterns. For example, GPT-4o-mini demonstrated a preference for using fewer turns to solve user queries, highlighting varying strategic approaches among different LLMs when faced with interaction costs and budgets.
- Robust and Human-Aligned User Simulator: The two-stage user simulator implemented in BIRD-INTERACT was rigorously tested and proven to be robust and human-aligned. This ensures the faithfulness of the simulated interactions, a crucial component for reliable and verifiable evaluation in dynamic settings.
These findings collectively underscore that current LLMs, despite their impressive language capabilities, still have considerable ground to cover in mastering dynamic, interactive Text-to-SQL. The benchmark provides concrete evidence of where these models fall short and offers clear directions for future research to bridge the gap between static SQL generation and practical interactive data querying.
Technical Deep Dive
▶ Watch: Two evaluation settings: C-Interact (chatbot) and A-Interact (agent) (3:50)
BIRD-INTERACT is meticulously engineered to provide a high-fidelity environment for evaluating interactive Text-to-SQL. Its technical design centers on three core pillars: dynamic multi-turn interaction, a robust user simulator, and a comprehensive task profile.
At its heart, BIRD-INTERACT is the first benchmark to enable dynamic multi-turn interactions in the Text-to-SQL domain. Unlike prior static multi-turn benchmarks, BIRD-INTERACT allows for real-time, adaptive dialogue between an AI agent and a simulated user, mirroring natural human communication where queries evolve and ambiguities are resolved iteratively. This dynamism is crucial for evaluating an LLM's true interactive intelligence.
A critical component enabling this dynamism is the user simulator. Recognizing the challenges in creating faithful simulators (as seen in works like ToolBench or MINT), BIRD-INTERACT employs a two-stage mindset to guard its faithfulness. This design actively prevents harmful actions such as leaking answers or compromising the inherent difficulty of the SQL questions. The first stage might involve generating initial ambiguous queries, while the second stage handles the dynamic responses to the agent's clarifying questions or SQL submissions, ensuring that the simulator's feedback is consistent with a genuine user's evolving intent and knowledge. This meticulous design ensures that the evaluation remains verifiable and that models cannot exploit simulator weaknesses.
To provide a realistic execution environment, BIRD-INTERACT utilizes a Docker-based and professional database environment for each task. This ensures that SQL queries generated by the agents are executed against a live, isolated database, providing accurate feedback on their correctness and efficiency. The benchmark primarily targets PostgreSQL dialect, with support for SQLite also available, allowing for evaluation across different database systems.
The task profile within BIRD-INTERACT is designed to inject realism and complexity into the evaluation. It moves beyond simple "select-only" queries to cover the full spectrum of SQL functions and application capabilities. Key innovations in task design include:
- Ambiguity Injection: BIRD-INTERACT deliberately injects ambiguity into initially clear questions. This simulates the natural ambiguity present in real-world user requests. The authors conducted extensive surveys, drawing from both real-world interviews and research records, to categorize six main classes of ambiguity. This systematic approach ensures that the injected ambiguities are representative and challenging.
- Knowledge Chain-based Ambiguity: A novel mechanism, knowledge chain-based ambiguity, is introduced to detect whether an agent can truly be aware of the underlying ambiguity in a question. This goes beyond superficial textual ambiguity, probing the agent's deeper understanding and reasoning capabilities.
- Follow-up Questions: To simulate the evolving intents of real interactions, the benchmark includes sophisticated follow-up questions. These questions are designed to guide the interaction towards a more complete or refined SQL query, mirroring how users iteratively clarify their needs.
The evaluation methodology is bifurcated into two distinct settings:
- C-Interact (Conversational Interact): This setting simulates a chatbot-like interaction, akin to using ChatGPT. The model engages in a chat with the user, asking follow-up questions to clarify intent, submitting SQL queries, and receiving feedback. Critically, the model is given one chance to debug its submitted SQL if it's incorrect. The scoring mechanism assigns a higher score if the model can solve the task without resorting to the debugging step, thereby encouraging direct and accurate query generation.
- A-Interact (Autonomous Interact): This setting models an autonomous agent that can actively explore its environment, such as reading documents or internal knowledge bases, before interacting with the user. The agent decides when to ask follow-up questions and when to submit SQL. Evaluation in A-Interact incorporates a budget for each task and assigns different costs for various actions. For instance, asking a user a question is deemed more expensive than retrieving a document. This cost model is designed to stress-test the agent's planning ability, rewarding efficient problem-solving that minimizes user interaction and maximizes autonomous exploration. The underlying principle is to penalize agents that excessively rely on user clarification, reflecting the limited patience of real-world users.
By integrating these advanced technical elements, BIRD-INTERACT provides an unprecedented platform for rigorously evaluating Text-to-SQL agents, moving beyond simplistic metrics to assess their interactive reasoning, planning, and robustness in complex, human-like dialogues.
Experimental Setup & Results
▶ Watch: Interaction-to-system scaling law and Claude's performance (5:30)
The experimental evaluation within BIRD-INTERACT rigorously assessed the performance of several state-of-the-art Large Language Models (LLMs) across its dynamic, interactive Text-to-SQL tasks. The setup was designed to stress-test the models' capabilities beyond simple SQL generation, focusing on their interactive reasoning and planning.
Models Evaluated:
The study included prominent LLMs such as GPT-4o, Claude, and GPT-4o-mini. Additionally, Qwen-72B was utilized in specific experiments, particularly for the "lazy memory grafting" analysis. These models represent a spectrum of current LLM capabilities, from highly capable commercial models to open-source alternatives.
Evaluation Metrics:
Performance was measured using a scoring system tailored to each interaction mode:
- In C-Interact, models received higher scores for solving tasks directly without needing to utilize the single debugging chance provided. This metric incentivized accurate initial SQL generation and effective clarification.
- In A-Interact, a reward system was implemented, factoring in a predefined budget for each task and assigning differential costs to various actions. For example, asking a user a clarifying question incurred a higher cost than retrieving information from a document. This metric directly assessed the agent's planning ability and efficiency in resource utilization, penalizing excessive user interaction.
Headline Numbers and Key Observations:
- Overall Low Performance: A striking result was the generally low performance of even advanced LLMs in interactive Text-to-SQL. GPT-4o, for instance, achieved a score of only 25. This indicates a significant gap between current LLM capabilities and the demands of dynamic, human-centric interaction, highlighting the challenging nature of the BIRD-INTERACT tasks.
- BI Analysis vs. Data Management: The experiments confirmed that Business Intelligence (BI) analysis tasks were consistently more challenging for the models than data management tasks. This difference is attributed to the greater diversity and often more abstract nature of BI queries, which require deeper contextual understanding and reasoning compared to the more structured and conservative data management queries.
- Interaction Mode Matters: The choice of interaction mode demonstrably influenced model performance. GPT-4o showed particularly low results in the C-Interact setting, suggesting that models struggle with the conversational demands of asking effective follow-up questions and debugging within a chat-like interface. This implies that different interaction strategies might be required for different application interfaces.
- "Lazy Memory Grafting" Experiment: A notable experiment involved "lazy memory grafting." Researchers fed a successful interaction trajectory generated by Qwen-72B to GPT-4o, instructing it to generate SQL directly based on this ideal interaction. The results showed a significant improvement in GPT-4o's performance. This suggests that GPT-4o, and potentially other LLMs, might be "lazy" or reluctant to proactively ask clarifying questions unless explicitly prompted or guided by an optimal interaction path. This finding highlights the importance of interaction design and prompting strategies.
- Interaction-to-System Scaling Law: The proposed "interaction-to-system scaling law" was evaluated. This law states that a model's interactive performance should ideally match its performance when given a perfectly clear initial query. The results indicated that only Claude currently satisfies this law, demonstrating its superior ability to bridge the gap between ambiguous user input and precise SQL generation through effective interaction.
- Differentiated Agent Behavior: The stress-testing aspects of BIRD-INTERACT successfully differentiated the interaction patterns of various agents. For example, GPT-4o-mini was observed to prefer using fewer turns to resolve user queries, likely reflecting an internal strategy to minimize interaction costs or optimize for brevity. This underscores the benchmark's ability to reveal distinct behavioral characteristics of different LLMs.
- User Simulator Robustness: Crucially, the two-stage user simulator was empirically validated for its robustness and human-alignment. This ensures that the experimental results are reliable and that the simulated interactions faithfully represent real-world user behavior, preventing any artificial inflation or deflation of model performance due to simulator weaknesses.
In summary, the experimental results from BIRD-INTERACT paint a clear picture: while LLMs are powerful, their application in dynamic, interactive Text-to-SQL is far from mature. The benchmark provides concrete evidence of specific weaknesses and offers a robust framework for guiding future research toward more interactively intelligent Text-to-SQL systems.
Practical Implications
▶ Watch: Q&A: Discussion on supported SQL dialects (PostgreSQL, SQLite) (6:35)
The BIRD-INTERACT benchmark carries profound practical implications for practitioners, infrastructure teams, model builders, and deployers working with Text-to-SQL systems. It unequivocally demonstrates that the current capabilities of even advanced LLMs fall significantly short of the demands of real-world interactive data querying.
For model builders and researchers, BIRD-INTERACT highlights that simply improving SQL generation accuracy is insufficient. Future research must prioritize enhancing LLMs' interactive reasoning capabilities, including:
- Ambiguity Resolution: Developing models that can effectively detect, understand, and proactively resolve ambiguity in user queries. This involves advanced natural language understanding and contextual reasoning.
- Proactive Information Gathering: Training models to identify missing information and strategically ask clarifying questions, rather than passively waiting for complete input. The "lazy memory grafting" finding suggests that current models may need explicit instruction or fine-tuning to adopt more proactive interaction strategies.
- Conversational Fluency and Debugging: Improving models' ability to engage in natural, multi-turn dialogues, including providing helpful feedback, understanding error messages, and guiding users through debugging processes. The low performance in C-Interact for some models underscores this need.
- Strategic Planning: For autonomous agents, enhancing their ability to plan sequences of actions (e.g., when to query the user vs. when to consult documentation) under cost constraints. The A-Interact setting provides a robust environment for developing and evaluating these planning capabilities.
For infrastructure teams and deployers, the benchmark underscores the need for Text-to-SQL systems that can gracefully handle iterative user interactions and evolving intents. Deploying systems based solely on single-turn evaluation metrics risks user frustration and low adoption rates. Practical Text-to-SQL solutions will require:
- Robust Interaction Frameworks: Integrating sophisticated dialogue management systems that can maintain context across turns, manage ambiguity, and facilitate user-agent collaboration.
- Adaptive Feedback Mechanisms: Developing systems that provide intelligent feedback to users, explain SQL queries, and offer clear options for clarification or correction.
- Performance Tradeoffs: Recognizing the tradeoffs between interaction costs (e.g., the "patience budget" of users) and computational costs (e.g., querying databases multiple times). Designing systems that balance these factors to provide a smooth and efficient user experience.
- Domain-Specific Adaptation: Acknowledging that BI analysis tasks are inherently more complex than data management. Deployers may need to invest in more specialized models or fine-tuning for specific, challenging domains.
Limitations of current LLMs, as revealed by BIRD-INTERACT, include:
- Reluctance to Clarify: Some models exhibit a tendency to guess or generate incomplete SQL rather than engaging in clarifying dialogue, leading to incorrect outputs and inefficient interactions.
- Difficulty with Evolving Intents: Models struggle to adapt their understanding as user intent shifts or refines over multiple turns, often losing context or failing to integrate new information effectively.
- Lack of Proactive Error Handling: While some models have a debugging chance, their ability to proactively identify potential issues in their own understanding or generated SQL before submission is limited.
In essence, BIRD-INTERACT serves as a critical wake-up call, shifting the focus from mere SQL accuracy to the broader, more challenging problem of interactive intelligence in Text-to-SQL. It provides a roadmap for building truly user-centric AI systems that can effectively bridge the gap between human language and structured data.
Key Takeaways
- Current LLMs Fall Short in Interactive Text-to-SQL: Even state-of-the-art models like GPT-4o struggle significantly with dynamic, multi-turn, and ambiguous Text-to-SQL tasks, achieving surprisingly low scores.
- Dynamic Evaluation is Crucial: BIRD-INTERACT is the first benchmark to enable high-fidelity, dynamic multi-turn interactions, revealing critical limitations of LLMs that static benchmarks cannot capture.
- User Simulators are Key to Faithful Evaluation: The benchmark's two-stage user simulator ensures robust and human-aligned interactions, preventing biased evaluation outcomes and fostering realistic scenarios.
- Interaction Strategy and Planning are Paramount: Different interaction modes (C-Interact vs. A-Interact) and their associated costs differentiate agent planning abilities, highlighting that strategic communication is as important as SQL generation.
- "Lazy" LLM Behavior Identified: Some models show a reluctance to proactively ask clarifying questions, suggesting a need for better prompting or fine-tuning to encourage more interactive and robust problem-solving.
- Roadmap for Future Research: BIRD-INTERACT clearly delineates areas for improvement in LLMs, emphasizing the need for enhanced ambiguity resolution, proactive questioning, and robust conversational AI for practical Text-to-SQL applications.
About the Speaker(s)
The work on BIRD-INTERACT was presented by Jinyang Li, who is currently a PhD student at the University of Hong Kong. Jinyang Li's research focuses on advancing the capabilities of Text-to-SQL systems, particularly in the context of dynamic and interactive environments. This project is a collaborative effort involving numerous researchers from various institutions, including Nan Huo, Xiaohan Xu, Per Jacobsson, and many others, underscoring a broad academic and industry interest in improving the evaluation and performance of Text-to-SQL technologies. The extensive list of collaborators highlights the interdisciplinary nature of this complex problem and the collective endeavor to push the boundaries of LLM applications in database interaction.
Reviews
→ Top-rated talks at International Conference on Learning Representations 2026
All talks from International Conference on Learning Representations 2026