mlsanityData to 14 Oct 2026

Layerwise Importance Analysis of Feed-Forward Networks in Transformer-based Language Models

arXiv 2508.17734 ↗First posted 25 Aug 2025cs.CLcited by 6

Not on the map. Why?

Abstract (arXiv)

This study investigates the layerwise importance of feed-forward networks (FFNs) in Transformer-based language models during pretraining. We introduce an experimental approach that, while maintaining the total parameter count, increases the FFN dimensions in some layers and completely removes the FFNs from other layers. Furthermore, since our focus is on the importance of FFNs during pretraining, we train models from scratch to examine whether the importance of FFNs varies depending on their layer positions, rather than using publicly available pretrained models as is frequently done. Through comprehensive evaluations of models with varying sizes (285M, 570M, and 1.2B parameters) and layer counts (12, 24, and 40 layers), we demonstrate that concentrating FFNs in 70% of the consecutive middle layers consistently outperforms standard configurations for multiple downstream tasks.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 17 of its 22 references that are in the map. First posted on arXiv 25 Aug 2025.

Builds on

17 of 22 references.

References · 17

  1. 2017Attention Is All You Needcited by 60,361
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  3. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  4. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
  5. 2016Pointer Sentinel Mixture Modelscited by 3,096
  6. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
  7. 2022Locating and Editing Factual Associations in GPTcited by 2,691
  8. 2020GLU Variants Improve Transformercited by 1,804
  9. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
  10. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,336
  11. 2024MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategiescited by 723
  12. 2021Knowledge Neurons in Pretrained Transformerscited by 601
5 more
  1. 2021Editing Factual Knowledge in Language Modelscited by 553
  2. 2021Fast Model Editing at Scalecited by 498
  3. 2017Zero-Shot Relation Extraction via Reading Comprehensioncited by 426
  4. 2025Layer by Layer: Uncovering Hidden Representations in Language Modelscited by 311
  5. 2023Analyzing Feed-Forward Blocks in Transformers through the Lens of Attention Mapscited by 33

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 6.

6 papers.