{"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/shallow-bayesian-meta-learning-for-real-world","title":"Shallow Bayesian Meta Learning for Real-World Few-Shot Recognition","arxiv_id":"2101.02833","date":"2021-01-08","proceeding":"ICCV 2021 10","authors":["Xueting Zhang","Debin Meng","Henry Gouk","Timothy Hospedales"],"abstract":"Current state-of-the-art few-shot learners focus on developing effective training procedures for feature representations, before using simple, e.g. nearest centroid, classifiers. In this paper, we take an orthogonal approach that is agnostic to the features used and focus exclusively on meta-learning the actual classifier layer. Specifically, we introduce MetaQDA, a Bayesian meta-learning generalization of the classic quadratic discriminant analysis. This setup has several benefits of interest to practitioners: meta-learning is fast and memory-efficient, without the need to fine-tune features. It is agnostic to the off-the-shelf features chosen and thus will continue to benefit from advances in feature representations. Empirically, it leads to robust performance in cross-domain few-shot learning and, crucially for real-world applications, it leads to better uncertainty calibration in predictions.","url_abs":"https://arxiv.org/abs/2101.02833v2","url_pdf":"https://arxiv.org/pdf/2101.02833v2.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":"shallow-bayesian-meta-learning-for-real-world","repo_url":"https://github.com/open-debin/bayesian_mqda","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"unanswered"}},{"paper_slug":"shallow-bayesian-meta-learning-for-real-world","repo_url":"https://github.com/Open-Debin/MetaQDA_Pub","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"unanswered"}}],"tasks":[{"task_slug":"cross-domain-few-shot","task_name":"Cross-Domain Few-Shot"},{"task_slug":"few-shot-image-classification","task_name":"Few-Shot Image Classification"},{"task_slug":"few-shot-learning","task_name":"Few-Shot Learning"},{"task_slug":"meta-learning","task_name":"Meta-Learning"},{"task_slug":"cross-domain-few-shot-learning","task_name":"cross-domain few-shot learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/few-shot-image-classification-on-cifar-fs-5","task":"Few-Shot Image Classification","dataset":"CIFAR-FS 5-way (1-shot)","model":"MetaQDA","rank_in_archive_order":23,"of":38,"metrics":{"Accuracy":"75.83"},"uses_additional_data":false},{"leaderboard":"/sota/few-shot-image-classification-on-cifar-fs-5-1","task":"Few-Shot Image Classification","dataset":"CIFAR-FS 5-way (5-shot)","model":"MetaQDA","rank_in_archive_order":19,"of":39,"metrics":{"Accuracy":"88.79"},"uses_additional_data":false},{"leaderboard":"/sota/few-shot-image-classification-on-meta-dataset","task":"Few-Shot Image Classification","dataset":"Meta-Dataset","model":"URT+MQDA","rank_in_archive_order":8,"of":22,"metrics":{"Accuracy":"74.3"},"uses_additional_data":false},{"leaderboard":"/sota/few-shot-image-classification-on-mini-2","task":"Few-Shot Image Classification","dataset":"Mini-Imagenet 5-way (1-shot)","model":"MetaQDA","rank_in_archive_order":43,"of":105,"metrics":{"Accuracy":"67.83"},"uses_additional_data":false},{"leaderboard":"/sota/few-shot-image-classification-on-mini-3","task":"Few-Shot Image Classification","dataset":"Mini-Imagenet 5-way (5-shot)","model":"MetaQDA","rank_in_archive_order":30,"of":95,"metrics":{"Accuracy":"84.28"},"uses_additional_data":false},{"leaderboard":"/sota/few-shot-image-classification-on-tiered","task":"Few-Shot Image Classification","dataset":"Tiered ImageNet 5-way (1-shot)","model":"MetaQDA","rank_in_archive_order":20,"of":49,"metrics":{"Accuracy":"74.33"},"uses_additional_data":false},{"leaderboard":"/sota/few-shot-image-classification-on-tiered-1","task":"Few-Shot Image Classification","dataset":"Tiered ImageNet 5-way (5-shot)","model":"MetaQDA","rank_in_archive_order":10,"of":51,"metrics":{"Accuracy":"89.56"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2101.02833","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2101.02833"}},"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/Open-Debin/MetaQDA_Pub","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/open-debin/bayesian_mqda","reach":{"status":"unanswered"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/Open-Debin/Bayesian_MQDA","reach":{"status":"unanswered"}}],"summary":{"ran":1,"ran_draft_wrong":1,"ran_fixture":1},"by_repo_kind":{"official":{"samples":3,"ran":3,"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":3,"samples":[{"code_sha256_prefix":"724915ce3d5f6eb6","entry":"MetaQDA_MAP","repo":"Open-Debin/Bayesian_MQDA","repo_kind":"official","path":"code_models/classifiers.py","file_url":"https://github.com/Open-Debin/Bayesian_MQDA/blob/HEAD/code_models/classifiers.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"724915ce3d5f6eb6"}},{"code_sha256_prefix":"606ce2316ec269f4","entry":"self_outer","repo":"Open-Debin/Bayesian_MQDA","repo_kind":"official","path":"code_models/classifiers.py","file_url":"https://github.com/Open-Debin/Bayesian_MQDA/blob/HEAD/code_models/classifiers.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"606ce2316ec269f4"}},{"code_sha256_prefix":"ba15117378415c9d","entry":"sum_outer","repo":"Open-Debin/Bayesian_MQDA","repo_kind":"official","path":"code_models/classifiers.py","file_url":"https://github.com/Open-Debin/Bayesian_MQDA/blob/HEAD/code_models/classifiers.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"ba15117378415c9d"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}