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

缓解表征转变以实现持续微调

Alleviating Representational Shift for Continual Fine-tuning

Peking University(北京大学)

Shibo Jie, Zhi-Hong Deng, Ziheng Li

摘要:

我们研究了一个实用的持续学习设置:不断地对预先训练好的模型进行微调。以前的工作已经发现,当对新任务进行训练时,以前数据的特征(倒数第二层表示)会发生变化,称为表示移位。除了特征的转移,我们还发现中间层的表征转移(IRS)也很重要,因为它破坏了批量归一化,这是灾难性遗忘的另一个关键原因。出于这一动机,我们提出了ConFiT,一种微调方法,包括两个组件,交叉卷积批量归一化(Xconv BN)和分层微调。Xconv BN保持卷积前的运行均值而不是卷积后的运行均值,并在测试前恢复卷积后的运行均值,这纠正了IRS下均值的不准确估计。分层微调利用多阶段策略对预训练的网络进行微调,防止Conv层发生大规模变化,从而减轻IRS。在四个数据集上的实验结果表明,我们的方法显着优于几个国家的最先进的方法,具有较低的存储开销。

英文摘要:

We study a practical setting of continual learning: fine-tuning on a pre-trained model continually. Previous work has found that, when training on new tasks, the features (penultimate layer representations) of previous data will change, called representational shift. Besides the shift of features, we reveal that the intermediate layers' representational shift (IRS) also matters since it disrupts batch normalization, which is another crucial cause of catastrophic forgetting. Motivated by this, we propose ConFiT, a fine-tuning method incorporating two components, cross-convolution batch normalization (Xconv BN) and hierarchical fine-tuning. Xconv BN maintains pre-convolution running means instead of post-convolution, and recovers post-convolution ones before testing, which corrects the inaccurate estimates of means under IRS. Hierarchical fine-tuning leverages a multi-stage strategy to fine-tune the pre-trained network, preventing massive changes in Conv layers and thus alleviating IRS. Experimental results on four datasets show that our method remarkably outperforms several state-of-the-art methods with lower storage overhead.

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

↑