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 条
  • [1] Expression Recognition Based on Residual Attention Mechanism and Pyramid Convolution
    Bao Z.
    Chen H.
    Moshi Shibie yu Rengong Zhineng/Pattern Recognition and Artificial Intelligence, 2022, 35 (06): : 497 - 506
  • [2] Pavement crack detection network based on pyramid structure and attention mechanism
    Xiang, Xuezhi
    Zhang, Yuqi
    El Saddik, Abdulmotaleb
    IET IMAGE PROCESSING, 2020, 14 (08) : 1580 - 1586
  • [3] Automatic diagnosis of depression based on attention mechanism and feature pyramid model
    Xu, Ningya
    Huo, Hua
    Xu, Jiaxin
    Ma, Lan
    Wang, Jinxuan
    PLOS ONE, 2024, 19 (03):
  • [4] Image Inpainting Using Pyramid Spatial Attention and Feature Reasoning
    Peng H.
    Li X.
    Jisuanji Fuzhu Sheji Yu Tuxingxue Xuebao/Journal of Computer-Aided Design and Computer Graphics, 2023, 35 (01): : 87 - 98
  • [5] Semantic segmentation based on double pyramid network with improved global attention mechanism
    Xianfeng Ou
    Hanpu Wang
    Guoyun Zhang
    Wujing Li
    Shuixiang Yu
    Applied Intelligence, 2023, 53 : 18898 - 18909
  • [6] Underwater Image Enhancement Based on Pyramid Attention Mechanism and Generative Adversarial Network
    Wang Yue
    Wang Dexing
    Yuan Hongchun
    Wu Ruoyou
    Gong Peng
    LASER & OPTOELECTRONICS PROGRESS, 2021, 58 (16)
  • [7] Semantic segmentation based on double pyramid network with improved global attention mechanism
    Ou, Xianfeng
    Wang, Hanpu
    Zhang, Guoyun
    Li, Wujing
    Yu, Shuixiang
    APPLIED INTELLIGENCE, 2023, 53 (15) : 18898 - 18909
  • [8] Vehicle Pedestrian Detection Method Based on Spatial Pyramid Pooling and Attention Mechanism
    Guo, Mingtao
    Xue, Donghui
    Li, Peng
    Xu, He
    INFORMATION, 2020, 11 (12) : 1 - 15
  • [9] A Heart Image Segmentation Method Based on Position Attention Mechanism and Inverted Pyramid
    Luo, Jinbin
    Wang, Qinghui
    Zou, Ruirui
    Wang, Ying
    Liu, Fenglin
    Zheng, Haojie
    Du, Shaoyi
    Yuan, Chengzhi
    SENSORS, 2023, 23 (23)
  • [10] Hyperspectral image classification based on spatial pyramid attention mechanism combined with ResNet
    Liu, He
    Song, Yingluo
    Hu, Longxiang
    Liu, Guohui
    Wang, Kan
    Wang, Aili
    CHINESE JOURNAL OF LIQUID CRYSTALS AND DISPLAYS, 2024, 39 (06) : 833 - 843