atlas

Research map / Large language models / Language, safety and interpretability

Representation Deficiency in Masked Language Modeling

ICLR 2024 · Large language models › Language, safety and interpretability · approach: Sign and cross-lingual translation · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows that MLM pretraining reserves model dimensions for [MASK] tokens, causing rank deficiency for real-token representations, and proposes MAE-LM, which excludes [MASK] from the encoder and uses a shallow decoder, improving GLUE and SQuAD 2.0 results over MLM baselines.

Problem

MLM pretraining introduces a [MASK] token absent from downstream data, which may cause the learned representation space for real tokens to be rank-deficient, limiting the pretrained encoder's expressiveness when fine-tuned on real text.

Approach

Identify representation deficiency theoretically and empirically (effective rank of real-token representations is lower than with [MASK] inputs), then pretrain a Masked Autoencoder-style encoder that omits [MASK] tokens entirely, with an auxiliary bidirectional decoder that receives [MASK] positions and is discarded after pretraining.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
exclude [MASK] tokens from the encoder during pretrainingMAE-LM vs. RoBERTa (Ours) · GLUE, baseAVG: 85.2 -> 86.1Helped
use MAE-LM pretraining instead of UniLMv212-layer base++ models · GLUE, base++AVG: 87.1 -> 87.8Helped
add the MAE-LM decoder while retaining [MASK] tokens in the encoder (ablation)standard MLM · GLUE, baseAVG: 85.2 -> 85.1Hurt
include [MASK] tokens in the encoder and reset their decoder embeddings (ablation)MAE-LM · GLUE, baseAVG: 86.1 -> 85.9Hurt
replace encoder [MASK] tokens with random real tokens (ablation)MAE-LM · GLUE, baseAVG: 86.1 -> 85.1Hurt
use misaligned consecutive position encoding (ablation)MAE-LM · GLUE, baseAVG: 86.1 -> 86.0No clear effect
remove relative position encoding (ablation)MAE-LM · GLUE, baseAVG: 86.1 -> 86.1No clear effect
add cross-attention to bidirectional decoder self-attention (ablation)MAE-LM · GLUE, baseAVG: 86.1 -> 85.4Hurt
use unidirectional decoder self-attention and cross-attention (ablation)MAE-LM · GLUE, baseAVG: 86.1 -> 85.5Hurt
use cross-attention only in the decoder (ablation)MAE-LM · GLUE, baseAVG: 86.1 -> 86.0No clear effect
reduce decoder depth from 4 to 2 layers (ablation)MAE-LM · GLUE, baseAVG: 86.1 -> 85.8Hurt
increase decoder depth from 4 to 6 layers (ablation)MAE-LM · GLUE, baseAVG: 86.1 -> 84.8Hurt

Surprising findings

Limitations

Experimental setup

Datasets: Wikipedia BookCorpus OpenWebText CC-News STORIES GLUE SQuAD 2.0

Benchmarks: GLUE SQuAD 2.0

Metrics: accuracy Matthews correlation Spearman correlation exact match F1 effective rank

Baselines: BERT ALBERT UniLMv2 TUPE RoBERTa

Builds on: masked language modeling RoBERTa Masked Autoencoder BERT

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy