More Than Memory Savings: Zeroth-Order Optimization Mitigates Forgetting in Continual Learning

Wanhao Yu, Zheng Wang, Shuteng Niu, Sen Lin, Li Yang
10/23/2025
cs.LGcs.CV

No official code found. Best implementation: uncc-efficient-ai/ZOFC (2 stars, last commit 2026-03-16).

Abstract

Zeroth-order (ZO) optimization has gained attention as a memory-efficient alternative to first-order (FO) methods, particularly in settings where gradient computation is expensive or even impractical. Beyond its memory efficiency, in this work, we investigate ZO optimization for continual learning (CL) as a novel approach to address the plasticity-stability-efficiency trilemma. Through theoretical analysis and empirical evidence, we show that ZO optimization naturally leads to flatter loss landscapes, which in turn reduce forgetting in CL. However, this stability comes at a cost of plasticity: due to its imprecise gradient estimates and slower convergence, ZO optimization tends to be less effective than FO in acquiring new task-specific knowledge, particularly under constrained training budgets. To better understand this trade-off, we conduct a holistic evaluation of ZO optimization applied to various existing CL methods. Our findings reveal that ZO optimization enhances stability but often undermines plasticity, particularly when used with learnable classifiers. Motivated by this insight, we propose ZO-FC, a simple but effective approach that applies ZO optimization to a single adapter-based PEFT module with FO optimized classifier. This design leverages the stability benefits of ZO while preserving the adaptability of FO updates with negligible memory overhead. Experiments demonstrate that ZO-FC achieves an effective balance between stability and plasticity, offering a practical and memory-efficient solution for on-device CL.

View on arXivView PDF

Code Implementations(1)

Official repository of WACV 2026 paper "More Than Memory Savings: Zeroth-Order Optimization Mitigates Forgetting in Continual Learning"

20PythonDec 11, 20257 months ago

Similar Papers

Cite this paper

@article{yu2025more,
  title  = {More Than Memory Savings: Zeroth-Order Optimization Mitigates Forgetting in Continual Learning},
  author = {Wanhao Yu and Zheng Wang and Shuteng Niu and Sen Lin and Li Yang},
  year   = {2025},
  eprint = {2510.21019},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.21019v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.21019.svg)](https://codeofpaper.com/paper/2510.21019)

Discussion