Knowledge graph reasoning plays a vital role in various applications and has garnered considerable attention. Recently, path-based methods have achieved impressive performance. However, they may face limitations stemming from constraints in message-passing neural networks, such as missing paths and information over-squashing. In this paper, we revisit the application of transformers for knowledge graph reasoning to address the constraints faced by path-based methods and propose a novel method KnowFormer. KnowFormer utilizes a transformer architecture to perform reasoning on knowledge graphs from the message-passing perspective, rather than reasoning by textual information like previous pretrained language model based methods. Specifically, we define the attention computation based on the query prototype of knowledge graph reasoning, facilitating convenient construction and efficient optimization. To incorporate structural information into the self-attention mechanism, we introduce structure-aware modules to calculate query, key, and value respectively. Additionally, we present an efficient attention computation method for better scalability. Experimental results demonstrate the superior performance of KnowFormer compared to prominent baseline methods on both transductive and inductive benchmarks.
Revisiting Kernel Attention with Correlated Gaussian Process Representation
FPT Software AI Center(FPT软件AI中心);School of Electrical Engineering and Computer Science, Washington State University(华盛顿州立大学电气工程与计算机科学学院);National University of Singapore(新加坡国立大学)
TwinS: Revisiting Non-Stationarity in Multivariate Time Series Forecasting
Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Squirrel AI(松鼠AI);Beijing Institute of Technology(北京理工大学);Chongqing University(重庆大学)
Scaling Up Your Kernels to 31x31: Revisiting Large Kernel Design in CNNs
Beijing National Research Center for Information Science and Technology (BNRist)(北京信息科学与技术国家研究中心);Tsinghua University(清华大学);MEGVII Technology(旷视科技);Aberystwyth University(阿伯里斯特威斯大学)
From Attention Sensitivity to Layer Role: Revisiting Mixed-Precision Quantization of Transformers
Sharif University of Technology(谢里夫理工大学);GISMA University of Applied Sciences(GISMA应用科学大学);BRAINS, Brandenburg Research Center for Applied Intelligent Systems(勃兰登堡应用智能系统研究中心);Max Planck Institute for Security and Privacy(马克斯·普朗克安全与隐私研究所);Computer Vision Center (CVC)(计算机视觉中心);University of Cambridge(剑桥大学)
Revisiting Cross-Attention Mechanisms: Leveraging Beneficial Noise for Domain-Adaptive Learning
School of Engineering, Westlake University(西lake大学工程学院);Centre for Artificial Intelligence and Robotics (CAIR), Hong Kong Institute of Science and Innovation, Chinese Academy of Sciences (HKISI-CAS)(香港科学院人工智能与机器人中心);State Key Laboratory of Multimodal Artificial Intelligence Systems (MAIS), Institute of Automation, Chinese Academy of Sciences (CASIA)(多模态人工智能系统国家重点实验室);School of Artificial Intelligence, University of Chinese Academy of Sciences (UCAS)(中国科学院大学人工智能学院);Alibaba Group(阿里巴巴集团)
Rectified SpaAttn: Revisiting Attention Sparsity for Efficient Video Generation
Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院)