Organizations: School of Information Engineering, Henan Kaifeng College of Science Technology and Communication, Kaifeng, 475000, Henan, China. · Henan Engineering Research Center for AI Technology of Converged Media, Kaifeng, 475000, Henan, China. · School of Computer and Information Engineering, Henan University, Kaifeng, 475001, Henan, China.
Biological learning systems acquire knowledge incrementally through broad, reusable representations established early and kept largely stable, while integrating new experience with minimal interference with previously learned knowledge. Replay-based methods approximate this by storing samples or features from previous tasks and mixing them into the current task. However, memory buffers grow with the number of tasks and may retain task-specific noise that reduces generalization. To address these limitations, we propose PatchAdaNet (Patch Adapter Network), an unsupervised class-incremental learning method for image classification that continually updates feature representations using autoencoders. Since images share structural features such as edges, corners, and shapes, we first divide each image into patches and train independent autoencoders on external data to reconstruct each patch. The layers of all patch encoders are aggregated into global frozen layers that generalize across tasks and remain fixed throughout learning. Learnable adapters then build global image representations from these features to reconstruct the entire image. To prevent feature drift without storing data, we introduce the Global Feature Centroid (GFC), a fixed-size running average of adapter outputs updated after each task to penalizes representation drift. Elastic Weight Consolidation (EWC) is applied to the learnable layers to preserve previously learned features by constraining important weights. Finally, a linear classifier is trained on the frozen latent representation and GFC for class-incremental evaluation. We evaluate PatchAdaNet in both CNN and Vision Transformer settings on CIFAR-10, CIFAR-100, miniImageNet and 5-Datasets, providing a comparative study of the two architectures under identical class-incremental settings. Code is available.
Figures & tables
Figure 1: Challenges of existing methods, and solutions of PatchAdaNet.
Figure 2: Visual illustration of the proposed PatchAdaNet. (a) CNN-based framework: frozen patch-level features are pretrained using a patch-level CNN autoencoder (CNN-PatchAE); continual learning then refines tiled frozen feature maps through adapter layers via image reconstruction (CNN-ImageAE). (b) ViT-based framework: frozen patch-level features are pretrained using a patch-level ViT autoencoder (ViT-PatchAE). In continual learning phase, frozen tokens are concatenated and combined with the previous depth’s adapted tokens, then refined through adapter Transformer blocks via image reconstruction (ViT-ImageAE).
Figure 3: Illustration of patch partitioning and training a dedicated autoencoder per patch index using CNN-PatchAE or ViT-PatchAE.
Figure 4: Detailed illustration of PatchAdaNet training process in CNN settings (a), and in ViT settings (b). A linear classifier is trained on top of the resulting Flatten GFM and Flatten Bottleneck features for class incremental learning evaluation.
Method
Memory
CIFAR-10
CIFAR-100
AGEM Chaudhry et al. ()
✓
17.7±0.3
5.8±0.1
GSS Aljundi et al. (2019a)
✓
18.4±0.2
8.1±0.2
MIR Aljundi et al. (2019b)
✓
20.7±0.7
9.7±0.3
GDumb Prabhu et al. (2020)
✓
23.3±1.3
8.2±0.2
ASER Shim et al. (2021)
✓
20.0±1.0
11.0±0.3
SCR Mai et al. (2021)
✓
40.2±1.3
19.3±0.6
Table 1: Class-Incremental Learning (CIL) results on CIFAR-10 (5 splits) and CIFAR-100 (20 splits) averaged over 15 runs with different random seeds. Memory: exemplar replay buffer (100 samples, all methods). ×: replay-free.
Method
Memory
miniImageNet
Naive-SGD Mirzadeh et al. (2020)
×
36.1±1.3
EWC Kirkpatrick et al. (2017)
×
34.8±2.3
KCL Derakhshani et al. (2021)
✓
53.3±0.6
Ours (CNN)
×
51.6 ± 0.6
Ours (ViT)
×
57.0 ± 0.3
Table 2: Task-Incremental Learning (TIL) results on miniImageNet (20 splits) averaged over 5 runs with different random seeds. Memory: exemplar replay buffer. ×: replay-free.
Method
Reply
Accuracy
CIFAR-10
Co 2 L Cha et al. (2021)
M
65.6±1.4
CaSSLe (SimCLR) Fini et al. (2022)
Dis
58.3
CaSSLe (Barlow) Fini et al. (2022)
Dis
62.7
Ours (CNN)
×
65.9 ± 0.7
Ours (ViT)
×
64.5 ± 0.4
Table 3: Unsupervised Class-Incremental Learning (CIL) results. M: buffer of features (20 samples) averaged over 15 runs with different random seeds. × : replay-free. Dis: distillation from the previous tasks.
Configuration
CNN
ViT
Frozen
Adapter
GFC
Acc.
Δ vs full
Acc.
Δ vs full
✓
✓
✓
65.9 ± 0.7
—
64.5 ± 0.4
—
×
✓
✓
52.9 ± 2.4
− 13.0
61.1 ± 1.1
− 3.4
✓
×
×
49.8 ± 3.2
− 16.1
61.7 ± 0.9
− 2.8
✓
✓
×
51.8 ± 1.6
− 14.1
61.0 ± 1.4
− 3.5
×
×
×
50.1 ± 2.8
− 15.8
61.6 ± 0.7
− 2.9
Table 4: Ablation study on CIFAR-10 across 5 runs to evaluate the effect of each component on the average accuracy. Frozen = (✓: frozen patches, × : learnable patches), Adapter = (✓with or × without adapter layers), GFC = Global Feature Centroid (✓with or × without GFC). Δ vs full: change in accuracy relative to the full configuration (all-✓).
Dataset
Model
Runs
Mean ±σ (%)
95% CI
CV
[min, max] (%)
Seed
CIFAR-10
CNN
15
65.9±0.7
[65.5, 66.3]
1.0
[64.8, 67.0]
ViT
15
64.5±0.4
[64.3, 64.7]
0.6
[63.8, 65.1]
CIFAR-100
CNN
15
22.3±4.1
[20.0, 24.5]
18.4
[17.9, 28.5]
ViT
15
32.0±1.1
[31.4, 32.6]
3.5
[29.3, 32.9]
miniImageNet
CNN
5
51.6±0.6
[50.9, 52.3]
1.1
[51.0, 52.3]
ViT
5
57.0±0.3
[56.6, 57.4]
0.6
[56.7, 57.5]
Table 5: Statistical robustness of average class incremental learning accuracy under two sources of randomness: random seed (repeated runs at fixed class order) and class order (random class-to-task permutations at fixed seed). Runs is the number of seeds or class orders. CI : 95% confidence interval for the mean. CV : coefficient of variation.
Figure 5: Class incremental learning sensitivity to random seed on CIFAR-10 (5 splits), CIFAR-100 (20 splits), and miniImageNet (20 splits).
Figure 6: Class incremental learning sensitivity to random class order permutation on CIFAR-10 (5 splits), CIFAR-100 (20 splits), and miniImageNet (20 splits).
Figure 7: Effect of the absence of GFC on the CIL accuracy, evaluated on CIFAR-10 with 5 tasks.
Figure 8: Effect of the GFC weight α and the EWC weight λ on CIL accuracy, evaluated on CIFAR-10 with 5 tasks.
Figure 9: Per task CIL and TIL accuracy on CIFAR-10, CIFAR-100, and miniImagenet.
Figure 10: Max forgetting after each task in CNN vs VIT settings.
Figure 11: Sensitivity of class-incremental accuracy to dataset order across heterogeneous dataset domains on the 5-Dataset sequence.
Figure 12: Effect of local shared frozen features versus task-specific adapter representations. (a) CNN: tiled frozen CNN-PatchAE feature maps capture local, separated structure, while adapter layers in CNN-ImageAE learn global shapes. (b) ViT: frozen token activation maps focus on general-purpose local regions, while adapter token activation maps focus on task-specific object regions.
Class-incremental learning (CIL) requires a model to incrementally learn tasks that contain new classes without accessing earlier training data while preserving the ability to recognize all seen classes. Recently, pretrained-model-based approaches have become prevalent by adapting a frozen backbone with additional lightweight trainable modules. Existing methods, however, exhibit limitations: task-specific adapters learn explicit per-task representations but are parameter- and computation-inefficient, while LoRA-based merging methods combine per-task LoRA parameters into a single model whose static aggregated weights cause representation interference during inference. To address these problems, we present FACET: task-conditioned FeAture transformation with ConditionEd feature consisTency, achieving excellent parameter efficiency while producing highly discriminative features during inference. When continually trained on a task sequence, FACET learns a single shared adapter that employs a dynamic task-conditioned feature transformation, shaping the overall feature distribution of the adapter into a mixture of overlap-reduced task-specific components. On the other hand, we propose an efficient replay-free task-conditioned feature consistency loss, aiming to mitigate catastrophic forgetting of the learned mixture distribution in the adapter's feature space. Even when maintaining only a single adapter, FACET demonstrates robust scalability. On both very long task sequences (e.g., 200 tasks) and standard short task sequences (e.g., 20 tasks), our method achieves superior performance while using significantly fewer trainable parameters and GFLOPs. The code will be made open source upon acceptance.
Yunxiang Fu, Meng Lou, Yizhou Yu
School of Computing and Data Science The University of Hong Kong
Class-incremental learning requires a model to learn new classes while preserving decision regions for old ones. This is difficult when raw old samples are no longer available. We propose Prototype Latent World Model Replay, a memory-free framework that stores old classes as distributions over stable hidden states rather than as images. A frozen ImageNet-pretrained encoder maps each image into a latent state space. In this space, each class is summarized by several prototype-centered distributions with class-specific variances. When new classes arrive, the model samples old latent states from this prototype world model. It then trains a lightweight adapter and classifier using both sampled old states and real new-class features. We also add a supervised contrastive term in the adapter space to promote intra-class compactness and old-new class separation. On Split CIFAR-100, our method improves over fine-tuning under Inc5, Inc10, and Inc20 without storing raw exemplars. The full Ours-LWM+Con model raises LastAcc from 4.55% to 31.64%, from 9.06% to 37.06%, and from 16.96% to 43.10% in Inc5, Inc10, and Inc20, respectively. It also achieves AvgAcc of 45.86%, 52.19%, and 56.18%. Ablation and retention analyses show that stable latent-state replay is the main source of the gain. Contrastive separation further refines the old-new geometry. These results suggest that prototype latent memory preserves reusable class-state distributions, rather than only fitting the current classifier.
Pre-trained models provide transferable representations for class-incremental learning (CIL). However, sequentially adapting these representations introduces optimization costs and may disrupt old-class feature structure. This motivates us to explore whether the discriminative potential of these representations can be further exploited by continually accumulating class information while keeping the encoders frozen. To this end, we propose TAP, a new and novel framework for tapping the discriminative potential of frozen representations in class-incremental learning. It accumulates visual and semantic class information in the frozen CLIP embedding space with only lightweight optimization. TAP comprises three modules: class-conditional visual distribution modeling, class-adaptive semantic calibration, and visual-semantic posterior fusion. The first module retains class means and within-class scatters, combining class-specific and shared covariances to stabilize distribution estimation. The second module learns class-specific weights over text templates from current-task images, adapting text representations to downstream classes. The third module combines the visual and semantic posteriors through a weighted product of experts for prediction over all seen classes without retaining images from previous tasks. Across nine datasets under two incremental protocols, TAP achieves state-of-the-art performance, attaining the highest average incremental and final-stage accuracies among the compared methods. The code is provided as an ancillary file.
Zihao Wang, Yu-Wei Zhan, Xiao-Qian Liu +4
Shandong University · Zhejiang University of Technology