Papers › Context-Aware Meta-Learning

Context-Aware Meta-Learning

17 Oct 2023arXiv:2310.10971archive 2025-07-28

Christopher Fifty, Dennis Duan, Ronald G. Junkins, Ehsan Amid, Jure Leskovec, Christopher Re, Sebastian Thrun

Large Language Models like ChatGPT demonstrate a remarkable capacity to learn new concepts during inference without any fine-tuning. However, visual models trained to detect new objects during inference have been unable to replicate this ability, and instead either perform poorly or require meta-training and/or fine-tuning on similar objects. In this work, we propose a meta-learning algorithm that emulates Large Language Models by learning new visual concepts during inference without fine-tuning. Our approach leverages a frozen pre-trained feature extractor, and analogous to in-context learning, recasts visual meta-learning as sequence modeling over datapoints with known labels and a test datapoint with an unknown label. On 8 out of 11 meta-learning benchmarks, our approach -- without meta-training or fine-tuning -- exceeds or matches the state-of-the-art algorithm, P>M>F, which is meta-trained on these benchmarks. Our code is available at https://github.com/cfifty/CAML.

PaperPDFCodeCode 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="2310.10971")

Code

Syntology Ran 5 of 16 code samples harvested from 1 repository linked to this paper; 11 have no recorded run. Of those that ran: 1 ran · honoured contract; 4 ran with no contract checked.

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

cfifty/CAML officialmentioned in papermentioned on GitHubpytorch 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

16 samples harvested; 5 ran; 1 honoured the contract we drafted; 11 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.

1ran · honoured contract
4ran
11unverified

Licence: 0 of the 16 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 cfifty/CAML. “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.

Encoder cfifty/CAML/src/models/CAML.py official repository ran MIT (permissive) · cd267ef17647aeed · report
EncoderBlock cfifty/CAML/src/models/CAML.py official repository ran MIT (permissive) · 8535c1852720eb4f · report
SetEncoderBlock cfifty/CAML/src/models/CAML.py official repository ran MIT (permissive) · b84a0725c820a2b0 · report
TransformerEncoder cfifty/CAML/src/models/CAML.py official repository ran MIT (permissive) · eb55a438e50a2e46 · report
get_elmes cfifty/CAML/src/models/CAML.py official repository ran · honoured contract MIT (permissive) · 830737289ffd5884 · report
CAML cfifty/CAML/src/models/CAML.py official repository unverified MIT (permissive) · e7e8fd6df86f5ec3 · report
base_32 cfifty/CAML/src/models/CAML.py official repository unverified MIT (permissive) · 1a58cef63acb709c · report
convnext_32 cfifty/CAML/src/models/CAML.py official repository unverified MIT (permissive) · 3a60030568395b7b · report
get_encoder cfifty/CAML/src/models/CAML.py official repository unverified MIT (permissive) · e4950f6c71b41722 · report
huge_32 cfifty/CAML/src/models/CAML.py official repository unverified MIT (permissive) · dae200e21d75ed1c · report
laion_2b cfifty/CAML/src/models/CAML.py official repository unverified MIT (permissive) · b62532f1578c6349 · report
large_32 cfifty/CAML/src/models/CAML.py official repository unverified MIT (permissive) · 4adc2669a82da781 · report
resnet34 cfifty/CAML/src/models/CAML.py official repository unverified MIT (permissive) · 82a2c08a2ff36ab1 · report
short_32 cfifty/CAML/src/models/CAML.py official repository unverified MIT (permissive) · 709e0900c6c9f092 · report
small_32 cfifty/CAML/src/models/CAML.py official repository unverified MIT (permissive) · acb6adf58d32e776 · report
tiny_32 cfifty/CAML/src/models/CAML.py official repository unverified MIT (permissive) · 23be00ca58b700f4 · report

Tasks

Few-Shot Image ClassificationIn-Context LearningMeta-Learninguniversal meta-learning

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Few-Shot Image Classification CIFAR-FS 5-way (1-shot) CAML [Laion-2b] Accuracy 83.3 #11 of 38 Archive leaderboard report
Few-Shot Image Classification CIFAR-FS 5-way (5-shot) CAML [Laion-2b] Accuracy 93.5 #1 of 39 Archive leaderboard report
Few-Shot Image Classification CUB 200 5-way 1-shot CAML [Laion-2b] Accuracy 95.8 #2 of 36 Archive leaderboard report
Few-Shot Image Classification CUB 200 5-way 5-shot CAML [Laion-2b] Accuracy 98.7 #1 of 32 Archive leaderboard report
Few-Shot Image Classification Mini-Imagenet 5-way (1-shot) CAML [Laion-2b] Accuracy 96.2 #2 of 105 Archive leaderboard report
Few-Shot Image Classification Mini-Imagenet 5-way (5-shot) CAML [Laion-2b] Accuracy 98.6 #2 of 95 Archive leaderboard report
Few-Shot Image Classification Tiered ImageNet 5-way (1-shot) CAML [Laion-2b] Accuracy 96.8 #1 of 49 Archive leaderboard report
Few-Shot Image Classification Tiered ImageNet 5-way (5-shot) CAML [Laion-2b] Accuracy 98.8 #1 of 51 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

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