About
Official Project Page for HLA: Higher-order Linear Attention (https://arxiv.org/abs/2510.27258)
AI & Machine LearningMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalHLA: Higher-order Linear Attention
Higher-order Linear Attention
A causal, streaming linear attention mechanism that realizes higher‑order interactions via compact prefix statistics, with exact masked identities and associative scans enabling parallel training that matches recurrent computations.
Authors: Yifan Zhang, Zhen Qin, Mengdi Wang, Quanquan Gu
[Webpage]
Abstract
The quadratic cost of scaled dot-product attention is a central obstacle to scaling autoregressive language models to long contexts. Linear-time attention and State Space Models (SSMs) provide scalable alternatives but are typically restricted to first-order or kernel-based approximations, which can limit expressivity. We introduce Higher-order Linear Attention (HLA), a causal, streaming mechanism that realizes higher interactions via compact prefix sufficient statistics. In the second-order case, HLA maintains a constant-size state and computes per-token outputs in linear time without materializing any $n \times n$ matrices. We give closed-form streaming identities, a strictly causal masked variant using two additional summaries, and a chunk-parallel training scheme based on associative scans that reproduces the activations of a serial recurrence exactly. We further outline extensions to third and higher orders. Collectively, these results position HLA as a principled, scalable building block that combines attention-like, data-dependent mixing with the efficiency of modern recurrent architectures.
Citation
@article{zhang2025higher,
title = {Higher-order Linear Attention},
author = {Zhang, Yifan and Qin, Zhen and Wang, Mengdi and Gu, Quanquan},
journal = {arXiv preprint arXiv:2510.27258},
year = {2025}
}
Explore related projects
Loading…