paper-with-me

홈 › Papers

Flattening Sharpness for Dynamic Gradient Projection Memory Benefits Continual Learning

2021-10-09 · NeurIPS 2021 12 · Danruo Deng, Guangyong Chen, Jianye Hao, Qiong Wang, Pheng-Ann Heng

The backpropagation networks are notably susceptible to catastrophic forgetting, where networks tend to forget previously learned skills upon learning new ones. To address such the 'sensitivity-stability' dilemma, most previous efforts have been contributed to minimizing the empirical risk with different parameter regularization terms and episodic memory, but rarely exploring the usages of the weight loss landscape. In this paper, we investigate the relationship between the weight loss landscape and sensitivity-stability in the continual learning scenario, based on which, we propose a novel method, Flattening Sharpness for Dynamic Gradient Projection Memory (FS-DGPM). In particular, we introduce a soft weight to represent the importance of each basis representing past tasks in GPM, which can be adaptively learned during the learning process, so that less important bases can be dynamically released to improve the sensitivity of new skill learning. We further introduce Flattening Sharpness (FS) to reduce the generalization gap by explicitly regulating the flatness of the weight loss landscape of all seen tasks. As demonstrated empirically, our proposed method consistently outperforms baselines with the superior ability to learn new skills while alleviating forgetting effectively.

📄 PDF Abstract BibTeX arXiv:2110.04593

Code (1)

danruod/fs-dgpm 공식 구현 pytorch

Tasks

Continual LearningSensitivity

Similar Papers 제목 키워드 기반

LORENZA: Enhancing Generalization in Low-Rank Gradient LLM Training via Efficient Zeroth-Order Adaptive SAM

2025-02-26 · Yehonathan Refael, Iftach Arbel, Ofir Lindenbaum, Tom Tirer

We study robust parameter-efficient fine-tuning (PEFT) techniques designed to improve accuracy and generalization while operating within strict computational and memory hardware constraints, specifically focusing on larg…

parameter-efficient fine-tuning

Does SGD Seek Flatness or Sharpness? An Exactly Solvable Model

2026-02-04 · Yizhou Xu, Pierfrancesco Beneventano, Isaac Chuang, Liu Ziyin arxiv

A large body of theory and empirical work hypothesizes a connection between the flatness of a neural network's loss landscape during training and its performance. However, there have been conceptually opposite pieces of …

Flattening Every Memory Peak in Long-Context Mixture-of-Experts Training

2026-09-13 · Shrey Pandit, Xuan-Phi Nguyen, Yiran Zhao, Shafiq Joty hf

Training a Mixture-of-Experts (MoE) model at long context or large batch size fails as soon as any one component's peak allocation exceeds device memory, so the target is every peak at once, not the average footprint. Fo…

Adaptively Sampling-Reusing-Mixing Decomposed Gradients to Speed Up Sharpness Aware Minimization

2025-10-04 · Jiaxin Deng, Junbiao Pang arxiv

Sharpness-Aware Minimization (SAM) improves model generalization but doubles the computational cost of Stochastic Gradient Descent (SGD) by requiring twice the gradient calculations per optimization step. To mitigate thi…

Pose Estimation

Effective Gradient Sample Size via Variation Estimation for Accelerating Sharpness aware Minimization

2024-02-24 · Jiaxin Deng, Junbiao Pang, Baochang Zhang, Tian Wang

Sharpness-aware Minimization (SAM) has been proposed recently to improve model generalization ability. However, SAM calculates the gradient twice in each optimization step, thereby doubling the computation costs compared…