Research map / Large language models / Language, safety and interpretability
Do Transformers Parse while Predicting the Masked Word?
Haoyu Zhao, Abhishek Panigrahi, Rong Ge, Sanjeev Arora
Princeton University · Duke University
Read the paperPlace an idea next to itCheck your own paper ↗
11measured effects
3improved
2no clear effect
6hurt
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.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| restrict Inside-Outside to 20 most frequent in-terminals (ablation) | Inside-Outside algorithm · PTB section 22 | sentence F1: 78.77 -> 71.91; ppl 50.80 -> 55.16 | Hurt |
| restrict Inside-Outside to 10 in-terminals (ablation) | Inside-Outside algorithm · PTB section 22 | sentence F1: 78.77 -> 60.32 | Hurt |
| add low-rank linear transform (k=15) over 20 in-terminals (ablation) | approximate Inside-Outside · PTB section 22 | sentence F1: 71.91 -> 71.33 | No clear effect |
| add low-rank linear transform (k=10) vs top-10 in-terminals only (ablation) | approximate Inside-Outside · PTB section 22 | sentence F1: 60.32 -> 65.31 with 10 heads | Improved |
| probe layer 0 embeddings vs best layer (ablation) | RoBERTa pre-trained on PCFG · PTB probing | sentence F1: layer 0 <41% -> best layer e.g. 71.32 (A12L12, 2-layer NN) | Improved |
| use 2-layer NN probe instead of linear probe (ablation) | A12L12 · PTB probing | sentence F1: 69.31 -> 71.32 | Improved |
| reduce depth to 1 layer (ablation) | RoBERTa on PCFG · PCFG validation | perplexity: 106.68 -> 110.57 (A12L12 -> A12L1) | Hurt |
| reduce attention heads to 3 (ablation) | RoBERTa on PCFG · PCFG validation | perplexity: 106.68 -> 117.39 (A12L12 -> A3L12) | Hurt |
| increase heads to 24 (ablation) | RoBERTa on PCFG · PCFG validation | perplexity: 106.68 -> 104.5 | No clear effect |
| test probe on PTB when trained on PCFG (OOD) vs PCFG-trained and tested (ablation) | RoBERTa A12L12 · parsing probe | sentence F1: about 5% drop; 2-layer NN 73.71 -> 66.99 | Hurt |
| use A12L1 (1 layer) vs 12 layers for span-marginal probing at length 10 (ablation) | RoBERTa on PCFG · span marginal probability correlation (2-layer probe) | Pearson correlation: .77 -> .68 | Hurt |
Closest papers by meaning
- Representation Deficiency in Masked Language Modeling (ICLR 2024 · similarity 0.87)
- Effective Context in Transformers: An Analysis of Fragmentation and Tokenization (NeurIPS 2026 · similarity 0.86)
- How Transformers Learn Structured Data: Insights From Hierarchical Filtering (ICML 2025 · similarity 0.86)
- Abrupt Learning in Transformers: A Case Study on Matrix Completion (NeurIPS 2024 · similarity 0.86)
- ExLM: Rethinking the Impact of $\texttt{[MASK]}$ Tokens in Masked Language Models (ICML 2025 · similarity 0.86)
- An Analysis of Tokenization: Transformers under Markov Data (NeurIPS 2024 · similarity 0.86)
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.
