Lune

NeurIPS2024顶会

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

Andres Potapczynski, Shikai Qiu, Marc Finzi, Christopher Ferri, Charlie Chen, Micah Goldblum, C. Bayan Bruss, Christopher De Sa, Andrew Gordon Wilson

摘要

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 ω\omega (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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture 引用了 Language Models are Few-Shot Learners
  • ReLoRA: High-Rank Training Through Low-Rank Updates 引用了 Language Models are Few-Shot Learners
  • Customizing the Inductive Biases of Softmax Attention using Structured Matrices 引用了 Compute Better Spent: Replacing Dense Layers with Structured Matrices
  • Calibrating and Rotating: A Unified Framework for Weight Conditioning in PEFT 引用了 ReLoRA: High-Rank Training Through Low-Rank Updates
  • Scaling Probabilistic Circuits via Monarch Matrices 引用了 Compute Better Spent: Replacing Dense Layers with Structured Matrices
  • Compute Better Spent: Replacing Dense Layers with Structured Matrices 引用了 Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture
  • Compute Better Spent: Replacing Dense Layers with Structured Matrices 引用了 ReLoRA: High-Rank Training Through Low-Rank Updates
  • Compute Better Spent: Replacing Dense Layers with Structured Matrices 引用了 Language Models are Few-Shot Learners
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. Calibrating and Rotating: A Unified Framework for Weight Conditioning in PEFTDa Chang, Peng Xue, Yu Li, Yongxiang Liu 等AAAI 2026 · 2 次引用
  2. EUGens: Efficient, Unified and General Dense LayersSang Min Kim, Byeongchan Kim, Arijit Sehanobish, Somnath Basu Roy Chowdhury 等NeurIPS 2025 · 1 次引用
  3. Customizing the Inductive Biases of Softmax Attention using Structured MatricesYilun Kuang, Noah Amsel, Sanae Lotfi, Shikai Qiu 等ICML 2025
  4. Scaling Probabilistic Circuits via Monarch MatricesHonghua Zhang, Meihua Dang, Benjie Wang, Stefano Ermon 等ICML 2025
  5. Understanding and Relaxing the Limitations of Transformers for Linear AlgebraAndres Potapczynski, Alex Ali, Andrew Gordon WilsonICLR 2026

它引用的 Paper7

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. ReLoRA: High-Rank Training Through Low-Rank UpdatesVladislav Lialin, Sherin Muckatira, Namrata Shivagunde, Anna RumshiskyICLR 2024 · 214 次引用
  3. Monarch Mixer: A Simple Sub-Quadratic GEMM-Based ArchitectureDaniel Y. Fu, Simran Arora, Jessica Grogan, Isys Johnson 等NeurIPS 2023 · 80 次引用
  4. The Deep Bootstrap Framework: Good Online Learners are Good Offline GeneralizersPreetum Nakkiran, Behnam Neyshabur, Hanie SedghiICLR 2021 · 75 次引用
  5. Compute Better Spent: Replacing Dense Layers with Structured MatricesShikai Qiu, Andres Potapczynski, Marc Anton Finzi, Micah Goldblum 等ICML 2024 · 26 次引用

相关 Paper

  1. FasterMoE: modeling and optimizing training of large-scale dynamic pre-trained modelsJiaao He, Jidong Zhai, Tiago Antunes, Haojie Wang 等PPoPP 2022 · 97 次引用
  2. MoEUT: Mixture-of-Experts Universal TransformersRóbert Csordás, Kazuki Irie, Jürgen Schmidhuber, Christopher Potts 等NeurIPS 2024 · 65 次引用
  3. FlowMoE: A Scalable Pipeline Scheduling Framework for Distributed Mixture-of-Experts TrainingYunqi Gao, Bing Hu, Mahdi Boloursaz Mashhadi, A-Long Jin 等NeurIPS 2025 · 6 次引用
  4. TT-LoRA MoE: Using Parameter-Efficient Fine-Tuning and Sparse Mixture-Of-ExpertsPradip Kunwar, Minh N. Vu, Maanak Gupta, Mahmoud Abdelsalam 等SC 2025 · 1 次引用
  5. Towards A Unified View of Sparse Feed-Forward Network in Pretraining Large Language ModelZeyu Liu, Tim Dettmers, Xi Lin, Veselin Stoyanov 等EMNLP 2023 · 3 次引用
黄昏的海面,两侧是细线勾勒的悬崖