Research map / Large language models / Language, safety and interpretability
Context Analysis for Pre-trained Masked Language Models
Yi-An Lai, Garima Lalwani, Yi Zhang
Amazon
Read the paperPlace an idea next to itCheck your own paper ↗
8measured effects
4improved
3no clear effect
1hurt
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
On benchmark leaderboards
- GLUE leaderboard average score 80.3 · rank 12 of 15 papers
- CoNLL-2003 NER leaderboard F1 90.6 · rank 10 of 14 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use BERT (Transformer) instead of BiLSTM encoder | masked LM · EWT/GUM | fraction of context words used: BiLSTM ~30% -> BERT ~75% of context | Improved |
| use BERT instead of BiLSTM | masked LM · EWT/GUM | effective context window size: 50% -> 78% of sentence length | Improved |
| use BERT instead of BiLSTM | masked LM · EWT/GUM | essential context fraction: 20% -> 35% | Improved |
| increase sentence length (short to long) | BiLSTM · EWT/GUM | context usage percentage: 35% -> 10% | Hurt |
| increase sentence length (short to long) | BERT · EWT/GUM | context usage percentage: fixed 75% | No clear effect |
| target is content word rather than function word | BERT and BiLSTM · EWT/GUM | context used: more context for nouns/verbs/adjs than DET/ADP | Improved |
| dynamic attention pruning (drop furthest 22% tokens) (ablation) | BERT fine-tuning · CoNLL-2003 NER test | F1: 90.8 -> 90.6 | No clear effect |
| static attention pruning (span [-5,+5]) (ablation) | BERT fine-tuning · CoNLL-2003 NER test | F1: 90.8 -> 90.3 | No clear effect |
Closest papers by meaning
- Quantifying the Contextualization of Word Representations with Semantic Class Probing (EMNLP 2020 · similarity 0.90)
- Dissecting Contextual Word Embeddings: Architecture and Representation (EMNLP 2018 · similarity 0.90)
- Incorporating Residual and Normalization Layers into Analysis of Masked Language Models (EMNLP 2021 · similarity 0.89)
- Deep contextualized word representations (ICLR 2018 · similarity 0.89)
- In-Context Learning with Representations: Contextual Generalization of Trained Transformers (NeurIPS 2024 · similarity 0.87)
- ExLM: Rethinking the Impact of $\texttt{[MASK]}$ Tokens in Masked Language Models (ICML 2025 · similarity 0.87)
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.
