{"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/learning-from-small-data-through-sampling-an","title":"Generative Latent Implicit Conditional Optimization when Learning from Small Sample","arxiv_id":"2003.14297","date":"2020-03-31","proceeding":null,"authors":["Idan Azuri","Daphna Weinshall"],"abstract":"We revisit the long-standing problem of learning from a small sample, to which end we propose a novel method called GLICO (Generative Latent Implicit Conditional Optimization). GLICO learns a mapping from the training examples to a latent space and a generator that generates images from vectors in the latent space. Unlike most recent works, which rely on access to large amounts of unlabeled data, GLICO does not require access to any additional data other than the small set of labeled points. In fact, GLICO learns to synthesize completely new samples for every class using as little as 5 or 10 examples per class, with as few as 10 such classes without imposing any prior. GLICO is then used to augment the small training set while training a classifier on the small sample. To this end, our proposed method samples the learned latent space using spherical interpolation, and generates new examples using the trained generator. Empirical results show that the new sampled set is diverse enough, leading to improvement in image classification in comparison with the state of the art, when trained on small samples obtained from CIFAR-10, CIFAR-100, and CUB-200.","url_abs":"https://arxiv.org/abs/2003.14297v5","url_pdf":"https://arxiv.org/pdf/2003.14297v5.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":"learning-from-small-data-through-sampling-an","repo_url":"https://github.com/IdanAzuri/glico-learning-small-sample","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"conditional-image-generation","task_name":"Conditional Image Generation"},{"task_slug":"data-augmentation","task_name":"Data Augmentation"},{"task_slug":"image-classification","task_name":"Image Classification"},{"task_slug":"small-data","task_name":"Small Data Image Classification"},{"task_slug":"image-classification","task_name":"image-classification"}],"methods":[{"method_slug":"auxiliary-classifier","method_name":"Auxiliary Classifier"},{"method_slug":"wideresnet","method_name":"WideResNet"}],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/small-data-image-classification-on-cifar-10-1","task":"Small Data Image Classification","dataset":"CIFAR-10, 250 Labels","model":"GLICO","rank_in_archive_order":1,"of":1,"metrics":{"Top-1 accuracy %":"43"},"uses_additional_data":false},{"leaderboard":"/sota/small-data-image-classification-on-cifar-10","task":"Small Data Image Classification","dataset":"CIFAR-10, 500 Labels","model":"GLICO","rank_in_archive_order":6,"of":6,"metrics":{"Accuracy (%)":"56.22"},"uses_additional_data":false},{"leaderboard":"/sota/small-data-on-cifar-100-1000-labels-1","task":"Small Data Image Classification","dataset":"CIFAR-100, 1000 Labels","model":"GLICO","rank_in_archive_order":3,"of":3,"metrics":{"Accuracy":"28.55"},"uses_additional_data":false},{"leaderboard":"/sota/small-data-on-cub-200-2011-30-samples-per-1","task":"Small Data Image Classification","dataset":"CUB-200-2011, 30 samples per class","model":"GLICO","rank_in_archive_order":1,"of":4,"metrics":{"Accuracy":"77.75"},"uses_additional_data":false},{"leaderboard":"/sota/small-data-on-cub-200-2011-5-samples-per-1","task":"Small Data Image Classification","dataset":"CUB-200-2011, 5 samples per class","model":"GLICO","rank_in_archive_order":1,"of":1,"metrics":{"Accuracy":"51.52"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2003.14297","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2003.14297"}},"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/IdanAzuri/glico-learning-small-sample","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":16},"by_repo_kind":{"official":{"samples":16,"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":0,"samples":[{"code_sha256_prefix":"66f7263a9f98872e","entry":"accuracy","repo":"IdanAzuri/glico-learning-small-sample","repo_kind":"official","path":"glico_model/evaluation.py","file_url":"https://github.com/IdanAzuri/glico-learning-small-sample/blob/HEAD/glico_model/evaluation.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":"66f7263a9f98872e"}},{"code_sha256_prefix":"a86a74fe9070c8ff","entry":"fewshot_setting","repo":"IdanAzuri/glico-learning-small-sample","repo_kind":"official","path":"glico_model/evaluation.py","file_url":"https://github.com/IdanAzuri/glico-learning-small-sample/blob/HEAD/glico_model/evaluation.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":"a86a74fe9070c8ff"}},{"code_sha256_prefix":"492e6a1a39e01db2","entry":"get_cifar10","repo":"IdanAzuri/glico-learning-small-sample","repo_kind":"official","path":"glico_model/cifar10.py","file_url":"https://github.com/IdanAzuri/glico-learning-small-sample/blob/HEAD/glico_model/cifar10.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":"492e6a1a39e01db2"}},{"code_sha256_prefix":"70c82888b308c191","entry":"get_cifar100","repo":"IdanAzuri/glico-learning-small-sample","repo_kind":"official","path":"glico_model/cifar100.py","file_url":"https://github.com/IdanAzuri/glico-learning-small-sample/blob/HEAD/glico_model/cifar100.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":"70c82888b308c191"}},{"code_sha256_prefix":"76ecc13d5690af8e","entry":"get_code","repo":"IdanAzuri/glico-learning-small-sample","repo_kind":"official","path":"glico_model/brwose_data_and_FID.py","file_url":"https://github.com/IdanAzuri/glico-learning-small-sample/blob/HEAD/glico_model/brwose_data_and_FID.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":"76ecc13d5690af8e"}},{"code_sha256_prefix":"46a47194a5a214b5","entry":"has_file_allowed_extension","repo":"IdanAzuri/glico-learning-small-sample","repo_kind":"official","path":"glico_model/imagent_folder_loader.py","file_url":"https://github.com/IdanAzuri/glico-learning-small-sample/blob/HEAD/glico_model/imagent_folder_loader.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":"46a47194a5a214b5"}},{"code_sha256_prefix":"3ed19559ece460a6","entry":"is_image_file","repo":"IdanAzuri/glico-learning-small-sample","repo_kind":"official","path":"glico_model/imagent_folder_loader.py","file_url":"https://github.com/IdanAzuri/glico-learning-small-sample/blob/HEAD/glico_model/imagent_folder_loader.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":"3ed19559ece460a6"}},{"code_sha256_prefix":"cd853a74f6084460","entry":"lerp_mat","repo":"IdanAzuri/glico-learning-small-sample","repo_kind":"official","path":"glico_model/interpolate.py","file_url":"https://github.com/IdanAzuri/glico-learning-small-sample/blob/HEAD/glico_model/interpolate.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":"cd853a74f6084460"}},{"code_sha256_prefix":"f846a37597cc33b1","entry":"make_dataset","repo":"IdanAzuri/glico-learning-small-sample","repo_kind":"official","path":"glico_model/imagent_folder_loader.py","file_url":"https://github.com/IdanAzuri/glico-learning-small-sample/blob/HEAD/glico_model/imagent_folder_loader.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":"f846a37597cc33b1"}},{"code_sha256_prefix":"e6db98c4f0c516df","entry":"normalise","repo":"IdanAzuri/glico-learning-small-sample","repo_kind":"official","path":"glico_model/cifar10.py","file_url":"https://github.com/IdanAzuri/glico-learning-small-sample/blob/HEAD/glico_model/cifar10.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":"e6db98c4f0c516df"}},{"code_sha256_prefix":"f0a379836cfa494d","entry":"normalise","repo":"IdanAzuri/glico-learning-small-sample","repo_kind":"official","path":"glico_model/cifar100.py","file_url":"https://github.com/IdanAzuri/glico-learning-small-sample/blob/HEAD/glico_model/cifar100.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":"f0a379836cfa494d"}},{"code_sha256_prefix":"247e9650fd4374b4","entry":"sample_from_iter","repo":"IdanAzuri/glico-learning-small-sample","repo_kind":"official","path":"glico_model/model.py","file_url":"https://github.com/IdanAzuri/glico-learning-small-sample/blob/HEAD/glico_model/model.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":"247e9650fd4374b4"}},{"code_sha256_prefix":"b31461d93847c383","entry":"slerp","repo":"IdanAzuri/glico-learning-small-sample","repo_kind":"official","path":"glico_model/interpolate.py","file_url":"https://github.com/IdanAzuri/glico-learning-small-sample/blob/HEAD/glico_model/interpolate.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":"b31461d93847c383"}},{"code_sha256_prefix":"1fdd932b4ae04228","entry":"slerp_torch","repo":"IdanAzuri/glico-learning-small-sample","repo_kind":"official","path":"glico_model/interpolate.py","file_url":"https://github.com/IdanAzuri/glico-learning-small-sample/blob/HEAD/glico_model/interpolate.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":"1fdd932b4ae04228"}},{"code_sha256_prefix":"a727540bc318bdd2","entry":"train_val_split","repo":"IdanAzuri/glico-learning-small-sample","repo_kind":"official","path":"glico_model/cifar10.py","file_url":"https://github.com/IdanAzuri/glico-learning-small-sample/blob/HEAD/glico_model/cifar10.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":"a727540bc318bdd2"}},{"code_sha256_prefix":"3fb532813fcf4bb5","entry":"train_val_split","repo":"IdanAzuri/glico-learning-small-sample","repo_kind":"official","path":"glico_model/cifar100.py","file_url":"https://github.com/IdanAzuri/glico-learning-small-sample/blob/HEAD/glico_model/cifar100.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":"3fb532813fcf4bb5"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}