{"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/autogan-distiller-searching-to-compress","title":"AutoGAN-Distiller: Searching to Compress Generative Adversarial Networks","arxiv_id":"2006.08198","date":"2020-06-15","proceeding":"ICML 2020 1","authors":["Yonggan Fu","Wuyang Chen","Haotao Wang","Haoran Li","Yingyan Celine Lin","Zhangyang Wang"],"abstract":"The compression of Generative Adversarial Networks (GANs) has lately drawn attention, due to the increasing demand for deploying GANs into mobile devices for numerous applications such as image translation, enhancement and editing. However, compared to the substantial efforts to compressing other deep models, the research on compressing GANs (usually the generators) remains at its infancy stage. Existing GAN compression algorithms are limited to handling specific GAN architectures and losses. Inspired by the recent success of AutoML in deep compression, we introduce AutoML to GAN compression and develop an AutoGAN-Distiller (AGD) framework. Starting with a specifically designed efficient search space, AGD performs an end-to-end discovery for new efficient generators, given the target computational resource constraints. The search is guided by the original GAN model via knowledge distillation, therefore fulfilling the compression. AGD is fully automatic, standalone (i.e., needing no trained discriminators), and generically applicable to various GAN models. We evaluate AGD in two representative GAN tasks: image translation and super resolution. Without bells and whistles, AGD yields remarkably lightweight yet more competitive compressed models, that largely outperform existing alternatives. Our codes and pretrained models are available at https://github.com/TAMU-VITA/AGD.","url_abs":"https://arxiv.org/abs/2006.08198v3","url_pdf":"https://arxiv.org/pdf/2006.08198v3.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":"autogan-distiller-searching-to-compress","repo_url":"https://github.com/TAMU-VITA/AGD","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"autogan-distiller-searching-to-compress","repo_url":"https://github.com/TAMU-VITA/GAN-Slimming","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"autogan-distiller-searching-to-compress","repo_url":"https://github.com/vita-group/gan-slimming","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"automl","task_name":"AutoML"},{"task_slug":"knowledge-distillation","task_name":"Knowledge Distillation"},{"task_slug":"super-resolution","task_name":"Super-Resolution"},{"task_slug":"translation","task_name":"Translation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2006.08198","atlas_url":"https://app.syntology.ai/?focus=2006.08198","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2006.08198"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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/TAMU-VITA/AGD","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/vita-group/gan-slimming","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/TAMU-VITA/GAN-Slimming","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_draft_wrong":1,"unverified":7},"by_repo_kind":{"listed":{"samples":8,"ran":1,"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":"430c582cd8bbb1df","entry":"gram_matrix","repo":"vita-group/gan-slimming","repo_kind":"listed","path":"utils/perceptual.py","file_url":"https://github.com/vita-group/gan-slimming/blob/HEAD/utils/perceptual.py","link_basis":"harvester_set","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":"430c582cd8bbb1df"}},{"code_sha256_prefix":"6855707db474b0fe","entry":"calculate_activation_statistics","repo":"vita-group/gan-slimming","repo_kind":"listed","path":"utils/fid_score.py","file_url":"https://github.com/vita-group/gan-slimming/blob/HEAD/utils/fid_score.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":"6855707db474b0fe"}},{"code_sha256_prefix":"0def50a351111624","entry":"calculate_frechet_distance","repo":"vita-group/gan-slimming","repo_kind":"listed","path":"utils/fid_score.py","file_url":"https://github.com/vita-group/gan-slimming/blob/HEAD/utils/fid_score.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0def50a351111624"}},{"code_sha256_prefix":"a15c72fa852b3ce1","entry":"get_activations","repo":"vita-group/gan-slimming","repo_kind":"listed","path":"utils/fid_score.py","file_url":"https://github.com/vita-group/gan-slimming/blob/HEAD/utils/fid_score.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":"a15c72fa852b3ce1"}},{"code_sha256_prefix":"059345875fabd4d1","entry":"load_ckpt","repo":"vita-group/gan-slimming","repo_kind":"listed","path":"utils/utils.py","file_url":"https://github.com/vita-group/gan-slimming/blob/HEAD/utils/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":"059345875fabd4d1"}},{"code_sha256_prefix":"fae20b9ba8a551e6","entry":"load_ckpt_finetune","repo":"vita-group/gan-slimming","repo_kind":"listed","path":"utils/utils.py","file_url":"https://github.com/vita-group/gan-slimming/blob/HEAD/utils/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":"fae20b9ba8a551e6"}},{"code_sha256_prefix":"6e7de6b67b97d840","entry":"perceptual_loss","repo":"vita-group/gan-slimming","repo_kind":"listed","path":"utils/perceptual.py","file_url":"https://github.com/vita-group/gan-slimming/blob/HEAD/utils/perceptual.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":"6e7de6b67b97d840"}},{"code_sha256_prefix":"0ee3f9ee92d8a8c6","entry":"tensor2image","repo":"vita-group/gan-slimming","repo_kind":"listed","path":"utils/utils.py","file_url":"https://github.com/vita-group/gan-slimming/blob/HEAD/utils/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":"0ee3f9ee92d8a8c6"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}