Bootstrapping a Crosslingual Semantic Parser

Tom Sherborne, Yumo Xu, Mirella Lapata

Building semantic parsers for non-English languages typically requires expensive professional translations. This research from the University of Edinburgh, presented at EMNLP 2020, introduces a framework to bootstrap high-quality parsers for German and Chinese using machine translation (MT), paraphrasing, and pre-trained models.

The Challenge of Crosslingual Semantic Parsing

Semantic parsing converts natural language questions into machine-readable queries (e.g., SQL). While essential for voice assistants, the field is heavily English-centric. Translating existing English datasets into dozens of languages is cost-prohibitive.

The primary hurdle is that automated translation often introduces errors that confuse semantic parsers. These include noun/adjective ambiguities, entity misinterpretations (e.g., translating airline names), and referential ambiguities.

Common translation errors and ambiguities encountered when using machine translation for semantic parsing data.

Methodology: Bootstrapping with Noisy Data

The authors propose a bootstrapping framework based on a Transformer Seq2Seq architecture. The approach relies on four key pillars:

  1. MT as Training Data: Google Translate is used to generate target-language training sets from English data.
  2. Feature Augmentation: Pre-trained BERT representations (monolingual and multilingual) provide the model with a robust understanding of target language syntax.
  3. Multilingual Shared Encoder: Training the model on both English and translated data simultaneously helps it learn language-agnostic semantic mappings.
  4. MT-Ensemble: Instead of a single translation, the model uses multiple MT engines (e.g., Google, Microsoft, Yandex/Baidu) to generate "synthetic paraphrases." A gating network ensembles the attention from these different versions.
Overview of training strategies, including the use of multiple MT engines to create an ensemble of synthetic paraphrases.

Evaluation and Key Insights

The framework was evaluated on two major benchmarks: ATIS (Air Travel Information System) and Overnight (a multi-domain dataset). The researchers released human-verified test sets for German (DE) and Chinese (ZH) to ensure rigorous evaluation.

Key Findings:

  • MT is "Good Enough": Noisy MT data provides a sufficient signal for neural models to learn underlying query logic.
  • Diversity Over Accuracy: Using multiple MT engines acts as data augmentation. The ensemble can often find the correct semantic mapping even if individual engines make mistakes.
  • The Shared Encoder Advantage: Joint training with English helps "anchor" entities. If an MT engine fails to translate a specific airline name, the English parallel helps the model map it correctly.
  • The 50% Rule: Using the bootstrapping method with just 50% human-translated data performs within 2% of models using 100% human translation.

Results and Performance

The bootstrapped models significantly outperformed traditional "back-translation" baselines. On the Overnight dataset, improvements reached +28.1% for German and +32.3% for Chinese. On ATIS, the best bootstrapped model (MT-Ensemble + BERT) achieved 68.5% accuracy in German, nearly matching the 69.5% achieved by models trained on gold-standard human translations.

Limitations and Future Work

The method's success depends on the availability of "adequate" machine translation. For low-resource languages with poor MT quality, bootstrapping may be less effective. MT also continues to struggle with highly idiomatic phrasing and specific entity names. Future research will explore semi-supervised learning and zero-shot parsing to further reduce the need for translated training data.

Summary updated

BibTeX
@inproceedings{sherborne2020bootstrapping,
  author = {Tom Sherborne and Yumo Xu and Mirella Lapata},
  title = {{Bootstrapping a Crosslingual Semantic Parser}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2020},
  doi = {10.18653/v1/2020.findings-emnlp.45},
}
Figure