mlsanityData to 7 Oct 2026

Searching for Efficient Linear Layers over a Continuous Space of Structured Matrices

arXiv 2410.02117 ↗First posted 3 Oct 2024cs.LG stat.MLcited by 11

On the map: Mixture-of-experts → MoE theory and gating functions

Abstract (arXiv)

Dense linear layers are the dominant computational bottleneck in large neural networks, presenting a critical need for more efficient alternatives. Previous efforts focused on a small number of hand-crafted structured matrices and neglected to investigate whether these structures can surpass dense layers in terms of compute-optimal scaling laws when both the model size and training examples are optimally allocated. In this work, we present a unifying framework that enables searching among all linear operators expressible via an Einstein summation. This framework encompasses many previously proposed structures, such as low-rank, Kronecker, Tensor-Train, Block Tensor-Train (BTT), and Monarch, along with many novel structures. To analyze the framework, we develop a taxonomy of all such operators based on their computational and algebraic properties and show that differences in the compute-optimal scaling laws are mostly governed by a small number of variables that we introduce. Namely, a small ω (which measures parameter sharing) and large psi (which measures the rank) reliably led to better scaling laws. Guided by the insight that full-rank structures that maximize parameters per unit of compute perform the best, we propose BTT-MoE, a novel Mixture-of-Experts (MoE) architecture obtained by sparsifying computation in the BTT structure. In contrast to the standard sparse MoE for each entire feed-forward network, BTT-MoE learns an MoE in every single linear layer of the model, including the projection matrices in the attention blocks. We find BTT-MoE provides a substantial compute-efficiency gain over dense layers and standard MoE.

Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Placed in MoE theory and gating functions, one of 12 directions in Mixture-of-experts. Builds on 23 of its 31 references that are in the map. First posted on arXiv 3 Oct 2024.

Builds on

23 of 31 references.

References · 23

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2020Scaling Laws for Neural Language Modelscited by 6,411
  4. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
  5. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
  6. 2022Training Compute-Optimal Large Language Modelscited by 2,927
  7. 2024Mixtral of Expertscited by 1,785
  8. 2020Scaling Laws for Autoregressive Generative Modelingcited by 510
  9. 2021Explaining Neural Scaling Lawscited by 353
  10. 2022Tensor Programs V: Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfercited by 272
  11. 2023ReLoRA: High-Rank Training Through Low-Rank Updatescited by 200
  12. 2020Feature Learning in Infinite-Width Neural Networkscited by 182
11 more
  1. 2016A Kronecker-factored approximate Fisher matrix for convolution layerscited by 138
  2. 2016Tensor Ring Decompositioncited by 125
  3. 2023A Spectral Condition for Feature Learningcited by 101
  4. 2022Monarch: Expressive Structured Matrices for Efficient and Accurate Trainingcited by 100
  5. 2019Learning Fast Algorithms for Linear Transforms Using Butterfly Factorizationscited by 73
  6. 2023Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecturecited by 62
  7. 2024JetMoE: Reaching Llama2 Performance with 0.1M Dollarscited by 55
  8. 2023Tensor Programs IVb: Adaptive Optimization in the Infinite-Width Limitcited by 35
  9. 2024Compute Better Spent: Replacing Dense Layers with Structured Matricescited by 24
  10. 2023CoLA: Exploiting Compositional Structure for Automatic and Efficient Numerical Linear Algebracited by 7
  11. 2023Differentiable Learning of Generalized Structured Matrices for Efficient Deep Neural Networkscited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 7; 2026: 3.

11 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2023Deep Tensor Network
  2. 2026EinSort: Sorting is All We Need for Tensorizing LLM
  3. 2023Fast, Differentiable and Sparse Top-k: a Convex Analysis Perspective
  4. 2025Domain-Aware Tensor Network Structure Search
  5. 2026Neural Quadratic Forms: A Unified Minimal Model for Sudden Learning and Scaling Laws
  6. 2026Symmetry-Compatible Principle for Optimizer Design: Embeddings, LM Heads, SwiGLU MLPs, and MoE Routers
  7. 2025On Linear Mode Connectivity of Mixture-of-Experts Architectures
  8. 2026Algorithmic algorithm development with LLMs: A Case Study on LLM-Usage for Contraction Order Optimization in Tensor Networks