Manuscript Offprint

arXiv:2610.21804

Co2In: a Bi-level Memory Incremental Learning Framework with Knowledge Encoding, Consolidation, and Integration

Wenju Sun, Qingyong Li, Boyang Li, Wen Wang, Siyu Zhang, Yi Wei, Yangliao Geng

Wenju Sun, Qingyong Li, Boyang Li, Wen Wang, Siyu Zhang, Yi Wei, Yangli-ao Geng

Abstract—Incremental learning (IL) aims to continually acquire new knowledge (plasticity) while retaining previously learned information (stability). However, striking a balance between plasticity and stability remains a significant challenge for intelligent systems. The human brain achieves exceptional balance, owing to various memory units that collaboratively encode and store information. Inspired by human memory mechanisms, this paper introduces an IL framework with knowledge enCoding, Consolidation, and Integration ( Co2InCo^{2}In). Co2InCo^{2}In is designed as a bi-level memory architecture: a working memory for adaptive knowledge acquisition and a long-term memory dedicated to the persistent retention of information. The two memory modules work cooperatively during IL. The working memory first learns from new data to encode knowledge into parameters. Subsequently, Co2InCo^{2}In performs a consolidation process to identify underlying patterns in the learned parameters and re-express them into a compact knowledge representation. Next, the knowledge representation and the identified patterns are transformed into separate network layers and integrated into the long-term memory. These designs empower Co2InCo^{2}In to accumulate knowledge with high plasticity and stability. We evaluate Co2InCo^{2}In on CIFAR-10, CIFAR-100, and Tiny-ImageNet under exemplar-free Class-IL and Task-IL settings. Experimental results show that Co2InCo^{2}In achieves state-of-the-art performance with efficient memory consumption.

Index Terms—Incremental Learning, Continual Learning, Catastrophic Forgetting, Class-Incremental Learning.

1 INTRODUCTION

In an ever-changing environment, incremental learning (IL) emerges as a critical challenge for intelligent systems to continually accumulate new knowledge while retaining previously acquired information [1]. In typical IL scenarios, a learner is required to learn a sequence of disjoint tasks. When learning a new task, only data from the new task are available. In this training schema, an effective IL learner should be able to flexibly learn and incorporate new information from the current task (plasticity) while retaining previously acquired old-task knowledge (stability). To strike a balance between plasticity and stability, a variety of IL strategies have been developed based on distinct technical mechanisms [2], [3]. Among them, memory-based IL methods have shown superior performance [4]–[7].

As illustrated in Fig. 1 (a), memory-based methods typically involve an auxiliary memory to store partial information from previous tasks. The information is used to relieve forgetting when learning new tasks. Depending on the type of information stored, memory-based methods can be further categorized into rehearsal-based and gradient-memory-based methods. Rehearsal-based methods [4], [7], [9]–[14] adopt an exemplar memory (or a generative model) to store (or generate) samples or features from old tasks, replaying them to reinforce old-task knowledge during new-task learning. Alternatively, gradient-memory-based methods [5], [6], [15]–[17] choose to monitor gradient directions that might impede old-task performance, updating the model only with gradients orthogonal to the stored ones.

Both rehearsal-based and gradient-memory-based methods adhere to a fundamental principle: the model must simultaneously acquire new knowledge while retaining old knowledge. However, knowledge acquiring and remembering typically interfere with each other, leading to the stability-plasticity dilemma [18]. For the rehearsal-based methods, fitting new tasks could overwrite old knowledge, particularly if the stored samples inadequately represent the data distribution of the old tasks, incurring compromised stability. On the other hand, gradient memory-based methods may hinder parameter updates along the direction of the steepest descent for loss minimization, especially in extreme cases where the entire gradient space is constrained, resulting in reduced plasticity.

Wenju Sun, Qingyong Li, Wen Wang, Siyu Zhang, and Yangli-ao Geng are with Key Laboratory of Big Data & Artificial Intelligence in Transportation (Ministry of Education), Beijing Jiaotong University, Beijing, China, 100044. Emails: {SunWenJu, liqy, wangwen, zhangsiyu, gengyla}@bjtu.edu.cn

In contrast, humans exhibit remarkable IL abilities, attributed to the multi-level structure of the human brain and effective memory procedures. Figure 1 (b) illustrates the classic Atkinson-Shiffrin human memory model [8]. In this schema, environmental information is first captured by sensory memory and temporarily stored in short-term memory. Through repeated rehearsals, the encoded information undergoes consolidation with the assistance of the

  • Boyang Li is with College of Computing and Data Science, Nanyang Technological University, Singapore, 639798. Email: boyang.li@ntu.edu.sg

  • Yi Wei is with Fujian Key Laboratory of Big Data Application and Intellectualization for Tea Industry, Wuyi University, Fujian, China, 354300. Email: wyqbits@sina.com

• Corresponding author: Yangli-ao Geng.

©2026 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.

Figure

Fig. 1. Diagram of memory-based IL methods, Atkinson-Shiffrin human memory model [8], and the proposed Co2InCo^{2}In. (a) Memory-based IL methods prevent the model from forgetting when learning by replaying old-task exemplars or restricting gradient directions. (b) In the human brain, information is temporally stored in short-term memory. After repeated rehearsal, the information will be permanently remembered in long-term memory. (c) Inspired by the human brain, Co2InCo^{2}In acquires new knowledge with working memory and integrates it into long-term memory for storage.

prefrontal cortex, eventually leading to its permanent storage in the long-term memory [19], [20]. The layered structure effectively segregates the tasks of information encoding and storage into different brain organs, endowing human memory with an ideal balance of plasticity and stability.

Inspired by the mechanism of human memory, we introduce a bi-level memory framework for IL. As illustrated in Fig. 1(c), the framework consists of a working memory (akin to the short-term memory in the human memory model) and a long-term memory, each implemented as neural networks but with distinct roles. The working memory dynamically acquires new knowledge, while the long-term memory consistently stores all learned information. This cognitively inspired framework decouples learning from remembering, ensuring sufficient plasticity and stability.

Based on the bi-level memory framework, we propose the knowledge enCoding, Consolidation, and Integration ( Co2InCo^{2}In) strategy to continually accumulate knowledge. Upon encountering a new task, the working memory first encodes the new knowledge into trainable parameters. Acknowledging the inherent over-parameterization issue within these trained parameters [21], Co2InCo^{2}In executes a consolidation process to identify the underlying patterns of the trained parameters. The identified patterns serve as a set of basis to construct a parameter space that encapsulates valuable knowledge but with significantly lower dimensions. By projecting the trained parameters with respect to the pattern basis, Co2InCo^{2}In generates a compact representation of valuable knowledge involved in the trained parameters. Then, the long-term memory re-organizes the knowledge representations and pattern basis of all learned tasks into independent layers, ultimately integrating them into a unified network. The unified network directly executes inference operations. Moreover, we equip Co2InCo^{2}In with a novel quadratic classifier, which establishes compact decision boundaries. As a result, Co2InCo^{2}In contains cross-task discriminability without necessitating the task identification of the query sample, thus enhancing its generalizability in task-agnostic scenarios [22]. The contributions of this paper are listed as follows:

  • Inspired by the human memory system, we propose Co2InCo^{2}In, a bi-level memory IL method that decouples knowledge acquisition and retention to balance plasticity and stability. A series of strategies are devised for knowledge encoding, consolidation, and integration within Co2InCo^{2}In, enabling effective IL with high memory and computational efficiency.

  • We propose a quadratic classifier to encourage Co2InCo^{2}In to learn compact decision boundaries, which further extends its capability for task-agnostic scenarios, so Co2InCo^{2}In is applicable to both Task-IL and Class-IL.

  • Co2InCo^{2}In is evaluated on CIFAR-10, CIFAR-100, and Tiny-ImageNet datasets. Our experimental results demonstrate that Co2InCo^{2}In outperforms most state-of-the-art baselines with lower memory usage.

A preliminary conference version of this work, referred to as BMKP, has been presented in [23]. This paper expands upon the conference version with several key enhancements: (1) We introduce a more efficient knowledge integration process, which markedly reduces computational overhead during inference. (2) A quadratic classifier is incorporated into the bi-level memory framework, notably improving the performance of Co2InCo^{2}In in exemplar-free Class-IL, an aspect not covered in BMKP. (3) We offer more experiments to comprehensively validate Co2InCo^{2}In.

References (76)

  • Deep class-incremental learning: A survey
  • Online continual learning in image classification: An empirical survey
  • A continual learning survey: Defying forgetting in classification tasks
  • Dark experience for general continual learning: A strong, simple baseline
  • Gradient projection memory for continual learning
  • Training networks in null space of feature covariance for continual learning
  • Class-incremental continual learning into the extended derverse
  • Academic Press, 1967
  • On the effectiveness of lipschitz-driven rehearsal in continual learning
  • Gradient episodic memory for continual learning
  • Efficient lifelong learning with a-gem
  • Large scale incremental learning
  • icarl: Incremental classifier and representation learning
  • Always be dreaming: A new approach for data-free class-incremental learning
  • Re-thinking gradient projection continual learning: Stability / plasticity feature space decoupling
  • Balancing stability and plasticity through advanced null space in continual learning
  • Continual learning with recursive gradient optimization
  • The stability-plasticity dilemma: investigating the continuum from catastrophic forgetting to age-limited learning effects
  • Consolidation and reconsolidation: Two lives of memories?
  • How to optimize knowledge construction in the brain
  • A survey of model compression and acceleration for deep neural networks (opens arXiv in a new tab)
  • Three types of incremental learning
  • Decoupling learning and remembering: A bilevel memory framework with knowledge projection for task-incremental learning
  • Hierarchical correlations replay for continual learning
  • Co2l: Contrastive continual learning
  • Learning fast, learning slow: a general continual learning method based on complementary learning system
  • Online prototype learning for online continual learning
  • Continual learning with deep generative replay
  • Dreaming to distill: data-free knowledge transfer via deepinversion
  • Overcoming catastrophic forgetting via model adaptation
  • Exemplar-free class incremental learning via discriminative and comparable parallel one-class classifiers
  • Adam: A method for stochastic optimization
  • Learning without forgetting
  • Podnet: Pooled outputs distillation for small-tasks incremental learning
  • Topology-preserving class-incremental learning
  • Variational data-free knowledge distillation for continual learning
  • Prototype reminiscence and augmented asymmetric knowledge aggregation for non-exemplar class-incremental learning
  • Overcoming catastrophic forgetting in neural networks
  • Continual learning through synaptic intelligence
  • Progress & compress: A scalable framework for continual learning
  • Memory aware synapses: Learning what (not) to forget
  • Packnet: Adding multiple tasks to a single network by iterative pruning
  • Compacting, picking and growing for unforgetting continual learning
  • Piggyback: Adapting a single network to multiple tasks by learning to mask weights
  • Parameter-level soft-masking for continual learning
  • Progressive Neural Networks
  • Ilcoc: An incremental learning framework based on contrastive one-class classifiers
  • Lifelong learning with dynamically expandable networks
  • Incremental task learning with incremental rank updates
  • Continual learning by using information of each class holistically
  • Efficient feature transformations for discriminative and generative continual learning
  • Afec: Active forgetting of negative transfer in continual learning
  • Sparse coding in a dual memory system for lifelong learning
  • Learning to prompt for continual learning
  • Dualprompt: Complementary prompting for rehearsal-free continual learning
  • Coda-prompt: Continual decomposed attention-based prompting for rehearsal-free continual learning
  • Expandable subspace ensemble for pre-trained model-based class-incremental learning
  • Semantically-shifted incremental adapter-tuning is a continual vitransformer
  • Adapter merging with centroid prototype mapping for scalable class-incremental learning
  • Inflora: Interference-free low-rank adaptation for continual learning
  • Cl-lora: Continual low-rank adaptation for rehearsal-free class-incremental learning
  • Class-incremental learning: survey and performance evaluation on image classification
  • Do we really need a learnable classifier at the end of deep neural network? (opens arXiv in a new tab)
  • Neural collapse inspired feature-classifier alignment for few-shot class-incremental learning
  • Deep one-class classification
  • Learning multiple layers of features from tiny images
  • Tiny imagenet challenge (cs231n)
  • Npcl: Neural processes for uncertainty-aware continual learning
  • Continual learning of context-dependent processing in neural networks
  • Prototype augmentation and self-supervision for incremental learning
  • Continual learning with filter atom swapping
  • Forget-free continual learning with winning subnetworks
  • Deep residual learning for image recognition
  • Cdhd: Contrastive ereamer for hint distillation
  • Mitigating forgetting in online continual learning via instance-aware parameterization
  • Continual learning via bit-level information preserving