{"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/regularizing-generative-adversarial-networks","title":"Regularizing Generative Adversarial Networks under Limited Data","arxiv_id":"2104.03310","date":"2021-04-07","proceeding":"CVPR 2021 1","authors":["Hung-Yu Tseng","Lu Jiang","Ce Liu","Ming-Hsuan Yang","Weilong Yang"],"abstract":"Recent years have witnessed the rapid progress of generative adversarial networks (GANs). However, the success of the GAN models hinges on a large amount of training data. This work proposes a regularization approach for training robust GAN models on limited data. We theoretically show a connection between the regularized loss and an f-divergence called LeCam-divergence, which we find is more robust under limited training data. Extensive experiments on several benchmark datasets demonstrate that the proposed regularization scheme 1) improves the generalization performance and stabilizes the learning dynamics of GAN models under limited training data, and 2) complements the recent data augmentation methods. These properties facilitate training GAN models to achieve state-of-the-art performance when only limited training data of the ImageNet benchmark is available.","url_abs":"https://arxiv.org/abs/2104.03310v1","url_pdf":"https://arxiv.org/pdf/2104.03310v1.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":"regularizing-generative-adversarial-networks","repo_url":"https://github.com/google/lecam-gan","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"data-augmentation","task_name":"Data Augmentation"},{"task_slug":"image-generation","task_name":"Image Generation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/image-generation-on-25-imagenet-128x128","task":"Image Generation","dataset":"25% ImageNet 128x128","model":"LeCAM + DA","rank_in_archive_order":1,"of":1,"metrics":{"FID":"11.16","IS":"84.7"},"uses_additional_data":false},{"leaderboard":"/sota/image-generation-on-cat-256x256","task":"Image Generation","dataset":"CAT 256x256","model":"StyleGAN2 + DA + RLC (Ours)","rank_in_archive_order":1,"of":3,"metrics":{"FID":"10.16"},"uses_additional_data":false},{"leaderboard":"/sota/image-generation-on-cifar-10","task":"Image Generation","dataset":"CIFAR-10","model":"LeCAM (BigGAN + DA)","rank_in_archive_order":41,"of":78,"metrics":{"FID":"8.46"},"uses_additional_data":false},{"leaderboard":"/sota/image-generation-on-cifar-100","task":"Image Generation","dataset":"CIFAR-100","model":"LeCAM (StyleGAN2 + ADA)","rank_in_archive_order":1,"of":9,"metrics":{"FID":"2.99"},"uses_additional_data":false},{"leaderboard":"/sota/image-generation-on-cifar-100","task":"Image Generation","dataset":"CIFAR-100","model":"LeCAM (BigGAN + DA)","rank_in_archive_order":5,"of":9,"metrics":{"FID":"11.2"},"uses_additional_data":false},{"leaderboard":"/sota/image-generation-on-ffhq-256-x-256","task":"Image Generation","dataset":"FFHQ 256 x 256","model":"LeCAM (StyleGAN2 + ADA)","rank_in_archive_order":19,"of":51,"metrics":{"FID":"3.49"},"uses_additional_data":false},{"leaderboard":"/sota/image-generation-on-imagenet-128x128","task":"Image Generation","dataset":"ImageNet 128x128","model":"LeCAM + DA","rank_in_archive_order":14,"of":23,"metrics":{"FID":"6.54","IS":"108"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2104.03310","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2104.03310"}},"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":"deterministic:regex_extraction","url":"https://github.com/mit-han-lab/data-efficient-gans","reach":null},{"provenance":"deterministic:regex_extraction","url":"https://github.com/NVlabs/stylegan2-ada","reach":{"status":"ok","spdx":"NOASSERTION"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/google/compare_gan","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/google/lecam-gan","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran_fixture":1,"ran_draft_wrong":2,"unverified":6},"by_repo_kind":{"official":{"samples":3,"ran":0,"repositories":1},"found_in_text":{"samples":3,"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":3,"samples":[{"code_sha256_prefix":"b0bbabd6de30f612","entry":"DiffAugment","repo":null,"repo_kind":null,"path":null,"file_url":null,"link_basis":"identical_code_first_harvested_elsewhere","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":null,"inline_ok":false,"mcp_get_code":{"code_sha256":"b0bbabd6de30f612"}},{"code_sha256_prefix":"011230b2b9b8fb6f","entry":"rand_brightness","repo":null,"repo_kind":null,"path":null,"file_url":null,"link_basis":"identical_code_first_harvested_elsewhere","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":null,"inline_ok":false,"mcp_get_code":{"code_sha256":"011230b2b9b8fb6f"}},{"code_sha256_prefix":"5b0d8787e670fc63","entry":"rand_saturation","repo":null,"repo_kind":null,"path":null,"file_url":null,"link_basis":"identical_code_first_harvested_elsewhere","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":null,"inline_ok":false,"mcp_get_code":{"code_sha256":"5b0d8787e670fc63"}},{"code_sha256_prefix":"22bf6d2dba9c8d78","entry":"get_real_images","repo":"google/compare_gan","repo_kind":"found_in_text","path":"compare_gan/eval_utils.py","file_url":"https://github.com/google/compare_gan/blob/HEAD/compare_gan/eval_utils.py","link_basis":"first_harvest_node","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":"22bf6d2dba9c8d78"}},{"code_sha256_prefix":"9a5f33c78f0acedd","entry":"lecam_reg","repo":"google/lecam-gan","repo_kind":"official","path":"biggan_cifar/losses.py","file_url":"https://github.com/google/lecam-gan/blob/HEAD/biggan_cifar/losses.py","link_basis":"first_harvest_node","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":"9a5f33c78f0acedd"}},{"code_sha256_prefix":"ddfce8dee1e135a4","entry":"loss_dcgan_dis","repo":"google/lecam-gan","repo_kind":"official","path":"biggan_cifar/losses.py","file_url":"https://github.com/google/lecam-gan/blob/HEAD/biggan_cifar/losses.py","link_basis":"first_harvest_node","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":"ddfce8dee1e135a4"}},{"code_sha256_prefix":"9e775a46ccc9ac84","entry":"loss_dcgan_gen","repo":"google/lecam-gan","repo_kind":"official","path":"biggan_cifar/losses.py","file_url":"https://github.com/google/lecam-gan/blob/HEAD/biggan_cifar/losses.py","link_basis":"first_harvest_node","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":"9e775a46ccc9ac84"}},{"code_sha256_prefix":"6101cf824227f899","entry":"sample_fake_dataset","repo":"google/compare_gan","repo_kind":"found_in_text","path":"compare_gan/eval_utils.py","file_url":"https://github.com/google/compare_gan/blob/HEAD/compare_gan/eval_utils.py","link_basis":"first_harvest_node","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":"6101cf824227f899"}},{"code_sha256_prefix":"8723174331740386","entry":"unpool","repo":"google/compare_gan","repo_kind":"found_in_text","path":"compare_gan/architectures/resnet_ops.py","file_url":"https://github.com/google/compare_gan/blob/HEAD/compare_gan/architectures/resnet_ops.py","link_basis":"first_harvest_node","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":"8723174331740386"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}