Papers › Incremental Few-Shot Learning with Attention Attractor Networks

Incremental Few-Shot Learning with Attention Attractor Networks

16 Oct 2018NeurIPS 2019 12arXiv:1810.07218archive 2025-07-28

Mengye Ren, Renjie Liao, Ethan Fetaya, Richard S. Zemel

Machine learning classifiers are often trained to recognize a set of pre-defined classes. However, in many applications, it is often desirable to have the flexibility of learning additional concepts, with limited data and without re-training on the full training set. This paper addresses this problem, incremental few-shot learning, where a regular classification network has already been trained to recognize a set of base classes, and several extra novel classes are being considered, each with only a few labeled examples. After learning the novel classes, the model is then evaluated on the overall classification performance on both base and novel classes. To this end, we propose a meta-learning model, the Attention Attractor Network, which regularizes the learning of novel classes. In each episode, we train a set of new weights to recognize novel classes until they converge, and we show that the technique of recurrent back-propagation can back-propagate through the optimization process and facilitate the learning of these parameters. We demonstrate that the learned attractor network can help recognize novel classes while remembering old classes without the need to review the original training set, outperforming various baselines.

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="1810.07218")

Code

Syntology Ran 0 of 10 code samples harvested from 1 repository linked to this paper; 10 have no recorded run.

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

renmengye/inc-few-shot-attractor-public officialmentioned in papermentioned on GitHubtfMIT 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

10 samples harvested; 0 ran; 0 honoured the contract we drafted; 10 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.

10unverified

Licence: 0 of the 10 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 renmengye/inc-few-shot-attractor-public. “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.

RegisterAttractor renmengye/inc-few-shot-attractor-public/fewshot/models/attractors/attractor.py official repository unverified MIT (permissive) · db1395e0b1c22f55 · report
assign_cluster renmengye/inc-few-shot-attractor-public/fewshot/models/kmeans_utils.py official repository unverified MIT (permissive) · fd146e231aa1f310 · report
calculate_episode_protos renmengye/inc-few-shot-attractor-public/run_proto_exp.py official repository unverified MIT (permissive) · 9c0f25b4ea59ecb4 · report
calculate_protos renmengye/inc-few-shot-attractor-public/run_proto_exp.py official repository unverified MIT (permissive) · 03c9fac0501311a0 · report
compute_logits renmengye/inc-few-shot-attractor-public/fewshot/models/kmeans_utils.py official repository unverified MIT (permissive) · b4b89c2bb9f5f4f1 · report
compute_logits_cosine renmengye/inc-few-shot-attractor-public/fewshot/models/kmeans_utils.py official repository unverified MIT (permissive) · 003314f3ea6c637c · report
cosine renmengye/inc-few-shot-attractor-public/run_proto_exp.py official repository unverified MIT (permissive) · 4dedc68d854ae87b · report
get_attractor renmengye/inc-few-shot-attractor-public/fewshot/models/attractors/attractor.py official repository unverified MIT (permissive) · 3a411d462f300aee · report
get_exp_logger renmengye/inc-few-shot-attractor-public/run_exp.py official repository unverified MIT (permissive) · cf5426582b207c79 · report
get_saver renmengye/inc-few-shot-attractor-public/run_exp.py official repository unverified MIT (permissive) · d289bd846920809c · report

Tasks

Few-Shot LearningGeneral ClassificationMeta-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