mlsanityData to 14 Oct 2026

Uncovering Layer-Dependent Activation Sparsity Patterns in ReLU Transformers

arXiv 2407.07848 ↗First posted 10 Jul 2024cs.LG cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Previous work has demonstrated that MLPs within ReLU Transformers exhibit high levels of sparsity, with many of their activations equal to zero for any given token. We build on that work to more deeply explore how token-level sparsity evolves over the course of training, and how it connects to broader sparsity patterns over the course of a sequence or batch, demonstrating that the different layers within small transformers exhibit distinctly layer-specific patterns on both of these fronts. In particular, we demonstrate that the first and last layer of the network have distinctive and in many ways inverted relationships to sparsity, and explore implications for the structure of feature representations being learned at different depths of the model. We additionally explore the phenomenon of ReLU dimensions "turning off", and show evidence suggesting that "neuron death" is being primarily driven by the dynamics of training, rather than simply occurring randomly or accidentally as a result of outliers.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 10 of its 15 references that are in the map. First posted on arXiv 10 Jul 2024.

Builds on

10 of 15 references.

References · 10

  1. 2017Attention Is All You Needcited by 60,361
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  3. 2022Locating and Editing Factual Associations in GPTcited by 2,691
  4. 2022The Lazy Neuron Phenomenon: On Emergence of Activation Sparsity in Transformerscited by 122
  5. 2023ReLU Strikes Back: Exploiting Activation Sparsity in Large Language Modelscited by 94
  6. 2023Neurons in Large Language Models: Dead, N-gram, Positionalcited by 88
  7. 2021Sparse is Enough in Scaling Transformerscited by 86
  8. 2024Learn To be Efficient: Build Structured Sparsity in Large Language Modelscited by 20
  9. 2020Principal Component Networks: Parameter Reduction Early in Trainingcited by 9
  10. 2024From PEFT to DEFT: Parameter Efficient Finetuning for Reducing Activation Density in Transformerscited by 4

Built on by

Not cited yet.