arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.00986cs.LGcs.CV
收藏

通过C-Flat增强持续学习性能

Make Continual Learning Stronger via C-Flat

Tsinghua University(清华大学);Zhejiang University(浙江大学);Sichuan University(四川大学);ByteDance(字节跳动);Xi’an Jiaotong University(西安交通大学);Carnegie Mellon University(卡内基梅隆大学);DAMO Academy, Alibaba Group(阿里巴巴达摩院)

Ang Bian, Wei Li, Hangjie Yuan, Chengrong Yu, Mang Wang, Zixiang Zhao, Aojun Lu, Pengliang Ji, Tao Feng

AI总结:

针对持续学习的敏感性-稳定性困境,提出即插即用的C-Flat方法,通过构建更平坦的损失景观提升模型泛化能力,适用于各类持续学习场景且性能普遍优于现有方法。

摘要:

模型在从顺序到达的任务中增量获取动态更新知识时的泛化能力,对于解决持续学习(Continual Learning,CL)中的敏感性-稳定性困境至关重要。寻求位于损失均匀较低或梯度平滑邻域内的平坦极小值的权重损失景观锐度最小化,已被证明是相较于基于损失最小化的优化器(如SGD)更能提升模型泛化能力的强效训练机制。然而仅有少数工作探讨了该训练机制在持续学习中的应用,证明了专门设计的零阶锐度优化器可提升持续学习性能。本文提出一种专为持续学习打造、具备更平坦损失景观的持续平坦化(Continual Flatness,C-Flat)方法。C-Flat仅需一行代码即可轻松调用,可即插即用于任意持续学习方法。本文提出了适用于所有持续学习类别的C-Flat通用框架,并与基于损失极小值优化器和平坦极小值的持续学习方法进行了全面对比,结果表明本方法几乎在所有场景下都能提升持续学习性能。代码可在https://github.com/WanNaa/C-Flat获取。

英文摘要:

Model generalization ability upon incrementally acquiring dynamically updating knowledge from sequentially arriving tasks is crucial to tackle the sensitivity-stability dilemma in Continual Learning (CL). Weight loss landscape sharpness minimization seeking for flat minima lying in neighborhoods with uniform low loss or smooth gradient is proven to be a strong training regime improving model generalization compared with loss minimization based optimizer like SGD. Yet only a few works have discussed this training regime for CL, proving that dedicated designed zeroth-order sharpness optimizer can improve CL performance. In this work, we propose a Continual Flatness (C-Flat) method featuring a flatter loss landscape tailored for CL. C-Flat could be easily called with only one line of code and is plug-and-play to any CL methods. A general framework of C-Flat applied to all CL categories and a thorough comparison with loss minima optimizer and flat minima based CL approaches is presented in this paper, showing that our method can boost CL performance in almost all cases. Code is available at https://github.com/WanNaa/C-Flat.

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

↑