IMEX-Reg: Implicit-Explicit Regularization in the Function Space for Continual Learning

Continual learning (CL) remains one of the long-standing challenges for deep neural networks due to catastrophic forgetting of previously acquired knowledge. Although rehearsal-based approaches have been fairly successful in mitigating catastrophic forgetting, they suffer from overfitting on buffered samples and prior information loss, hindering generalization under low-buffer regimes. Inspired by how humans learn using strong inductive biases, we propose IMEX-Reg to improve the generalization performance of experience rehearsal in CL under low buffer regimes. Specifically, we employ a two-pronged implicit-explicit regularization approach using contrastive representation learning (CRL) and consistency regularization. To further leverage the global relationship between representations learned using CRL, we propose a regularization strategy to guide the classifier toward the activation correlations in the unit hypersphere of the CRL. Our results show that IMEX-Reg significantly improves generalization performance and outperforms rehearsal-based approaches in several CL scenarios. It is also robust to natural and adversarial corruptions with less task-recency bias. Additionally, we provide theoretical insights to support our design decisions further.

Paper

Similar papers

Reviewer siLj5/10 · confidence 4/52023-10-28

Summary

The paper develops IMEX-Reg as a new method to tackle catastrophic forgetting in continual learning settings.  IMEX-Reg  is inspired by the nervous system mechanisms and combines contrastive representation learning with consistency regularization. It aligns the classifier with CRL representations in the unit hypersphere. Empirical results are offered to demonstrate that IMEX-Reg improves the model generalization and leads to SOTA performance compared to the baselines. IMEX-Reg is also resilient to adversarial data issues and reduces bias towards recent tasks. The approach is also supported by theoretical justifications.

Strengths

1. CL is still an active research area and the proposed approach is a new method for this purpose. 2. The paper reads well and can be followed straightforwardly. 3. Section D in the Appendix is informative and offers insights about the weaknesses and future potentials for the proposed research.

Weaknesses

1. Continual learning in the context of the used baselines is a mature field with many existing works. However, the method does provide SOTA results across the board to warrant a contribution that offers a significant performance boost. 2. Theoretical justifications of the paper are not novel and mostly are reiterating previous results. Doing so is OK but does not offer any new theoretical contributions. 3. Some aspects of the algorithm are not studied extensively.

Questions

1. The connection between the proposed approach and the nervous system is very loose and emphasis on this aspect is overstated. What is the reason behind this emphasis without providing much evidence to support it? 2. It is important to study the effect of \alph, \beta, and \lambda on the performance. How the user should tune them? A study should be offered for this purpose. If the performance is sensitive with respect to the values of these hyperparameters, then it is essential to provide a solution for selecting the optimal values. 3. There are other common settings to study CL using CIFAR100, e.g., using 20 tasks each with 5 classes. I think adding experiments for these settings is also helpful to demonstrate how well the method scales when there are more tasks. 4. Having learning curves in CL is common and allows for studying the dynamic of learning. I think providing them in addition to the tables is helpful.

Rating

5: marginally below the acceptance threshold

Confidence

4: You are confident in your assessment, but not absolutely certain. It is unlikely, but not impossible, that you did not understand some parts of the submission or that you are unfamiliar with some pieces of related work.

Soundness

3 good

Presentation

3 good

Contribution

2 fair

Authorsrebuttal2023-11-19

Reply to the Reviewer siLj (1/2)

We appreciate the reviewer for taking the time to provide valuable insights for our paper. We are glad that the reviewer found the paper easy to follow. Below we address the concerns raised by the reviewer to improve the confidence in our paper. > Continual learning in the context of the used baselines is a mature field with many existing works. However, the method does provide SOTA results across the board to warrant a contribution that offers a significant performance boost We are delighted to find that the reviewer recognizes the performance boost achieved by IMEX-REG across all the continual learning scenarios, especially in low buffer regimes. We further conducted several analyses of our method that emphasize on the robustness in real world scenarios (Section 5) and other characteristics such as stability-plasticity tradeoff, model calibration (Appendix C). > Theoretical justifications of the paper are not novel and mostly are reiterating previous results. Doing so is OK but does not offer any new theoretical contributions. We do not claim that the theoretical insights in our paper are novel. Rather these are provided to support our hypothesis that forms the base for our design choices. For example, Conjecture 1 provides insights that CRL and cross-entropy learning share a common hypothesis class that is essential for the proposed novel regularization strategy. This hypothesis is later validated empirically in the Experimental Results (4.2) section. We believe that providing these theoretical justifications strengthen the confidence of the readers in our hypotheses. > The connection between the proposed approach and the nervous system is very loose and emphasis on this aspect is overstated. What is the reason behind this emphasis without providing much evidence to support it? We beg to differ with the reviewer that we overstate the connection between the proposed approach and the learning in humans. However, we do draw inspiration from learning mechanisms in humans as they are the most efficient and robust continual learners out there. Learning in humans is driven by several inductive biases that encourage learning to prioritize solutions with certain properties [1]. Similarly in Deep Learning several algorithmic or architectural choices like convolutions, deep architecture bring in certain inductive biases into the learning objective [1]. We study the domain of continual learning and find that recent rehearsal based approaches suffer from generalization under low buffer regimes. We employ several implicit and explicit regularization strategies to mitigate this problem. CRL, Multi-task Learning and explicit consistency regularization provide inductive biases to learn better representations from limited buffer data to preserve previously learnt information while adapting to novel knowledge. We attribute the significant performance boost of IMEX-REG in several challenging scenarios to these inductive biases. > Q: It is important to study the effect of \alph, \beta, and \lambda on the performance. How the user should tune them? A study should be offered for this purpose. If the performance is sensitive with respect to the values of these hyperparameters, then it is essential to provide a solution for selecting the optimal values. We perform grid search to find the optimum hyperparameter and Table 6 in Appendix shows the hyperparameters used for our experiments. We agree with the reviewer that a comparative study on hyperparameter tuning would provide more insights into IMEX-Reg’s performance. Table 7 in the revised manuscript provides hyperparameter tuning experiment results. Due to limited computational capacity, we will include an exhaustive study in the final revision. In Table 7 in the revised manuscript, we can see that the model is fairly robust to the choice of hyperparameters and still outperforms the next best baseline across all the hyperparameters searched. However the model shows a higher decrease in performance as $\lambda$ value increases. Higher the $\lambda$, higher the restriction on the model to preserve old knowledge, thus limiting its ability to learn new information. In such cases, we can look at the task-wise performance of the model or stability-plasticity trade-off (Appendix C.2) to find the optimum balance between preserving learnt knowledge and adapting to novel information.

Authorsrebuttal2023-11-19

Reply to the Reviewer siLj (2/2)

>There are other common settings to study CL using CIFAR100, e.g., using 20 tasks each with 5 classes... Here we provide the results for Seq-CIFAR100 with 20 tasks and buffer size 200. Method| Top-1 Acc (%) -|- ER|8.49 DER++|10.96 CLS-ER|25.98 OCDNet|27.24 IMEX-REG|28.11 As can be seen, IMEX-REG holds its performance as compared to other baselines in even longer task sequences. In the final revision, we intend to provide results with an average of multiple random initializations. >Having learning curves in CL is common and allows for studying the dynamic of learning... We will update our final revision with the learning curves for our model. We hope that the provided responses and additional experiments further strengthens the confidence of the reviewer with our paper. We are happy to address any remaining concerns the reviewer may have. If the responses are satisfactory, we kindly request the reviewer to update the score accordingly. [1] Goyal, Anirudh, and Yoshua Bengio. "Inductive biases for deep learning of higher-level cognition." Proceedings of the Royal Society A 478.2266 (2022): 20210068.

Reviewer bb133/10 · confidence 1/52023-10-31

Summary

This paper studies an interesting topic, continual learning, which aims to learn a series of tasks without forgetting. In order to the generalization performance of the memory-based methods, this paper introduces to employ contrastive representation learning (CRL) and consistency regularization. The experiment results show that the proposed approach achieve good results in continual learning.

Strengths

1. The main idea seems interesting. 2. This paper studies an interesting topic.

Weaknesses

1. The notations are hard to follow. For example, x and y should be bold because they are matrixes. 2. The parameters of the shared model and classifier are not defined. 3. Eq.1 is not clear to me. What is the actual network for f and g? Why is h not used in Eq.1? 4. In the text below Eq.2, you said z = h(f(.)). However, z is not defined in Eq.2. The input and output patterns for the models f, g and h are unclear. 5. Why introduce the existing Conjecture 1? Does this theory connect with your actual design? 6. Why the classifier can create the function spaces? 7. The proposed approach is based on the existing technology, and the overall novelty is small. 8. The proposed approach still requires the task information, which can not be used in more realistic continual learning settings such as task-free continual learning. 9. The methodology section is hard to follow. A lot of notations are not defined clearly and the proposed approach is not novel enough.

Questions

Please see the weakness section.

Rating

3: reject, not good enough

Confidence

1: You are unable to assess this paper and have alerted the ACs to seek an opinion from different reviewers.

Soundness

2 fair

Presentation

2 fair

Contribution

2 fair

Authorsrebuttal2023-11-19

Reply to the Reviewer bb13 (1/2)

We thank the reviewer for taking time to review our paper. Please find below our response to the questions raised: > The parameters of the shared model and classifier are not defined. Section 3 and Figure 1 both describe the parameters associated with shared model and classifier. Our CL model Φθ = {f, g, g′, h} consists of a shared backbone f, a linear classifier g, an MLP classifier projection g′, and a projection head h. The classifier g represents all the classes that belong to all the tasks, and the projection head h captures the embeddings of the ℓ2-normalized representation. > Eq.1 is not clear to me. What is the actual network for f and g? Why is h not used in Eq.1? Section 4.1 provides information on particulars of f and g. We use Resnet-18 as as a backbone f and an MLP classifier as g. In Equation 1, we keep the information generic as any other backbone or classifier can be used in its place. > In the text below Eq.2, you said z = h(f(.)). However, z is not defined in Eq.2. The input and output patterns for the models f, g and h are unclear. We define z = h(f(.)) in the text below Equation 2. z represents any arbitrary 128-dimensional ℓ2-normalized projection from CRL head h. > Why introduce the existing Conjecture 1? Does this theory connect with your actual design? We introduce Conjecture 1 to provide more intuition behind our choice of auxiliary task for multi-task learning in a CL setting. Assuming that the tasks in MTL share a common hypothesis class, sharing representations across tasks primarily benefits tasks with limited training samples. Given semantic preserving augmentations, both CRL and supervised learning capture similar discriminative features. Through Conjecture 1, we hypothesize that both CRL and cross-entropy share a common hypothesis class and sharing representations across these tasks especially benefits CL under low buffer regimes. > Why the classifier can create the function spaces? Deep learning classifiers create rich function spaces by leveraging hierarchical representation, non-linear activation functions, and automatic feature learning. The layered structure allows them to capture progressively abstract features, while non-linearities enable modeling complex relationships. Automatic feature learning adapts to data intricacies, and parameter sharing fosters generalization. With end-to-end learning and substantial model capacity, deep neural networks efficiently represent intricate patterns in a data-driven manner, making them adept at handling diverse and high-dimensional datasets.

Authorsrebuttal2023-11-19

Reply to the reviewer bb13 (2/2)

>The proposed approach is based on the existing technology, and the overall novelty is small. We respectfully disagree with the reviewer's assessment that novelty is limited. As acknowledged by us both in the paper, Contrastive Representation Learning (CRL) and consistency/representation regularization using Exponential Moving Average (EMA) have been previously used in the CL literature. There are works that employ consistency regularization, such as CLS-ER [1], and both consistency regularization and CRL, such as OCDNet [2]. We compare and contrast such methods (CLS-ER and OCDNet) in Tables 1 and 2. As can be seen from our empirical evaluation, IMEX-Reg clearly outperforms these methods across different scenarios. Our novel contribution mainly lies in leveraging desirable traits of learning in the unit hypersphere through explicit classifier regularization in the function space. To the best of our knowledge, there are no works that leverage traits of learning in the unit hypersphere in CL. To this end, we align the geometric structures within the classifier hypersphere with those of the projection head hypersphere to compensate for weak supervision under low buffer regimes. Both through empirical evaluation (Tables 1 and 2) and also through an ablation study (Table 3), we highlight the effect of our novel contribution on several benchmark datasets. In addition, Section 5 on model characteristics uncovers additional benefits emanating from our novel contribution. > The proposed approach still requires the task information, which can not be used in more realistic continual learning settings such as task-free continual learning. We respectfully disagree with the reviewers assessment that IMEX-Reg cannot be used in Cl settings such as task free continual learning. We would like to clarify that our work indeed addresses task-free continual learning challenges. In particular, the Generalized Class-IL (GCIL) framework employed in our study exposes the continual learning model to a realistic scenario, utilizing probabilistic distributions for data sampling from the CIFAR100 dataset in each task. The comparison in Table 2, considering both Uniform and Longtail (class imbalance) variations, demonstrates the superior performance of IMEX-Reg over existing CL methods, including ER, ER-ACE, DER++, and CLS-ER. Even in challenging scenarios like class imbalance with a low buffer size of 100, IMEX-Reg exhibits a remarkable 7.8% relative improvement over OCDNet. These findings underscore the capability of IMEX-Reg to learn generalizable features and enrich the classifier in the function space, positioning it as a robust solution for task-free continual learning scenarios. >The methodology section is hard to follow. A lot of notations are not defined clearly and the proposed approach is not novel enough. We understand the reviewer's concern regarding the complexity of the methodology section. We would like to emphasize that the intricacies stem from the incorporation of contrastive learning, exponential moving average, and a novel regularization technique that leverages the unique attributes of learning within the unit hypersphere through explicit classifier regularization in the function space. While we acknowledge that the methodology section may seem intricate, these details are intentionally included to provide a comprehensive understanding of our approach. Additionally, we would like to express that the perceived lack of novelty might be influenced by the level of experience in the field. Our approach integrates advanced concepts, and we understand that these may be less familiar to those less experienced in the specific domain. We are open to providing additional clarifications or explanations to enhance the readability of the methodology section for a broader audience. -------------- We once again thank the reviewer for prompt attention to our paper and for honestly acknowledging one's own uncertainty in assessing it. We appreciate your transparency and diligence in bringing this to the attention of the Area Chairs (ACs) for further evaluation. Your commitment to ensuring a fair and thorough review process is much appreciated. In light of your acknowledgment of uncertainty, we kindly request you to reconsider the confidence rating and, if possible, revise it to reflect any potential improvement in understanding. We believe that clarifications and revisions made in response to your valuable feedback may address concerns, and we hope this adjustment can be reflected in the updated evaluation. Your willingness to revisit the score would be immensely valuable in ensuring a fair representation of our work. [1] Arani et al., "Learning fast, learning slow: A general continual learning method based on complementary learning system" ICLR 2022 [2] Li et al., "Learning from students: Online contrastive distillation network for general continual learning" IJCAI 2022

Reviewer B5E55/10 · confidence 3/52023-11-01

Summary

This paper introduces a novel approach called IMEX-Reg, tailored for low memory buffer scenarios. In addition to several other techniques such as EMA, the approach utilizes contrastive representation learning and applies regularization to both the classification outputs and projection outputs. The motivation behind the approach stems from the fact that contrastive embeddings lie on the hypersphere, which improves training stability and classification performance. The experiment shows that the proposed method outperforms the baselines under the low memory buffer settings and shows the effectiveness of the proposed techniques in the ablation study.

Strengths

1. The motivation is clear and the paper is well-written 2. It outperforms the baselines

Weaknesses

1. The contribution of the paper is merely incremental as using contrastive learning and regularization on function space have been extensively studied before [1, 2, 3]. Imposing a regularization on the contrastive projected outputs along with the classification outputs improves the performance is not surprising. 2. The method introduces many hyper-parameters (e.g., alpha, beta, lambda in Eq.7), but there was no study of how these hyper-parameters affect the model performance. 3. The authors argue that their method has advantages over existing replay methods. However, rehearsal-free methods such as [3, 4] already significantly outperform the proposed method. For instance, [3] achieves 87.8% accuracy on Seq-CIFAR10 and 47.1% on Seq-TinyImageNet without the need to save any samples. [1] Supervised contrastive replay: Revisiting the nearest class mean classifier in online class-incremental continual learning \ [2] co2l- Contrastive Continual Learning \ [3] A theoretical study on solving continual learning \ [4] Look At Me, No Replay! SurpriseNet: Anomaly Detection Inspired Class Incremental Learning

Questions

1. Based on a paper under review, [5] achieves 74+% in Seq-CIFAR10 with a buffer size of 200 in ResNet-18. The authors may compare their method with [5] 2. Why is this method robust to natural corruption? An important discussion aligned with robustness to data distribution (or corruption) is covered in [6]. Misc. Please use \` rather than ' for \`SGD' and \`Joint' on page 6 [5] Learnability and algorithm for continual learning \ [6] A multi-head model for continual learning via out-of-distribution detection

Rating

5: marginally below the acceptance threshold

Confidence

3: You are fairly confident in your assessment. It is possible that you did not understand some parts of the submission or that you are unfamiliar with some pieces of related work. Math/other details were not carefully checked.

Soundness

3 good

Presentation

3 good

Contribution

2 fair

Authorsrebuttal2023-11-19

Reply to the reviewer B5E5 (1/2)

We thank the reviewer for insightful feedback and relevant references. Please find below our response to the questions raised: > The contribution of the paper is merely incremental We thank the reviewer for relevant references with respect to contrastive learning in CL. The references [1,2,3,8] use contrastive learning in their learning objective. As we have repeatedly mentioned in the paper, we do not claim any novelty emanating from contrastive learning objective. We are very much aware of the competing literature that employs Exponential Moving Average (EMA) and Contrastive Representation Learning (CRL) in CL. Specifically, CLS-ER [7] employs EMA while Co2L [2] employs CRL. Going one step ahead, OCDNet [6] is the closest prior art that employs both CRL and EMA. We respectfully disagree with the idea that imposing regularization on the contrastive projected outputs implicitly improves classification performance. Our novel contribution mainly lies in leveraging desirable traits of learning in the unit hypersphere through explicit classifier regularization in the function space. To the best of our knowledge, there are no works that leverage traits of learning in the unit hypersphere in CL. To this end, we align the geometric structures within the classifier hypersphere with those of the projection head hypersphere to compensate for weak supervision under low buffer regime. We carefully curate the list of baselines based on their learning objectives: contrastive learning methods, EMA based methods and approaches that use both contrastive learning and EMA. We note that these are highly cited works in CL that are published in reputed conferences. We compare and contrast such methods (CLS-ER, CO2L, OCDNet) in ‘Related Works’, and in experimental evaluation in Tables 1 and 2. We also compare with OCDNet in terms of task-recency bias, robustness against natural and adversarial corruptions in Section 5. Table 3 highlights the contribution of IMEX-Reg in Seq-CIFAR100 for a buffer size of 200. As can be seen from our experimental results and analysis, IMEX-Reg clearly outperforms these competing methods that entail EMA and CRL. This further emphasizes that our novel loss brings additional benefits not just in terms of performance but also in terms of robustness and less bias toward recent tasks. > The method introduces many hyper-parameters As IMEX-Reg entails multiple learning objectives, it introduces several hyperparameters. Table 6 provides the hyperparameters for used IMEX-Reg to reproduce the results reported in Table 1. We agree with the reviewer that a comparative study on hyperparameter tuning would provide more insights into IMEX-Reg’s performance. Table 7 in the revised manuscript provides hyperparameter tuning experiment results. Due to limited computational capacity, we will include an exhaustive study in the final revision. > Rehearsal-free methods such as [3, 4] already significantly outperform the proposed method The method in [3] explores possibilities of integrating the existing parameter isolation based continual learning (CL) method HAT or Sup with the strong OOD detection method CSI. As the reviewer rightly pointed out, these approaches attain accuracy higher than the existing replay-based methods. The improvement in performance can be attributed to several aspects of training: HAT and Sup entail parameter isolation during training. That inherently assumes task boundary information during training. It is a stricter constraint as task boundaries are not always accessible in real world CL scenarios. Secondly, these methods involve two stage training wherein the backbone is trained in the first stage and is kept frozen in the second stage. An additional rotation prediction and averaging is done to train a classifier in the second stage. As discussed in Table 2, Generalized Class-IL (GCIL) exposes the CL model to a more challenging and realistic learning scenario by using probabilistic distributions to sample data from the CIFAR100 dataset in each task. The aforementioned methods would fail in such scenarios due to the necessity of accessing task boundary information. As having the features lie on the unit-hypersphere leads to several desirable traits, we would like to re-emphasize that our novelty lies in leveraging activation correlations in the unit-hypersphere of the CRL to guide the classifier towards generalization. Although the above methods attain higher accuracy, they do not address the problem we have at hand. > Based on a paper under review, [5] achieves 74+% in Seq-CIFAR10 with a buffer size of 200 in ResNet-18. The authors may compare their method with [5]. We thank the reviewer for suggestions on the related work. We will include this in the final revision.

Authorsrebuttal2023-11-19

Reply to the reviewer B5E5 (2/2)

> Why is this method robust to natural corruption? An important discussion aligned with robustness to data distribution (or corruption) is covered in [6]. IMEX-Reg entails a two-pronged CL approach aimed at implicit regularization using hard parameter sharing and multi-task learning, and a novel explicit regularization in the function space to guide the optimization of the CL model towards generalization. With regularization in place, we expect the model to generalize well to out of distribution datasets as well. As evident in Figure 3, IMEX-Reg generalizes well to natural corruptions. We thank the reviewer for the reference [6]. We will review the paper in detail and see how we can provide more clarity on robustness to natural corruption in the final revision. We thank the reviewer for their thorough and insightful feedback. We respectfully inquire if these modifications have addressed their concerns and, if so, kindly request a reconsideration of the evaluation, as their satisfaction would greatly boost the paper's overall confidence and score. Note: Reference [4] was made online on October 30, 2023. Therefore, we are not aware of this literature. [7] Learning Fast, Learning Slow: A General Continual Learning Method based on Complementary Learning System. ICLR 2022 [8]. Li et al., "Learning from students: Online contrastive distillation network for general continual learning" IJCAI 2022

Authorsrebuttal2023-11-22

Requesting Reviewers to Engage in Discussion

We appreciate reviewers' feedback. As we approach the end of the rebuttal discussion period, we'd like to request reviewers' input to address any remaining concerns they may have before finalizing our responses.

Area Chair P3Fvmeta-review2023-12-08

Meta-review

The submission proposes a contrastive learning strategy that combines contrastive representation learning with consistency regularization. In response to reviewer concerns, the authors summarize that the claimed "novelty does not lie in the use of contrastive learning and EMA, rather it lies in leveraging traits of learning in the unit hypersphere in CL." Regularization in function space is a natural approach, which is a positive for the paper. However, the reviewers were unanimous that the submission does not pass the threshold for acceptance, with concrete concerns about (i) the addition of several hyperparameters that need to be tuned, (ii) insufficiently described novelty, (iii) insufficient theoretical analysis, and (iv) empirical results that did not fully convince the reviewers.

Why not a higher score

unanimous recommendation of reject from the reviewers.

Why not a lower score

N/A

© 2026 NYSGPT2525 LLC