MultiSpider: Towards Benchmarking Multilingual Text-to-SQL Semantic Parsing

Longxu Dou, Yan Gao, Mingyang Pan, Dingzirui Wang, Wanxiang Che +2 more
12/27/2022
cs.CL

Official code: microsoft/ContextualSP (387 stars, Python, MIT, last commit 2023-11-10).

Abstract

Text-to-SQL semantic parsing is an important NLP task, which greatly facilitates the interaction between users and the database and becomes the key component in many human-computer interaction systems. Much recent progress in text-to-SQL has been driven by large-scale datasets, but most of them are centered on English.

Show full abstract

In this work, we present MultiSpider, the largest multilingual text-to-SQL dataset which covers seven languages (English, German, French, Spanish, Japanese, Chinese, and Vietnamese). Upon MultiSpider, we further identify the lexical and structural challenges of text-to-SQL (caused by specific language properties and dialect sayings) and their intensity across different languages. Experimental results under three typical settings (zero-shot, monolingual and multilingual) reveal a 6.1% absolute drop in accuracy in non-English languages. Qualitative and quantitative analyses are conducted to understand the reason for the performance drop of each language. Besides the dataset, we also propose a simple schema augmentation framework SAVe (Schema-Augmentation-with-Verification), which significantly boosts the overall performance by about 1.8% and closes the 29.5% performance gap across languages.

View on arXivView PDF

Code Implementations(1)

MIT

Multiple paper open-source codes of the Microsoft Research Asia DKI group

38762Python, Jupyter NotebookApr 14, 20203 years agoMIT
compositional-generalizationconversational-semantic-parsingmicrosoft-research-asiasemantic-parsingtext-to-sql+1 more

Similar Papers

Cite this paper

@article{dou2022multispider,
  title  = {MultiSpider: Towards Benchmarking Multilingual Text-to-SQL Semantic Parsing},
  author = {Longxu Dou and Yan Gao and Mingyang Pan and Dingzirui Wang and Wanxiang Che and Dechen Zhan and Jian-Guang Lou},
  year   = {2022},
  eprint = {2212.13492},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.13492}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2212.13492.svg)](https://codeofpaper.com/paper/2212.13492)

Discussion