SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2308.09297 · ICCV · 2023

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

Tamasha Malepathirana

arXiv · PDF · Open in the Atlas

Code that ran

13 of 18 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (4 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 4 have no contract verdict; 8 failures of our instrument; 5 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2308.09297.json · badge: /api/ran/2308.09297.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
tamasham/napa-vq canonical (classifier label)
classifier basis: census
5 ran · 0 no recorded run
TamashaM/NAPA-VQ community
Papers with Code archive
8 ran · 5 no recorded run
FunctionStatusWhere it lives
DummyDataset Ran
ran on a synthesized input · constructed an object; no result was computed
TamashaM/NAPA-VQ/NAPAVQ.py
pointer only (licence: NONE) · get_code("2afc511568445f0d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, TamashaM/NAPA-VQ when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

NAVQ Ran
ran on a synthesized input · constructed an object; no result was computed
TamashaM/NAPA-VQ/NAPAVQ.py
pointer only (licence: NONE) · get_code("ecf66d31b9caf4b9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, TamashaM/NAPA-VQ when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

_get_dist_each_class Ran
ran; our contract draft was wrong, not the code
TamashaM/NAPA-VQ/NAPAVQ.py
pointer only (licence: NONE) · get_code("15c7c512f34ddb6f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, TamashaM/NAPA-VQ when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

_map_new_class_index Ran
ran; our contract draft was wrong, not the code
TamashaM/NAPA-VQ/NAPAVQ.py
pointer only (licence: NONE) · get_code("2b8ab6cf2bf3b681")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, TamashaM/NAPA-VQ when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

conv3x3 Ran
ran; our contract draft was wrong, not the code
tamasham/napa-vq/backbone/ResNet.py
pointer only (licence: NONE); the stored copy get_code serves, from lixiaotong97/DSU, is pointer only (licence: NONE) · get_code("fac5364e2f53c6db")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tamasham/napa-vq when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

find_classes Ran
ran; our contract draft was wrong, not the code
tamasham/napa-vq/data_managers/data_manager_imagenet.py
pointer only (licence: NONE) · get_code("0a1291a79fa30bb8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tamasham/napa-vq when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

map_new_class_index Ran
ran; our contract draft was wrong, not the code
TamashaM/NAPA-VQ/NAPAVQ.py
pointer only (licence: NONE) · get_code("1091ae80adf1c8f6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, TamashaM/NAPA-VQ when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

network Ran
ran on a synthesized input · constructed an object; no result was computed
TamashaM/NAPA-VQ/NAPAVQ.py
pointer only (licence: NONE) · get_code("3fe47e9cc6282100")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, TamashaM/NAPA-VQ when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

pil_loader Ran
ran, honoured the contract we drafted
tamasham/napa-vq/data_managers/data_manager_imagenet.py
pointer only (licence: NONE) · get_code("f321f54723433661")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tamasham/napa-vq when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

resnet18_cbam Ran
ran; our contract draft was wrong, not the code
tamasham/napa-vq/backbone/ResNet.py
pointer only (licence: NONE); the stored copy get_code serves, from zhoujiahuan1991/NeurIPS2025-C2Prompt, is pointer only (licence: NONE) · get_code("4cded09fb058f2b6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tamasham/napa-vq when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

resnet18_cbam_mnist Ran
ran; our contract draft was wrong, not the code
tamasham/napa-vq/backbone/ResNet.py
pointer only (licence: NONE) · get_code("31e1298ee61ac593")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tamasham/napa-vq when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

setup_data Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
TamashaM/NAPA-VQ/NAPAVQ.py
pointer only (licence: NONE) · get_code("3d98918e388479f4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, TamashaM/NAPA-VQ when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

tinyImageNet Ran
ran on a synthesized input · constructed an object; no result was computed
TamashaM/NAPA-VQ/NAPAVQ.py
pointer only (licence: NONE) · get_code("97aee0534978b7bf")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, TamashaM/NAPA-VQ when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

CifarWrapper Not yet run
unverified (harvested, no recorded run)
TamashaM/NAPA-VQ/NAPAVQ.py
pointer only (licence: NONE) · get_code("a9f2e6e5bb09b689")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, TamashaM/NAPA-VQ when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

DataComposer Not yet run
unverified (harvested, no recorded run)
TamashaM/NAPA-VQ/NAPAVQ.py
pointer only (licence: NONE) · get_code("59c8c9277871d10d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, TamashaM/NAPA-VQ when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

DataManagerImagenet Not yet run
unverified (harvested, no recorded run)
TamashaM/NAPA-VQ/NAPAVQ.py
pointer only (licence: NONE) · get_code("ee7a8ae85cec84ad")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, TamashaM/NAPA-VQ when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

NAPAVQ Not yet run
unverified (harvested, no recorded run)
TamashaM/NAPA-VQ/NAPAVQ.py
pointer only (licence: NONE) · get_code("8d10ddf5af60126e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, TamashaM/NAPA-VQ when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

iCIFAR100 Not yet run
unverified (harvested, no recorded run)
TamashaM/NAPA-VQ/NAPAVQ.py
pointer only (licence: NONE) · get_code("23ccd904e43c5300")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, TamashaM/NAPA-VQ when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 18 samples lifted from this paper's linked repositories, 18 carry a function identity and 0 do not. Of the 18 distinct functions with an identity, 3 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 2 the same month, 3 later) and 15 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
conv3x3 686 other papers
498 dated earlier, 12 the same month, 169 later, 7 same year, order not determinable · 31 only as an assembly brick
1406.2661 (2014-06)
Generative Adversarial Networks
1409.0575 (2014-09)
ImageNet Large Scale Visual Recognition Challenge
1412.6572 (2014-12)
Explaining and Harnessing Adversarial Examples
and 683 more not named here
pil_loader
brick of this paper's assembly: helper
66 other papers
31 dated earlier, 4 the same month, 28 later, 3 same year, order not determinable
1502.03044 (2015-02)
Show, Attend and Tell: Neural Image Caption Generation with Visual Attention
1710.10196 (2017-10)
Progressive Growing of GANs for Improved Quality, Stability, and Variation
1711.02512 (2017-11)
Fine-tuning CNN Image Retrieval with No Human Annotation
and 63 more not named here
resnet18_cbam 10 other papers
10 later
2309.14062 (2023-09)
FeCAM: Exploiting the Heterogeneity of Class Distributions in Exemplar-Free Continual Learning
2310.15171 (2023-10)
RoboDepth: Robust Out-of-Distribution Depth Estimation under Corruptions
aaai_29079 (2024 (year only))
Dynamic Sub-graph Distillation for Robust Semi-supervised Continual Learning
and 7 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

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-theart 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.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2308.09297")
get_code_for_paper("2308.09297")
have("2308.09297")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2308.09297.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2308.09297.svg)](https://syntology.ai/paper/2308.09297)

Connect an agent — have() is free.