SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.19074 · CVPR · 2024

Resurrecting Old Classes with New Data for Exemplar-Free Continual Learning

Sandesh Kamath, Bartłomiej Twardowski, Joost Van De Weijer, Albin Soutif-Cormerais, Dipam Goswami, Yuyang Liu

arXiv · PDF · Open in the Atlas

Code that ran

4 of 9 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 3 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/2405.19074.json · badge: /api/ran/2405.19074.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
dipamgoswami/adc canonical (classifier label)
classifier basis: census
3 ran · 5 no recorded run
dipamgoswami/ADC community
Papers with Code archive
1 ran · 0 no recorded run
FunctionStatusWhere it lives
Attack Ran
ran on a synthesized input · constructed an object; no result was computed
dipamgoswami/ADC/utils/attack.py
code served (permissive licence) · get_code("a2e33094ba485ca1")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Attack: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Build a minimal model that returns a dict with 'features' key
class SimpleModel(nn.Module):
    def __init__(self, input_dim=4, feature_dim=3):
        super().__init__()
        self.linear = nn.Linear(input_dim, feature_dim)
    
    def forward(self, x):
        features = self.linear(x)
        return {'features': features}

# Create old and new models
old_model = SimpleModel(input_dim=4, feature_dim=3)
new_model = SimpleModel(input_dim=4, feature_dim=3)

# Create a data loader (list of (data, label) tuples)
batch_size = 2
feature_dim = 4
num_batches = 1
num_classes = 2

loader = []
for _ in range(num_batches):
    data = torch.randn(batch_size, feature_dim)
    label = torch.randint(0, num_classes, (batch_size,))
    loader.append((data, label))

# Create prototypes (one per class, matching the feature output dimension of old_model)
proto_dim = 3
protos = [torch.randn(proto_dim) for _ in range(num_classes)]

# Set up other parameters
alpha = 0.1
device = 'cpu'
epochs = 2
x_min = torch.tensor([-1.0, -1.0, -1.0, -1.0])
x_max = torch.tensor([1.0, 1.0, 1.0, 1.0])
target = 0

ARGS = {
    'old_model': old_model,
    'new_model': new_model,
    'alpha': alpha,
    'loader': loader,
    'protos': protos,
    'device': device,
    'epochs': epochs,
    'x_min': x_min,
    'x_max': x_max,
    'target': target
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Attack — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Attack output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
conv1x1 Ran
ran; our contract draft was wrong, not the code
dipamgoswami/adc/convs/modified_represnet.py
pointer only (licence: MIT); the stored copy get_code serves, from sajaddarabi/BiRealNet, is pointer only (licence: NONE) · get_code("d5cd7ffe2dc51b21")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from sajaddarabi/BiRealNet, and GitHub detected no licence in that repository 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
dipamgoswami/adc/convs/modified_represnet.py
code served (permissive licence) · get_code("1907f2ae25449f39")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned Conv2d. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    "in_planes": 3,
    "out_planes": 64,
    "stride": 1,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Conv2d — a Conv2d output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Conv2d output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
reduce_proxies Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
dipamgoswami/adc/convs/linears.py
pointer only (licence: MIT); the stored copy get_code serves, from sun-hailong/cvpr24-ease, is pointer only (licence: NONE) · get_code("4072283c98270784")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from sun-hailong/cvpr24-ease, and GitHub detected no licence in that repository 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 Not yet run
unverified (harvested, no recorded run)
dipamgoswami/adc/convs/ucir_resnet.py
pointer only (licence: MIT); the stored copy get_code serves, from jinglin-liang/OLAS, is pointer only (licence: NONE) · get_code("4742faeabce1f66b")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from jinglin-liang/OLAS, and GitHub detected no licence in that repository 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.

resnet18 Not yet run
unverified (harvested, no recorded run)
dipamgoswami/adc/convs/resnet.py
code served (permissive licence) · get_code("313e3bcf86d1f964")
How it ran

no invocation recorded.

resnet18_cbam Not yet run
unverified (harvested, no recorded run)
dipamgoswami/adc/convs/resnet_cbam.py
code served (permissive licence) · get_code("80e6cbd05d914e9e")
How it ran

no invocation recorded.

resnet18_rep Not yet run
unverified (harvested, no recorded run)
dipamgoswami/adc/convs/modified_represnet.py
code served (permissive licence) · get_code("6a8f78bbfd703db3")
How it ran

no invocation recorded.

resnet34_cbam Not yet run
unverified (harvested, no recorded run)
dipamgoswami/adc/convs/resnet_cbam.py
code served (permissive licence) · get_code("e95668d4fbeb99a7")
How it ran

no invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 7 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 1 the same month, 7 later) and 1 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
resnet18 95 other papers
71 dated earlier, 2 the same month, 18 later, 3 same year, order not determinable, 1 undated
1805.00907 (2018-05)
Glow: Graph Lowering Compiler Techniques for Neural Networks
1902.08153 (2019-02)
Learned Step Size Quantization
1904.01355 (2019-04)
FCOS: Fully Convolutional One-Stage Object Detection
and 92 more not named here
conv3x3 74 other papers
61 dated earlier, 12 later, 1 same year, order not determinable · 5 only as an assembly brick
1605.07146 (2016-05)
Wide Residual Networks
1707.01629 (2017-07)
Dual Path Networks
1802.05668 (2018-02)
Model compression via distillation and quantization
and 71 more not named here
resnet34_cbam 11 other papers
5 dated earlier, 5 later, 1 same year, order not determinable
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 8 more not named here
conv1x1 9 other papers
6 dated earlier, 2 later, 1 same year, order not determinable
1808.00278 (2018-08)
Bi-Real Net: Enhancing the Performance of 1-bit CNNs With Improved Representational Capability and Advanced Training Algorithm
1812.11800 (2018-12)
Regularized Binary Network Training
2108.05722 (2021-08)
MT-ORL: Multi-Task Occlusion Relationship Learning
and 6 more not named here
reduce_proxies 7 other papers
3 dated earlier, 4 later · 1 only as an assembly brick
2307.12045 (2023-07)
Revisiting Distillation for Continual Learning on Visual Question Localized-Answering in Robotic Surgery
2403.12030 (2024-03)
Expandable Subspace Ensemble for Pre-Trained Model-Based Class-Incremental Learning
2404.06622 (2024-04)
Calibrating Higher-Order Statistics for Few-Shot Class-Incremental Learning with Pre-trained Vision Transformers
and 4 more not named here
resnet18_cbam 1 other paper
1 later
2407.08536 (2024-07)
Exemplar-free Continual Representation Learning via Learnable Drift Compensation
resnet18_rep 1 other paper
1 later
2407.08536 (2024-07)
Exemplar-free Continual Representation Learning via Learnable Drift Compensation

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

Continual learning methods are known to suffer from catastrophic forgetting, a phenomenon that is particularly hard to counter for methods that do not store exemplars of previous tasks. Therefore, to reduce potential drift in the feature extractor, existing exemplar-free methods are typically evaluated in settings where the first task is significantly larger than subsequent tasks. Their performance drops drastically in more challenging settings starting with a smaller first task. To address this problem of feature drift estimation for exemplar-free methods, we propose to adversarially perturb the current samples such that their embeddings are close to the old class prototypes in the old model embedding space. We then estimate the drift in the embedding space from the old to the new model using the perturbed images and compensate the prototypes accordingly. We exploit the fact that adversarial samples are transferable from the old to the new feature space in a continual learning setting. The generation of these images is simple and computationally cheap. We demonstrate in our experiments that the proposed approach better tracks the movement of prototypes in embedding space and outperforms existing methods on several standard continual learning benchmarks as well as on fine-grained datasets. Code is available at https://github.com/dipamgoswami/ADC.

For agents

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

get_harvested_code_for_paper("2405.19074")
get_code_for_paper("2405.19074")
have("2405.19074")

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

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

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

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

Connect an agent — have() is free.