English

HyperMLP: An Integrated Perspective for Sequence Modeling

Machine Learning 2026-02-16 v1 Artificial Intelligence Computation and Language Machine Learning

Abstract

Self-attention is often viewed as probabilistic query-key lookup, motivating designs that preserve normalized attention scores and fixed positional semantics. We advocate a simpler and more unified perspective: an autoregressive attention head can be viewed as a dynamic two-layer MLP whose weights are instantiated from the context history. From this view, attention scores form an ever-growing hidden representation, and standard MLP activations such as ReLU or GLU naturally implement input-conditioned selection over a context-dependent memory pool rather than a probability distribution. Based on this formulation, we introduce HyperMLP and HyperGLU, which learn dynamic mixing in both feature space and sequence space, using a reverse-offset (lag) layout to align temporal mixing with autoregressive semantics. We provide theoretical characterizations of the expressivity and implications of this structure, and empirically show that HyperMLP/HyperGLU consistently outperform strong softmax-attention baselines under matched parameter budgets.

Keywords

Cite

@article{arxiv.2602.12601,
  title  = {HyperMLP: An Integrated Perspective for Sequence Modeling},
  author = {Jiecheng Lu and Shihao Yang},
  journal= {arXiv preprint arXiv:2602.12601},
  year   = {2026}
}
R2 v1 2026-07-01T10:34:47.902Z