atlas

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

ExLM: Rethinking the Impact of $\texttt{[MASK]}$ Tokens in Masked Language Models

ICML 2025 · Large language models › Language, safety and interpretability · approach: Sign and cross-lingual translation

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.

Analyzes how [MASK] tokens corrupt context in MLMs and proposes ExLM, which expands each [MASK] into k states with a transition matrix and DAG-based state alignment, improving GLUE/SQuAD and MoleculeNet results.

Problem

MLM pre-training with [MASK] tokens introduces unreal tokens and corrupted semantics, with the latter (ambiguous, multimodal predictions) hurting downstream performance; existing work focused mainly on unreal tokens.

Approach

Duplicate each [MASK] embedding into k expanded states distinguished by 2D RoPE, model dependencies between states with an upper-triangular transition matrix (DAG), and train with a DP-based state alignment objective (DA-Transformer style) that marginalizes over alignments of states to target tokens.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add ExLM context expansion and dependency modeling instead of RoBERTa pre-trainingBERT base-sized text MLM · GLUE devMEAN: 85.2 -> 86.2Helped
Add ExLM context expansion and dependency modeling instead of SMILES-BERT pre-trainingSMILES-BERT · MoleculeNet scaffold splitMean ROC-AUCHelped
Remove 2D RoPE (ablation)ExLM · GLUE dev ablation tasksAvg: 81.4 -> 80.9Hurt
Remove the transition matrix (ablation)ExLM · GLUE dev ablation tasksAvg: 81.4 -> 80.4Hurt
Add expanded states and ExLM context modeling instead of Vanilla MLMVanilla MLM · GLUE dev ablation tasksAvg: 79.6 -> 81.4Helped
Use ExLM rather than a same-training-cost Vanilla MLM++Vanilla MLM++ · GLUE dev ablation tasksAvg: 80.7 -> 81.4Helped
Increase expanded states from k=2 to k=4 at p=15% (ablation)ExLM · GLUE devAvg: 80.9 -> 81.4Helped
Increase expanded states from k=4 to k=8 at p=15% (ablation)ExLM · GLUE devAvg: 81.4 -> 80.8Hurt
Increase expanded states from k=2 to k=4 at p=38.7% (ablation)ExLM · GLUE devAvg: 80.5 -> 81.2Helped
Increase expanded states from k=4 to k=8 at p=38.7% (ablation)ExLM · GLUE devAvg: 81.2 -> 80.7Hurt
Increase mask ratio from 15% to 38.7% (ablation)Vanilla MLM · GLUE devAvg: 79.6 -> 79.2Hurt
Increase mask ratio from 15% to 38.7% (ablation)ExLM-k=4 · GLUE devAvg: 81.4 -> 81.2Hurt

Surprising findings

Limitations

Experimental setup

Datasets: English Wikipedia BookCorpus 19M-molecule SMILES dataset MNLI QQP QNLI SST-2 CoLA RTE MRPC STS-B SQuAD 2.0

Benchmarks: GLUE SQuAD 2.0 MoleculeNet MNLI QNLI QQP RTE

Metrics: accuracy F1 exact match ROC-AUC GLUE mean score

Baselines: BERT ALBERT XLNet UniLMv2 TUPE RoBERTa D-MPNN Attentive FP GROVER GraphMVP Mole-BERT 3D InfoMax

Builds on: BERT RoBERTa DA-Transformer ELECTRA connectionist temporal classification

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