PAM: Pyramid Attention Mechanism Based on Contextual Reasoning

被引:0
|
作者
Chen, Bohua [1 ,2 ]
Ma, Hanzhi [1 ]
He, Junjie [1 ,2 ]
Ding, Yinzhang [1 ,2 ]
Wang, Lianghao [1 ,2 ]
Li, Dongxiao [1 ,2 ]
Zhang, Ming [1 ,2 ]
机构
[1] Zhejiang Univ, Coll Informat Sci & Elect Engn, Hangzhou 310027, Zhejiang, Peoples R China
[2] Zhejiang Prov Key Lab Informat Proc Commun & Netw, Hangzhou 310027, Zhejiang, Peoples R China
关键词
Convolutional neural networks; feature context; self-attention;
D O I
10.1109/ACCESS.2019.2944925
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Recent work has shown that self-attention modules improve the performance of convolutional neural networks (CNNs), in which global operations are conventionally used to generate descriptors from feature context for attention calculation and characteristics recalibration. However, the performance gain is compromised due to sharing the same descriptor for different feature context. In this paper, we propose Pyramid Attention Mechanism (PAM) that incorporates contextual reasoning into self-attention module for enhancing the discriminative ability of descriptors. PAM is lightweight yet efficient and can be integrated with most self-attention modules. It consists of two operators: aggregation and distribution, which are used for assembling and synthesizing contextual information at different levels. Extensive experiments on different benchmarks (including CIFAR-100, ImageNet-1K, MS COCO, and VOC 2007) indicate that PAM can produce competitive performance gains. In classification tasks, by plugging PAM into self-attention modules, at most 2.18% accuracy improvement over various network structures can be obtained.
引用
收藏
页码:144756 / 144765
页数:10
相关论文
共 50 条
  • [21] Negative Focus Detection via Contextual Attention Mechanism
    Shen, Longxiang
    Zou, Bowei
    Hong, Yu
    Zhou, Guodong
    Zhu, Qiaoming
    Aw, Ai Ti
    2019 CONFERENCE ON EMPIRICAL METHODS IN NATURAL LANGUAGE PROCESSING AND THE 9TH INTERNATIONAL JOINT CONFERENCE ON NATURAL LANGUAGE PROCESSING (EMNLP-IJCNLP 2019): PROCEEDINGS OF THE CONFERENCE, 2019, : 2251 - 2261
  • [22] Boosting the Performance of SpEx plus by Attention and Contextual Mechanism
    Li, Chenyi
    Wu, Zhiyong
    Rao, Wei
    Wang, Yannan
    Meng, Helen
    2022 13TH INTERNATIONAL SYMPOSIUM ON CHINESE SPOKEN LANGUAGE PROCESSING (ISCSLP), 2022, : 135 - 139
  • [23] Dual Attention Based Feature Pyramid Network
    Xing, Huijun
    Wang, Shuai
    Zheng, Dezhi
    Zhao, Xiaotong
    CHINA COMMUNICATIONS, 2020, 17 (08) : 242 - 252
  • [24] Image segmentation of skin lesions based on dense atrous spatial pyramid pooling and attention mechanism
    Yin W.
    Zhou D.
    Fan T.
    Yu Z.
    Li Z.
    Shengwu Yixue Gongchengxue Zazhi/Journal of Biomedical Engineering, 2022, 39 (06): : 1108 - 1116
  • [25] CAIINET: Neural network based on contextual attention and information interaction mechanism for depression detection
    Zhou, Li
    Liu, Zhenyu
    Yuan, Xiaoyan
    Shangguan, Zixuan
    Li, Yutong
    Hu, Bin
    DIGITAL SIGNAL PROCESSING, 2023, 137
  • [26] Dual Attention Based Feature Pyramid Network
    Huijun Xing
    Shuai Wang
    Dezhi Zheng
    Xiaotong Zhao
    中国通信, 2020, 17 (08) : 242 - 252
  • [27] Remote sensing scene classification based on contextual attention mechanism of lie group space
    Xu, Chengjun
    Shu, Jingqian
    Wang, Jialin
    Wang, Zhenghan
    INTERNATIONAL JOURNAL OF REMOTE SENSING, 2024, 45 (22) : 8405 - 8424
  • [28] The pyramid texts: A contextual approach
    de Trafford, Aloisia
    Proceedings of the Ninth International Congress of Egyptologists, Vols I and II, 2007, 150 : 429 - 432
  • [29] DREAM: Adaptive Reinforcement Learning based on Attention Mechanism for Temporal Knowledge Graph Reasoning
    Zheng, Shangfei
    Yin, Hongzhi
    Chen, Tong
    Quoc Viet Hung Nguyen
    Chen, Wei
    Zhao, Lei
    PROCEEDINGS OF THE 46TH INTERNATIONAL ACM SIGIR CONFERENCE ON RESEARCH AND DEVELOPMENT IN INFORMATION RETRIEVAL, SIGIR 2023, 2023, : 1578 - 1588
  • [30] Incorporating Graph Attention Mechanism into Knowledge Graph Reasoning Based on Deep Reinforcement Learning
    Wang, Heng
    Li, Shuangyin
    Pan, Rong
    Mao, Mingzhi
    2019 CONFERENCE ON EMPIRICAL METHODS IN NATURAL LANGUAGE PROCESSING AND THE 9TH INTERNATIONAL JOINT CONFERENCE ON NATURAL LANGUAGE PROCESSING (EMNLP-IJCNLP 2019): PROCEEDINGS OF THE CONFERENCE, 2019, : 2623 - 2631