Gradformer: Graph Transformer with Exponential Decay
School of Computer Science, Wuhan University(武汉大学计算机学院);JD Explore Academy, JD.com(京东探索研究院);School of Computing and Information Systems, The University of Melbourne(墨尔本大学计算与信息系统学院);School of Information and Communication Technology, Griffith University(格里菲斯大学信息与通信技术学院)
Graph Transformers (GTs) have demonstrated their advantages across a wide range of tasks. However, the self-attention mechanism in GTs overlooks the graph's inductive biases, particularly biases related to structure, which are crucial for the graph tasks. Although some methods utilize positional encoding and attention bias to model inductive biases, their effectiveness is still suboptimal analytically. Therefore, this paper presents Gradformer, a method innovatively integrating GT with the intrinsic inductive bias by applying an exponential decay mask to the attention matrix. Specifically, the values in the decay mask matrix diminish exponentially, correlating with the decreasing node proximities within the graph structure. This design enables Gradformer to retain its ability to capture information from distant nodes while focusing on the graph's local details. Furthermore, Gradformer introduces a learnable constraint into the decay mask, allowing different attention heads to learn distinct decay masks. Such an design diversifies the attention heads, enabling a more effective assimilation of diverse structural information within the graph. Extensive experiments on various benchmarks demonstrate that Gradformer consistently outperforms the Graph Neural Network and GT baseline models in various graph classification and regression tasks. Additionally, Gradformer has proven to be an effective method for training deep GT models, maintaining or even enhancing accuracy compared to shallow models as the network deepens, in contrast to the significant accuracy drop observed in other GT models.Codes are available at \url{https://github.com/LiuChuang0059/Gradformer}.
MegaGraph: Towards Efficient Training of Large-Scale Graph Transformers with Automated Hybrid Parallelism
Beihang University(北京航空航天大学);Qingdao Research Institute, Beihang University(北京航空航天大学青岛研究院);State Key Laboratory of Complex and Critical Software Environment, Beihang University(北京航空航天大学复杂关键软件环境国家重点实验室)
College of Information Science and Electronic Engineering, Zhejiang University(浙江大学信息与电子工程学院);Theory Lab, Central Research Institute, 2012 Labs, Huawei Technologies Co., Ltd.(华为技术有限公司2012实验室中央研究院理论实验室)
VecFormer: Towards Efficient and Generalizable Graph Transformer with Graph Token Attention
Zhejiang University(浙江大学);Westlake University(西湖大学);Hong Kong University of Science and Technology (Guangzhou)(香港科学与技术大学(广州));Tongji University(同济大学);ShanghaiTech University(上海科技大学);Southern University of Science and Technology(南方科技大学);Jilin University(吉林大学)
Bypassing the Exponential Dependency: Looped Transformers Efficiently Learn In-context by Multi-step Gradient Descent
Middle Tennessee State University(中田纳西州立大学);University of New South Wales(新南威尔士大学);The University of Hong Kong(香港大学);University of Wisconsin-Madison(威斯康星大学麦迪逊分校);The Simons Institute for the Theory of Computing at the University of California, Berkeley(加州大学伯克利分校西蒙斯理论计算研究所)
Attention Kernels for Learning Maps Between Heavy-Tailed Measures
California Institute of Technology(加州理工学院);Lawrence Berkeley National Laboratory(劳伦斯伯克利国家实验室);University of California, Berkeley(加州大学伯克利分校);ICSI(国际计算机科学研究所)
Geometric Capacity of Transformers: A Tropical Geometry Perspective
Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院);University of Chinese Academy of Sciences(中国科学院大学);Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学人工智能学院)
Ordinary Least Squares is a Special Case of Transformer
Center for Peak Performance, Department of Psychology and Behavioral Sciences, Zhejiang University(高峰表现中心,心理学与行为科学系,浙江大学);Hangzhou Higgs Asset Management Co., Ltd.(杭州恒辉资产管理有限公司);College of Control Science and Engineering, Zhejiang University(控制科学与工程学院,浙江大学)
Hybrid Attention-Based Transformer Block Model for Distant Supervision Relation Extraction
College of Information Science and Technology, Donghua University(东华大学信息科学与技术学院);University of Surrey(萨里大学);Southern University of Science and Technology(南方科技大学)
随着各种数字文本信息呈指数级爆炸式增长,如何从海量的非结构化文本信息中有效地获取特定知识成为一个挑战。关系抽取是自然语言处理的基本任务之一,其目的是从给定的文本中抽取实体对之间的语义关系。为了避免人工标注数据集,远距离监督关系抽取(DSRE)被广泛应用,旨在利用知识库自动标注数据集。不幸的是,由于潜在的强假设,这种方法严重遭受错误的标签。为了解决这个问题,我们提出了一个新的框架,使用混合注意力为基础的Transformer块与多实例学习来执行DSRE任务。具体地说,首先使用Transformer块作为句子编码器来捕获句子的句法信息,其主要利用多头自注意从词级提取特征。然后,采用一种更为简洁的句子级注意力机制来构造袋子表示,旨在整合句子的有效信息来有效地表示袋子。在公开数据集New York Times(NYT)上的实验结果表明,该方法在评估数据集上的性能优于现有算法,验证了该模型在DSRE任务中的有效性.
QFlash: Bridging Quantization and Memory Efficiency in Vision Transformer Attention
University of Science and Technology(科学技术大学);Electronics and Telecommunications Research Institute(电信研究所);Pusan National University(釜山国立大学);Jeonbuk National University(全州国立大学)