Skip to main content
QUICK REVIEW

[Paper Review] On the importance of cross-task features for class-incremental learning

Albin Soutif--Cormerais, Marc Masana|arXiv (Cornell University)|Jun 22, 2021
Domain Adaptation and Few-Shot LearningComputer Science40 references6 citations
TL;DR

This paper investigates the role of cross-task features in class-incremental learning (class-IL), demonstrating that while replay strategies can mitigate forgetting, the primary performance gap in class-IL stems not from forgetting but from insufficient learning of cross-task discriminative features. The authors introduce a new forgetting measure and show that knowledge transfer and feature quality—especially cross-task feature learning—are more critical than forgetting reduction for improving performance, particularly with limited data.

ABSTRACT

In class-incremental learning, an agent with limited resources needs to learn a sequence of classification tasks, forming an ever growing classification problem, with the constraint of not being able to access data from previous tasks. The main difference with task-incremental learning, where a task-ID is available at inference time, is that the learner also needs to perform cross-task discrimination, i.e. distinguish between classes that have not been seen together. Approaches to tackle this problem are numerous and mostly make use of an external memory (buffer) of non-negligible size. In this paper, we ablate the learning of cross-task features and study its influence on the performance of basic replay strategies used for class-IL. We also define a new forgetting measure for class-incremental learning, and see that forgetting is not the principal cause of low performance. Our experimental results show that future algorithms for class-incremental learning should not only prevent forgetting, but also aim to improve the quality of the cross-task features, and the knowledge transfer between tasks. This is especially important when tasks contain limited amount of data.

Motivation & Objective

  • To investigate whether learning cross-task features significantly improves performance in class-incremental learning (class-IL), where task IDs are not available at test time.
  • To challenge the assumption that catastrophic forgetting is the main cause of performance drop in class-IL, especially under memory constraints.
  • To propose and evaluate a new forgetting metric tailored for class-IL, which better reflects the cumulative nature of the learning problem.
  • To assess the relative importance of cross-task feature learning versus knowledge transfer and bias correction in replay-based class-IL methods.
  • To demonstrate that performance gains in class-IL stem more from improved feature quality and inter-task knowledge transfer than from minimizing forgetting.

Proposed method

  • The authors compare two fine-tuning baselines: one that explicitly learns cross-task features (FT^BAL_{+CTF}) and one that does not (FT^BAL_{-CTF}), using a replay buffer with balanced memory sampling.
  • They introduce a new cumulative forgetting measure that evaluates forgetting across all previous tasks, rather than per-task, to better reflect the class-IL setting.
  • Task-aware accuracy (A_taw) and task-inference accuracy (A_tinf) are used to evaluate model performance: A_taw measures classification accuracy when task IDs are provided, while A_tinf measures the model’s ability to assign predictions to the correct task without task IDs.
  • Experiments are conducted on CIFAR-100 with 10 tasks, varying memory size from 20 to 500 exemplars per class, to assess the impact of memory on feature learning and performance.
  • The study evaluates how increasing memory size affects both forgetting and performance, isolating the role of cross-task feature learning from other factors like task-recency bias.
  • Knowledge transfer is analyzed by comparing performance gains between models with and without explicit cross-task feature learning, particularly in terms of forward and backward transfer.

Experimental results

Research questions

  • RQ1To what extent does the absence of explicit cross-task feature learning contribute to performance degradation in class-incremental learning?
  • RQ2Is catastrophic forgetting the primary cause of performance drop in class-IL, or are other factors more influential?
  • RQ3How does increasing memory size affect the learning of cross-task features and overall performance in class-IL?
  • RQ4Can improved knowledge transfer between tasks explain performance gains more than reduced forgetting or better cross-task feature learning?
  • RQ5How do task-aware and task-inference accuracy metrics compare in diagnosing the true challenges of class-IL?

Key findings

  • The performance gap between class-IL and joint training is not primarily due to catastrophic forgetting, as measured by the proposed cumulative forgetting metric, which shows minimal forgetting in the studied setup.
  • Even with zero forgetting, performance continues to improve with increased memory size, indicating that forgetting is not the main bottleneck in class-IL.
  • The learning of cross-task features stabilizes after 50 exemplars per class, after which further memory increases yield gains primarily through improved knowledge transfer rather than better cross-task feature learning.
  • Task-inference accuracy (A_tinf) grows with memory size, and the gap between models with and without explicit cross-task feature learning (FT^BAL_{+CTF} vs. FT^BAL_{-CTF}) stabilizes at 50 exemplars, suggesting that cross-task feature learning is largely achieved by that point.
  • The task-aware accuracy (A_taw) increases with memory size for both baselines, indicating that knowledge transfer—especially backward and forward transfer—plays a crucial role in performance gains.
  • The results suggest that future class-IL algorithms should prioritize improving feature quality and knowledge transfer between tasks, rather than solely focusing on minimizing forgetting.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.