Sharing, Teaching and Aligning: Knowledgeable Transfer Learning for Cross-Lingual Machine Reading Comprehension

Tingfeng Cao, Chengyu Wang, Chuanqi Tan, Jun Huang, Jinhui Zhu

Machine Reading Comprehension (MRC)—the ability for a model to read a passage and answer questions about it—is a cornerstone of modern NLP. However, while English-speaking models are incredibly proficient, many of the world's languages suffer from a "low-resource" problem: there simply isn't enough annotated data to train a high-performing MRC system from scratch.

In a recent paper presented at EMNLP 2023, researchers from South China University of Technology and Alibaba Group introduced X-STA, a framework designed to bridge this gap. By focusing on three principles—Sharing, Teaching, and Aligning—they’ve developed a method that transfers knowledge from high-resource languages (like English) to low-resource ones more effectively than ever before.

The Problem: The Answer Span Shift

The standard trick for cross-lingual NLP is machine translation: translate your English training data into a target language, or vice versa. For simple classification tasks like sentiment analysis, this works well because the label (e.g., Positive/Negative) remains invariant across translations.

However, MRC is a token-level task. We aren't just looking for a label; we are looking for a specific "span" of text (e.g., characters 38 to 48). When a sentence is translated, word order changes, and those indices shift. This makes it incredibly difficult to directly transfer the "knowledge" of where an answer lies from one language to another. Furthermore, many existing transfer methods suffer from "source degradation"—improving the model's performance on the target language often makes it worse at the original source language.

The answer span shift problem in cross-lingual MRC compared to classification tasks.

Methodology: The X-STA Framework

The authors propose X-STA, which stands for Sharing, Teaching, and Aligning. The architecture is designed to handle parallel language pairs and calibrate outputs without losing source-language proficiency.

The X-STA framework architecture featuring Sharing (GDKS), Teaching (ATGC), and Aligning components.
  1. Sharing (GDKS): The authors introduce Gradient-Disentangled Knowledge Sharing. They use parallel language pairs as inputs and employ a modified cross-attention block. To prevent the target language's learning process from "polluting" the source language's representations, they use a "stop-gradient" operation and a trainable correction term. This allows the model to fuse features while maintaining its original proficiency.
  2. Teaching (ATGC): This is the Attentive Teacher-Guided Calibration. A teacher model (trained on the source language) guides the student model. Crucially, they use Representation Normalization (Rep-Norm) to strip away language-specific "noise" (like function words) and isolate the semantic core. The teacher then helps calibrate the student's output distribution on the target language, effectively "re-locating" the answer in the new language context.
  3. Aligning (MGSA): To ensure the model understands semantic equivalence across languages, they use Multi-Granularity Semantic Alignment. This occurs at the sentence-level (using contrastive learning) and the token-level (using cross-attention entropy to focus on corresponding tokens).

Datasets and Evaluation

The researchers evaluated X-STA on three major multi-lingual MRC benchmarks:

  • MLQA: 5K+ instances across 7 languages (English, Arabic, German, Spanish, Hindi, Vietnamese, and Chinese).
  • XQuAD: A subset of SQuAD v1.1 professionally translated into 11 languages.
  • TyDiQA: A typologically diverse dataset covering 9 languages, including lower-resource ones like Bengali, Telugu, and Swahili.

Key Results and Insights

X-STA consistently outperformed strong baselines like X-MIXUP and Trans-train:

  • MLQA: Achieved an average F1 of 71.2% (using mBERT) and 70.4% (using XLM-R), a significant jump over previous state-of-the-art results.
  • TyDiQA: Showed a 2.6/3.5 point improvement in F1/EM scores compared to X-MIXUP.
  • Source Protection: One of the most impressive parts of the GDKS approach is that it maintains (and sometimes improves) English performance while boosting target language performance—a rare feat in transfer learning.
  • Vs. ChatGPT: In a case study, the authors compared X-STA to ChatGPT. While ChatGPT is powerful, it often "hallucinates" plausible-sounding but incorrect answers in low-resource languages like Hindi. X-STA successfully extracted the correct spans by leveraging its English-trained teacher.

Conclusion and Future Work

The primary limitation of X-STA is the reliance on a machine translation system during training, which adds computational overhead. Additionally, the current framework is optimized for extractive QA. The authors plan to extend this "Sharing, Teaching, Aligning" philosophy to generative QA and other token-level tasks like Named Entity Recognition (NER) where labels for translated data are traditionally difficult to obtain.

Summary updated

BibTeX
@inproceedings{cao2023sharing,
  author = {Tingfeng Cao and Chengyu Wang and Chuanqi Tan and Jun Huang and Jinhui Zhu},
  title = {{Sharing, Teaching and Aligning: Knowledgeable Transfer Learning for Cross-Lingual Machine Reading Comprehension}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.findings-emnlp.33},
}
Figure