{"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/flexible-dataset-distillation-learn-labels","title":"Flexible Dataset Distillation: Learn Labels Instead of Images","arxiv_id":"2006.08572","date":"2020-06-15","proceeding":null,"authors":["Ondrej Bohdal","Yongxin Yang","Timothy Hospedales"],"abstract":"We study the problem of dataset distillation - creating a small set of synthetic examples capable of training a good model. In particular, we study the problem of label distillation - creating synthetic labels for a small set of real images, and show it to be more effective than the prior image-based approach to dataset distillation. Methodologically, we introduce a more robust and flexible meta-learning algorithm for distillation, as well as an effective first-order strategy based on convex optimization layers. Distilling labels with our new algorithm leads to improved results over prior image-based distillation. More importantly, it leads to clear improvements in flexibility of the distilled dataset in terms of compatibility with off-the-shelf optimizers and diverse neural architectures. Interestingly, label distillation can also be applied across datasets, for example enabling learning Japanese character recognition by training only on synthetically labeled English letters.","url_abs":"https://arxiv.org/abs/2006.08572v3","url_pdf":"https://arxiv.org/pdf/2006.08572v3.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":"flexible-dataset-distillation-learn-labels","repo_url":"https://github.com/ondrejbohdal/label-distillation","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"flexible-dataset-distillation-learn-labels","repo_url":"https://github.com/Guang000/Awesome-Dataset-Distillation","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"data-summarization","task_name":"Data Summarization"},{"task_slug":"dataset-distillation","task_name":"Dataset Distillation"},{"task_slug":"meta-learning","task_name":"Meta-Learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2006.08572","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2006.08572"}},"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/Guang000/Awesome-Dataset-Distillation","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ondrejbohdal/label-distillation","reach":null}],"summary":{"ran":9,"ran_fixture":1,"ran_draft_wrong":2,"unverified":2},"by_repo_kind":{"official":{"samples":14,"ran":12,"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":"25a2c2bc7e83dc9c","entry":"AlexCifarNetMeta","repo":"ondrejbohdal/label-distillation","repo_kind":"official","path":"label_distillation_or2.py","file_url":"https://github.com/ondrejbohdal/label-distillation/blob/HEAD/label_distillation_or2.py","link_basis":"first_harvest_node","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":"25a2c2bc7e83dc9c"}},{"code_sha256_prefix":"9ffa12952f75d440","entry":"BasicBlock","repo":"ondrejbohdal/label-distillation","repo_kind":"official","path":"label_distillation_or2.py","file_url":"https://github.com/ondrejbohdal/label-distillation/blob/HEAD/label_distillation_or2.py","link_basis":"first_harvest_node","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":"9ffa12952f75d440"}},{"code_sha256_prefix":"47d026f287f30563","entry":"BasicBlockMeta","repo":"ondrejbohdal/label-distillation","repo_kind":"official","path":"label_distillation_or2.py","file_url":"https://github.com/ondrejbohdal/label-distillation/blob/HEAD/label_distillation_or2.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"47d026f287f30563"}},{"code_sha256_prefix":"c879b9f52d194add","entry":"BatchNorm2d_fw","repo":"ondrejbohdal/label-distillation","repo_kind":"official","path":"label_distillation_or2.py","file_url":"https://github.com/ondrejbohdal/label-distillation/blob/HEAD/label_distillation_or2.py","link_basis":"first_harvest_node","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":"c879b9f52d194add"}},{"code_sha256_prefix":"b4347dcd0955b1c1","entry":"Bottleneck","repo":"ondrejbohdal/label-distillation","repo_kind":"official","path":"label_distillation_or2.py","file_url":"https://github.com/ondrejbohdal/label-distillation/blob/HEAD/label_distillation_or2.py","link_basis":"first_harvest_node","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":"b4347dcd0955b1c1"}},{"code_sha256_prefix":"e4bb84cfe7b87ce0","entry":"BottleneckMeta","repo":"ondrejbohdal/label-distillation","repo_kind":"official","path":"label_distillation_or2.py","file_url":"https://github.com/ondrejbohdal/label-distillation/blob/HEAD/label_distillation_or2.py","link_basis":"first_harvest_node","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":"e4bb84cfe7b87ce0"}},{"code_sha256_prefix":"632c8c814a793942","entry":"Conv2d_fw","repo":"ondrejbohdal/label-distillation","repo_kind":"official","path":"label_distillation_or2.py","file_url":"https://github.com/ondrejbohdal/label-distillation/blob/HEAD/label_distillation_or2.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"632c8c814a793942"}},{"code_sha256_prefix":"989dc993f04f60bc","entry":"LeNetMeta","repo":"ondrejbohdal/label-distillation","repo_kind":"official","path":"label_distillation_or2.py","file_url":"https://github.com/ondrejbohdal/label-distillation/blob/HEAD/label_distillation_or2.py","link_basis":"first_harvest_node","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":"989dc993f04f60bc"}},{"code_sha256_prefix":"653f301f2246283b","entry":"Linear_fw","repo":"ondrejbohdal/label-distillation","repo_kind":"official","path":"label_distillation_or2.py","file_url":"https://github.com/ondrejbohdal/label-distillation/blob/HEAD/label_distillation_or2.py","link_basis":"first_harvest_node","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":"653f301f2246283b"}},{"code_sha256_prefix":"ebe5453ec329c50d","entry":"compute_error_rate","repo":"ondrejbohdal/label-distillation","repo_kind":"official","path":"label_distillation_or2.py","file_url":"https://github.com/ondrejbohdal/label-distillation/blob/HEAD/label_distillation_or2.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ebe5453ec329c50d"}},{"code_sha256_prefix":"f35d22f864965f3b","entry":"conv3x3meta","repo":"ondrejbohdal/label-distillation","repo_kind":"official","path":"label_distillation_or2.py","file_url":"https://github.com/ondrejbohdal/label-distillation/blob/HEAD/label_distillation_or2.py","link_basis":"first_harvest_node","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":"f35d22f864965f3b"}},{"code_sha256_prefix":"7b40608d582dc51b","entry":"soft_cross_entropy","repo":"ondrejbohdal/label-distillation","repo_kind":"official","path":"label_distillation_or2.py","file_url":"https://github.com/ondrejbohdal/label-distillation/blob/HEAD/label_distillation_or2.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":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7b40608d582dc51b"}},{"code_sha256_prefix":"e1906e100150fbc0","entry":"ResNetMeta","repo":"ondrejbohdal/label-distillation","repo_kind":"official","path":"label_distillation_or2.py","file_url":"https://github.com/ondrejbohdal/label-distillation/blob/HEAD/label_distillation_or2.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":"e1906e100150fbc0"}},{"code_sha256_prefix":"c3716d20e4588723","entry":"train","repo":"ondrejbohdal/label-distillation","repo_kind":"official","path":"label_distillation_or2.py","file_url":"https://github.com/ondrejbohdal/label-distillation/blob/HEAD/label_distillation_or2.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":"c3716d20e4588723"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}