mlsanityData to 14 Oct 2026

Building on Efficient Foundations: Effectively Training LLMs with Structured Feedforward Layers

arXiv 2406.16450 ↗First posted 24 Jun 2024cs.CLcited by 2

Not on the map. Why?

Abstract (arXiv)

State-of-the-art results in large language models (LLMs) often rely on scale, which becomes computationally expensive. This has sparked a research agenda to reduce these models' parameter counts and computational costs without significantly impacting their performance. Our study focuses on transformer-based LLMs, specifically targeting the computationally intensive feedforward networks (FFNs), which are less studied than attention blocks. We consider three structured linear parameterizations of the FFN using efficient low-rank and block-diagonal matrices. In contrast to many previous works that examined these approximations, our study i) explores these structures from a training-from-scratch perspective, ii) scales up to 1.3B parameters, and iii) is conducted within recent Transformer-based LLMs rather than convolutional architectures. We demonstrate that these structures can lead to actual computational gains in various scenarios, including online decoding when using a pre-merge technique. Additionally, we propose a novel training regime, called textitself-guided training, aimed at improving the poor training dynamics that these approximations exhibit when used from initialization. Interestingly, the scaling performance of structured matrices is explored, revealing steeper curves in scaling training FLOPs, along with a favorable scaling trend in the overtraining regime. Specifically, we show that wide and structured networks can utilize training FLOPs more efficiently, with fewer parameters and lower loss than dense models at their optimal trade-off. Our code is available at urlhttps://github.com/CLAIRE-Labo/StructuredFFN/tree/main.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 50 of its 56 references that are in the map. First posted on arXiv 24 Jun 2024.

Builds on

50 of 56 references.

References · 50

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  6. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  7. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
  8. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  9. 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,795
  10. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  11. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  12. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
38 more
  1. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
  2. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,509
  3. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
  4. 2022Training Compute-Optimal Large Language Modelscited by 3,019
  5. 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,262
  6. 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,989
  7. 2020Big Bird: Transformers for Longer Sequencescited by 1,684
  8. 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
  9. 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,346
  10. 2017ShuffleNet: An Extremely Efficient Convolutional Neural Network for Mobile Devicescited by 1,200
  11. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 827
  12. 2013Exact solutions to the nonlinear dynamics of learning in deep linear neural networkscited by 763
  13. 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 763
  14. 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 717
  15. 2024DeepSeek LLM: Scaling Open-Source Language Models with Longtermismcited by 642
  16. 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 632
  17. 2022Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Modelcited by 559
  18. 2024GaLore: Memory-Efficient LLM Training by Gradient Low-Rank Projectioncited by 463
  19. 2023Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruningcited by 415
  20. 2019Implicit Regularization in Deep Matrix Factorizationcited by 405
  21. 2021FNet: Mixing Tokens with Fourier Transformscited by 347
  22. 2024xLSTM: Extended Long Short-Term Memorycited by 327
  23. 2023Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-trainingcited by 265
  24. 2024Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Modelscited by 242
  25. 2013Predicting Parameters in Deep Learningcited by 224
  26. 2021Scatterbrain: Unifying Sparse and Low-rank Attention Approximationcited by 130
  27. 2023The Truth is in There: Improving Reasoning in Language Models with Layer-Selective Rank Reductioncited by 123
  28. 2022Monarch: Expressive Structured Matrices for Efficient and Accurate Trainingcited by 106
  29. 2015Convolutional neural networks with low-rank regularizationcited by 103
  30. 2019Learning Fast Algorithms for Linear Transforms Using Butterfly Factorizationscited by 76
  31. 2023FlashDecoding++: Faster Large Language Model Inference on GPUscited by 71
  32. 2021Initialization and Regularization of Factorized Neural Layerscited by 58
  33. 2020Learning Low-rank Deep Neural Networks via Singular Vector Orthogonality Regularization and Singular Value Sparsificationcited by 53
  34. 2021Stable, Fast and Accurate: Kernelized Attention with Relative Positional Encodingcited by 51
  35. 2021From block-Toeplitz matrices to differential equations on graphs: towards a general theory for scalable masked Transformerscited by 38
  36. 2020TRP: Trained Rank Pruning for Efficient Deep Neural Networkscited by 32
  37. 2015ACDC: A Structured Efficient Linear Layercited by 19
  38. 2023Fast Feedforward Networkscited by 11

Built on by

Cited by year

Citing papers per year: 2025: 2.

2 papers.