arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.09111cs.LGcs.AI
收藏

源自扩散的Transformer:神经消息传递的统一框架

Transformers from Diffusion: A Unified Framework for Neural Message Passing

Broad Institute of MIT and Harvard(麻省理工学院和哈佛大学布罗德研究所);Amazon Web Services AI Lab(亚马逊云服务AI实验室);Shanghai Jiao Tong University(上海交通大学)

Qitian Wu, David Wipf, Junchi Yan

AI总结:

本文提出能量约束扩散模型,统一了MLPs、GNNs和Transformers等消息传递架构,并据此设计DIFFormer,在多种结构观测条件下取得优异性能。

摘要:

为具有特定几何结构(例如已观测或未观测)的结构化数据学习表示是一项根本性挑战,其中消息传递神经网络(MPNNs)已成为事实上的模型解决方案类别。在本文中,受物理系统启发,我们提出了一种能量约束扩散模型,该模型将流形上扩散的归纳偏置与逐层能量最小化约束相结合。我们发现,扩散算子与扩散过程隐式下降的能量函数之间存在一一对应关系,而用于求解能量约束扩散系统的有限差分迭代诱导出在已观测或潜在结构上运行的各种类型MPNNs的传播层。这为常见神经架构提供了一个统一的数学框架,其计算流可以被视为消息传递(或其特例),包括MLPs、GNNs和Transformers。基于这些见解,我们设计了一类新的神经消息传递模型,称为扩散启发的Transformer(DIFFormer),其全局注意力层源自具有原则性的能量约束扩散框架。在从真实世界网络到图像、文本和物理粒子的多样化数据集上,我们证明了新模型在数据结构已观测(作为图)、部分观测或完全未观测的场景中均取得了有前景的性能。

英文摘要:

Learning representations for structured data with certain geometries (e.g., observed or unobserved) is a fundamental challenge, wherein message passing neural networks (MPNNs) have become a de facto class of model solutions. In this paper, inspired by physical systems, we propose an energy-constrained diffusion model, which integrates the inductive bias of diffusion on manifolds with layer-wise constraints of energy minimization. We identify that the diffusion operators have a one-to-one correspondence with the energy functions implicitly descended by the diffusion process, and the finite-difference iteration for solving the energy-constrained diffusion system induces the propagation layers of various types of MPNNs operating on observed or latent structures. This leads to a unified mathematical framework for common neural architectures whose computational flows can be cast as message passing (or its special case), including MLPs, GNNs, and Transformers. Building on these insights, we devise a new class of neural message passing models, dubbed diffusion-inspired Transformers (DIFFormer), whose global attention layers are derived from the principled energy-constrained diffusion framework. Across diverse datasets ranging from real-world networks to images, texts, and physical particles, we demonstrate that the new model achieves promising performance in scenarios where the data structures are observed (as a graph), partially observed, or entirely unobserved.

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

↑