Papers › Prototypical Networks for Few-shot Learning
Prototypical Networks for Few-shot Learning
Jake Snell, Kevin Swersky, Richard S. Zemel
We propose prototypical networks for the problem of few-shot classification, where a classifier must generalize to new classes not seen in the training set, given only a small number of examples of each new class. Prototypical networks learn a metric space in which classification can be performed by computing distances to prototype representations of each class. Compared to recent approaches for few-shot learning, they reflect a simpler inductive bias that is beneficial in this limited-data regime, and achieve excellent results. We provide an analysis showing that some simple design decisions can yield substantial improvements over recent approaches involving complicated architectural choices and meta-learning. We further extend prototypical networks to zero-shot learning and achieve state-of-the-art results on the CU-Birds dataset.
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="1703.05175")
Code
Syntology Ran 49 of 64 code samples harvested from 29 repositories linked to this paper; 15 have no recorded run. Of those that ran: 5 ran · honoured contract; 11 ran · our draft was wrong; 9 ran · fixture could not drive it; 24 ran with no contract checked.
By repository: official repository: 1 sample from 1 repository, 1 ran; community (archive-listed): 61 samples from 28 repositories, 46 ran; 2 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.
43 repositories listed; official and paper-mentioned ones first.
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
64 samples harvested; 49 ran; 5 honoured the contract we drafted; 15 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.
Licence: 18 of the 64 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 29 repositories linked to this paper, official or community; each sample names its own and says which. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “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.
a40352cfd6475ec3 · report
5885c112f3046823 · report
e3a0222fd8ed2d2f · report
0c8ab3061fc4f61b · report
03ab81be46e41dfb · report
fe0021aa329ae860 · report
f798e1a78274cb31 · report
3144f593c6905e78 · report
fdc838c064947cc9 · report
c9d933d5fb7c5095 · report
4eb979c22e4e42d0 · report
0b1720468e69b9da · report
516db6627dd0d56e · report
c7a6d6154fec9ddf · report
1bf49c188356596e · report
75cb52150d9a660a · report
58af5957818ea856 · report
17f40aa50a000486 · report
08f5684e7687d43e · report
180e010d21e18799 · report
46fbc98d3054326d · report
aa420da10668ccd5 · report
f5933c3730b6f339 · report
341b0d9276c53ee2 · report
9c75d36a2cd52c03 · report
f5c1a7acdfadd94b · report
a84bbc21fe9abc8d · report
6134727f9d286287 · report
4de656fa284263c4 · report
b737a25e6c29ebc7 · report
c442feb515d4d8f3 · report
9b846f6eab1ad481 · report
9d556d61294bb0a8 · report
b0a1286b15398404 · report
bf404583e5ea3465 · report
57d2c3e6cce78748 · report
0d9f00b53a9558f8 · report
7ad5cda37c731a0a · report
24477e2d27f5e8f7 · report
f83f4ae2b6c3bc8d · report
276c42468f5e8af0 · report
264452c073b536a8 · report
9c31448b2eee894f · report
6ef2681ed9527bea · report
d76a7926a5b4328a · report
228cdfe23ddb6e6a · report
d76ff0bd573853cd · report
be2b72d9c5987b86 · report
6137fa2b68c126ad · report
e7053ecec6d213c4 · report
7031de287b846201 · report
4c32fdbf4bc74c91 · report
ff981c1b19834fdd · report
dab17e19991f263e · report
9bd97fbc6d63a34b · report
f006ac7d22562283 · report
d93d7b512badec9b · report
d91ab830cd1fc8e4 · report
f4fb81c626a087a4 · report
e439ae68f44dd2f2 · report
0f5366e616c6d837 · report
863c7b61e552662a · report
4018d80d0425da98 · report
4dd319c45d372246 · report
Tasks
Results from the paper archive 2025-07-28
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