arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.16486cs.CVcs.AI
收藏

分解神经元:通过专家混合实现激活稀疏性用于持续测试时适应

Decomposing the Neurons: Activation Sparsity via Mixture of Experts for Continual Test Time Adaptation

Peking University(北京大学);Nanjing University(南京大学);UC, Berkeley(加州大学伯克利分校)

Rongyu Zhang, Aosong Cheng, Yulin Luo, Gaole Dai, Huanrui Yang, Jiaming Liu, Ran Xu, Li Du, Yuan Du, Yanbing Jiang, Shanghang Zhang

AI总结:

针对持续测试时适应中的灾难性遗忘问题,提出基于激活稀疏性专家混合的适配器,通过分解高低激活特征并采用多门结构,实现分类和分割任务的最先进性能。

摘要:

持续测试时适应(CTTA)旨在使预训练模型适应不断变化的目标域,已成为视觉模型的重要任务。由于当前视觉模型严重偏向于纹理,持续将模型从一个域分布适应到另一个域分布可能导致严重的灾难性遗忘。受人类视觉系统根据著名的三色理论擅长处理形状和纹理的启发,我们探索将混合激活稀疏性专家(MoASE)作为CTTA任务的适配器。鉴于低/高激活神经元对域特定/无关特征的不同反应,MoASE通过不可微的空间差异化丢弃(SDD)将神经激活分解为高激活和低激活组件。基于该分解,我们设计了一个多门结构,包括域感知门(DAG),利用域信息自适应组合处理不同强度的SDD后稀疏激活的专家,以及激活稀疏性门(ASG),为不同专家自适应分配SDD的特征选择阈值,以实现更精确的特征分解。最后,我们引入稳态-近端(HP)损失,以绕过持续适应模型时的误差累积问题。在四个著名基准上的大量实验证明,我们的方法在分类和分割CTTA任务中均达到了最先进的性能。我们的代码现可在https://github.com/RoyZry98/MoASE-Pytorch获取。

英文摘要:

Continual Test-Time Adaptation (CTTA), which aims to adapt the pre-trained model to ever-evolving target domains, emerges as an important task for vision models. As current vision models appear to be heavily biased towards texture, continuously adapting the model from one domain distribution to another can result in serious catastrophic forgetting. Drawing inspiration from the human visual system's adeptness at processing both shape and texture according to the famous Trichromatic Theory, we explore the integration of a Mixture-of-Activation-Sparsity-Experts (MoASE) as an adapter for the CTTA task. Given the distinct reaction of neurons with low/high activation to domain-specific/agnostic features, MoASE decomposes the neural activation into high-activation and low-activation components with a non-differentiable Spatial Differentiate Dropout (SDD). Based on the decomposition, we devise a multi-gate structure comprising a Domain-Aware Gate (DAG) that utilizes domain information to adaptive combine experts that process the post-SDD sparse activations of different strengths, and the Activation Sparsity Gate (ASG) that adaptively assigned feature selection threshold of the SDD for different experts for more precise feature decomposition. Finally, we introduce a Homeostatic-Proximal (HP) loss to bypass the error accumulation problem when continuously adapting the model. Extensive experiments on four prominent benchmarks substantiate that our methodology achieves state-of-the-art performance in both classification and segmentation CTTA tasks. Our code is now available at https://github.com/RoyZry98/MoASE-Pytorch.

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

↑