Introduction
Text-to-SQL systems empower users to interact with databases using natural language, bridging the gap between complex query languages and intuitive human communication. However, despite significant advancements, the field has remained predominantly focused on English. This linguistic bias creates a substantial barrier for the billions of non-English speakers worldwide.
MultiSpider addresses this gap as the largest and highest-quality multilingual text-to-SQL dataset to date. By covering seven major languages and introducing a novel schema augmentation framework, the researchers provide a robust benchmark and a path forward for truly global semantic parsing.
The MultiSpider Dataset
Built upon the foundational Spider benchmark, MultiSpider encompasses 9,691 questions and 5,263 SQL queries across 166 databases. It spans seven languages: English, German, French, Spanish, Japanese, Chinese, and Vietnamese.
Unlike previous efforts that often left database schemas in English or suffered from unnatural "translationese," MultiSpider features fully translated schemas and natural question phrasing. The creation process involved a rigorous pipeline of machine translation followed by human post-editing and cross-validation to ensure high quality and linguistic authenticity.
Lexical and Structural Challenges
Transitioning text-to-SQL to a multilingual context introduces unique hurdles. In English, there is often a high degree of surface-level similarity between natural language terms and schema names (e.g., "name" vs. Name). This "fuzzy match" advantage disappears in languages with different scripts or complex morphology, such as Japanese or German, making schema linking significantly harder.
Furthermore, non-English speakers often use specific "dialect sayings" or idiomatic expressions that require deeper commonsense reasoning to map to SQL operators. For instance, mapping "under 30" to Age < 30 must feel natural in the target language's syntax and cultural context.
The SAVE Framework
To mitigate these challenges, the authors introduced SAVE (Schema Augmentation-with-Verification). This framework is designed to bridge the lexical gap by providing models with a richer set of synonyms for schema elements.
The SAVE process involves:
- Back-translation: Generating various synonym candidates for table and column names.
- NLI Verification: Utilizing a Natural Language Inference (NLI) model to verify that these candidates are semantically equivalent to the original schema within the specific context of the query. This step is crucial for filtering out incorrect synonyms or "hallucinations."
Key Results and Insights
The researchers' evaluation revealed a significant performance gap: an absolute drop of approximately 6.1% in accuracy when moving from English to other languages. This underscores the inherent difficulty of the multilingual task.
However, the SAVE framework proved highly effective, improving overall performance by 1.8% and closing the cross-lingual performance gap by 29.5%. Human evaluation confirmed the importance of the verification step, which boosted the accuracy of augmented data from 33.2% to 74.5%.
Baseline experiments using models like RAT-SQL (with XLM-R) and mBART showed that multilingual training—leveraging data from all seven languages—generally outperforms models trained on a single language, suggesting that cross-lingual knowledge transfer is beneficial for this task.
Conclusion and Future Work
MultiSpider represents a major milestone in making text-to-SQL technology accessible globally. While it sets a new standard for multilingual benchmarking, challenges remain in deploying these systems in noisy, real-world environments. Future research may focus on specialized model architectures tailored to the identified lexical and structural challenges, as well as extending the SAVE framework to other data-centric natural language processing tasks.
Summary updated