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

通信启发的图位置编码 (CIPE)

Communicability-Inspired Positional Encoding (CIPE)

Division of Mathematical Sciences, School of Physical and Mathematical Sciences, Nanyang Technological University(南洋理工大学物理与数学科学学院数学科学部);School of Computing, University of Kent(肯特大学计算机学院);Department of Computer Science and Technology, University of Cambridge(剑桥大学计算机科学与技术系)

Yipeng Zhang, Zhongtian Sun, Pietro Liò, Kelin Xia

AI总结:

提出通信启发的图位置编码(CIPE),利用节点间通信性定义注意力兼容的几何结构,通过维度对齐实现高效Transformer训练,在七个基准上平均提升35.5%。

摘要:

位置编码(PEs)对Transformer至关重要。然而,为非欧几里得图设计有效的PEs仍然具有挑战性。理想情况下,这种编码应诱导出自注意力机制的注意力兼容几何:不仅描述图结构,还要定义一个几何,其内积反映有意义的结构相关性。为实现这一几何,我们提出了通信启发的图位置编码(CIPE),它基于通信性构建,通信性是一种节点对之间的度量,聚合了所有长度路径的贡献。通过构造,CIPE内积恢复通信性,将全局多路径连通性转换为注意力就绪的相似性几何。对于实际的Transformer训练,我们引入了维度对齐,将依赖于图大小的CIPE表示映射到指定维度,同时忠实保留诱导的几何。实验表明,CIPE在七个基准上平均将结构无关的Transformer提升了35.5%,优于代表性PEs;它还一致地改进了结构偏置的图Transformer,而竞争性PEs往往仅带来边际收益。这些结果将CIPE定位为注意力兼容图位置编码的一个原则性框架。

英文摘要:

Positional encodings (PEs) are essential for Transformers. Yet designing effective PEs for non-Euclidean graphs remains challenging. Such encodings should ideally induce an Attention-Compatible Geometry for self-attention: not merely describing graph structure, but defining a geometry whose inner products reflect meaningful structural relatedness. To realize this geometry, we propose Communicability-Inspired Positional Encoding (CIPE), built from communicability, a measure between pairs of nodes that aggregates contributions from paths of all lengths. By construction, CIPE inner products recover communicability, converting global multi-path connectivity into an attention-ready similarity geometry. For practical Transformer training, we introduce dimensionality alignment, mapping graph-size-dependent CIPE representations to prescribed dimensions while faithfully preserving the induced geometry. Empirically, CIPE improves structure-agnostic Transformers by 35.5% on average across seven benchmarks, outperforming representative PEs; it also consistently improves structure-biased graph Transformers, where competing PEs often yield only marginal benefits. These results position CIPE as a principled framework for attention-compatible graph positional encodings.

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

↑