NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Macedon: Minimizing Representation Coding Rate Reduction for Cross-Lingual Natural Language Understanding

Haoyu Wang, Yaqing Wang, Huaxiu Yao, Jing GaoEMNLP 2023

Abstract

Cross-lingual natural language understanding (NLU) is a fundamental task in NLP, aiming to develop models that generalize across both high-resource and low-resource languages. While pre-trained multilingual models like mBERT and XLM show impressive results with sufficient data, their performance degrades significantly in low-resource scenarios. We propose Macedon (Minimizing Representation Coding Rate Reduction), a conceptually innovative approach to remove language-associated information from representations. By minimizing the coding rate reduction, Macedon avoids the need for complex data distribution estimation required by adversarial methods, which often fail when data is scarce. Extensive experiments on paraphrase identification, natural language inference, and query advertisement matching demonstrate that Macedon outperforms state-of-the-art cross-lingual NLU approaches, particularly in few-shot settings.

Introduction

The "digital language divide" remains a major hurdle in AI. While models like mBERT perform brilliantly in English, their performance often plummets for low-resource languages (e.g., Swahili or Urdu) where labeled data is nearly non-existent. Existing solutions typically attempt to align languages using adversarial training, where a discriminator tries to identify the language while the model attempts to produce language-agnostic features. However, these methods are data-hungry; with limited examples, the discriminator tends to overfit, leading to alignment failure. Macedon addresses this challenge by leveraging information theory to learn language-agnostic representations without requiring large-scale data for distribution estimation.

Methodology: Minimizing Coding Rate Reduction

Macedon moves away from the "cat-and-mouse" game of adversarial training, instead utilizing the concept of Rate Distortion from information theory. The framework is built on two primary components:

  1. Coding Rate Function: This measures the number of binary bits needed to encode a set of representations given a specific precision. Geometrically, this relates to the volume of the space the data occupies.
  2. The Core Objective: Macedon minimizes the difference between the coding rate of all language representations combined and the average coding rate of each individual language. If the total rate matches the individual rates, the languages perfectly overlap in the latent space, indicating that the model is not using "extra bits" to store language-specific information.
Figure 1: The Macedon framework architecture. It contrasts standard cross-entropy training with the proposed Coding Rate Reduction objective to achieve overlapping language distributions.

To ensure stability in low-data regimes, the authors propose a mathematical modification to the empirical covariance matrix used in coding rate calculations, ensuring it remains positive definite even with very few samples. The final loss function combines standard Cross-Entropy for task performance with the Coding Rate Reduction loss for language alignment.

Experimental Results

The researchers evaluated Macedon on three major benchmarks: PAWS-X (paraphrase identification), QADSM (query advertisement matching), and XNLI (natural language inference). To simulate real-world scarcity, they employed a "few-shot" setup, often using only 100 instances per low-resource language.

Robustness in Data Scarcity

A key finding is Macedon's superior performance when training data is extremely limited. As shown in the comparative analysis, Macedon significantly outperforms adversarial mBERT (mBERT+adv) when the number of translated examples is between 10 and 100. Adversarial methods only begin to close the gap as the data volume reaches 1,000+ examples, highlighting Macedon's efficiency in low-resource scenarios.

Figure 5: Accuracy comparison between Macedon and adversarial mBERT as the number of translated training examples increases from 10 to 1,000.

Linguistic Distance and Alignment

The study also explored the impact of linguistic distance. Languages closer to English (e.g., French, German) align more easily than distant ones (e.g., Chinese, Korean). Macedon was found to reduce the KL-divergence between these distant languages more effectively than standard mBERT. Visualizations using t-SNE further confirmed this, showing that while standard mBERT often clusters languages into separate "islands," Macedon successfully blends them into a unified, language-agnostic cloud.

Conclusion

Macedon provides a geometrically grounded alternative to adversarial alignment for cross-lingual NLU. By treating language-agnosticism as a compression problem, it achieves robust performance even with minimal data. While the computational complexity of calculating matrix determinants remains a challenge for scaling to massive models, Macedon represents a significant step toward bridging the digital language divide for low-resource languages.

Summary updated

BibTeX
@inproceedings{wang2023macedon,
  author = {Haoyu Wang and Yaqing Wang and Huaxiu Yao and Jing Gao},
  title = {{Macedon: Minimizing Representation Coding Rate Reduction for Cross-Lingual Natural Language Understanding}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  url = {https://openreview.net/forum?id=5y5uNYzlLV},
}
Figure