Papers › Generalized and Incremental Few-Shot Learning by Explicit Learning and Calibration...

Generalized and Incremental Few-Shot Learning by Explicit Learning and Calibration without Forgetting

18 Aug 2021ICCV 2021 10arXiv:2108.08165archive 2025-07-28

Anna Kukleva, Hilde Kuehne, Bernt Schiele

Both generalized and incremental few-shot learning have to deal with three major challenges: learning novel classes from only few samples per class, preventing catastrophic forgetting of base classes, and classifier calibration across novel and base classes. In this work we propose a three-stage framework that allows to explicitly and effectively address these challenges. While the first phase learns base classes with many samples, the second phase learns a calibrated classifier for novel classes from few samples while also preventing catastrophic forgetting. In the final phase, calibration is achieved across all classes. We evaluate the proposed framework on four challenging benchmark datasets for image and video few-shot classification and obtain state-of-the-art results for both generalized and incremental few shot learning.

PaperPDFConference PDFCodeCode 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="2108.08165")

Code

Syntology Ran 9 of 13 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 3 ran · honoured contract; 3 ran · our draft was wrong; 3 ran with no contract checked.

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

annusha/lcwof officialmentioned in papermentioned on GitHubpytorchMIT 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

13 samples harvested; 9 ran; 3 honoured the contract we drafted; 4 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.

3ran · honoured contract
3ran · our draft was wrong
3ran
4unverified

Licence: 0 of the 13 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 annusha/LCwoF. “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.

Meter annusha/LCwoF/mini_imgnet/episode_training_clean.py official repository ran MIT (permissive) · 1d34df9e4341284e · report
Precision annusha/LCwoF/mini_imgnet/episode_training_clean.py official repository ran MIT (permissive) · 694356acaabb8f42 · report
Viz annusha/LCwoF/mini_imgnet/episode_training_clean.py official repository ran MIT (permissive) · 373de0d7d664a0f9 · report
adjust_lr annusha/LCwoF/mini_imgnet/episode_training_clean.py official repository ran · honoured contract MIT (permissive) · db8232296a32d4c7 · report
am annusha/LCwoF/mini_imgnet/episode_training_clean.py official repository ran · honoured contract fingerprinted MIT (permissive) · c56a0c2cc164834d · report
conv3x3 annusha/lcwof/mini_imgnet/resnet12.py official repository ran · our draft was wrong MIT (permissive) · fac5364e2f53c6db · report
hm annusha/LCwoF/mini_imgnet/episode_training_clean.py official repository ran · honoured contract MIT (permissive) · 97d75a6bfbfeb6a9 · report
visdom_plot_losses annusha/LCwoF/mini_imgnet/episode_training_clean.py official repository ran · our draft was wrong MIT (permissive) · 734b599ac298081d · report
visdom_scatter_update annusha/LCwoF/mini_imgnet/episode_training_clean.py official repository ran · our draft was wrong MIT (permissive) · 75594f59772b57c0 · report
Training annusha/LCwoF/mini_imgnet/episode_training_clean.py official repository unverified MIT (permissive) · 1fa76092363e9543 · report
get_classes annusha/lcwof/mini_imgnet/create_episodes.py official repository unverified MIT (permissive) · 5251b5bd5881ebf2 · report
load_few_shot annusha/lcwof/mini_imgnet/update_arg_parse.py official repository unverified MIT (permissive) · 606ebc63d184a29c · report
set_bn_eval annusha/LCwoF/mini_imgnet/episode_training_clean.py official repository unverified MIT (permissive) · ce274f35d81dafd6 · report

Tasks

Classifier calibrationFew-Shot Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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