Papers › On the Role of Neural Collapse in Meta Learning Models for Few-shot Learning

On the Role of Neural Collapse in Meta Learning Models for Few-shot Learning

30 Sep 2023arXiv:2310.00451archive 2025-07-28

Saaketh Medepalli, Naren Doraiswamy

Meta-learning frameworks for few-shot learning aims to learn models that can learn new skills or adapt to new environments rapidly with a few training examples. This has led to the generalizability of the developed model towards new classes with just a few labelled samples. However these networks are seen as black-box models and understanding the representations learnt under different learning scenarios is crucial. Neural collapse (𝒩𝒞) is a recently discovered phenomenon which showcases unique properties at the network proceeds towards zero loss. The input features collapse to their respective class means, the class means form a Simplex equiangular tight frame (ETF) where the class means are maximally distant and linearly separable, and the classifier acts as a simple nearest neighbor classifier. While these phenomena have been observed in simple classification networks, this study is the first to explore and understand the properties of neural collapse in meta learning frameworks for few-shot learning. We perform studies on the Omniglot dataset in the few-shot setting and study the neural collapse phenomenon. We observe that the learnt features indeed have the trend of neural collapse, especially as model size grows, but to do not necessarily showcase the complete collapse as measured by the 𝒩𝒞 properties.

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.00451")

Code

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

By repository: official repository: 10 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.

saakethmm/nc-prototypical-networks officialmentioned in paperpytorchMIT 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; 9 ran; 0 honoured the contract we drafted; 1 has 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 · our draft was wrong
8ran
1unverified

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 saakethmm/nc-prototypical-networks. “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.

compute_nc1 saakethmm/nc-prototypical-networks/protonets/utils/validate_nc.py official repository ran MIT (permissive) · 059fa545366b5fa9 · report
compute_sigma_b saakethmm/nc-prototypical-networks/protonets/utils/validate_nc.py official repository ran fingerprinted MIT (permissive) · e2dc4f756030e978 · report
compute_sigma_w saakethmm/nc-prototypical-networks/protonets/utils/validate_nc.py official repository ran fingerprinted MIT (permissive) · f5a6d13ffcf83043 · report
convert_array saakethmm/nc-prototypical-networks/protonets/utils/log.py official repository ran MIT (permissive) · 4601716ebff8a67b · report
euclidean_dist saakethmm/nc-prototypical-networks/protonets/models/utils.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 4dd319c45d372246 · report
evaluate saakethmm/nc-prototypical-networks/protonets/utils/model.py official repository ran MIT (permissive) · 6737d2c557fcf23d · report
extract_meter_values saakethmm/nc-prototypical-networks/protonets/utils/log.py official repository ran MIT (permissive) · edcb0cddd78cf783 · report
register_model saakethmm/nc-prototypical-networks/protonets/models/factory.py official repository ran MIT (permissive) · 896ba48590068c68 · report
render_meter_values saakethmm/nc-prototypical-networks/protonets/utils/log.py official repository ran MIT (permissive) · c0d75b572348ad84 · report
get_model saakethmm/nc-prototypical-networks/protonets/models/factory.py official repository unverified MIT (permissive) · ab239f4a02eaeab3 · report

Tasks

Few-Shot LearningMeta-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