Searching for Efficient Linear Layers over a Continuous Space of Structured Matrices
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
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
- 2022Training Compute-Optimal Large Language Modelscited by 2,927
- 2024Mixtral of Expertscited by 1,785
- 2020Scaling Laws for Autoregressive Generative Modelingcited by 510
- 2021Explaining Neural Scaling Lawscited by 353
- 2022Tensor Programs V: Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfercited by 272
- 2023ReLoRA: High-Rank Training Through Low-Rank Updatescited by 200
- 2020Feature Learning in Infinite-Width Neural Networkscited by 182
11 more
- 2016A Kronecker-factored approximate Fisher matrix for convolution layerscited by 138
- 2016Tensor Ring Decompositioncited by 125
- 2023A Spectral Condition for Feature Learningcited by 101
- 2022Monarch: Expressive Structured Matrices for Efficient and Accurate Trainingcited by 100
- 2019Learning Fast Algorithms for Linear Transforms Using Butterfly Factorizationscited by 73
- 2023Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecturecited by 62
- 2024JetMoE: Reaching Llama2 Performance with 0.1M Dollarscited by 55
- 2023Tensor Programs IVb: Adaptive Optimization in the Infinite-Width Limitcited by 35
- 2024Compute Better Spent: Replacing Dense Layers with Structured Matricescited by 24
- 2023CoLA: Exploiting Compositional Structure for Automatic and Efficient Numerical Linear Algebracited by 7
- 2023Differentiable Learning of Generalized Structured Matrices for Efficient Deep Neural Networkscited by 4
Built on by
Citing papers per year: 2024: 1; 2025: 7; 2026: 3.
11 papers.
- 2025Deep Learning is Not So Mysterious or Differentcited by 55
- 2025Position: Curvature Matrices Should Be Democratized via Linear Operatorscited by 9
- 2025Scaling Probabilistic Circuits via Monarch Matricescited by 9
- 2025Calibrating and Rotating: A Unified Framework for Weight Conditioning in PEFTcited by 4
- 2025On Information Geometry and Iterative Optimization in Model Compression: Operator Factorizationcited by 1
- 2024EUGens: Efficient, Unified, and General Dense Layerscited by 0
- 2025NdLinear: Preserving Multi-Dimensional Structure for Parameter-Efficient Neural Networkscited by 0
- 2025Customizing the Inductive Biases of Softmax Attention using Structured Matricescited by 0
- 2026EUGens: Efficient, Unified, and General Dense Layerscited by 0
- 2026Sparsely gated tiny linear expertscited by 0
- 2026How Model Growth, Recursion, and Boundary Operators Influence Scaling Exponentscited by 0
- 2026How Model Growth, Recursion, and Boundary Operators Influence Scaling Exponents16 Sep 2026
- 2026Sparsely gated tiny linear experts5 Jun 2026
- 2026EUGens: Efficient, Unified, and General Dense Layers30 Jan 2026
- 2025Calibrating and Rotating: A Unified Framework for Weight Conditioning in PEFT28 Oct 2025
- 2025Customizing the Inductive Biases of Softmax Attention using Structured Matrices9 Sep 2025
- 2025On Information Geometry and Iterative Optimization in Model Compression: Operator Factorization12 Jul 2025
- 2025Scaling Probabilistic Circuits via Monarch Matrices14 Jun 2025
- 2025NdLinear: Preserving Multi-Dimensional Structure for Parameter-Efficient Neural Networks21 Mar 2025
- 2025Deep Learning is Not So Mysterious or Different3 Mar 2025
- 2025Position: Curvature Matrices Should Be Democratized via Linear Operators31 Jan 2025
- 2024EUGens: Efficient, Unified, and General Dense Layers13 Oct 2024
Similar, not cited
Close in wording, no citation either way
- 2023Deep Tensor Network
- 2026EinSort: Sorting is All We Need for Tensorizing LLM
- 2023Fast, Differentiable and Sparse Top-k: a Convex Analysis Perspective
- 2025Domain-Aware Tensor Network Structure Search
- 2026Neural Quadratic Forms: A Unified Minimal Model for Sudden Learning and Scaling Laws
- 2026Symmetry-Compatible Principle for Optimizer Design: Embeddings, LM Heads, SwiGLU MLPs, and MoE Routers
- 2025On Linear Mode Connectivity of Mixture-of-Experts Architectures
- 2026Algorithmic algorithm development with LLMs: A Case Study on LLM-Usage for Contraction Order Optimization in Tensor Networks