Learning Disentangled Semantic Representations for Zero-Shot Cross-Lingual Transfer in Multilingual Machine Reading Comprehension

Linjuan Wu, Shaojuan Wu, Xiaowang Zhang, Deyi Xiong, Shizhan Chen, Zhiqiang Zhuang, Zhiyong Feng

Introduction

Zero-shot cross-lingual transfer has become a cornerstone of multilingual Machine Reading Comprehension (MRC). By leveraging multilingual pre-trained models like mBERT or XLM-R, researchers can train models on high-resource languages (typically English) and deploy them on low-resource target languages without additional fine-tuning. However, this process often suffers from linguistic discrepancy.

The fundamental issue is that models inadvertently learn the syntactic patterns of the source language. When applied to a target language with different grammatical structures, the model may predict answer spans that violate natural syntactic boundaries. For instance, a model trained on English might select a span in Chinese that cuts through a constituent, leading to nonsensical or incomplete answers.

Examples of syntactic boundaries in MRC. (a) shows a correct prepositional phrase answer in English. (b) illustrates a model prediction violating syntactic boundaries in Chinese.

The Siamese Semantic Disentanglement Model (S2DM)

To address this, the authors propose the Siamese Semantic Disentanglement Model (S2DM). The core idea is to decouple text representations into two independent latent variables: a semantic variable ($y$) representing universal meaning, and a syntactic variable ($z$) capturing language-specific structure.

Architecture and Training

The S2DM employs a Siamese network architecture based on a Variational Autoencoder (VAE) framework. The training proceeds in two distinct stages:

  1. Disentanglement Pre-training: The model is trained on parallel sentence pairs. It learns to map an English sentence and its translation to the same semantic vector ($y$) while assigning them different syntactic vectors ($z$).
  2. MRC Fine-tuning: Once disentangled, the S2DM parameters are frozen. A linear output layer is added specifically on top of the semantic representation ($y$) to perform the MRC task. By training the answer span predictor only on "pure" semantics, the model becomes more robust to syntactic variations across languages.
The S2DM architecture. (a) shows the overall MRC framework with the disentanglement module. (b) details the Siamese VAE structure and the specialized loss functions (CRL, SDL, WPL, POS, STL).

Specialized Loss Functions

To enforce effective disentanglement, the authors introduced several novel losses:

  • Semantic Consistency: Cross-lingual Reconstruction Loss (CRL) and Semantic Discrimination Loss (SDL) ensure that semantic vectors are invariant across translations.
  • Syntactic Supervision: Beyond simple Part-of-Speech (POS) tags, the model uses Syntax Tree Loss (STL). This forces the syntactic variable ($z$) to encode structural information from dependency parse trees, such as word depth and distance.

Experimental Results

The S2DM was evaluated on major benchmarks including XQuAD, MLQA, and TyDi QA-GoldP.

Performance Gains

The S2DM_SP (the version using full syntax trees) consistently outperformed standard baselines. On the challenging TyDi QA dataset, it achieved an average improvement of 4.1% Exact Match (EM) over XLM-100. The gains were particularly pronounced for typologically distant languages like Finnish (+8.4% EM) and Russian (+9.5% EM).

Boundary Consistency

A key metric for the model's success was its ability to respect syntactic boundaries. Analysis on the BiPaR dataset showed that S2DM_SP reduced syntactic boundary violations from 23.15% (in standard mBERT) to just 6.60%. This confirms that stripping away source-language syntax allows the model to better adapt to the target language's natural structure.

Conclusion

The S2DM framework demonstrates that syntax can act as "noise" during cross-lingual transfer for extractive tasks. By explicitly disentangling semantics from syntax, the model achieves superior zero-shot performance and produces more linguistically plausible answer spans. While the approach currently relies on parallel data and syntactic labels, it opens new avenues for robust multilingual NLP.

Summary updated

BibTeX
@inproceedings{wu2022learning,
  author = {Linjuan Wu and Shaojuan Wu and Xiaowang Zhang and Deyi Xiong and Shizhan Chen and Zhiqiang Zhuang and Zhiyong Feng},
  title = {{Learning Disentangled Semantic Representations for Zero-Shot Cross-Lingual Transfer in Multilingual Machine Reading Comprehension}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.acl-long.70},
}
Figure