arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2406.13392cs.CV
收藏

通过动态层注意力强化层间交互

Strengthening Layer Interaction via Dynamic Layer Attention

College of Computer Science, Sichuan University(四川大学计算机学院);Clinical Medical College and The First Affiliated Hospital of Chengdu Medical College(成都医学院临床医学院及第一附属医院)

Kaishen Wang, Xun Xia, Jian Liu, Zhang Yi, Tao He

AI总结:

针对现有静态层注意力限制层间上下文特征提取能力的问题,本文提出含双路径与动态共享单元的动态层注意力架构,在图像识别、目标检测任务中性能优于现有最优方法。

摘要:

近年来,利用层注意力增强层级之间的交互已被证明是网络结构构建领域的一项重要进展。本文深入探究了层注意力与通用注意力机制的区别,指出现有层注意力方法以静态方式在固定特征图上实现层交互,这类静态层注意力方法限制了层间上下文特征的提取能力。为恢复注意力机制的动态上下文表征能力,本文提出动态层注意力(Dynamic Layer Attention,DLA)架构。DLA包含双路径:前向路径采用一种名为动态共享单元(Dynamic Sharing Unit,DSU)的改进循环神经网络模块进行上下文特征提取,反向路径则利用这些共享的上下文表征更新特征,最后在层间经动态刷新的特征图上应用注意力机制。实验结果表明,所提出的DLA架构具备有效性,在图像识别和目标检测任务中性能优于其他现有最优方法,此外DSU模块在该DLA架构中也被验证为一种高效的插件组件。代码可在https://github.com/tunantu/Dynamic-Layer-Attention获取。

英文摘要:

In recent years, employing layer attention to enhance interaction among hierarchical layers has proven to be a significant advancement in building network structures. In this paper, we delve into the distinction between layer attention and the general attention mechanism, noting that existing layer attention methods achieve layer interaction on fixed feature maps in a static manner. These static layer attention methods limit the ability for context feature extraction among layers. To restore the dynamic context representation capability of the attention mechanism, we propose a Dynamic Layer Attention (DLA) architecture. The DLA comprises dual paths, where the forward path utilizes an improved recurrent neural network block, named Dynamic Sharing Unit (DSU), for context feature extraction. The backward path updates features using these shared context representations. Finally, the attention mechanism is applied to these dynamically refreshed feature maps among layers. Experimental results demonstrate the effectiveness of the proposed DLA architecture, outperforming other state-of-the-art methods in image recognition and object detection tasks. Additionally, the DSU block has been evaluated as an efficient plugin in the proposed DLA architecture.The code is available at https://github.com/tunantu/Dynamic-Layer-Attention.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑