atlas

Research map / Architectures and efficiency / RNNs and normalization

Alternating Gradient Flows: A Theory of Feature Learning in Two-layer Neural Networks

NeurIPS 2025 · Architectures and efficiency › RNNs and normalization · approach: Theory of depth and width · 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.

Introduces Alternating Gradient Flows (AGF), a two-step utility-maximization/cost-minimization approximation of small-initialization gradient flow in two-layer networks that predicts saddle-to-saddle loss drops across linear, transformer, and modular-addition settings.

Problem

Feature learning in two-layer networks trained from small initialization exhibits staircase-like saddle-to-saddle loss curves; there is no unified theory predicting the order, timing, and magnitude of the feature-learning drops.

Approach

Approximate small-init gradient flow by alternating between maximizing a utility over dormant neurons (projected gradient on the unit sphere, tracking accumulated utility to find the jump time) and minimizing the loss over active neurons; each iteration activates one neuron and yields a loss drop. The framework is proven to match gradient flow in diagonal linear networks and recovers known greedy

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use AGF to predict gradient-flow dynamics as initialization scale decreasesDiagonal linear networks · Diagonal linear network trainingtrajectory agreementHelped
Use AGF to predict feature-learning dynamicsTwo-layer quadratic network · Modular addition, p = 20dynamics agreementHelped
Train from small initialization with numerical AGF predictionsTwo-layer ReLU network · Subset of CIFAR-10loss-curve agreementMixed
Increase hidden width (ablation)Two-layer ReLU network with AGF · Subset of CIFAR-10loss-curve agreementHurt
Learn Fourier components sequentially, dominant frequencies firstTwo-layer quadratic network · Modular addition, p = 20frequency acquisition orderHelped
Apply AGF to fully connected linear networksTwo-layer fully connected linear network · Gaussian inputs with power-law covariancesingular-value dynamics agreementHelped
Apply AGF to an attention-only linear transformerAttention-only linear transformer · Linear regression in contextdynamics agreementHelped

Surprising findings

Limitations

Experimental setup

Datasets: synthetic linear regression data modular addition (p=20) with cosine-wave encoding subset of CIFAR-10

Benchmarks: modular addition (p=20) CIFAR-10 subset

Metrics: training loss singular value dynamics power spectrum over time jump times

Baselines: gradient flow gradient descent Greedy Low-Rank Learning Algorithm 1 of Pesme and Flammarion (path-following)

Builds on: greedy low-rank learning saddle-to-saddle dynamics of diagonal linear networks Mean-field / maximal update parameterization

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