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.
In continual learning, regularization-based methods aim to mimic neuroplasticity by updating network weights to learn new tasks while constraining changes to parameters that are important for previously learned tasks through penalty terms. However, as the number of tasks increases, preserving knowledge from earlier tasks becomes less effective. This is mainly because updates for new tasks are distributed across the entire network, where parameters are highly interdependent due to the dense connectivity between neurons. Inspired by the Exponential Distance Rule (EDR), which states that the number of neural connections decreases with increasing physical distance, learning is naturally locally correlated while inter-area updates remain less task-dependent. Motivated by this principle, in this paper we demonstrate that applying weight regularization to multiple small and independently learned complementary representations is more effective than regularizing a single large shared representation. By decomposing the input into independently learned components, learning new tasks induces only localized parameter updates within specific representation, which limit interference and improve knowledge retention across tasks. We employ independent autoencoders that learn different parts of the input independently through unsupervised regularization. At inference time, a linear classifier is used for evaluation. The experimental results on a sequence of tasks using 5-Splits MNIST, sequence of 5-datasets, 5-Splits CIFAR-10, 10-Splits Tiny ImageNet shows competitive results with supervised and replay-based methods. Code is available.
Figures & tables
Figure 1: Overall illustration of the proposed continual learning framework using independent regularized representations (right), compared to existing methods with a single representation (left). Colored nodes represent neurons that are important for previous tasks.
Figure 2: Geometric intuition for the theoretical analysis. (a) After learning task j , the weights θ(j) sit at a minimum of the loss. Learning a later task moves the weights away from it and increases the loss, which is forgetting. A small move along a stiff direction (high curvature) causes a large loss increase, while even a large move along a soft direction (low curvature) causes little. (b) For a single shared representation, the importance matrix F is dense: the off-diagonal entries are the hidden couplings that diagonal EWC ignores. (c) For independent representations, F is block-diagonal ( F1,…,FR ). The cross-block couplings are exactly zero, so forgetting separates into one term per representation and each block can be protected on its own.
Figure 4: Multi-representation inference using a linear classifier trained on the concatenated frozen representations.
Method
Supervision
Type
ACC.(%)
EWC Kirkpatrick et al. (2017)
Supervised
Regularization
20.01 ± 0.06
SI Zenke et al. (2017)
Supervised
Regularization
19.99 ± 0.06
MAS Aljundi et al. (2018)
Supervised
Regularization
19.52 ± 0.29
LwF Li and Hoiem (2017)
Supervised
Distillation
24.17 ± 0.33
GEM Lopez-Paz and Ranzato (2017)
Supervised
Replay
92.20 ± 0.12
DGR Shin et al. (2017)
Supervised
Generative replay
91.24 ± 0.33
Table 1: CIL accuracy comparison on 5-Splits MNIST.
Method
Supervision
Type
ACC.(%)
ER Riemer et al. (2019)
Supervised
Replay
44.79 ± 1.86
GEM Lopez-Paz and Ranzato (2017)
Supervised
Replay
25.54 ± 0.76
A-GEM Chaudhry et al. (2019)
Supervised
Replay
20.04 ± 0.34
iCARL Rebuffi et al. (2017)
Supervised
Replay + distillation
49.02 ± 3.20
FDR Benjamin et al. (2019)
Supervised
Replay
30.91 ± 2.74
GSS Aljundi et al. (2019)
Supervised
Replay
39.07 ± 5.59
Table 2: CIL accuracy comparison on 5-Splits CIFAR-10. The compared methods use 200 -example buffer.
Method
Supervision
Type
ACC.(%)
ER Riemer et al. (2019)
Supervised
Replay
8.49 ± 0.16
A-GEM Chaudhry et al. (2019)
Supervised
Replay
8.07 ± 0.08
iCARL Rebuffi et al. (2017)
Supervised
Replay + distillation
7.53 ± 0.79
FDR Benjamin et al. (2019)
Supervised
Replay
8.70 ± 0.19
DER Buzzega et al. (2020)
Supervised
Replay
11.87 ± 0.78
DER++ Buzzega et al. (2020)
Supervised
Replay
10.96 ± 1.17
Table 3: CIL accuracy comparison on 10-Splits Tiny ImageNet.
Settings
Accuracy
L1
65.53
L1 + L2
65.28
L1 + L2 + L3
84.07
S1
47.23
S1 + S2
44.90
S1 + S2 + S3
52.69
Table 4: Ablation study on the effect of using multiple representations on CIL accuracy, conducted on 5-Splits CIFAR-10 with LevelNets using L encoders and SideNets using S encoders
Figure 5: Effect of the number of splits on the accuracy under four task-split configurations on CIFAR-10 dataset.
Figure 6: Sensitivity of average accuracy across random seeds for LevelNets and SideNets under CIL and TIL.
CIL
TIL
Dataset
Encoder
Mean ± Std
95% CI
Mean ± Std
95% CI
MNIST
LevelNets
97.74 ± 0.92
[96.59, 98.88]
99.17 ± 0.69
[98.31, 100.03]
SideNets
97.76 ± 0.57
[97.05, 98.46]
99.29 ± 0.11
[99.16, 99.42]
CIFAR-10
LevelNets
61.23 ± 9.56
[49.36, 73.10]
80.85 ± 6.38
[72.93, 88.77]
SideNets
54.93 ± 1.86
[52.62, 57.23]
78.60 ± 0.39
[78.11, 79.08]
Tiny ImageNet
LevelNets
21.28 ± 0.30
[20.92, 21.65]
39.59 ± 1.89
[37.25, 41.93]
Table 5: Class-incremental (CIL) and task-incremental (TIL) accuracy (%), averaged over 5 seeds. Values are mean ± sample standard deviation; 95% confidence intervals (Student’s t , n=5 ) in brackets.
Figure 7: Per-task accuracy for LevelNets and SideNets under CIL and TIL.
Figure 8: Average accuracy over the five tasks for fine-tuning (FT) and UCLIR with LevelNets and SideNets.
Figure 9: Per-task CIL and TIL accuracy for LevelNets and SideNets across the five sequential datasets.
Figure 10: Activation maps preservation across tasks for 5-Splits MNIST and 5-Splits CIFAR-10. Classes from task 1.
Figure 11: Activation maps preservation across tasks for 10-Splits Tiny ImageNet. Classes from task 3.
Figure 12: Feature retention across tasks calculated as Cosine similarity between the features of the class sample task and the next tasks.
State Key Laboratory of Human-Machine Hybrid Augmented Intelligence Institute of Artificial Intelligence and Robotics, Xi’an Jiaotong University, Shaanxi, China · Computer Vision Center, Barcelona, Spain · Universitat Aut`onoma de Barcelona, Barcelona, Spain +3