Online Hyperparameter Optimization for Class-Incremental Learning

Authors

  • Yaoyao Liu Max Planck Institute for Informatics, Saarland Informatics Campus Department of Computer Science, Johns Hopkins University
  • Yingying Li Computing and Mathematical Sciences, California Institute of Technology
  • Bernt Schiele Max Planck Institute for Informatics, Saarland Informatics Campus
  • Qianru Sun School of Computing and Information Systems, Singapore Management University

DOI:

https://doi.org/10.1609/aaai.v37i7.26070

Keywords:

ML: Lifelong and Continual Learning, ML: Classification and Regression

Abstract

Class-incremental learning (CIL) aims to train a classification model while the number of classes increases phase-by-phase. An inherent challenge of CIL is the stability-plasticity tradeoff, i.e., CIL models should keep stable to retain old knowledge and keep plastic to absorb new knowledge. However, none of the existing CIL models can achieve the optimal tradeoff in different data-receiving settings—where typically the training-from-half (TFH) setting needs more stability, but the training-from-scratch (TFS) needs more plasticity. To this end, we design an online learning method that can adaptively optimize the tradeoff without knowing the setting as a priori. Specifically, we first introduce the key hyperparameters that influence the tradeoff, e.g., knowledge distillation (KD) loss weights, learning rates, and classifier types. Then, we formulate the hyperparameter optimization process as an online Markov Decision Process (MDP) problem and propose a specific algorithm to solve it. We apply local estimated rewards and a classic bandit algorithm Exp3 to address the issues when applying online MDP methods to the CIL protocol. Our method consistently improves top-performing CIL methods in both TFH and TFS settings, e.g., boosting the average accuracy of TFH and TFS by 2.2 percentage points on ImageNet-Full, compared to the state-of-the-art. Code is provided at https://class-il.mpi-inf.mpg.de/online/

Downloads

Published

2023-06-26

How to Cite

Liu, Y., Li, Y., Schiele, B., & Sun, Q. (2023). Online Hyperparameter Optimization for Class-Incremental Learning. Proceedings of the AAAI Conference on Artificial Intelligence, 37(7), 8906-8913. https://doi.org/10.1609/aaai.v37i7.26070

Issue

Section

AAAI Technical Track on Machine Learning II