Papers › GAN Slimming: All-in-One GAN Compression by A Unified Optimization Framework

GAN Slimming: All-in-One GAN Compression by A Unified Optimization Framework

25 Aug 2020ECCV 2020 8arXiv:2008.11062archive 2025-07-28

Haotao Wang, Shupeng Gui, Haichuan Yang, Ji Liu, Zhangyang Wang

Generative adversarial networks (GANs) have gained increasing popularity in various computer vision applications, and recently start to be deployed to resource-constrained mobile devices. Similar to other deep models, state-of-the-art GANs suffer from high parameter complexities. That has recently motivated the exploration of compressing GANs (usually generators). Compared to the vast literature and prevailing success in compressing deep classifiers, the study of GAN compression remains in its infancy, so far leveraging individual compression techniques instead of more sophisticated combinations. We observe that due to the notorious instability of training GANs, heuristically stacking different compression techniques will result in unsatisfactory results. To this end, we propose the first unified optimization framework combining multiple compression means for GAN compression, dubbed GAN Slimming (GS). GS seamlessly integrates three mainstream compression techniques: model distillation, channel pruning and quantization, together with the GAN minimax objective, into one unified optimization form, that can be efficiently optimized from end to end. Without bells and whistles, GS largely outperforms existing options in compressing image-to-image translation GANs. Specifically, we apply GS to compress CartoonGAN, a state-of-the-art style transfer network, by up to 47 times, with minimal visual quality degradation. Codes and pre-trained models can be found at https://github.com/TAMU-VITA/GAN-Slimming.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2008.11062")

Code

Syntology Ran 4 of 13 code samples harvested from 2 repositories linked to this paper; 9 have no recorded run. Of those that ran: 3 ran · our draft was wrong; 1 ran · fixture could not drive it.

By repository: official repository: 8 samples from 1 repository, 1 ran; community (archive-listed): 5 samples from 1 repository, 3 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

TAMU-VITA/GAN-Slimming officialmentioned in paperpytorchMIT report
TAMU-VITA/AGD mentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 4 ran; 0 honoured the contract we drafted; 9 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran · our draft was wrong
1ran · fixture could not drive it
9unverified

Licence: 0 of the 13 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: 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. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

gram_matrix TAMU-VITA/GAN-Slimming/utils/perceptual.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 430c582cd8bbb1df · report
calculate_activation_statistics TAMU-VITA/GAN-Slimming/utils/fid_score.py official repository unverified MIT (permissive) · 6855707db474b0fe · report
calculate_frechet_distance TAMU-VITA/GAN-Slimming/utils/fid_score.py official repository unverified MIT (permissive) · 0def50a351111624 · report
get_activations TAMU-VITA/GAN-Slimming/utils/fid_score.py official repository unverified MIT (permissive) · a15c72fa852b3ce1 · report
load_ckpt TAMU-VITA/GAN-Slimming/utils/utils.py official repository unverified MIT (permissive) · 059345875fabd4d1 · report
load_ckpt_finetune TAMU-VITA/GAN-Slimming/utils/utils.py official repository unverified MIT (permissive) · fae20b9ba8a551e6 · report
perceptual_loss TAMU-VITA/GAN-Slimming/utils/perceptual.py official repository unverified MIT (permissive) · 6e7de6b67b97d840 · report
tensor2image TAMU-VITA/GAN-Slimming/utils/utils.py official repository unverified MIT (permissive) · 0ee3f9ee92d8a8c6 · report
gumbel_softmax_sample TAMU-VITA/AGD/AGD_SR/search/model_eval.py community (archive-listed) ran · fixture could not drive it MIT (permissive) · 0d41bbe52278fde1 · report
make_layer TAMU-VITA/AGD/AGD_SR/search/RRDBNet_arch.py community (archive-listed) ran · our draft was wrong MIT (permissive) · c04a23de0531da4a · report
sample_gumbel TAMU-VITA/AGD/AGD_SR/search/model_eval.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 7c913c414af7196f · report
gumbel_softmax TAMU-VITA/AGD/AGD_SR/search/model_search.py community (archive-listed) unverified MIT (permissive) · d7fcc574ceb67943 · report
make_divisible TAMU-VITA/AGD/AGD_SR/search/model_eval.py community (archive-listed) unverified MIT (permissive) · bd00f8f9e13c8cf3 · report

Tasks

AllImage-to-Image TranslationQuantizationStyle Transfer

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Pruning

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections