[Paper Review] Rethinking embedding coupling in pre-trained language models
This paper challenges the standard practice of tying input and output embeddings in pre-trained language models, showing that decoupling their dimensions—particularly increasing output embedding size—improves model generalization and transferability without increasing fine-tuning parameters. By reallocating saved parameters to deeper Transformer layers, the authors achieve state-of-the-art performance on multilingual benchmarks with fewer pre-training tokens, demonstrating that larger output embeddings prevent over-specialization and enhance cross-lingual and cross-task transferability.
We re-evaluate the standard practice of sharing weights between input and output embeddings in state-of-the-art pre-trained language models. We show that decoupled embeddings provide increased modeling flexibility, allowing us to significantly improve the efficiency of parameter allocation in the input embedding of multilingual models. By reallocating the input embedding parameters in the Transformer layers, we achieve dramatically better performance on standard natural language understanding tasks with the same number of parameters during fine-tuning. We also show that allocating additional capacity to the output embedding provides benefits to the model that persist through the fine-tuning stage even though the output embedding is discarded after pre-training. Our analysis shows that larger output embeddings prevent the model's last layers from overspecializing to the pre-training task and encourage Transformer representations to be more general and more transferable to other tasks and languages. Harnessing these findings, we are able to train models that achieve strong performance on the XTREME benchmark without increasing the number of parameters at the fine-tuning stage.
Motivation & Objective
- To re-evaluate the widespread practice of tying input and output embeddings in pre-trained language models, especially in multilingual settings.
- To investigate whether decoupling embedding dimensions improves model flexibility, parameter efficiency, and downstream performance.
- To determine whether increasing output embedding size enhances representation generalization and transferability across tasks and languages.
- To design and evaluate a rebalanced multilingual BERT (RemBERT) that outperforms XLM-R with fewer pre-training tokens and the same fine-tuning parameter count.
Proposed method
- Decouple input and output embedding dimensions in encoder-only models, allowing independent optimization of each.
- Reduce input embedding dimension safely while reallocating the saved parameters to increase the width and depth of Transformer layers.
- Increase output embedding size beyond input dimension, even though it is discarded after pre-training, to improve pre-training signal and representation quality.
- Train a Rebalanced mBERT (RemBERT) model with optimized embedding allocation, using the same number of fine-tuning parameters as mBERT and XLM-R.
- Use probing analysis (Tenney et al., 2019) with mix strategy to evaluate general NLP capabilities across 9 tasks, including POS, SRL, and coreference.
- Measure cross-lingual transferability via nearest-neighbor translation accuracy from English to German, layer-by-layer, to assess language-agnostic representation learning.
Experimental results
Research questions
- RQ1Does decoupling input and output embedding dimensions improve downstream performance in multilingual pre-trained models?
- RQ2Can increasing the output embedding size improve model generalization and transferability even though it is discarded after pre-training?
- RQ3To what extent does a larger output embedding prevent over-specialization of the last Transformer layers to the pre-training task?
- RQ4How does embedding decoupling affect cross-lingual alignment and transferability in multilingual models?
- RQ5Can a model with fewer pre-training tokens outperform stronger baselines like XLM-R by optimizing parameter allocation through embedding decoupling?
Key findings
- Increasing the output embedding size from 128 to 3072 tokens improves probing accuracy across all 9 NLP tasks, with an average gain of 0.5 points without increasing fine-tuning parameters.
- The Rebalanced mBERT (RemBERT) model outperforms XLM-R on the XTREME benchmark while being pre-trained on 3.5× fewer tokens and using the same number of fine-tuning parameters.
- Larger output embeddings lead to flatter, more language-agnostic representations in higher Transformer layers, as shown by improved nearest-neighbor translation accuracy from English to German.
- The performance gain from larger output embeddings persists through fine-tuning, indicating that pre-training quality directly impacts downstream transferability.
- Decoupling embedding dimensions allows safe reduction of input embeddings without performance loss, freeing up parameters for deeper and wider Transformer layers.
- Probing results show that larger output embeddings improve the general NLP capabilities of the model, particularly in upper layers, by reducing over-specialization to the pre-training objective.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.