推论
计算机科学
失败
架空(工程)
计算
频道(广播)
计算智能
人工智能
人工神经网络
计算机工程
机器学习
模式识别(心理学)
算法
并行计算
计算机网络
操作系统
作者
Sander R. Klomp,Rob G. J. Wijnhoven,Peter H. N. de With
标识
DOI:10.1007/s11063-023-11161-z
摘要
Abstract Attention modules can be added to neural network architectures to improve performance. This work presents an extensive comparison between several efficient attention modules for image classification and object detection, in addition to proposing a novel Attention Bias module with lower computational overhead. All measured attention modules have been efficiently re-implemented, which allows an objective comparison and evaluation of the relationship between accuracy and inference time. Our measurements show that single-image inference time increases far more (5–50%) than the increase in FLOPs suggests (0.2–3%) for a limited gain in accuracy, making computation cost an important selection criterion. Despite this increase in inference time, adding an attention module can outperform a deeper baseline ResNet in both speed and accuracy. Finally, we investigate the potential of adding attention modules to pretrained networks and show that fine-tuning is possible and superior to training from scratch. The choice of the best attention module strongly depends on the specific ResNet architecture, input resolution, batch size and inference framework.
科研通智能强力驱动
Strongly Powered by AbleSci AI