Rethinking Task-Incremental Learning Baselines

Md Sazzad Hossain, Pritom Saha, Townim Faisal Chowdhury, Shafin Rahman, Fuad Rahman, Nabeel MohammedarXiv 2022

TL;DR

The authors propose the Simple Adjustment Network (SAN), a lightweight and efficient baseline for task-incremental learning. By freezing a shared backbone and a primary classifier after the first task and only training small, task-specific "adjustment" layers for subsequent tasks, SAN achieves near state-of-the-art performance on 2D and 3D datasets without the need for complex replay memory or regularization.

What Problem Does This Paper Address?

In real-world applications, AI models often encounter a continuous stream of new data. Task-Incremental Learning (TIL) aims to teach models new capabilities (tasks) sequentially while preventing "catastrophic forgetting" of previous knowledge. The core challenge is the stability-plasticity dilemma: a model must be plastic enough to learn new information but stable enough not to overwrite old memories.

Existing solutions often rely on:

  1. Replay Memory: Storing examples from past tasks, which leads to exponential memory growth.
  2. Regularization: Penalizing changes to important weights, which is computationally expensive.
  3. Specialized Architectures: Using complex structures like autoencoders that increase training and inference time.

The authors argue that these methods are often over-engineered and lack a strong, simple baseline for comparison.

Methods

The authors introduce SAN, which simplifies the TIL process by focusing on feature alignment rather than creating new decision boundaries for every task.

  • The Architecture: The model consists of a backbone ($B_1$), a task-specific adjustment network ($F_t$), and a fixed classifier ($C_1$).
  • Task 1 Training: The entire network ($B_1$ and $C_1$) is trained from scratch on the first task. After this, $B_1$ and $C_1$ are frozen.
  • Incremental Tasks ($t > 1$): For every new task, a small adjustment network ($F_t$)—typically just a few convolutional layers—is inserted between the backbone and the classifier. Only $F_t$ is trained for the new task.
  • Inference: Since the task identity is known during testing in TIL, the model simply switches to the corresponding $F_t$ to process the input.

This approach is visualized in the comparison between a standard baseline and the SAN model:

Fig. 2: (a) Common baseline vs (b) Proposed SAN model. SAN uses adjustment layers ($F_t$) to align new features with the original classifier ($C_1$).

Datasets

The authors evaluated SAN across a wide variety of benchmarks:

  • 2D Image Datasets: MNIST, FashionMNIST, notMNIST, SVHN, CIFAR10, CIFAR100, and MiniImageNet. They also tested a complex "Sequence of 5 Datasets" to simulate diverse real-world data.
  • 3D Point Cloud Dataset: ModelNet40. This is significant as the authors claim to be the first to test TIL on 3D point cloud objects.

Key Insights and Ideas

  • Feature Alignment vs. Boundary Creation: The "aha" moment of SAN is that you don't necessarily need new classifiers for new tasks. If the first task provides a sufficiently distinctive feature space, subsequent tasks only need to "align" their features to fit into those existing decision boundaries.
  • Parameter Efficiency: By using convolutional layers for the adjustment network ($F_t$) instead of the fully connected layers typically used in multi-head baselines, SAN keeps the model size remarkably small.
  • Backbone Sensitivity: The quality of the initial training (Task 1) matters. The authors found that training the backbone on natural images (like CIFAR10) first leads to better overall performance across a sequence than starting with simpler data like MNIST.

Key Results

SAN demonstrates an exceptional balance between accuracy and model size, often outperforming much more complex methods.

  • Accuracy-Size Trade-off: On the 20-split MiniImageNet dataset, SAN achieved a "perfect" trade-off, maintaining high accuracy with a significantly smaller memory footprint than methods like PNN or ACL.
Fig. 1: Accuracy vs. model size comparison among existing and SAN (Ours) method on the 20-split MiniImagenet dataset. SAN (Ours) attains a perfect accuracy-size trade-off even without reply memory examples.
  • Performance Stability: Unlike the common baseline, which sees performance degrade as more tasks are added, SAN remains robust. This is particularly evident in the Permuted MNIST and MiniImageNet experiments.
Fig. 3: Individual task results of common baseline and SAN. One can notice SAN works better than the baseline when more and more tasks are added incrementally.
  • 3D Domain: On ModelNet40, SAN outperformed the baseline with an average accuracy of 83.31% while actually using a smaller architecture (15.33 MB vs 15.65 MB).

Limitations and Future Work

  • Task ID Dependency: SAN is designed for Task-Incremental Learning, meaning it requires the task identity at inference time to select the correct adjustment layer. It is not directly applicable to Class-Incremental Learning where task IDs are unknown.
  • First Task Bias: Because the backbone and classifier are frozen after Task 1, the model's ultimate potential is capped by how well it learns that initial task.
  • Future Directions: The authors suggest exploring different backbone architectures and applying the SAN principle to even more complex 3D tasks and real-world streaming data scenarios.

Summary updated

Abstract

It is common to have continuous streams of new data that need to be introduced in the system in real-world applications. The model needs to learn newly added capabilities (future tasks) while retaining the old knowledge (past tasks). Incremental learning has recently become increasingly appealing for this problem. Task-incremental learning is a kind of incremental learning where task identity of newly included task (a set of classes) remains known during inference. A common goal of task-incremental methods is to design a network that can operate on minimal size, maintaining decent performance. To manage the stability-plasticity dilemma, different methods utilize replay memory of past tasks, specialized hardware, regularization monitoring etc. However, these methods are still less memory efficient in terms of architecture growth or input data costs. In this study, we present a simple yet effective adjustment network (SAN) for task incremental learning that achieves near state-of-the-art performance while using minimal architectural size without using memory instances compared to previous state-of-the-art approaches. We investigate this approach on both 3D point cloud object (ModelNet40) and 2D image (CIFAR10, CIFAR100, MiniImageNet, MNIST, PermutedMNIST, notMNIST, SVHN, and FashionMNIST) recognition tasks and establish a strong baseline result for a fair comparison with existing methods. On both 2D and 3D domains, we also observe that SAN is primarily unaffected by different task orders in a task-incremental setting.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
CIFAR-100 · 20 Split CIFAR-100SANAccuracy71.73%split: val · task-incremental · tasks=20 · classes_per_task=5
Source quote
L123: SAN (Ours) │ 71.73 (26.2) │ 62.60 (108.27) │ 99.65 (1.50) │ 98.72 (2.2) │ 89.37 (16.24) │ 83.31 (15.33)
miniImageNet · 20 Split MiniImagenetSANAccuracy62.60%split: val · task-incremental · tasks=20 · classes_per_task=5
Source quote
L123: SAN (Ours) │ 71.73 (26.2) │ 62.60 (108.27) │ 99.65 (1.50) │ 98.72 (2.2) │ 89.37 (16.24) │ 83.31 (15.33)
ModelNet40 · 4 split ModelNet40SANAccuracy83.31%split: val · task-incremental · tasks=4 · classes_per_task=10
Source quote
L123: SAN (Ours) │ 71.73 (26.2) │ 62.60 (108.27) │ 99.65 (1.50) │ 98.72 (2.2) │ 89.37 (16.24) │ 83.31 (15.33)
BibTeX
@misc{hossain2022rethinking,
  author = {Md Sazzad Hossain and Pritom Saha and Townim Faisal Chowdhury and Shafin Rahman and Fuad Rahman and Nabeel Mohammed},
  title = {{Rethinking Task-Incremental Learning Baselines}},
  year = {2022},
  eprint = {2205.11367},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2205.11367},
}
Figure