{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/a-new-meta-baseline-for-few-shot-learning","title":"Meta-Baseline: Exploring Simple Meta-Learning for Few-Shot Learning","arxiv_id":"2003.04390","date":"2020-03-09","proceeding":"ICCV 2021 10","authors":["Yinbo Chen","Zhuang Liu","Huijuan Xu","Trevor Darrell","Xiaolong Wang"],"abstract":"Meta-learning has been the most common framework for few-shot learning in recent years. It learns the model from collections of few-shot classification tasks, which is believed to have a key advantage of making the training objective consistent with the testing objective. However, some recent works report that by training for whole-classification, i.e. classification on the whole label-set, it can get comparable or even better embedding than many meta-learning algorithms. The edge between these two lines of works has yet been underexplored, and the effectiveness of meta-learning in few-shot learning remains unclear. In this paper, we explore a simple process: meta-learning over a whole-classification pre-trained model on its evaluation metric. We observe this simple method achieves competitive performance to state-of-the-art methods on standard benchmarks. Our further analysis shed some light on understanding the trade-offs between the meta-learning objective and the whole-classification objective in few-shot learning.","url_abs":"https://arxiv.org/abs/2003.04390v4","url_pdf":"https://arxiv.org/pdf/2003.04390v4.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"a-new-meta-baseline-for-few-shot-learning","repo_url":"https://github.com/cyvius96/few-shot-meta-baseline","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"a-new-meta-baseline-for-few-shot-learning","repo_url":"https://github.com/yinboc/few-shot-meta-baseline","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"a-new-meta-baseline-for-few-shot-learning","repo_url":"https://github.com/cvlab-stonybrook/fsl-rsvae","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"a-new-meta-baseline-for-few-shot-learning","repo_url":"https://github.com/mlpc-ucsd/ConstellationNet","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"a-new-meta-baseline-for-few-shot-learning","repo_url":"https://github.com/MS-Mind/MS-Code-08/tree/main/meta-baseline","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"mindspore","reach":null},{"paper_slug":"a-new-meta-baseline-for-few-shot-learning","repo_url":"https://github.com/Mind23-2/MindCode-101/tree/main/meta-baseline","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"mindspore","reach":null},{"paper_slug":"a-new-meta-baseline-for-few-shot-learning","repo_url":"https://github.com/Mind23-2/MindCode-3/tree/main/m2det","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"mindspore","reach":null},{"paper_slug":"a-new-meta-baseline-for-few-shot-learning","repo_url":"https://github.com/Mind23-2/MindCode-3/tree/main/meta-baseline","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"mindspore","reach":null},{"paper_slug":"a-new-meta-baseline-for-few-shot-learning","repo_url":"https://github.com/code-implementation1/Code5/tree/main/meta-baseline","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"mindspore","reach":null},{"paper_slug":"a-new-meta-baseline-for-few-shot-learning","repo_url":"https://github.com/dmcv-ecnu/MindSpore_ModelZoo/tree/main/few-shot-meta-baseline_mindspore","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"mindspore","reach":null}],"tasks":[{"task_slug":"few-shot-learning","task_name":"Few-Shot Learning"},{"task_slug":"classification","task_name":"General Classification"},{"task_slug":"meta-learning","task_name":"Meta-Learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2003.04390","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2003.04390"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/cyvius96/few-shot-meta-baseline","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Mind23-2/MindCode-3/tree/main/m2det","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/yinboc/few-shot-meta-baseline","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/dmcv-ecnu/MindSpore_ModelZoo/tree/main/few-shot-meta-baseline_mindspore","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/mlpc-ucsd/ConstellationNet","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Mind23-2/MindCode-3/tree/main/meta-baseline","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/MS-Mind/MS-Code-08/tree/main/meta-baseline","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/code-implementation1/Code5/tree/main/meta-baseline","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/cvlab-stonybrook/fsl-rsvae","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Mind23-2/MindCode-101/tree/main/meta-baseline","reach":null}],"summary":{"ran_draft_wrong":4,"ran":3,"ran_violates":1,"unverified":4},"by_repo_kind":{"official":{"samples":9,"ran":7,"repositories":1},"listed":{"samples":2,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":1,"samples":[{"code_sha256_prefix":"d9def42110729a85","entry":"conv1x1","repo":"cyvius96/few-shot-meta-baseline","repo_kind":"official","path":"meta-dataset/models/resnet.py","file_url":"https://github.com/cyvius96/few-shot-meta-baseline/blob/HEAD/meta-dataset/models/resnet.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d9def42110729a85"}},{"code_sha256_prefix":"de92832114f71d8c","entry":"conv1x1","repo":"cyvius96/few-shot-meta-baseline","repo_kind":"official","path":"meta-dataset/models/resnet12.py","file_url":"https://github.com/cyvius96/few-shot-meta-baseline/blob/HEAD/meta-dataset/models/resnet12.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"de92832114f71d8c"}},{"code_sha256_prefix":"160bb14bd76201b4","entry":"conv3x3","repo":"cyvius96/few-shot-meta-baseline","repo_kind":"official","path":"meta-dataset/models/resnet.py","file_url":"https://github.com/cyvius96/few-shot-meta-baseline/blob/HEAD/meta-dataset/models/resnet.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"160bb14bd76201b4"}},{"code_sha256_prefix":"e5b7c79b0b62af96","entry":"conv3x3","repo":"cyvius96/few-shot-meta-baseline","repo_kind":"official","path":"meta-dataset/models/resnet12.py","file_url":"https://github.com/cyvius96/few-shot-meta-baseline/blob/HEAD/meta-dataset/models/resnet12.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e5b7c79b0b62af96"}},{"code_sha256_prefix":"9d556d61294bb0a8","entry":"conv_block","repo":"cyvius96/few-shot-meta-baseline","repo_kind":"official","path":"meta-dataset/models/convnet4.py","file_url":"https://github.com/cyvius96/few-shot-meta-baseline/blob/HEAD/meta-dataset/models/convnet4.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9d556d61294bb0a8"}},{"code_sha256_prefix":"3233bdb56ef8b4da","entry":"mean_confidence_interval","repo":null,"repo_kind":null,"path":null,"file_url":null,"link_basis":"identical_code_first_harvested_elsewhere","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":null,"inline_ok":false,"mcp_get_code":{"code_sha256":"3233bdb56ef8b4da"}},{"code_sha256_prefix":"f36ac42575cd46ee","entry":"norm_layer","repo":"cyvius96/few-shot-meta-baseline","repo_kind":"official","path":"meta-dataset/models/resnet12.py","file_url":"https://github.com/cyvius96/few-shot-meta-baseline/blob/HEAD/meta-dataset/models/resnet12.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f36ac42575cd46ee"}},{"code_sha256_prefix":"44c3aa4c610ea3f7","entry":"register","repo":"cyvius96/few-shot-meta-baseline","repo_kind":"official","path":"meta-dataset/models/models.py","file_url":"https://github.com/cyvius96/few-shot-meta-baseline/blob/HEAD/meta-dataset/models/models.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"44c3aa4c610ea3f7"}},{"code_sha256_prefix":"5bd23873a9c853d7","entry":"load","repo":"mlpc-ucsd/ConstellationNet","repo_kind":"listed","path":"models/models.py","file_url":"https://github.com/mlpc-ucsd/ConstellationNet/blob/HEAD/models/models.py","link_basis":"plan_row","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"5bd23873a9c853d7"}},{"code_sha256_prefix":"232045c11773f4a3","entry":"make","repo":"mlpc-ucsd/ConstellationNet","repo_kind":"listed","path":"models/models.py","file_url":"https://github.com/mlpc-ucsd/ConstellationNet/blob/HEAD/models/models.py","link_basis":"plan_row","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"232045c11773f4a3"}},{"code_sha256_prefix":"a9882def8b5176d6","entry":"make_nk_label","repo":"cyvius96/few-shot-meta-baseline","repo_kind":"official","path":"utils/few_shot.py","file_url":"https://github.com/cyvius96/few-shot-meta-baseline/blob/HEAD/utils/few_shot.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a9882def8b5176d6"}},{"code_sha256_prefix":"2e717c371f330d15","entry":"split_shot_query","repo":"cyvius96/few-shot-meta-baseline","repo_kind":"official","path":"utils/few_shot.py","file_url":"https://github.com/cyvius96/few-shot-meta-baseline/blob/HEAD/utils/few_shot.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2e717c371f330d15"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}