Two Stacks Are Better Than One: A Comparison of Language Modeling and Translation as Multilingual Pretraining Objectives

Zihao Li, Shaoxiong Ji, Timothee Mickus, Vincent Segonne, Jörg Tiedemann · DOI

Abstract

While most multilingual models are pretrained using standard language modeling (like BERT or GPT), this research reveals that for encoder-decoder architectures, a translation objective is superior. By conducting a strictly controlled "apples-to-apples" comparison, the authors demonstrate that forcing a model to map meanings across languages creates more robust, semantically rich representations for downstream tasks than simple word-prediction tasks.

Introduction

The field of multilingual Natural Language Processing (NLP) often lacks rigorous, controlled comparisons. Researchers frequently propose new pretraining objectives or architectures using disparate datasets, parameter counts, and evaluation benchmarks. This makes it difficult to determine whether performance gains stem from algorithmic innovation or simply increased data scale.

This study addresses two fundamental questions:

  1. Does the explicit cross-lingual signal provided by translation improve performance on monolingual downstream tasks?
  2. Is the optimal pretraining objective consistent across different model architectures (encoder-only, decoder-only, and encoder-decoder)?

Methodology

To ensure a fair comparison, five models were trained under identical conditions: 12 layers, 100k BPE tokenization, and a 600k step training budget.

  • Single-Stack Models: Evaluated Masked Language Modeling (MLM), Causal Language Modeling (CLM), and Translation Language Modeling (TLM).
  • Double-Stack Models (Encoder-Decoder): Compared a denoising autoencoder objective (2-LM, similar to BART) against a standard machine translation objective (2-MT).

Models were evaluated using Probing (training a linear classifier on frozen representations) and Fine-tuning (updating all weights). Downstream tasks included Sentiment Analysis (SA), Named Entity Recognition (NER), Part-of-Speech (POS) tagging, and Natural Language Inference (NLI) across six languages: Arabic, Chinese, English, French, Russian, and Spanish.

Performance of Single-Stack Models

Single-stack models represent the current standard in multilingual pretraining. The results indicate that while MLM is generally superior for token-level tasks after fine-tuning, CLM provides surprisingly strong inherent representations during probing.

Probing vs. fine-tuning results for single-stack pretraining objectives (CLM, MLM, TLM).

The Superiority of Translation in Double-Stacks

The core finding of this research is the dominance of the translation objective in encoder-decoder architectures. The 2-MT model consistently outperformed the denoising 2-LM model across all languages and tasks.

Probing vs. fine-tuning results for double-stack models, highlighting the advantage of the 2-MT objective.

In probing scenarios, 2-MT emerged as the overall champion. For instance, in NER, 2-MT achieved an accuracy of approximately 89%, significantly higher than the 82% of 2-LM and the 80% of the best single-stack model (CLM). This suggests that translation forces the encoder to extract deeper, language-agnostic semantic meanings—acting as a "semantic anchor."

Probing vs. Fine-tuning: The Equalizer

A critical observation is that the performance gap between architectures is much wider during probing than after fine-tuning. Fine-tuning tends to mask architectural weaknesses, suggesting that the initial quality of representations in double-stack models is significantly higher. This highlights the importance of probing as a diagnostic tool for understanding what a model truly "knows" before task-specific adaptation.

Conclusion

Architecture and objective are inextricably linked. While translation does not provide a universal boost to single-stack models, it is clearly the superior objective for encoder-decoders. These "two-stack" MT systems represent a highly impactful but understudied class of pretrained models that can outperform modern single-stack architectures in cross-lingual and semantic understanding tasks.

Summary updated

BibTeX
@inproceedings{li2024two,
  author = {Zihao Li and Shaoxiong Ji and Timothee Mickus and Vincent Segonne and Jörg Tiedemann},
  title = {{Two Stacks Are Better Than One: A Comparison of Language Modeling and Translation as Multilingual Pretraining Objectives}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.emnlp-main.888},
}
Figure