LangBridge: Multilingual Reasoning Without Multilingual Supervision

Dongkeun Yoon, Joel Jang, Sungdong Kim, Seungone Kim, Sheikh Shafayat, Minjoon Seo

Abstract

We introduce LangBridge, a zero-shot approach to adapt language models for multilingual reasoning tasks without multilingual supervision. LangBridge operates by bridging two models, each specialized in different aspects: (1) one specialized in understanding multiple languages (e.g., mT5 encoder) and (2) one specialized in reasoning (e.g., MetaMath). LangBridge connects the two models by introducing minimal trainable parameters between them. Despite utilizing only English data for training, LangBridge considerably enhances the performance of language models on low-resource languages across mathematical reasoning, code completion, logical reasoning, and commonsense reasoning. Our analysis suggests that the efficacy of LangBridge stems from the language-agnostic characteristics of multilingual representations. We publicly release our code and models.

Introduction

Large Language Models (LLMs) have demonstrated exceptional capabilities in complex reasoning tasks such as mathematics, coding, and logic. However, these capabilities are often restricted to high-resource languages, primarily English. Reasoning-specialized models like MetaMath or Orca 2 are typically fine-tuned on massive English-only datasets, leading to a significant performance gap when applied to "long-tail" or underrepresented languages (URLs) such as Telugu, Swahili, or Bengali.

Traditional solutions involve continual training on multilingual corpora, which is computationally expensive and difficult to scale across thousands of languages. LangBridge addresses this by transferring the reasoning logic inherent in English-centric models to other languages without requiring any non-English training data.

The LangBridge Framework

LangBridge utilizes a "prefix-LM" architecture that connects two specialized, pre-trained components through a thin trainable layer. The framework consists of:

  1. A Multilingual Encoder: The encoder from mT5 is used to represent over 100 languages in a shared, largely language-agnostic embedding space.
  2. A Reasoning Language Model (LM): Specialized models like Orca 2, MetaMath, or Code Llama provide the logical "brain."
  3. The Bridge: A single trainable linear layer maps the hidden states of the mT5 encoder into the input space (soft prompts) of the target LM.
The LangBridge architecture: aligning a multilingual encoder with a reasoning LM using English data (left) and testing on multilingual data (right).

The training strategy is purely English-based. By training the bridge to solve English reasoning problems using the encoder's representations, the model learns to interpret the underlying semantics. Because the encoder's representations are language-neutral, the LM can generalize to other languages at test time without prior exposure.

Experimental Results

LangBridge was evaluated across several benchmarks, including MGSM (math), HumanEval-MT (coding), and BBH-BN (logic). The results demonstrate substantial improvements, particularly in low-resource settings.

Performance comparison on the MGSM benchmark showing significant gains in underrepresented languages (URL) for LangBridge models.

As shown in the figure above, applying LangBridge to MetaMath-13B increased the average MGSM accuracy from 40.5% to 53.3%. Most notably, performance in underrepresented languages (URL) jumped from a mere 6.0% to 45.2%. In specific cases like Telugu (TE), math performance rose from near 0% to 47.2%.

In coding tasks, the Code Llama-LB-15B model outperformed the much larger Code Llama-34B on the multilingual HumanEval-MT benchmark. Similar trends were observed in logical reasoning on the Bengali BBH tasks, where Orca 2-LB-9B significantly outperformed its base model.

Analysis and Insights

The success of LangBridge is attributed to the language-agnostic nature of multilingual encoders. Principal Component Analysis (PCA) reveals that LangBridge maps different languages into overlapping clusters, whereas standard LMs tend to cluster languages separately.

An interesting qualitative phenomenon observed is "accidental translation," where the model occasionally produces reasoning steps in a different language (e.g., Chinese or Hindi) when prompted in a low-resource language like Bengali. This suggests the model operates on a semantic level, occasionally retrieving logic in a language it perceives as similar in the embedding space.

Limitations

While effective, LangBridge does face challenges. There is a slight performance degradation in high-resource languages (HRL), likely because the LM must process "soft prompts" rather than its native English embeddings. Additionally, while the model excels at reasoning, it is not optimized for long-form multilingual generation and may struggle with linguistic fluency compared to models trained specifically for translation.

Conclusion

LangBridge provides a lightweight and efficient method to bridge the gap between English-centric reasoning and multilingual accessibility. By leveraging the language-neutral representations of frozen encoders, it enables high-quality reasoning in low-resource languages without the need for expensive multilingual supervision.

Summary updated

BibTeX
@inproceedings{yoon2024langbridge,
  author = {Dongkeun Yoon and Joel Jang and Sungdong Kim and Seungone Kim and Sheikh Shafayat and Minjoon Seo},
  title = {{LangBridge: Multilingual Reasoning Without Multilingual Supervision}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  url = {https://openreview.net/forum?id=OWEj2GR66j},
}
Figure