Multilingual Sentence-Level Semantic Search using Meta-Distillation Learning

Meryem M'hamdi, Jonathan May, Franck Dernoncourt, Trung Bui, Seunghyun YoonarXiv 2023 · DOI · arXiv

Abstract

Multilingual semantic search remains a significant challenge in information retrieval due to language bias and the scarcity of high-quality parallel data for low-resource languages. This paper presents MAML-Align, a novel framework that integrates Model-Agnostic Meta-Learning (MAML) with knowledge distillation. By employing a "meta-distillation" approach, the system trains a student model to inherit the transfer logic from a teacher model, facilitating a smoother transition from monolingual to multilingual search capabilities. Experimental results on benchmarks like LAReQA and STSBMulti demonstrate that MAML-Align significantly outperforms standard fine-tuning and vanilla meta-learning approaches, particularly in zero-shot scenarios for unseen languages.

Introduction

Semantic search aims to retrieve content based on conceptual meaning rather than literal keyword matching. While monolingual and bilingual search models have matured, true multilingual semantic search—where a single query must retrieve relevant documents across dozens of languages simultaneously—is hindered by "language bias." Models often favor the dominant languages present in their training sets, failing to generalize to the "long tail" of global languages.

Overview of the MAML-Align framework showing the progression from monolingual to multilingual tasks and its application in few-shot and zero-shot scenarios.

Standard fine-tuning typically leads to overfitting on specific language pairs. To address this, MAML-Align treats multilingual adaptation as a meta-learning problem, optimizing for "fast adaptation" rather than static performance on a fixed set of languages.

Methodology: The MAML-Align Framework

The core innovation of MAML-Align is the combination of Model-Agnostic Meta-Learning (MAML) and Knowledge Distillation in a hierarchical pipeline.

Meta-Learning for Fast Adaptation

MAML optimizes a model's initial parameters such that it can adapt to new tasks (e.g., a new language pair) with minimal gradient steps. This "learning to learn" approach ensures the model retains universal semantic features that are not tied to a specific vocabulary.

The Meta-Distillation Pipeline

The framework utilizes a two-stage Teacher-Student architecture to bridge the complexity gap between language tasks:

  1. Teacher (T-MAML): Focuses on the transfer from monolingual to bilingual search tasks.
  2. Student (S-MAML): Learns to transfer knowledge from bilingual to fully multilingual environments.
Comparison between standard MAML and the proposed MAML-Align architecture, highlighting the knowledge distillation process between teacher and student loops.

By distilling the "transfer logic"—the specific way the teacher adapts to new languages—into the student, the model creates a feedback loop that stabilizes training across diverse linguistic structures.

Experimental Setup

The researchers evaluated MAML-Align on two primary search paradigms:

  • Asymmetric Search (LAReQA): A question-answering benchmark requiring the retrieval of answer passages across seven languages, including Arabic, Greek, Hindi, and Turkish.
  • Symmetric Search (STSBMulti): A sentence similarity task covering English, Arabic, Spanish, and Turkish.

Key Results and Insights

Superior Retrieval Performance

On the LAReQA benchmark, MAML-Align achieved a multilingual mean Average Precision (mAP@20) of 57.6, a substantial improvement over standard fine-tuning (47.0) and vanilla MAML (57.2). In symmetric search, the model reached a Pearson correlation of 85.4, setting a new high for the tested variants.

Zero-Shot Generalization

A critical finding was the model's "Zero-Shot Superpowers." MAML-Align showed improved performance on languages entirely excluded from the training phase, such as Russian and Thai. This suggests the framework successfully learns language-agnostic semantic representations.

Task Sampling Strategy

The authors noted that random sampling of meta-tasks outperformed similarity-based sampling. Introducing variety during the meta-training phase appears to be essential for breaking the language bias trap and encouraging the model to find broader semantic alignments.

Conclusion and Future Work

MAML-Align represents a significant step forward in creating robust, language-agnostic search engines. While the framework is computationally intensive—requiring approximately 19.5 hours of training compared to 2 hours for standard fine-tuning—the gains in generalization and zero-shot performance are substantial. Future research will focus on optimizing training efficiency and scaling the framework from sentence-level retrieval to long-form document analysis.

Summary updated

Abstract

Multilingual semantic search is the task of retrieving relevant contents to a query expressed in different language combinations. This requires a better semantic understanding of the user's intent and its contextual meaning. Multilingual semantic search is less explored and more challenging than its monolingual or bilingual counterparts, due to the lack of multilingual parallel resources for this task and the need to circumvent "language bias". In this work, we propose an alignment approach: MAML-Align, specifically for low-resource scenarios. Our approach leverages meta-distillation learning based on MAML, an optimization-based Model-Agnostic Meta-Learner. MAML-Align distills knowledge from a Teacher meta-transfer model T-MAML, specialized in transferring from monolingual to bilingual semantic search, to a Student model S-MAML, which meta-transfers from bilingual to multilingual semantic search. To the best of our knowledge, we are the first to extend meta-distillation to a multilingual search application. Our empirical results show that on top of a strong baseline based on sentence transformers, our meta-distillation approach boosts the gains provided by MAML and significantly outperforms naive fine-tuning methods. Furthermore, multilingual meta-distillation learning improves generalization even to unseen languages.
BibTeX
@misc{mhamdi2023multilingual,
  author = {Meryem M'hamdi and Jonathan May and Franck Dernoncourt and Trung Bui and Seunghyun Yoon},
  title = {{Multilingual Sentence-Level Semantic Search using Meta-Distillation Learning}},
  year = {2023},
  eprint = {2309.08185},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2309.08185},
}
Figure