arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2602.12601cs.LGcs.AIcs.CLstat.ML
收藏

HyperMLP:序列建模的统一视角

HyperMLP: An Integrated Perspective for Sequence Modeling

Georgia Institute of Technology, Atlanta, US(佐治亚理工学院)

Jiecheng Lu, Shihao Yang

AI总结:

HyperMLP和HyperGLU通过动态混合机制在特征空间和序列空间中实现统一的自回归注意力建模,优于传统softmax-注意力基线。

摘要:

自注意力机制常被视为概率性查询-键查找,这推动了保持归一化注意力分数和固定位置语义的设计。我们倡导一种更简单且更统一的视角:自回归注意力头可以被视为一个动态的两层MLP,其权重由上下文历史实例化。从这一视角出发,注意力分数形成一个持续增长的隐藏表示,标准MLP激活函数如ReLU或GLU自然地实现了对上下文依赖的记忆池的输入条件选择,而非概率分布。基于这一形式,我们引入了HyperMLP和HyperGLU,通过反向偏移(滞后)布局对齐时间混合与自回归语义,在特征空间和序列空间中学习动态混合。我们提供了这种结构的表达性和意义的理论刻画,并实验证明HyperMLP/HyperGLU在匹配参数预算下始终优于强大的softmax-注意力基线。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑