paper-with-me

홈 › Papers

Higher-order Linear Attention

2025-10-31 · Yifan Zhang, Zhen Qin, Mengdi Wang, Quanquan Gu arxiv

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.

📄 PDF Abstract BibTeX arXiv:2510.27258

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Towards Joint Intent Detection and Slot Filling via Higher-order Attention

2021-09-18 · Dongsheng Chen, Zhiqi Huang, Xian Wu, Shen Ge 외

Intent detection (ID) and Slot filling (SF) are two major tasks in spoken language understanding (SLU). Recently, attention mechanism has been shown to be effective in jointly optimizing these two tasks in an interactive…

Intent Detectionslot-fillingSlot FillingSpoken Language Understanding

HAN: Higher-order Attention Network for Spoken Language Understanding

2021-08-26 · Dongsheng Chen, Zhiqi Huang, Yuexian Zou

Spoken Language Understanding (SLU), including intent detection and slot filling, is a core component in human-computer interaction. The natural attributes of the relationship among the two subtasks make higher requireme…

Intent Detectionslot-fillingSlot FillingSpoken Language Understanding

X-Linear Attention Networks for Image Captioning

2020-03-31 · CVPR 2020 6 · Yingwei Pan, Ting Yao, Yehao Li, Tao Mei

Recent progress on fine-grained visual recognition and visual question answering has featured Bilinear Pooling, which effectively models the 2$^{nd}$ order interactions across multi-modal inputs. Nevertheless, there has …

DecoderFine-Grained Visual RecognitionImage CaptioningQuestion Answering+3

Higher Order Linear Transformer

2020-10-28 · Jean Mercat

Following up on the linear transformer part of the article from Katharopoulos et al., that takes this idea from Shen et al., the trick that produces a linear complexity for the attention mechanism is re-used and extended…

Bilinear Attention Networks for Person Retrieval

2019-10-01 · ICCV 2019 10 · Pengfei Fang, Jieming Zhou, Soumava Kumar Roy, Lars Petersson 외

This paper investigates a novel Bilinear attention (Bi-attention) block, which discovers and uses second order statistical information in an input feature map, for the purpose of person retrieval. The Bi-attention block …

Person RetrievalRetrieval