Research map / Architectures and efficiency / Attention and transformers
TensorLens: End-to-End Transformer Analysis via High-Order Attention Tensors
Ido Andrew Atad, Itamar Zimerman, Shahar Katz, Lior Wolf
Tel Aviv University
Read the paperPlace an idea next to itCheck your own paper ↗
8measured effects
6improved
1no clear effect
1mixed
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 TensorLens (In+Out) instead of non-tensor attention aggregations | DeiT-Base · ImageNet-1K positive perturbation | AUC: below 0.6 -> exceeds 0.82 | Improved |
| use TensorLens (Norm) instead of non-tensor aggregations | DeiT-Base · ImageNet-1K positive perturbation | AUC: below 0.6 -> 0.66 | Improved |
| use TensorLens (In+Out) instead of non-tensor aggregations | BERT-Base · IMDB perturbation | AUC: below 0.09 -> exceeds 0.158 | Improved |
| use TensorLens on decoder-only LLMs | Pythia-1B, Pico-570M, Phi-1.5 · WikiText-103 next-token perturbation | HS-MSE / AOPC AUC: Phi-1.5 HS-MSE 0.892 (Norm) vs 0.934 (W-AttnResLN mean) | Mixed |
| use TensorLens instead of rollout baselines on decoder LLMs | Pythia-1B · WikiText-103 next-token perturbation | HS-MSE AUC: 0.306 -> 3.708 | Improved |
| use TensorLens In+Out on modern encoder/decoder models | ModernBert-Base · IMDB perturbation | HS-MSE AUC: 0.077 -> 0.112 | Improved |
| use mean tensor approximation instead of LRE baseline for relation decoding | Pythia-1B · relation decoding (m=3) | accuracy vs original model: higher on most relations (no numbers in text) | Improved |
| use mean tensor approximation on occupation-age relation | Pythia-1B · relation decoding | accuracy: both near random guess | No clear effect |
Open problems this paper states
- “High-order tensor representation is GPU-memory intensive, and experiments are limited to models up to 1B parameters and moderate input lengths.” → Mechanisms are shown only at small scale, with larger models untested. (an open problem in attention head mechanisms)
Open problems in attention head mechanisms
Do the attention-head mechanisms and length-generalization results hold in full-scale, real-world models?
- Mechanisms are shown only at small scale, with larger models untested. · 19 papers state it
- Theory covers only one-layer or attention-only transformers. · 14 papers state it
- Findings come from synthetic or toy tasks that may not match natural language. · 12 papers state it
Closest papers by meaning
- What are you sinking? A geometric approach on attention sink (NeurIPS 2025 · similarity 0.88)
- Mind the Gap: a Spectral Analysis of Rank Collapse and Signal Propagation in Attention Layers (ICML 2025 · similarity 0.88)
- XAttention: Block Sparse Attention with Antidiagonal Scoring (ICML 2025 · similarity 0.87)
- On the Role of Attention Masks and LayerNorm in Transformers (NeurIPS 2024 · similarity 0.87)
- JoMA: Demystifying Multilayer Transformers via Joint Dynamics of MLP and Attention (ICLR 2024 · similarity 0.87)
- The underlying structures of self-attention: symmetry, directionality, and emergent dynamics in Transformer training (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.