Research map / Architectures and efficiency / Attention and transformers
Analyzing Transformers in Embedding Space
Guy Dar, Mor Geva, Ankit Gupta, Jonathan Berant
Tel Aviv University · Allen Institute for Artificial Intelligence
Read the paperPlace an idea next to itCheck your own paper ↗
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 |
|---|---|---|---|
| use E^T instead of the pseudo-inverse as E' when interpreting with top-k (ablation) | embedding-space projection · random normal vectors, k=1000 | cosine similarity: 0.10 -> 0.83 | Improved |
| use E^T instead of pseudo-inverse at large k (512 to 30000) (ablation) | embedding-space projection · GPT-2 medium, large k | keep-k inverse score | Hurt |
| stitch GPT-2 medium hidden states into GPT-2 base via E_A E_B^+ (no training) | GPT-2 base fine-tuned top 3 layers · IMDB eval | accuracy: ~70% vs 50% random, in 3 of 11 seeds | Mixed |
| project BERT parameters into embedding space before aligning layers (ablation) | MultiBERTs layer alignment · two BERT seeds | layer alignment | Improved |
| align parameters with matching layer hidden state vs random hidden state (ablation) | activated parameter vectors · IMDB, GPT-2 medium, R_k k=100 | R_k | Improved |
| compare true key-value pairs with shuffled pairs (ablation) | FF keys and values · GPT-2, Sim_k k=100 | Jaccard of top-k tokens | Improved |
| project fine-tuning parameter differences into embedding space | GPT-2 base fine-tuned on IMDB · W_Q, W_K, W_V, K vs V and W_O | interpretability (qualitative) | Mixed |
Open problems in Transformer expressivity and learnability
Do theorems about transformer expressivity and learning still hold for deep, softmax, trained models?
- Experiments use small models and synthetic tasks only. · 16 papers state it
- Theory covers one layer, linear attention or fixed matrices, not full transformers. · 12 papers state it
- Theorems and constructions are not shown to match trained transformers. · 6 papers state it
Closest papers by meaning
- Understanding Transformers via N-Gram Statistics (NeurIPS 2024 · similarity 0.87)
- TRANSFORMER EXPLAINER: Interactive Learning of Text-Generative Models (AAAI 2025 · similarity 0.86)
- Beyond Components: Singular Vector-Based Interpretability of Transformer Circuits (NeurIPS 2025 · similarity 0.86)
- Transformer Block Coupling and its Correlation with Generalization in LLMs (ICLR 2025 · similarity 0.86)
- In-context Convergence of Transformers (ICML 2024 · similarity 0.86)
- In-context Learning on Function Classes Unveiled for Transformers (ICML 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.