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

利用关键相关层注意力增强层间交互

Enhancing Layer Interaction Using Key-Correlated Layer Attention

Jianlong Xiong, ChuanBo Xie, Le Yu, Quansong He, Tao He

AI总结:

提出关键相关层注意力(KCLA),通过利用层注意力中Key表示的高余弦相似性,实现线性计算复杂度和动态信息更新,在图像识别、目标检测和医学图像分割等任务中表现良好。

摘要:

最近网络架构设计的进展引入了层注意力以增强层间交互。在此类框架中,每一层查询所有前层以建立跨层连接。然而,层注意力导致相对于网络深度的二次计算复杂度。为缓解此问题,先前工作提出了循环层注意力(RLA)和线性注意力机制,但它们存在静态信息更新和有限的长程跨层依赖建模能力。为克服这些限制,我们提出关键相关层注意力(KCLA),灵感来源于我们的观察:层注意力中的Key表示具有高余弦相似性。KCLA在保持动态信息更新的同时实现线性计算复杂度,直接源自层注意力的基本定义。此外,KCLA维持长程跨层连接,并具有固定的空间复杂度,与网络深度无关。实验评估表明,KCLA在多种任务上表现良好,包括图像识别、目标检测和医学图像分割。代码公开于https://github.com/bgx666/KCLA。

英文摘要:

Recent advances in network architecture design have introduced layer attention to enhance inter-layer interactions. In such frameworks, each layer queries all preceding layers to establish cross-layer connections. However, layer attention results in quadratic computational complexity with respect to network depth. To mitigate this issue, prior works have proposed Recurrent Layer Attention (RLA) and linear attention mechanisms, which suffer from static information updates and limited long-range cross-layer dependency modeling. To overcome these limitations, we propose Key-Correlated Layer Attention (KCLA), inspired by our observation that Key representations in layer attention exhibit high cosine similarity. KCLA achieves linear computational complexity while preserving dynamic information updates, directly derived from the foundational definition of layer attention. Furthermore, KCLA maintains long-range cross-layer connections and features a fixed spatial complexity, independent of network depth. Empirical evaluations demonstrate that KCLA delivers good performance across diverse tasks, including image recognition, object detection, and medical image segmentation. The code is publicly available at https://github.com/bgx666/KCLA.

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

↑