Research map / Architectures and efficiency / Attention and transformers
LAIT: Efficient Multi-Segment Encoding in Transformers with Layer-Adjustable Interaction
Jeremiah Milbauer, Annie Louis, Mohammad Javad Hosseini, Alex Fabrikant, Donald Metzler, Tal Schuster
Google · Carnegie Mellon University
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 |
|---|---|---|---|
| delay cross-segment interaction by 9 layers (LAIT-9 vs LAIT-0) (ablation) | LAIT on T5-base · MNLI | accuracy: 87.14 -> 85.70 | No clear effect |
| delay cross-segment interaction by 9 layers (ablation) | LAIT on T5-base · STSB | Spearman: 90.31 -> 89.39 | No clear effect |
| remove all cross-segment interaction (P=12, dual encoder style) (ablation) | LAIT on T5-base · MNLI | accuracy: 87.14 -> 73.21 | Hurt |
| remove all cross-segment interaction (P=12) (ablation) | LAIT on T5-base · STSB | Spearman: 90.31 -> 22.68 | Hurt |
| delay interaction to the last 1-2 layers (P=10) (ablation) | LAIT on T5-base · BoolQ | accuracy: 82.45 -> 71.62 | Hurt |
| use LAIT-0 with single decoder layer instead of T5-base with 12 decoder layers | LAIT-0 · MNLI | accuracy: 86.98 -> 87.14 | No clear effect |
| use LAIT-0 instead of T5-base | LAIT-0 · RTE | accuracy: 84.84 -> 80.87 | Hurt |
| use LAIT over dual encoder with MLP head | LAIT-9 · MNLI | accuracy: 77.22 -> 85.70 | Improved |
| use LAIT-95% model with caching | LAIT-95% · ContractNLI | encoder attention FLOPs vs T5-base: 98.92% -> 21.50% (full encoding vs with caching) | Improved |
| encode with LAIT-12 with caching rather than FSA T5 | LAIT-12 · WikiClusters full | encoding latency (s): 4805. -> 87.79 | Improved |
| use sparse LongT5 local attention instead of full self-attention | LongT5 · MNLI latency | latency (s): 167.9 -> 275.3 | Hurt |
| use larger decoder (12 layers) with LAIT (ablation) | LAIT on T5-base · MNLI | accuracy: delay up to P=9 keeps 99.09% of P=0 accuracy | Improved |
Open problems in long-context KV and memory attention
How can long-context attention be made fast and small in memory without losing quality against full attention?
- Validated only on models up to about 13B parameters. · 8 papers state it
- Speedups are limited because the code is not fused or kernel-optimized. · 5 papers state it
- Compressed or sparse attention still trails full attention. · 4 papers state it
Closest papers by meaning
- Transformer Block Coupling and its Correlation with Generalization in LLMs (ICLR 2025 · similarity 0.89)
- Beyond Attention: Breaking the Limits of Transformer Context Length with Recurrent Memory (AAAI 2024 · similarity 0.89)
- AttnLRP: Attention-Aware Layer-Wise Relevance Propagation for Transformers (ICML 2024 · similarity 0.88)
- Talking Heads: Understanding Inter-Layer Communication in Transformer Language Models (NeurIPS 2024 · similarity 0.88)
- Looking Beyond the Top-1: Transformers Determine Top Tokens in Order (ICML 2025 · similarity 0.87)
- Bigram Subnetworks: Mapping to Next Tokens in Transformer Language Models (NeurIPS 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.