~/talk

Do transformers need all that attention?

Talkat BlaBlaConf 2025 · 2025-02-03..02-07· [large-language-models]
slides:none on file

Claims that many Transformer layers are redundant and can be removed with minimal loss: using Attention Drop and a redundancy metric based on cosine similarity the team removes up to ~50% of attention layers (e.g., cutting 80→40) and reports roughly half the memory usage and ~99% of original accuracy on examples like Llama‑2/Mistral‑7B after removing eight attention layers. Removing MLP layers alone hurts performance, while Joint Layer Drop (prune attention then MLP) yields the best memory and inference‑speed tradeoffs.

AI-written summary · about

  1. 0:00Introduction and thanks
  2. 1:26What are transformers
  3. 4:23Attention layer drops
  4. 11:32Attention drop vs block drop
  5. 16:54Benefits of attention drops
  6. 22:20Key findings summary
  7. 23:02Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.