Papers › NAPA-VQ: Neighborhood Aware Prototype Augmentation with Vector Quantization for...

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

18 Aug 2023arXiv:2308.09297archive 2025-07-28

Tamasha Malepathirana, Damith Senanayake, Saman Halgamuge

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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2308.09297")

Code

Syntology Ran 12 of 18 code samples harvested from 1 repository linked to this paper; 6 have no recorded run. Of those that ran: 1 ran · honoured contract; 4 ran · our draft was wrong; 1 ran · fixture could not drive it; 6 ran with no contract checked.

By repository: official repository: 18 samples from 1 repository, 12 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

tamasham/napa-vq officialmentioned in paperpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

18 samples harvested; 12 ran; 1 honoured the contract we drafted; 6 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
4ran · our draft was wrong
1ran · fixture could not drive it
6ran
6unverified

Licence: 18 of the 18 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from TamashaM/NAPA-VQ. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

DummyDataset TamashaM/NAPA-VQ/NAPAVQ.py official repository ran no licence file found · pointer only · 2afc511568445f0d · report
NAVQ TamashaM/NAPA-VQ/NAPAVQ.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · ecf66d31b9caf4b9 · report
_get_dist_each_class TamashaM/NAPA-VQ/NAPAVQ.py official repository ran · our draft was wrong no licence file found · pointer only · 15c7c512f34ddb6f · report
_map_new_class_index TamashaM/NAPA-VQ/NAPAVQ.py official repository ran · our draft was wrong no licence file found · pointer only · 2b8ab6cf2bf3b681 · report
conv3x3 tamasham/napa-vq/backbone/ResNet.py official repository ran · our draft was wrong no licence file found · pointer only · fac5364e2f53c6db · report
find_classes tamasham/napa-vq/data_managers/data_manager_imagenet.py official repository ran no licence file found · pointer only · 0a1291a79fa30bb8 · report
map_new_class_index TamashaM/NAPA-VQ/NAPAVQ.py official repository ran · our draft was wrong no licence file found · pointer only · 1091ae80adf1c8f6 · report
network TamashaM/NAPA-VQ/NAPAVQ.py official repository ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · 3fe47e9cc6282100 · report
pil_loader tamasham/napa-vq/data_managers/data_manager_imagenet.py official repository ran · honoured contract no licence file found · pointer only · f321f54723433661 · report
resnet18_cbam_mnist tamasham/napa-vq/backbone/ResNet.py official repository ran no licence file found · pointer only · 31e1298ee61ac593 · report
setup_data TamashaM/NAPA-VQ/NAPAVQ.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · 3d98918e388479f4 · report
tinyImageNet TamashaM/NAPA-VQ/NAPAVQ.py official repository ran no licence file found · pointer only · 97aee0534978b7bf · report
CifarWrapper TamashaM/NAPA-VQ/NAPAVQ.py official repository unverified no licence file found · pointer only · a9f2e6e5bb09b689 · report
DataComposer TamashaM/NAPA-VQ/NAPAVQ.py official repository unverified no licence file found · pointer only · 59c8c9277871d10d · report
DataManagerImagenet TamashaM/NAPA-VQ/NAPAVQ.py official repository unverified no licence file found · pointer only · ee7a8ae85cec84ad · report
NAPAVQ TamashaM/NAPA-VQ/NAPAVQ.py official repository unverified no licence file found · pointer only · 8d10ddf5af60126e · report
iCIFAR100 TamashaM/NAPA-VQ/NAPAVQ.py official repository unverified no licence file found · pointer only · 23ccd904e43c5300 · report
resnet18_cbam tamasham/napa-vq/backbone/ResNet.py official repository unverified no licence file found · pointer only · 4cded09fb058f2b6 · report

Tasks

Class Incremental LearningContinual LearningIncremental LearningNon-exemplar-based Class Incremental LearningQuantizationclass-incremental learning

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Non-exemplar-based Class Incremental Learning ImageNetSubset NAPA-VQ Average accuracy - 5 tasks 69.15 #1 of 1 Archive leaderboard report
Non-exemplar-based Class Incremental Learning ImageNetSubset NAPA-VQ average accuracy - 10 tasks 68.83 #1 of 1 Archive leaderboard report
Non-exemplar-based Class Incremental Learning ImageNetSubset NAPA-VQ average accuracy - 20 tasks 63.09 #1 of 1 Archive leaderboard report
Non-exemplar-based Class Incremental Learning TinyImageNet NAPA-VQ Average accuracy - 5 tasks 52.77 #1 of 1 Archive leaderboard report
Non-exemplar-based Class Incremental Learning TinyImageNet NAPA-VQ average accuracy - 10 tasks 51.78 #1 of 1 Archive leaderboard report
Non-exemplar-based Class Incremental Learning TinyImageNet NAPA-VQ average accuracy - 20 tasks 49.51 #1 of 1 Archive leaderboard report
Non-exemplar-based Class Incremental Learning cifar100 NAPA-VQ Average accuracy - 5 tasks 70.44 #1 of 1 Archive leaderboard report
Non-exemplar-based Class Incremental Learning cifar100 NAPA-VQ average accuracy - 10 tasks 69.04 #1 of 1 Archive leaderboard report
Non-exemplar-based Class Incremental Learning cifar100 NAPA-VQ average accuracy - 20 tasks 67.42 #1 of 1 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

AWAREFocus

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections