SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2605.05838 · ICML · 2026

MDN: Parallelizing Stepwise Momentum for Delta Linear Attention

Zeke Xie, Yulong Huang, Xiaopeng Lin, Bojun Cheng, Xiang Liu, Xiaowen Chu, Zunchang Liu, Hongxiang Huang

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 7 functions out of this paper's own repositories and ran 6 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
HuuYuLong/MomentumDeltaNet canonical 6 of 7
FunctionStatusWhere it lives
get_checkpoint_filename Ran HuuYuLong/MomentumDeltaNet/flash-linear-attention/evals/pre_token_loss.py
pointer only (licence: NONE) · get_code("0845298160feaa9f")
get_model Ran HuuYuLong/MomentumDeltaNet/flame/flame/models/parallelize_fla.py
pointer only (licence: NONE) · get_code("436ce5c834612dd2")
get_step_from_filename Ran HuuYuLong/MomentumDeltaNet/flash-linear-attention/evals/pre_token_loss.py
pointer only (licence: NONE) · get_code("a0c03868385003bf")
load_checkpoint Ran HuuYuLong/MomentumDeltaNet/flash-linear-attention/evals/pre_token_loss.py
pointer only (licence: NONE) · get_code("b61c7ce61156f874")
rescale_accumulated_loss Ran HuuYuLong/MomentumDeltaNet/flame/torchtitan/components/loss.py
pointer only (licence: NONE) · get_code("8f1d706c161e16ba")
string_list Ran HuuYuLong/MomentumDeltaNet/flame/flame/config_manager.py
pointer only (licence: NONE) · get_code("228f14f717999326")
cross_entropy_loss Not yet run HuuYuLong/MomentumDeltaNet/flame/torchtitan/components/loss.py
pointer only (licence: NONE) · get_code("e0b6e383f758e9a0")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Linear Attention (LA) offers a promising paradigm for scaling large language models (LLMs) to long sequences by avoiding the quadratic complexity of self-attention. Recent LA models such as Mamba2 and GDN interpret linear recurrences as closed-form online stochastic gradient descent (SGD), but naive SGD updates suffer from rapid information decay and suboptimal convergence in optimization. While momentum-based optimizers provide a natural remedy, they pose challenges in simultaneously achieving training efficiency and effectiveness. To address this, we develop a chunkwise parallel algorithm for LA with a stepwise momentum rule by geometrically reordering the update coefficients. Further, from a dynamical systems perspective, we analyze the momentum-based recurrence as a second-order system that introduces complex conjugate eigenvalues. This analysis guides the design of stable gating constraints. The resulting model, Momentum DeltaNet (MDN), leverages Triton kernels to achieve comparable training throughput with competitive linear models such as Mamba2 and KDA. Extensive experiments on the 400M and 1.3B parameter models demonstrate consistent performance improvements over strong baselines, including Transformers, Mamba2 and GDN, across diverse downstream evaluation benchmarks. Code: github.com/HuuYuLong/MomentumDeltaNet.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2605.05838")
get_code_for_paper("2605.05838")
have("2605.05838")

Connect an agent — have() is free.