arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.07787cs.LG
收藏

永不停止学习的视觉变换器

Vision Transformers that Never Stop Learning

University of Hong Kong(香港大学);The Hong Kong Polytechnic University(香港理工大学);Technische Universität Dresden(德累斯顿理工大学);INFIFORCE

Caihao Sun, Mingqi Yuan, Shiyuan Wang, Jiayu Chen

AI总结:

本文提出ARROW优化器,通过自适应调整梯度方向,有效提升视觉变换器的持续学习能力。

摘要:

固性丧失指的是模型逐渐无法适应新任务的现象,这是持续学习面临的基本挑战。尽管这一现象在同质神经架构中,如多层感知机中已被广泛研究,但在结构异质、基于注意力的模型如视觉变换器(ViTs)中的机制仍鲜有探索。本文系统研究了ViTs中的固性丧失现象,包括使用局部指标进行细粒度诊断,这些指标捕捉参数多样性与利用情况。我们的分析发现,堆叠的注意力模块表现出逐渐增加的不稳定性,加剧了固性丧失,而前馈网络模块则遭受更加明显的退化。此外,我们评估了几种缓解固性丧失的方法。结果表明,基于参数重新初始化的方法无法恢复ViTs中的固性,而那些显式调节更新过程的方法更为有效。受此启发,我们提出了ARROW,一种具有几何意识的优化器,通过在线曲率估计对注意力模块进行自适应调整,从而保持固性。广泛实验表明,ARROW有效提高了固性,并在新遇到的任务上保持了更好的性能。

英文摘要:

Loss of plasticity refers to the progressive inability of a model to adapt to new tasks and poses a fundamental challenge for continual learning. While this phenomenon has been extensively studied in homogeneous neural architectures, such as multilayer perceptrons, its mechanisms in structurally heterogeneous, attention-based models such as Vision Transformers (ViTs) remain underexplored. In this work, we present a systematic investigation of loss of plasticity in ViTs, including a fine-grained diagnosis using local metrics that capture parameter diversity and utilization. Our analysis reveals that stacked attention modules exhibit increasing instability that exacerbates plasticity loss, while feed-forward network modules suffer even more pronounced degradation. Furthermore, we evaluate several approaches for mitigating plasticity loss. The results indicate that methods based on parameter re-initialization fail to recover plasticity in ViTs, whereas approaches that explicitly regulate the update process are more effective. Motivated by this insight, we propose ARROW, a geometry-aware optimizer that preserves plasticity by adaptively reshaping gradient directions using an online curvature estimate for the attention module. Extensive experiments show that ARROW effectively improves plasticity and maintains better performance on newly encountered tasks.

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

↑