atlas

Research map / Architectures and efficiency / Attention and transformers

Linear Transformers Implicitly Discover Unified Numerical Algorithms

NeurIPS 2025 · Architectures and efficiency › Attention and transformers · approach: Transformer expressivity and learnability · 0 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.

Trains a linear attention-only transformer on masked-block low-rank matrix completion and extracts a parameter-free iterative solver (EAGLE) that works across centralized, distributed, and sketched regimes.

Problem

Whether transformers trained only to fill missing blocks of low-rank matrices implicitly discover numerical algorithms (Nyström extrapolation / least squares) that adapt to different computational constraints.

Approach

Train a linear, attention-only transformer on masked-block completion under three architectural visibility/rank constraints, then algebraically extract the same two-line parameter-free update (EAGLE), a Newton-Schulz-like conditioning loop wrapped around direct prediction, rather than interpreting it as preconditioned gradient descent.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use EAGLE instead of Conjugate Gradientcentralized solver · Centralized setting, κ=10⁴iterations: ∼ 100× fewer iterationsHelped
Use EAGLE instead of Gradient Descentdistributed solver · Distributed settingcommunication rounds: 10–100× more roundsHelped
Add sketching to the EAGLE updateEAGLE · Computation-limited setting, κ=10⁴wall-clock time to ε=10⁻⁶: roughly one third the wall-clockHelped
Reduce sketch size from s=240 to s=30 (ablation)EAGLE with sketching · Computation-limited settingper-iteration wall-clock time: 21, 16, 7 and 5 millisecondsHelped
Reduce sketch rank r (ablation)EAGLE with sketching · Computation-limited settingiteration count: linearly with n/rHurt
Prune attention heads from eight to one (ablation)unconstrained trained transformer · Matrix completion test settest MSENo clear effect
Freeze updates to Aᵘ and Bᵘ after per-machine conditioning converges (ablation)distributed EAGLE · Distributed settingwall-clock runtimeHelped
Freeze updates to Aᵘ and Bᵘ after per-machine conditioning converges (ablation)distributed EAGLE · Distributed settingiteration countNo clear effect
Train with modest data noise (σ²=0.01) (ablation)linear attention transformer · Masked-block completion across computational settingsemergent algorithm behaviorNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: synthetic low-rank matrices with anisotropic Gaussian factors

Benchmarks: synthetic low-rank matrix completion (Nyström extrapolation) distributed M/alpha sweeps sketch-rank sweeps

Metrics: squared Frobenius error iterations to tolerance wall-clock time per iteration

Baselines: QR-based least squares (torch.linalg.lstsq) Conjugate Gradient gradient descent SGD RandSketch+CG GD++ (preconditioned GD)

Builds on: Newton-Schulz method in-context learning as gradient descent Nyström approximation linear attention transformer

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