Papers › Laplacian Regularized Few-Shot Learning

Laplacian Regularized Few-Shot Learning

28 Jun 2020arXiv:2006.15486archive 2025-07-28

Imtiaz Masud Ziko, Jose Dolz, Eric Granger, Ismail Ben Ayed

We propose a transductive Laplacian-regularized inference for few-shot tasks. Given any feature embedding learned from the base classes, we minimize a quadratic binary-assignment function containing two terms: (1) a unary term assigning query samples to the nearest class prototype, and (2) a pairwise Laplacian term encouraging nearby query samples to have consistent label assignments. Our transductive inference does not re-train the base model, and can be viewed as a graph clustering of the query set, subject to supervision constraints from the support set. We derive a computationally efficient bound optimizer of a relaxation of our function, which computes independent (parallel) updates for each query sample, while guaranteeing convergence. Following a simple cross-entropy training on the base classes, and without complex meta-learning strategies, we conducted comprehensive experiments over five few-shot learning benchmarks. Our LaplacianShot consistently outperforms state-of-the-art methods by significant margins across different models, settings, and data sets. Furthermore, our transductive inference is very fast, with computational times that are close to inductive inference, and can be used for large-scale few-shot tasks.

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

Code

Syntology Ran 5 of 12 code samples harvested from 2 repositories linked to this paper; 7 have no recorded run. Of those that ran: 1 ran · honoured contract; 3 ran · our draft was wrong; 1 ran · fixture could not drive it.

By repository: official repository: 7 samples from 1 repository, 3 ran; community (archive-listed): 5 samples from 1 repository, 2 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

imtiazziko/LaplacianShot 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

12 samples harvested; 5 ran; 1 honoured the contract we drafted; 7 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
3ran · our draft was wrong
1ran · fixture could not drive it
7unverified

Licence: 7 of the 12 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 2 repositories linked to this paper, official or community; each sample names its own and says which. “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.

bound_update imtiazziko/LaplacianShot/src/lshot_update.py official repository ran · our draft was wrong no licence file found · pointer only · 412628ee1492fcea · report
entropy_energy imtiazziko/LaplacianShot/src/lshot_update.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · fc3387e933dea239 · report
normalize imtiazziko/LaplacianShot/src/lshot_update.py official repository ran · honoured contract fingerprinted no licence file found · pointer only · 5875172ea7fd5f6e · report
entropy_energy imtiazziko/LaplacianShot/src/lshot_update.py official repository unverified no licence file found · pointer only · ff627ba7bc79ad86 · report
normalize imtiazziko/LaplacianShot/src/lshot_update.py official repository unverified no licence file found · pointer only · 59408e6a01fc64dc · report
normalize_2 imtiazziko/LaplacianShot/src/lshot_update.py official repository unverified no licence file found · pointer only · 7710a2080630a669 · report
plot_convergence imtiazziko/LaplacianShot/src/lshot_update.py official repository unverified no licence file found · pointer only · bc3eff8cc77ddee0 · report
compute_prototypes sicara/easy-few-shot-learning/easyfsl/methods/laplacian_shot.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · 02aec2b511f4f3a6 · report
k_nearest_neighbours sicara/easy-few-shot-learning/easyfsl/methods/laplacian_shot.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · d8f6b2d9859ab547 · report
BDCSPN sicara/easy-few-shot-learning/easyfsl/methods/laplacian_shot.py community (archive-listed) unverified MIT (permissive) · 92a9fdbae916066b · report
FewShotClassifier sicara/easy-few-shot-learning/easyfsl/methods/laplacian_shot.py community (archive-listed) unverified MIT (permissive) · 501d7cd21e944a57 · report
LaplacianShot sicara/easy-few-shot-learning/easyfsl/methods/laplacian_shot.py community (archive-listed) unverified MIT (permissive) · e95365a714038248 · report

Tasks

ClusteringFew-Shot Image ClassificationFew-Shot LearningGraph ClusteringMeta-Learning

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Few-Shot Image Classification Dirichlet CUB-200 (5-way, 1-shot) Laplacian-Shot 1:1 Accuracy 73.7 #4 of 8 Archive leaderboard report
Few-Shot Image Classification Dirichlet CUB-200 (5-way, 5-shot) Laplacian-Shot 1:1 Accuracy 87.7 #3 of 8 Archive leaderboard report
Few-Shot Image Classification Dirichlet Mini-Imagenet (5-way, 1-shot) Laplacian-Shot 1:1 Accuracy 65.4 #4 of 12 Archive leaderboard report
Few-Shot Image Classification Dirichlet Mini-Imagenet (5-way, 5-shot) Laplacian-Shot 1:1 Accuracy 81.6 #3 of 12 Archive leaderboard report
Few-Shot Image Classification Dirichlet Tiered-Imagenet (5-way, 1-shot) Laplacian-Shot 1:1 Accuracy 72.3 #5 of 9 Archive leaderboard report
Few-Shot Image Classification Dirichlet Tiered-Imagenet (5-way, 5-shot) Laplacian-Shot 1:1 Accuracy 85.7 #3 of 9 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.

Methods

Transductive Inference

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