Activation-Keyed Momentum: An Anisotropic Momentum Update via the Delta Rule

Euijin Hong, Guannan QuNeurIPS 2026

TL;DR

Almost every modern deep learning optimizer—from SGD to AdamW to Muon—builds its momentum using a simple exponential moving average that forgets all gradient directions at the exact same fixed rate. By treating the momentum buffer like an associative memory and updating it with the classic delta rule, Activation-Keyed Momentum (AK-Momentum) forgets frequent input directions fast and holds onto rare directions longer. Dropping it into AdamW cuts pretraining steps by up to 46% on language models with zero extra persistent memory overhead.

What Problem Does This Paper Address?

Imagine trying to navigate a landscape where a few highways are packed with constant traffic, while thousands of quiet backroads are visited once a week. Neural network training looks a lot like this—the inputs a layer sees are anisotropic (skewed heavily toward a few dominant directions, with a long tail of rare ones).

Underneath the hood of almost every modern optimizer sits an Exponential Moving Average (EMA) momentum buffer. EMA averages past gradients as flat matrices, fading every direction at one uniform rate $\beta$. This single rate fails at both extremes:

  • Along frequent directions, fresh gradients arrive constantly, so hanging onto old, stale gradients slows down adaptation.
  • Along rare directions, you want long-term averaging to smooth out noise, yet EMA lets those signals fade away before the next update even arrives.

Advanced optimizers like Shampoo, SOAP, and Muon try to fix this lopsidedness by wrapping expensive preconditioning math around the momentum buffer, leaving the flawed EMA accumulator untouched. This paper asks: what if we fix the momentum update itself?

Methods

In any linear layer, a single sample’s gradient naturally splits into two pieces—an outer product of the incoming activation ($x_t$) and the backpropagated output error ($\delta_t$). You can think of $x_t$ as a key (an address in input space) and $\delta_t$ as a value (the correction to store there). EMA flattens this product and throws away the address book.

Instead, AK-Momentum treats the momentum matrix $M$ as an online key-value memory and updates it using Widrow and Hoff's classical delta rule (the same associative-memory trick powering modern linear-attention sequence models):

$$M_t = \beta M_{t-1} + \eta (\delta_t - M_{t-1}\hat{x}_t)\hat{x}_t^\top$$

Here is what is novel versus standard:

  • Data-dependent forgetting: Instead of blindly adding the new gradient, AK-Momentum checks what the buffer currently predicts along the normalized input direction $\hat{x}_t$, erases the stale component along that exact direction, and writes the new error $\delta_t$. Directions queried often are refreshed fast; orthogonal, unqueried directions gently decay at the standard EMA rate $\beta$.
  • Normalized keys for scale transfer: Using normalized input activations ($\hat{x}_t$) makes the new step-size coefficient $\eta$ width-invariant under Maximal Update Parameterization ($\mu$P). Tune $\eta$ once on a tiny model, and transfer it zero-shot to a billion-parameter run.
  • Drop-in modularity: AK-Momentum only replaces the first-moment buffer. Weight decay, Adam's second-moment buffer, or outer preconditioners remain completely unchanged, adding zero persistent optimizer-state memory.

Datasets

The authors evaluate AK-Momentum on two established benchmarks (no new datasets are introduced):

  • FineWeb-Edu: Used for pretraining Llama-2-style language models at 67M, 370M (10B tokens each), and 1B parameters (20B tokens, a Chinchilla-optimal budget).
  • CIFAR-10: Used to test cross-architecture and cross-optimizer generality with a 3-layer MLP, ResNet-18, and ViT-Tiny.

Key Insights and Ideas

  • Curvature correction without matrix inversion: Fancy second-order optimizers like K-FAC invert a layer's input covariance matrix to precondition gradients. AK-Momentum’s steady-state fixed point implicitly converges to a Tikhonov-regularized version of this exact input-side whitening—achieved via cheap rank-1 updates instead of matrix inversions.
Table 1: Three estimator targets and their per-direction scaling of ¯Gui in the eigenbasis of Σx. The Tikhonov ridge is µ = (1 −β)/η.
  • Two different online games: Standard EMA performs online gradient descent in weight space (estimating the raw mean gradient $\bar{G}$). AK-Momentum performs online gradient descent in function space, training the momentum buffer itself to predict the output error $\delta$ from the input $x$.
  • Faster tracking of a moving target: Because neural network weights constantly shift during training, yesterday's optimal gradient direction goes stale. The authors prove AK-Momentum contracts tracking error strictly faster than EMA along every active input direction—without assuming a convex loss landscape.
  • Healthier internal representations: Mechanistic probes during training confirm that AK-AdamW keeps the momentum buffer better aligned with true gradients and prevents the layer inputs themselves from collapsing into a few dominant directions (maintaining lower condition numbers and higher effective rank).

Key Results

Replacing AdamW's momentum with AK-Momentum (AK-AdamW) yields clear wins across scales, even after accounting for compute overhead:

Validation loss vs. optimizer step on FineWeb-Edu across 67M, 370M, and 1B scales
  • Step reductions on FineWeb-Edu: AK-AdamW reaches AdamW’s validation loss in up to 46.64% fewer steps at 67M, 22.14% fewer steps at 370M, and 19.37% fewer steps at 1B (with hyperparameters transferred directly from 67M without re-tuning).
  • Real wall-clock & FLOP savings: The extra matrix math adds 10.0%, 15.5%, and 18.1% per-step FLOPs at 67M, 370M, and 1B, respectively. Because the step savings easily outpace this cost, AK-AdamW saves 32.0% wall-clock time (35.1% FLOPs) on average at 67M, and 4.0% wall-clock time (5.6% FLOPs, peaking at 9.4%) past the early-training crossover at 370M.
  • Outperforming Muon: Under the exact same hyperparameter tuning protocol, AK-AdamW achieves lower validation loss than a tuned Muon baseline by 0.120 nats (67M) and 0.109 nats (370M).
  • Vision & SGD generality: On CIFAR-10, AK-SGD beats standard SGD-momentum on MLPs, and AK-AdamW reduces training loss over AdamW by an average of 25.1% on ViT-Tiny and 11.1% on ResNet-18.

Limitations and Future Work

  • Scale and domain scope: Experiments top out at 1B-parameter language models and CIFAR-10 image classifiers; massive frontier scales, image generation, and reinforcement learning remain untested.
  • Rising overhead with width: Realized per-step FLOP overhead climbs with model width (from 10.0% at 67M to 18.1% at 1B, asymptotically approaching a theoretical 22.2%–25.0% block-level band), narrowing net wall-clock margins at larger scales.
  • Untested combinations: While AK-Momentum theoretically composes with outer preconditioners like Muon, Shampoo, and SOAP, actually testing those hybrid optimizers—along with multimodal runs and head-to-head ablations against gradient-keyed memory rules—is left for future work.

Summary updated

BibTeX
@inproceedings{hong2026activation,
  author = {Euijin Hong and Guannan Qu},
  title = {{Activation-Keyed Momentum: An Anisotropic Momentum Update via the Delta Rule}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=bXrZIgeNoe},
}
Figure