HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

NAPA-VQ: Neighborhood Aware Prototype Augmentation with Vector Quantization for Continual Learning

Tamasha Malepathirana; Damith Senanayake; Saman Halgamuge

NAPA-VQ: Neighborhood Aware Prototype Augmentation with Vector Quantization for Continual Learning

Abstract

Catastrophic forgetting; the loss of old knowledge upon acquiring new knowledge, is a pitfall faced by deep neural networks in real-world applications. Many prevailing solutions to this problem rely on storing exemplars (previously encountered data), which may not be feasible in applications with memory limitations or privacy constraints. Therefore, the recent focus has been on Non-Exemplar based Class Incremental Learning (NECIL) where a model incrementally learns about new classes without using any past exemplars. However, due to the lack of old data, NECIL methods struggle to discriminate between old and new classes causing their feature representations to overlap. We propose NAPA-VQ: Neighborhood Aware Prototype Augmentation with Vector Quantization, a framework that reduces this class overlap in NECIL. We draw inspiration from Neural Gas to learn the topological relationships in the feature space, identifying the neighboring classes that are most likely to get confused with each other. This neighborhood information is utilized to enforce strong separation between the neighboring classes as well as to generate old class representative prototypes that can better aid in obtaining a discriminative decision boundary between old and new classes. Our comprehensive experiments on CIFAR-100, TinyImageNet, and ImageNet-Subset demonstrate that NAPA-VQ outperforms the State-of-the-art NECIL methods by an average improvement of 5%, 2%, and 4% in accuracy and 10%, 3%, and 9% in forgetting respectively. Our code can be found in https://github.com/TamashaM/NAPA-VQ.git.

Code Repositories

tamasham/napa-vq
Official
pytorch

Benchmarks

BenchmarkMethodologyMetrics
non-exemplar-based-class-incremental-learningNAPA-VQ
Average accuracy - 5 tasks: 70.44
average accuracy - 10 tasks: 69.04
average accuracy - 20 tasks: 67.42
non-exemplar-based-class-incremental-learning-2NAPA-VQ
Average accuracy - 5 tasks: 52.77
average accuracy - 10 tasks: 51.78
average accuracy - 20 tasks: 49.51
non-exemplar-based-class-incremental-learning-3NAPA-VQ
Average accuracy - 5 tasks: 69.15
average accuracy - 10 tasks: 68.83
average accuracy - 20 tasks: 63.09

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
NAPA-VQ: Neighborhood Aware Prototype Augmentation with Vector Quantization for Continual Learning | Papers | HyperAI