atlas

Research map / Architectures and efficiency / RNNs and normalization

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

NeurIPS 2024 · Architectures and efficiency › RNNs and normalization · approach: Efficient network compression and training · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Searches a continuous space of Einsum-expressible structured linear layers, characterizes them by parameter sharing, rank, and compute intensity, and proposes BTT-MoE, a per-layer sparse mixture of full-rank BTT experts that gives ~5x compute savings over dense GPT-2.

Problem

Dense linear layers dominate compute in large models, but prior structured-matrix alternatives were shown to help only in multi-epoch or fixed-model-size settings, not under compute-optimal scaling laws.

Approach

Parameterize all two-factor Einsum linear operators by a 7-dim continuous vector theta, derive three taxonomy exponents (omega for parameter sharing, psi for rank, nu for compute intensity), and show that omega=0 and psi=1 (full-rank BTT) govern compute-optimal scaling; then sparsify the BTT rank sum into a per-layer MoE.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace dense linear layers with BTT-MoE using 16 expertsGPT-2 · GPT-2 language modelingcompute multiplier: 5.3_{\pm0.3}Helped
Use BTT-MoE rather than standard MoE over entire FFNsGPT-2 · GPT-2 language modelingcompute multiplier: 5.3_{\pm0.3} compared to 4.1_{\pm0.3}Helped
Use attention-head-aware BTT axesBTT layers in GPT-2 · GPT-2 language modelingcompute efficiency: 17\%Helped
Use low-rank matrices as the sparse MoE experts instead of BTT (ablation)Structured MoE · GPT-2 language modelingcompute multiplier: \sim2\timesHurt
Use dense matrices as the sparse MoE experts instead of BTT (ablation)Structured MoE · GPT-2 language modelingcompute multiplier: \sim2\timesHurt
Use Einsums with parameter sharing (larger ω)GPT-2 with structured linear layers · OpenWebTextcompute-optimal scaling performanceHurt
Use full-rank Einsums instead of low-rank EinsumsGPT-2 with structured linear layers · OpenWebTextcompute-optimal scaling performanceHelped
Vary compute intensity ν among full-rank, non-sharing structuresGPT-2 with structured linear layers · OpenWebTextcompute-optimal scaling performanceNo clear effect
Use BTT with ν=0.75 rather than Monarch with ν=0.5Autoregressive pixel modeling · CIFAR-5Mcompute-optimal scaling performanceHelped
Use μP initialization and width/structure-scaled learning rates instead of unit-variance initialization and a global learning rateEinsum layers · CIFAR-10test errorHelped

Surprising findings

Limitations

Experimental setup

Datasets: OpenWebText CIFAR-5M

Benchmarks: OpenWebText language modeling loss CIFAR-5M pixel modeling synthetic MLP regression

Metrics: cross-entropy loss compute multiplier MSE

Baselines: dense GPT-2 standard MoE low-rank-MoE dense-MoE Monarch Block Tensor-Train

Builds on: Block Tensor-Train Monarch muP Tensor-Train load-balancing MoE

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy