Multilingual Text-to-SQL: Benchmarking the Limits of Language Models with Collaborative Language Agents

Khanh Trinh Pham, Thu Huong Nguyen, Jun Jo, Quoc Viet Hung Nguyen, Thanh Tam NguyenarXiv 2025 · OpenReview

Abstract: Text-to-SQL enables natural access to databases, yet most benchmarks are English-only, limiting multilingual progress. We introduce MultiSpider 2.0, extending Spider 2.0 to eight languages (English, German, French, Spanish, Portuguese, Japanese, Chinese, Vietnamese). It preserves Spider 2.0's structural difficulty while adding linguistic and dialectal variability, demanding deeper reasoning for complex SQL. On this benchmark, state-of-the-art LLMs (such as DeepSeek-R1 and OpenAI o1) reach only 4% execution accuracy when relying on intrinsic reasoning, versus 60% on MultiSpider 1.0. Therefore, we provide a collaboration-driven language agents baseline that iteratively refines queries, improving accuracy to 15%. These results reveal a substantial multilingual gap and motivate methods that are robust across languages and ready for real-world enterprise deployment. Our benchmark is available at https://github.com/phkhanhtrinh23/Multilingual_Text_to_SQL.

Introduction

Text-to-SQL—the ability to turn natural language questions into executable database queries—is a critical technology for making data accessible to non-experts. However, existing benchmarks suffer from two major flaws: they are overwhelmingly English-centric, and they use "toy" databases that fail to reflect the messy reality of enterprise environments. Real-world databases feature hundreds of columns, complex nested schemas, and require "multi-hop" joins across many tables. This paper introduces MultiSpider 2.0, a much harder test designed to push the limits of what AI can actually do in a production-grade, multilingual setting.

The MultiSpider 2.0 Benchmark

MultiSpider 2.0 extends the English-only Spider 2.0 to eight languages: English, German, French, Spanish, Portuguese, Japanese, Chinese, and Vietnamese. The dataset features 5,056 natural language-SQL pairs across 200 enterprise databases. Unlike previous versions, every database in this benchmark must have at least 200 columns or a nested schema, incorporating multiple SQL dialects such as BigQuery, Snowflake, and SQLite. While MultiSpider 1.0 focused on simple, cross-domain schemas, 2.0 focuses on enterprise-grade difficulty, including complex functions, partition tables, and intricate joins.

Collaborative Language Agents (COLA)

Recognizing that a single "monolithic" prompt often fails to handle enterprise-level complexity, we propose the Collaborative Language Agents (COLA) framework. COLA breaks the task into specialized roles to improve performance through iterative refinement:

  • Classifier Agent: Filters and partitions massive databases into smaller, relevant sub-databases to reduce noise.
  • Analyzer Agent: Decomposes complex user questions into structured sub-questions and generates initial SQL using Chain-of-Thought reasoning.
  • Corrector Agent: Executes the SQL, catches errors, and iteratively refines the code based on database feedback.
The COLA framework architecture consists of a self-contained Text2SQL parser, LLM-driven refinement, and collaborative agents.

Results and the "Complexity Cliff"

Our evaluation reveals a staggering "complexity cliff": there is a 75% performance drop when moving from MultiSpider 1.0 to 2.0. Standalone state-of-the-art models like OpenAI o1 and Gemini 1.5 Pro achieved only 4-5% Execution Accuracy on MultiSpider 2.0, compared to ~60% on the previous version. This suggests that current LLMs may be overfitting to simpler benchmarks and struggle with the scale of real-world data structures.

Execution accuracy comparison shows a massive performance drop from MultiSpider 1.0 to MultiSpider 2.0 across all eight languages.

By utilizing the COLA agentic framework, execution accuracy for these same models rose to 13-16%. Ablation studies show a clear cumulative benefit from each agent: the Classifier (+2.4%), the Analyzer (+3.6%), and the Corrector (+3.8%).

Analysis of the failures indicates that the multilingual gap is primarily semantic. The most frequent pitfall is Wrong Schema Linking (33%), where models fail to map non-English terms to the correct database columns, followed by Erroneous Analysis (20%), where the logic of the question is misunderstood. Furthermore, a consistent "English bias" remains; models perform significantly worse on Japanese, Chinese, and Vietnamese compared to European languages.

Conclusion

MultiSpider 2.0 serves as a reality check for the field, demonstrating that while AI has mastered "toy" SQL tasks, enterprise-scale multilingual environments remain a formidable challenge. While the COLA framework provides a significant boost, a 15% accuracy rate is still far from production-ready. Future work must focus on dialect-aware normalization and execution-grounded learning to bridge the gap between research benchmarks and real-world deployment.

Summary updated

BibTeX
@misc{pham2025multilingual,
  author = {Khanh Trinh Pham and Thu Huong Nguyen and Jun Jo and Quoc Viet Hung Nguyen and Thanh Tam Nguyen},
  title = {{Multilingual Text-to-SQL: Benchmarking the Limits of Language Models with Collaborative Language Agents}},
  year = {2025},
  eprint = {2509.24405},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.24405},
}
Figure