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

Curve Your Attention: 用于图表表示学习的混合曲率Transformer

Curve Your Attention: Mixed-Curvature Transformers for Graph Representation Learning

LG AI Research(LG人工智能研究院);POSTECH(浦项科技大学);University of Illinois Chicago(伊利诺伊大学芝加哥分校)

Sungjun Cho, Seunghyuk Cho, Sungwoo Park, Hankook Lee, Honglak Lee, Moontae Lee

AI总结:

提出Fully Product-Stereographic Transformer,将Transformer推广至常曲率空间乘积上,通过端到端学习图曲率并利用核化非欧几里得注意力实现线性时空开销,在图重建与节点分类任务上展现优势。

摘要:

现实世界的图天然地呈现出不适合典型欧几里得空间的层次或循环结构。虽然现有的图神经网络利用双曲或球面空间来学习能更准确嵌入此类结构的表示,但这些方法受限于消息传递范式,使得模型容易受到过度平滑和过度挤压等副作用的影响。最近的工作提出了基于全局注意力的图Transformer,能够轻松建模长程交互,但它们向非欧几里得几何的扩展尚未被探索。为了弥合这一差距,我们提出了Fully Product-Stereographic Transformer,将Transformer推广到完全在常曲率空间的乘积上运行。当与tokenized graph Transformers结合时,我们的模型能够以端到端的方式学习适合输入图的曲率,而无需针对不同的曲率初始化进行额外调优。我们还提供了一种非欧几里得注意力的核化方法,使模型在运行时间和内存成本上与节点和边的数量呈线性关系,同时尊重底层几何。图重建和节点分类实验证明了将Transformer推广到非欧几里得域的益处。

英文摘要:

Real-world graphs naturally exhibit hierarchical or cyclical structures that are unfit for the typical Euclidean space. While there exist graph neural networks that leverage hyperbolic or spherical spaces to learn representations that embed such structures more accurately, these methods are confined under the message-passing paradigm, making the models vulnerable against side-effects such as oversmoothing and oversquashing. More recent work have proposed global attention-based graph Transformers that can easily model long-range interactions, but their extensions towards non-Euclidean geometry are yet unexplored. To bridge this gap, we propose Fully Product-Stereographic Transformer, a generalization of Transformers towards operating entirely on the product of constant curvature spaces. When combined with tokenized graph Transformers, our model can learn the curvature appropriate for the input graph in an end-to-end fashion, without the need of additional tuning on different curvature initializations. We also provide a kernelized approach to non-Euclidean attention, which enables our model to run in time and memory cost linear to the number of nodes and edges while respecting the underlying geometry. Experiments on graph reconstruction and node classification demonstrate the benefits of generalizing Transformers to the non-Euclidean domain.

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

↑