Abstract
Multilingual pre-trained models like mBERT and XLM often struggle with the precise identification of answer boundaries in Machine Reading Comprehension (MRC) tasks, despite their strong cross-lingual semantic capabilities. This paper addresses the "transfer gap" where models identify the correct answer region but fail on exact span matching. We propose two auxiliary tasks: mixMRC, which utilizes cross-lingual question-passage pairs, and Language-Agnostic Knowledge Masking (LAKM), which focuses on masking web-mined knowledge phrases. Our approach demonstrates significant improvements in Exact Match (EM) scores across multiple languages on the MLQA and a new MTQA dataset.
Introduction
Machine Reading Comprehension (MRC) requires a model to extract the exact span of text from a passage that answers a given question. While high-quality datasets like SQuAD exist for English, many other languages suffer from a lack of labeled data. Common practice involves using multilingual models to transfer knowledge from English to target languages. However, these models often exhibit a "transfer gap"—they are effective at sentence-level tasks but lack the precision needed for extractive QA. Analysis shows that nearly half of the errors in these models stem from partial overlaps, where the model identifies the correct vicinity but fails to delimit the exact phrase boundaries. The core challenge is teaching a model what a phrase boundary looks like in a language where it has seen very little labeled data.
Proposed Methodology
To bridge this gap, we introduce a framework that incorporates two novel auxiliary tasks during the fine-tuning phase.
Mixed MRC (mixMRC)
Standard data augmentation typically involves translating English triplets (Question, Passage, Answer) into a target language. We extend this by creating "mixed" pairs, such as pairing a German question with an English passage. This cross-lingual alignment forces the model to map semantic meanings across different language spaces, reducing reliance on surface-level keyword matching and improving boundary detection regardless of the input language.
Language-Agnostic Knowledge Masking (LAKM)
A significant portion (~70%) of answer spans in MRC are "knowledge phrases" like entities or noun phrases. LAKM leverages web-mined data—specifically search engine queries and top result titles—to identify these meaningful phrases across languages. During training, we specifically mask these phrases rather than random tokens. This task trains the model to recognize the boundaries of entities and complex noun phrases, which are critical for precise answer extraction. This approach is highly scalable as it avoids the need for expensive human-annotated Named Entity Recognition (NER) for every language.
Experimental Results
We evaluated our methods on the MLQA benchmark and a new MTQA dataset derived from real-world commercial search queries. The MTQA dataset is unique because it includes fine-grained answer type labels (e.g., "animal," "full_name"), allowing for a deeper analysis of model precision.
Performance Gains
The combination of mixMRC and LAKM consistently outperformed mBERT and XLM baselines. On the MLQA dataset, we observed Exact Match (EM) score improvements ranging from 1.7% to 4.7% across different languages. In zero-shot settings (training only on English), LAKM alone provided up to a 3.8% EM boost for German and French.
Fine-Grained Analysis
On the MTQA dataset, our model showed substantial improvements in identifying entity boundaries. For instance, EM scores for "full_name" queries increased by 14.3%, and "animal" queries saw a 9.1% jump. These results validate that knowledge-masking effectively teaches the model to respect phrase boundaries for specific entity types.
Conclusion
By shifting the focus from general semantic understanding to precise boundary delimitation, our proposed auxiliary tasks significantly enhance multilingual MRC performance. Using web-mined phrases for LAKM provides a scalable, low-cost alternative to human-annotated NER, making this approach particularly viable for low-resource languages. Future work will explore integrating structured knowledge graphs to further refine answer precision for more complex, descriptive queries that do not follow strict noun-phrase patterns.
Summary updated