{"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/meta-internal-learning","title":"Meta Internal Learning","arxiv_id":"2110.02900","date":"2021-10-06","proceeding":"NeurIPS 2021 12","authors":["Raphael Bensadoun","Shir Gur","Tomer Galanti","Lior Wolf"],"abstract":"Internal learning for single-image generation is a framework, where a generator is trained to produce novel images based on a single image. Since these models are trained on a single image, they are limited in their scale and application. To overcome these issues, we propose a meta-learning approach that enables training over a collection of images, in order to model the internal statistics of the sample image more effectively. In the presented meta-learning approach, a single-image GAN model is generated given an input image, via a convolutional feedforward hypernetwork $f$. This network is trained over a dataset of images, allowing for feature sharing among different models, and for interpolation in the space of generative models. The generated single-image model contains a hierarchy of multiple generators and discriminators. It is therefore required to train the meta-learner in an adversarial manner, which requires careful design choices that we justify by a theoretical analysis. Our results show that the models obtained are as suitable as single-image GANs for many common image applications, significantly reduce the training time per image without loss in performance, and introduce novel capabilities, such as interpolation and feedforward modeling of novel images.","url_abs":"https://arxiv.org/abs/2110.02900v1","url_pdf":"https://arxiv.org/pdf/2110.02900v1.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":"meta-internal-learning","repo_url":"https://github.com/RaphaelBensTAU/MetaInternalLearning","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"image-generation","task_name":"Image Generation"},{"task_slug":"meta-learning","task_name":"Meta-Learning"},{"task_slug":"single-image-generation","task_name":"single-image-generation"}],"methods":[{"method_slug":"hypernetwork","method_name":"HyperNetwork"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2110.02900","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2110.02900"}},"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/RaphaelBensTAU/MetaInternalLearning","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_draft_wrong":2,"unverified":7},"by_repo_kind":{"official":{"samples":9,"ran":2,"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":"289ace78904e68a8","entry":"denorm","repo":"RaphaelBensTAU/MetaInternalLearning","repo_kind":"official","path":"modules/imresize.py","file_url":"https://github.com/RaphaelBensTAU/MetaInternalLearning/blob/HEAD/modules/imresize.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"289ace78904e68a8"}},{"code_sha256_prefix":"0489bfec4716b314","entry":"norm","repo":"RaphaelBensTAU/MetaInternalLearning","repo_kind":"official","path":"modules/imresize.py","file_url":"https://github.com/RaphaelBensTAU/MetaInternalLearning/blob/HEAD/modules/imresize.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0489bfec4716b314"}},{"code_sha256_prefix":"f2a37b5ec74f13c8","entry":"generate_noise","repo":"RaphaelBensTAU/MetaInternalLearning","repo_kind":"official","path":"utils/images.py","file_url":"https://github.com/RaphaelBensTAU/MetaInternalLearning/blob/HEAD/utils/images.py","link_basis":"harvester_set","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":"f2a37b5ec74f13c8"}},{"code_sha256_prefix":"0483fad2f33bc9ea","entry":"get_activation","repo":"RaphaelBensTAU/MetaInternalLearning","repo_kind":"official","path":"modules/networks_utils.py","file_url":"https://github.com/RaphaelBensTAU/MetaInternalLearning/blob/HEAD/modules/networks_utils.py","link_basis":"harvester_set","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":"0483fad2f33bc9ea"}},{"code_sha256_prefix":"6eaba3d6df46f7ed","entry":"get_default_logging_format","repo":"RaphaelBensTAU/MetaInternalLearning","repo_kind":"official","path":"utils/logger.py","file_url":"https://github.com/RaphaelBensTAU/MetaInternalLearning/blob/HEAD/utils/logger.py","link_basis":"harvester_set","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":"6eaba3d6df46f7ed"}},{"code_sha256_prefix":"8611ab16a16cffc1","entry":"get_scales_by_index","repo":"RaphaelBensTAU/MetaInternalLearning","repo_kind":"official","path":"utils/images.py","file_url":"https://github.com/RaphaelBensTAU/MetaInternalLearning/blob/HEAD/utils/images.py","link_basis":"harvester_set","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":"8611ab16a16cffc1"}},{"code_sha256_prefix":"4d4714cb7b63bc3a","entry":"interpolate","repo":"RaphaelBensTAU/MetaInternalLearning","repo_kind":"official","path":"utils/images.py","file_url":"https://github.com/RaphaelBensTAU/MetaInternalLearning/blob/HEAD/utils/images.py","link_basis":"harvester_set","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":"4d4714cb7b63bc3a"}},{"code_sha256_prefix":"8b468ae6694fa405","entry":"move_to_cpu","repo":"RaphaelBensTAU/MetaInternalLearning","repo_kind":"official","path":"modules/utils.py","file_url":"https://github.com/RaphaelBensTAU/MetaInternalLearning/blob/HEAD/modules/utils.py","link_basis":"harvester_set","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":"8b468ae6694fa405"}},{"code_sha256_prefix":"5d8022d115a3f72e","entry":"move_to_gpu","repo":"RaphaelBensTAU/MetaInternalLearning","repo_kind":"official","path":"modules/imresize.py","file_url":"https://github.com/RaphaelBensTAU/MetaInternalLearning/blob/HEAD/modules/imresize.py","link_basis":"harvester_set","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":"5d8022d115a3f72e"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}