ZeroFlow: Overcoming Catastrophic Forgetting is Easier than You Think

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Feng, Tao, Li, Wei, Zhu, Didi, Yuan, Hangjie, Zheng, Wendi, Zhang, Dan, Tang, Jie
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915329747189760
author Feng, Tao
Li, Wei
Zhu, Didi
Yuan, Hangjie
Zheng, Wendi
Zhang, Dan
Tang, Jie
author_facet Feng, Tao
Li, Wei
Zhu, Didi
Yuan, Hangjie
Zheng, Wendi
Zhang, Dan
Tang, Jie
contents Backpropagation provides a generalized configuration for overcoming catastrophic forgetting. Optimizers such as SGD and Adam are commonly used for weight updates in continual learning and continual pre-training. However, access to gradient information is not always feasible in practice due to black-box APIs, hardware constraints, or non-differentiable systems, a challenge we refer to as the gradient bans. To bridge this gap, we introduce ZeroFlow, the first benchmark designed to evaluate gradient-free optimization algorithms for overcoming forgetting. ZeroFlow examines a suite of forward pass-based methods across various algorithms, forgetting scenarios, and datasets. Our results show that forward passes alone can be sufficient to mitigate forgetting. We uncover novel optimization principles that highlight the potential of forward pass-based methods in mitigating forgetting, managing task conflicts, and reducing memory demands. Additionally, we propose new enhancements that further improve forgetting resistance using only forward passes. This work provides essential tools and insights to advance the development of forward-pass-based methods for continual learning.
format Preprint
id arxiv_https___arxiv_org_abs_2501_01045
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle ZeroFlow: Overcoming Catastrophic Forgetting is Easier than You Think
Feng, Tao
Li, Wei
Zhu, Didi
Yuan, Hangjie
Zheng, Wendi
Zhang, Dan
Tang, Jie
Computer Vision and Pattern Recognition
Machine Learning
Backpropagation provides a generalized configuration for overcoming catastrophic forgetting. Optimizers such as SGD and Adam are commonly used for weight updates in continual learning and continual pre-training. However, access to gradient information is not always feasible in practice due to black-box APIs, hardware constraints, or non-differentiable systems, a challenge we refer to as the gradient bans. To bridge this gap, we introduce ZeroFlow, the first benchmark designed to evaluate gradient-free optimization algorithms for overcoming forgetting. ZeroFlow examines a suite of forward pass-based methods across various algorithms, forgetting scenarios, and datasets. Our results show that forward passes alone can be sufficient to mitigate forgetting. We uncover novel optimization principles that highlight the potential of forward pass-based methods in mitigating forgetting, managing task conflicts, and reducing memory demands. Additionally, we propose new enhancements that further improve forgetting resistance using only forward passes. This work provides essential tools and insights to advance the development of forward-pass-based methods for continual learning.
title ZeroFlow: Overcoming Catastrophic Forgetting is Easier than You Think
topic Computer Vision and Pattern Recognition
Machine Learning
url https://arxiv.org/abs/2501.01045