SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2404.12766 · 2024

Continual Learning on a Diet: Learning from Sparsely Labeled Streams Under Constrained Computation

arXiv · PDF · Open in the Atlas

Code that ran

9 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 3 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 5 failures of our instrument; 3 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/2404.12766.json · badge: /api/ran/2404.12766.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
wx-zhang/continual-learning-on-a-diet canonical (classifier label)
classifier basis: census
9 ran · 3 no recorded run
FunctionStatusWhere it lives
build_transform Ran
ran; our contract draft was wrong, not the code
wx-zhang/continual-learning-on-a-diet/dataset/utils.py
pointer only (licence: NONE) · get_code("35e17b6daeb8ba28")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, wx-zhang/continual-learning-on-a-diet 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.

default_loader Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
wx-zhang/continual-learning-on-a-diet/dataset/utils.py
pointer only (licence: NONE) · get_code("c58ac0545d2d6ef6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, wx-zhang/continual-learning-on-a-diet 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_available_ckpt Ran
ran, honoured the contract we drafted
wx-zhang/continual-learning-on-a-diet/utils.py
pointer only (licence: NONE) · get_code("0d435c96b0268941")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, wx-zhang/continual-learning-on-a-diet 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_and_update_buffer Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
wx-zhang/continual-learning-on-a-diet/data.py
pointer only (licence: NONE) · get_code("b622137cb75a6998")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, wx-zhang/continual-learning-on-a-diet 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_buffer Ran
ran, honoured the contract we drafted
wx-zhang/continual-learning-on-a-diet/data.py
pointer only (licence: NONE) · get_code("fe1765ac7ecd3425")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, wx-zhang/continual-learning-on-a-diet 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_loader Ran
ran on a synthesized input
wx-zhang/continual-learning-on-a-diet/data.py
pointer only (licence: NONE) · get_code("d6d8bcbbbf9b99ab")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, wx-zhang/continual-learning-on-a-diet 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_run_name Ran
ran; our contract draft was wrong, not the code
wx-zhang/continual-learning-on-a-diet/utils.py
pointer only (licence: NONE) · get_code("88a7aed4cd817a75")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, wx-zhang/continual-learning-on-a-diet 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
wx-zhang/continual-learning-on-a-diet/dataset/utils.py
pointer only (licence: NONE); the stored copy get_code serves, from zhentingwang/diagnosis, is pointer only (licence: NONE) · get_code("f6be833ba409926f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, wx-zhang/continual-learning-on-a-diet 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.

resume_from_checkpoint Ran
ran; our contract draft was wrong, not the code
wx-zhang/continual-learning-on-a-diet/utils.py
pointer only (licence: NONE) · get_code("b74b08945ac26306")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, wx-zhang/continual-learning-on-a-diet 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_1d_sincos_pos_embed_from_grid Not yet run
unverified (harvested, no recorded run)
wx-zhang/continual-learning-on-a-diet/model/pose_embed.py
pointer only (licence: NONE); the stored copy get_code serves, from zhangyifei01/LMIM, is pointer only (licence: NONE) · get_code("12035a2f77d8016c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, wx-zhang/continual-learning-on-a-diet 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.

get_2d_sincos_pos_embed Not yet run
unverified (harvested, no recorded run)
wx-zhang/continual-learning-on-a-diet/model/pose_embed.py
pointer only (licence: NONE); the stored copy get_code serves, from yunongLiu1/IKEA-Manuals-at-Work, is pointer only (licence: NONE) · get_code("3185afc3e87293ed")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, wx-zhang/continual-learning-on-a-diet 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.

get_2d_sincos_pos_embed_from_grid Not yet run
unverified (harvested, no recorded run)
wx-zhang/continual-learning-on-a-diet/model/pose_embed.py
pointer only (licence: NONE); the stored copy get_code serves, from zhangyifei01/LMIM, is pointer only (licence: NONE) · get_code("f10004e059714d42")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, wx-zhang/continual-learning-on-a-diet 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 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 1 the same month, 4 later) and 8 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
get_2d_sincos_pos_embed_from_grid 190 other papers
81 dated earlier, 3 the same month, 105 later, 1 same year, order not determinable · 65 only as an assembly brick
1807.10221 (2018-07)
Unified Perceptual Parsing for Scene Understanding
2105.12723 (2021-05)
Nested Hierarchical Transformer: Towards Accurate, Data-Efficient and Interpretable Visual Understanding
2111.06377 (2021-11)
Masked Autoencoders Are Scalable Vision Learners
and 187 more not named here
get_2d_sincos_pos_embed 95 other papers
52 dated earlier, 42 later, 1 same year, order not determinable · 33 only as an assembly brick
1807.10221 (2018-07)
Unified Perceptual Parsing for Scene Understanding
2105.12723 (2021-05)
Nested Hierarchical Transformer: Towards Accurate, Data-Efficient and Interpretable Visual Understanding
2111.06377 (2021-11)
Masked Autoencoders Are Scalable Vision Learners
and 92 more not named here
get_1d_sincos_pos_embed_from_grid 39 other papers
33 dated earlier, 6 later · 25 only as an assembly brick
2105.12723 (2021-05)
Nested Hierarchical Transformer: Towards Accurate, Data-Efficient and Interpretable Visual Understanding
2111.06377 (2021-11)
Masked Autoencoders Are Scalable Vision Learners
2204.09435 (2022-04)
Hephaestus: A large scale multitask dataset towards InSAR understanding
and 36 more not named here
pil_loader 11 other papers
8 dated earlier, 3 later
1502.03044 (2015-02)
Show, Attend and Tell: Neural Image Caption Generation with Visual Attention
2111.15667 (2021-11)
Adaptive Token Sampling For Efficient Vision Transformers
2206.02967 (2022-06)
Masked Unsupervised Self-training for Label-free Image Classification
and 8 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

We propose and study a realistic Continual Learning (CL) setting where learning algorithms are granted a restricted computational budget per time step while training. We apply this setting to large-scale semi-supervised Continual Learning scenarios with sparse label rates. Previous proficient CL methods perform very poorly in this challenging setting. Overfitting to the sparse labeled data and insufficient computational budget are the two main culprits for such a poor performance. Our new setting encourages learning methods to effectively and efficiently utilize the unlabeled data during training. To that end, we propose a simple but highly effective baseline, DietCL, which utilizes both unlabeled and labeled data jointly. DietCL meticulously allocates computational budget for both types of data. We validate our baseline, at scale, on several datasets, e.g., CLOC, ImageNet10K, and CGLM, under constraint budget setups. DietCL outperforms, by a large margin, all existing supervised CL algorithms as well as more recent continual semi-supervised methods. Our extensive analysis and ablations demonstrate that DietCL is stable under a full spectrum of label sparsity, computational budget, and various other ablations.

For agents

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

get_harvested_code_for_paper("2404.12766")
get_code_for_paper("2404.12766")
have("2404.12766")

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

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

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

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

Connect an agent — have() is free.