跳到正文
arXiv:cs.LG· Rui Wang·· 7 小时前AI 评分37

Variational-Ising-Attention:为科学任务量身定制的注意力机制

Variational-Ising-Attention:Tailored Attention Matters for Science

AI 导读

研究者提出 Variational-Ising-Attention(VIA),在 softmax 归一化基础上引入相互作用的 Ising 模型,通过变分平均场推断从可学习的成对耦合中生成注意力模式,将注意力从孤立项目的排序扩展为相互作用实体的集体状态。

正文

View PDF HTML (experimental)

Abstract:Attention enables context modeling via query-key scoring with softmax normalization. Driven by industrial long-context demands, mainstream research has converged toward sparsity and efficiency, yet softmax's independence assumption persists. For scientific tasks unburdened by long-token constraints, however, richer structured coupling may often be essential, making tailored attention both viable and more appropriate. To this end, we propose Variational-Ising-Attention (VIA), which augments softmax normalization with an interacting Ising model; attention patterns emerge from learnable pairwise couplings via variational mean-field inference, extending attention from a ranking over isolated items to a collective state over interacting entities. We instantiate VIA on retrosynthesis reaction center prediction and, as a controlled internal ablation, on protein residue contact prediction, two structured prediction tasks governed by cooperative constraints: cooperative bond-breaking for retrosynthesis and inter-residue interactions for protein contact prediction. Comprehensive experiments across model variants, coupled with mechanistic analyses, demonstrate that VIA substantially outperforms standard softmax attention. More broadly, our findings suggest that for scientific problems, the optimal solution is not general-purpose efficiency, but appropriately tailored attention aligned with intrinsic domain structure. This work provides a theoretically grounded and empirically validated instantiation of this paradigm.
Comments: 24 pages, ~30 figures
Subjects: Machine Learning (cs.LG); Artificial Intelligence (cs.AI); Chemical Physics (physics.chem-ph)
MSC classes: 68T07, 68T05, 82B20, 92E10
ACM classes: I.2.6; I.2.8; J.3; G.3
Cite as: arXiv:2607.23634 [cs.LG]
  (or arXiv:2607.23634v2 [cs.LG] for this version)
  https://doi.org/10.48550/arXiv.2607.23634

arXiv-issued DOI via DataCite

Submission history

From: Rui Wang [view email]
[v1] Sun, 26 Jul 2026 12:44:36 UTC (9,309 KB)
[v2] Mon, 5 Oct 2026 23:24:22 UTC (10,699 KB)

来源:arXiv:cs.LG · arxiv.org