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.
C-Flat++: Towards a More Efficient and Powerful Framework for Continual Learning
College of Computer Science, Sichuan University(四川大学计算机科学学院);Zhejiang University(浙江大学);ETH Zürich(苏黎世联邦理工学院);Beijing University of Posts and Telecommunications(北京邮电大学);Department of Computer Science and Technology, Tsinghua University(清华大学计算机科学与技术系)
College of Computer Science, Sichuan University, China(四川大学计算机学院);College of Computer Science and Technology, Zhejiang University, China(浙江大学计算机科学与技术学院);Photogrammetry and Remote Sensing Lab, ETH Zürich, Switzerland(苏黎世联邦理工学院摄影测量与遥感实验室);School of Computer Science, Nanjing University, China(南京大学计算机科学系);College of Computing and Data Science, Nanyang Technological University, Singapore(南洋理工大学计算与数据科学学院);Department of Computer Science and Technology, Tsinghua University, China(清华大学计算机科学与技术系)
Flattening Sharpness for Dynamic Gradient Projection Memory Benefits Continual Learning
The Chinese University of Hong Kong(香港中文大学);Shenzhen Institute of Advanced Technology(深圳先进技术研究院);Huawei Noah’s Ark Lab(华为诺亚方舟实验室);Chinese Academy of Sciences(中国科学院);Tianjin University(天津大学)
Repurposing Adversarial Perturbations for Continual Learning: From Defense to Active Alignment
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络安全学院);Deakin University(德肯大学);Harbin Engineering University(哈尔滨工程大学)
Online Continual Learning with Dynamic Label Hierarchies
College of Computer Science(计算机科学学院);Technology, Nanjing University of Aeronautics(技术学院,南京航空航天大学);MIIT Key Laboratory of Pattern Analysis(模式分析 MIIT 实验室);Computer Vision Center, Spain(西班牙计算机视觉中心);Computer Sciences Department, Universitat Autonoma de Barcelona, Spain(巴塞罗那自治大学计算机科学系,西班牙);State Key Laboratory for Novel Software Technology, Nanjing University(新型软件技术国家重点实验室,南京大学);IDEAS Research Institute, Warsaw, Poland(华沙 IDEAS 研究院,波兰);Joint Laboratory of Spatial intelligent Perception(空间智能感知联合实验室)
Enhancing Continual Learning for Software Vulnerability Prediction: Addressing Catastrophic Forgetting via Hybrid-Confidence-Aware Selective Replay for Temporal LLM Fine-Tuning
School of Computer Science, University of Nottingham, Nottingham, United Kingdom(诺丁汉大学计算机科学学院);School of Informatics and Computing, Northern Arizona University, Flagstaff, United States of America(北亚利桑那大学信息学院);School of Computer Science, University of Nottingham, Ningbo, China(诺丁汉大学宁波校区)
Noise-Driven Exploration and Transient Freezing Select Flat Minima in Stochastic Gradient Descent
Peking University Chengdu Academy for Advanced Interdisciplinary Biotechnologies, Chengdu 610213, China;School of Physics, Peking University, Beijing 100871, China;Institute for Advanced Study in Physics, Zhejiang University, Hangzhou 310058, China;Center for Quantitative Biology, Peking University, Beijing 100871, China;Center for Computational Biology \& Center for Computational Neuroscience, Flatiron Institute, New York, NY 10010, USA
Peking University(北京大学);Peking-Tsinghua Center for Life Science(北京大学生命科学联合中心);Center for Quantitative Biology, Peking University(北京大学定量生物学中心);School of Physics, Peking University(北京大学物理学院);IBM T. J. Watson Research Center(IBM托马斯·J·沃森研究中心)