Compositional Generalization in Multilingual Semantic Parsing over Wikidata

Ruixiang Cui, Rahul Aralikatte, Heather Lent, Daniel Hershcovich
8/7/2021
cs.CL

Official code: coastalcph/seq2sparql (20 stars, Python, last commit 2023-06-12).

Abstract

Semantic parsing (SP) allows humans to leverage vast knowledge resources through natural interaction. However, parsers are mostly designed for and evaluated on English resources, such as CFQ (Keysers et al., 2020), the current standard benchmark based on English data generated from grammar rules and oriented towards Freebase, an outdated knowledge base.

Show full abstract

We propose a method for creating a multilingual, parallel dataset of question-query pairs, grounded in Wikidata. We introduce such a dataset, which we call Multilingual Compositional Wikidata Questions (MCWQ), and use it to analyze the compositional generalization of semantic parsers in Hebrew, Kannada, Chinese and English. While within-language generalization is comparable across languages, experiments on zero-shot cross-lingual transfer demonstrate that cross-lingual compositional generalization fails, even with state-of-the-art pretrained multilingual encoders. Furthermore, our methodology, dataset and results will facilitate future research on SP in more realistic and diverse settings than has been possible with existing resources.

View on arXivView PDF

Code Implementations(1)

Multilingual Compositional Wikidata Questions (MCWQ)

200Python, ShellMar 29, 20193 years ago

Similar Papers

Cite this paper

@article{cui2021compositional,
  title  = {Compositional Generalization in Multilingual Semantic Parsing over Wikidata},
  author = {Ruixiang Cui and Rahul Aralikatte and Heather Lent and Daniel Hershcovich},
  year   = {2021},
  eprint = {2108.03509},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.03509}
}

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/2108.03509.svg)](https://codeofpaper.com/paper/2108.03509)

Discussion