Saved in:
Bibliographic Details
Main Authors: Huang, Wei, Cheng, Anda, Wang, Yinggui
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2509.08255
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909780190167040
author Huang, Wei
Cheng, Anda
Wang, Yinggui
author_facet Huang, Wei
Cheng, Anda
Wang, Yinggui
contents Recent advancements in large language models (LLMs) have shown impressive capabilities in various downstream tasks but typically face Catastrophic Forgetting (CF) during fine-tuning. In this paper, we propose the Forgetting-Aware Pruning Metric (FAPM), a novel pruning-based approach to balance CF and downstream task performance. Our investigation reveals that the degree to which task vectors (i.e., the subtraction of pre-trained weights from the weights fine-tuned on downstream tasks) overlap with pre-trained model parameters is a critical factor for CF. Based on this finding, FAPM employs the ratio of the task vector to pre-trained model parameters as a metric to quantify CF, integrating this measure into the pruning criteria. Importantly, FAPM does not necessitate modifications to the training process or model architecture, nor does it require any auxiliary data. We conducted extensive experiments across eight datasets, covering natural language inference, General Q&A, Medical Q&A, Math Q&A, reading comprehension, and cloze tests. The results demonstrate that FAPM limits CF to just 0.25\% while maintaining 99.67\% accuracy on downstream tasks. We provide the code to reproduce our results.
format Preprint
id arxiv_https___arxiv_org_abs_2509_08255
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Mitigating Catastrophic Forgetting in Large Language Models with Forgetting-aware Pruning
Huang, Wei
Cheng, Anda
Wang, Yinggui
Machine Learning
Recent advancements in large language models (LLMs) have shown impressive capabilities in various downstream tasks but typically face Catastrophic Forgetting (CF) during fine-tuning. In this paper, we propose the Forgetting-Aware Pruning Metric (FAPM), a novel pruning-based approach to balance CF and downstream task performance. Our investigation reveals that the degree to which task vectors (i.e., the subtraction of pre-trained weights from the weights fine-tuned on downstream tasks) overlap with pre-trained model parameters is a critical factor for CF. Based on this finding, FAPM employs the ratio of the task vector to pre-trained model parameters as a metric to quantify CF, integrating this measure into the pruning criteria. Importantly, FAPM does not necessitate modifications to the training process or model architecture, nor does it require any auxiliary data. We conducted extensive experiments across eight datasets, covering natural language inference, General Q&A, Medical Q&A, Math Q&A, reading comprehension, and cloze tests. The results demonstrate that FAPM limits CF to just 0.25\% while maintaining 99.67\% accuracy on downstream tasks. We provide the code to reproduce our results.
title Mitigating Catastrophic Forgetting in Large Language Models with Forgetting-aware Pruning
topic Machine Learning
url https://arxiv.org/abs/2509.08255