Incremental Learning in Deep Convolutional Neural Networks Using Partial Network Sharing

Syed Shakib Sarwar, Aayush Ankit, Kaushik Roy

Deep Convolutional Neural Networks (DCNNs) face a significant hurdle in lifelong learning: catastrophic forgetting. When a model is trained on new data, it often overwrites the weights associated with previously learned tasks. The traditional remedy—retraining the model on the entire combined dataset—is computationally expensive, time-consuming, and often impossible due to data privacy or storage constraints.

Researchers from Purdue University have introduced a novel "clone-and-branch" strategy to address this stability-plasticity dilemma. Their approach allows DCNNs to incrementally learn new tasks by sharing generic feature-extraction layers while adding specialized branches for new information.

The Clone-and-Branch Methodology

The core of the proposed solution is Partial Network Sharing. This technique leverages the observation that the early layers of a DCNN typically learn low-level, generic features (such as edges and textures) that are applicable across a wide variety of visual tasks.

The incremental learning framework expands a base network by adding task-specific branches for new classes.

When a new set of classes is introduced, the system "freezes" these early layers and clones only the final convolutional and fully-connected layers to create a new task-specific branch. This ensures that the original knowledge remains intact while the model gains the "plasticity" needed for new data.

Layer Stacking and Similarity Scoring

To optimize the sharing process, the authors utilize a similarity scoring algorithm. By passing a small subset of the new task's data through the base network, the system measures the feature similarity between the old and new tasks. If the tasks are highly similar, a larger portion of the network is shared; if they are distinct, more layers are branched to capture unique features.

A typical DCNN architecture illustrating the layers that can be stacked and shared during the incremental learning process.

Performance and Hardware Efficiency

The methodology was rigorously tested on the CIFAR-100 and ImageNet (ILSVRC2012) datasets. The results indicate that the "clone-and-branch" approach maintains classification accuracy comparable to standard incremental learning while offering massive gains in efficiency.

Key findings include:

  • Energy Savings: The method achieved up to a 2.45x reduction in computation energy by avoiding backpropagation through shared layers.
  • Training Speed: Training time per iteration was reduced by 1.55x to 6x.
  • Storage Optimization: Storage requirements for new tasks dropped by 67-99%, as only the small branches need to be stored.
  • Memory Access: Memory access during training was reduced by 43-55%, significantly lowering the hardware overhead.

Conclusion

By strategically sharing network parameters and branching only where necessary, this research provides a scalable path for deploying DCNNs in environments requiring continuous learning. While challenges remain—such as managing a growing "forest" of branches over very long periods—the significant reductions in energy and time make this a compelling alternative to full-model retraining.

Summary updated

BibTeX
@article{sarwar2020incremental,
  author = {Syed Shakib Sarwar and Aayush Ankit and Kaushik Roy},
  title = {{Incremental Learning in Deep Convolutional Neural Networks Using Partial Network Sharing}},
  journal = {IEEE Access},
  year = {2020},
  doi = {10.1109/access.2019.2963056},
}
Figure