scimeatlas

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

ACL 2023Architectures and efficiency › Attention and transformersapproach: Long-context KV and memory attentionopen problems in this approach13 citations (OpenAlex)

Google · Carnegie Mellon University

Read the paperPlace an idea next to itCheck your own paper ↗

14measured effects
4improved
4no 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 changedWhereMeasuredEffect
delay cross-segment interaction by 9 layers (LAIT-9 vs LAIT-0) (ablation)LAIT on T5-base · MNLIaccuracy: 87.14 -> 85.70No clear effect
delay cross-segment interaction by 9 layers (ablation)LAIT on T5-base · STSBSpearman: 90.31 -> 89.39No clear effect
remove all cross-segment interaction (P=12, dual encoder style) (ablation)LAIT on T5-base · MNLIaccuracy: 87.14 -> 73.21Hurt
remove all cross-segment interaction (P=12) (ablation)LAIT on T5-base · STSBSpearman: 90.31 -> 22.68Hurt
delay interaction to the last 1-2 layers (P=10) (ablation)LAIT on T5-base · BoolQaccuracy: 82.45 -> 71.62Hurt
use LAIT-0 with single decoder layer instead of T5-base with 12 decoder layersLAIT-0 · MNLIaccuracy: 86.98 -> 87.14No clear effect
use LAIT-0 instead of T5-baseLAIT-0 · RTEaccuracy: 84.84 -> 80.87Hurt
use LAIT over dual encoder with MLP headLAIT-9 · MNLIaccuracy: 77.22 -> 85.70Improved
use LAIT-95% model with cachingLAIT-95% · ContractNLIencoder attention FLOPs vs T5-base: 98.92% -> 21.50% (full encoding vs with caching)Improved
encode with LAIT-12 with caching rather than FSA T5LAIT-12 · WikiClusters fullencoding latency (s): 4805. -> 87.79Improved
use sparse LongT5 local attention instead of full self-attentionLongT5 · MNLI latencylatency (s): 167.9 -> 275.3Hurt
use larger decoder (12 layers) with LAIT (ablation)LAIT on T5-base · MNLIaccuracy: delay up to P=9 keeps 99.09% of P=0 accuracyImproved

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?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy