Papers › Differentiable Augmentation for Data-Efficient GAN Training

Differentiable Augmentation for Data-Efficient GAN Training

18 Jun 2020NeurIPS 2020 12arXiv:2006.10738archive 2025-07-28

Shengyu Zhao, Zhijian Liu, Ji Lin, Jun-Yan Zhu, Song Han

The performance of generative adversarial networks (GANs) heavily deteriorates given a limited amount of training data. This is mainly because the discriminator is memorizing the exact training set. To combat it, we propose Differentiable Augmentation (DiffAugment), a simple method that improves the data efficiency of GANs by imposing various types of differentiable augmentations on both real and fake samples. Previous attempts to directly augment the training data manipulate the distribution of real images, yielding little benefit; DiffAugment enables us to adopt the differentiable augmentation for the generated samples, effectively stabilizes training, and leads to better convergence. Experiments demonstrate consistent gains of our method over a variety of GAN architectures and loss functions for both unconditional and class-conditional generation. With DiffAugment, we achieve a state-of-the-art FID of 6.80 with an IS of 100.8 on ImageNet 128x128 and 2-4x reductions of FID given 1,000 images on FFHQ and LSUN. Furthermore, with only 20% training data, we can match the top performance on CIFAR-10 and CIFAR-100. Finally, our method can generate high-fidelity images using only 100 images without pre-training, while being on par with existing transfer learning algorithms. Code is available at https://github.com/mit-han-lab/data-efficient-gans.

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="2006.10738")

Code

Syntology Ran 36 of 58 code samples harvested from 11 repositories linked to this paper; 22 have no recorded run. Of those that ran: 2 ran · honoured contract; 1 ran · violated contract; 9 ran · our draft was wrong; 21 ran · fixture could not drive it; 3 ran with no contract checked.

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

13 repositories listed; official and paper-mentioned ones first.

mit-han-lab/data-efficient-gans officialmentioned in papermentioned on GitHubtf report
POSTECH-CVLab/PyTorch-StudioGAN mentioned on GitHubpytorch report
eps696/stylegan2 mentioned on GitHubtf report
gaborvecsei/SLE-GAN mentioned on GitHubtf report
milmor/LadaGAN-pytorch mentioned on GitHubpytorchMIT report
milmor/TransGAN mentioned on GitHubtf report
milmor/ladagan mentioned on GitHubtfMIT report
milmor/self-supervised-gan mentioned on GitHubtf report
uzielroy/StyleGan_FewShot 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

58 samples harvested; 36 ran; 2 honoured the contract we drafted; 22 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.

2ran · honoured contract
1ran · violated contract
9ran · our draft was wrong
21ran · fixture could not drive it
3ran
22unverified

Licence: 12 of the 58 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 11 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.

DiffAugment mit-han-lab/data-efficient-gans/DiffAugment_pytorch.py official repository ran · fixture could not drive it fingerprinted BSD-2-Clause (permissive) · b0bbabd6de30f612 · report
DiffAugment mit-han-lab/data-efficient-gans/DiffAugment_pytorch.py official repository ran · fixture could not drive it fingerprinted BSD-2-Clause (permissive) · 5a98bf7c8a33d10d · report
rand_brightness mit-han-lab/data-efficient-gans/DiffAugment_pytorch.py official repository ran · our draft was wrong fingerprinted BSD-2-Clause (permissive) · fd66a45971195f9a · report
rand_contrast mit-han-lab/data-efficient-gans/DiffAugment_pytorch.py official repository ran · fixture could not drive it fingerprinted BSD-2-Clause (permissive) · cf3f99cfbe8f451a · report
rand_cutout mit-han-lab/data-efficient-gans/DiffAugment_pytorch.py official repository ran · fixture could not drive it fingerprinted BSD-2-Clause (permissive) · 8a8f1bb31f56eb41 · report
rand_saturation mit-han-lab/data-efficient-gans/DiffAugment_pytorch.py official repository ran · our draft was wrong fingerprinted BSD-2-Clause (permissive) · abafb0afcfb5d028 · report
rand_translation mit-han-lab/data-efficient-gans/DiffAugment_pytorch.py official repository ran · fixture could not drive it fingerprinted BSD-2-Clause (permissive) · 64f17a01e2d642b0 · report
DiffAugment VITA-Group/Ultra-Data-Efficient-GAN-Training/BigGAN and DiffAugGAN/utils/diff_aug.py community (archive-listed) ran · fixture could not drive it MIT (permissive) · b13ee69651d4b880 · report
DiffAugment milmor/self-supervised-gan/diffaug.py community (archive-listed) ran · fixture could not drive it fingerprinted MIT (permissive) · 106e066ecaa411cb · report
DiffAugment eps696/stylegan2/src/training/DiffAugment_tf.py community (archive-listed) ran · fixture could not drive it fingerprinted licence not identified · pointer only · 719b769b10895fa0 · report
DiffAugment milmor/TransGAN/diffaug.py community (archive-listed) ran · fixture could not drive it fingerprinted MIT (permissive) · 9f13704fe37f3a7f · report
DiffAugment claim-berlin/3d_stylegan_circle_of_willis/diff_augment.py community (archive-listed) ran · our draft was wrong licence not identified · pointer only · aff3959c75a4b707 · report
apply_diffaug POSTECH-CVLab/PyTorch-StudioGAN/src/utils/diffaug.py community (archive-listed) ran · fixture could not drive it fingerprinted licence not identified · pointer only · 11fe0ba0c9c1c2ba · report
calculate_frechet_distance uzielroy/StyleGan_FewShot/metric/fid_score.py community (archive-listed) ran · fixture could not drive it MIT (permissive) · 4cee7c1861294d59 · report
diff_augment gaborvecsei/SLE-GAN/sle_gan/diff_augment.py community (archive-listed) ran · fixture could not drive it MIT (permissive) · 4e9a3e9a819d11b0 · report
equal_lr uzielroy/StyleGan_FewShot/model.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 5ef2eff36d9c9c0e · report
get_gaussian_kernel uzielroy/StyleGan_FewShot/metric/swd_score.py community (archive-listed) ran MIT (permissive) · c8ceba12b6020549 · report
pyramid_down uzielroy/StyleGan_FewShot/metric/swd_score.py community (archive-listed) ran MIT (permissive) · 4a3a50d5b90d9dac · report
pyramid_up uzielroy/StyleGan_FewShot/metric/swd_score.py community (archive-listed) ran MIT (permissive) · d6f847810616ed82 · report
rand_brightness milmor/LadaGAN-pytorch/diffaug.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · 011230b2b9b8fb6f · report
rand_brightness gaborvecsei/SLE-GAN/sle_gan/diff_augment.py community (archive-listed) ran · honoured contract MIT (permissive) · c0fd34aac0b4d83d · report
rand_brightness eps696/stylegan2/src/training/DiffAugment_tf.py community (archive-listed) ran · honoured contract fingerprinted licence not identified · pointer only · 23b9e86dc02652cc · report
rand_brightness claim-berlin/3d_stylegan_circle_of_willis/diff_augment.py community (archive-listed) ran · our draft was wrong fingerprinted licence not identified · pointer only · 0054342024c45e46 · report
rand_contrast gaborvecsei/SLE-GAN/sle_gan/diff_augment.py community (archive-listed) ran · fixture could not drive it MIT (permissive) · 1ea606a1b578d9fd · report
rand_contrast eps696/stylegan2/src/training/DiffAugment_tf.py community (archive-listed) ran · fixture could not drive it fingerprinted licence not identified · pointer only · 7668b11c66661278 · report
rand_contrast claim-berlin/3d_stylegan_circle_of_willis/diff_augment.py community (archive-listed) ran · our draft was wrong fingerprinted licence not identified · pointer only · 93a3d74d32b20296 · report
rand_cutout gaborvecsei/SLE-GAN/sle_gan/diff_augment.py community (archive-listed) ran · fixture could not drive it MIT (permissive) · 7eedee91371852fd · report
rand_cutout eps696/stylegan2/src/training/DiffAugment_tf.py community (archive-listed) ran · fixture could not drive it fingerprinted licence not identified · pointer only · d3f6dbbf7ed4b605 · report
rand_cutout milmor/TransGAN/diffaug.py community (archive-listed) ran · violated contract fingerprinted MIT (permissive) · d2d7ad30f29efa00 · report
rand_saturation milmor/LadaGAN-pytorch/diffaug.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · 5b0d8787e670fc63 · report
rand_saturation gaborvecsei/SLE-GAN/sle_gan/diff_augment.py community (archive-listed) ran · fixture could not drive it MIT (permissive) · fe6b745a5727de14 · report
rand_saturation eps696/stylegan2/src/training/DiffAugment_tf.py community (archive-listed) ran · fixture could not drive it fingerprinted licence not identified · pointer only · c8f9bf34313b879d · report
rand_translation VITA-Group/Ultra-Data-Efficient-GAN-Training/BigGAN and DiffAugGAN/utils/diff_aug.py community (archive-listed) ran · fixture could not drive it fingerprinted MIT (permissive) · 4cfe42eb20e188c9 · report
rand_translation gaborvecsei/SLE-GAN/sle_gan/diff_augment.py community (archive-listed) ran · fixture could not drive it MIT (permissive) · 3960a5e348576c26 · report
rand_translation eps696/stylegan2/src/training/DiffAugment_tf.py community (archive-listed) ran · fixture could not drive it fingerprinted licence not identified · pointer only · 5895184332d50243 · report
rand_translation claim-berlin/3d_stylegan_circle_of_willis/diff_augment.py community (archive-listed) ran · our draft was wrong fingerprinted licence not identified · pointer only · 164a3d8cb51836fd · report
FM_reg uzielroy/StyleGan_FewShot/finetune.py community (archive-listed) unverified MIT (permissive) · a76fa2aebbbe157d · report
calc_distances uzielroy/StyleGan_FewShot/save_images_monet.py community (archive-listed) unverified MIT (permissive) · 591df4f8315785cd · report
calculate_activation_statistics milmor/LadaGAN-pytorch/fid.py community (archive-listed) unverified MIT (permissive) · c5a04d1cab5f16a8 · report
calculate_activation_statistics uzielroy/StyleGan_FewShot/metric/fid_score.py community (archive-listed) unverified MIT (permissive) · 9128352cd567690a · report
calculate_frechet_distance milmor/ladagan/tensorflow/fid.py community (archive-listed) unverified MIT (permissive) · 7bd28928af1bae66 · report
create_loader milmor/LadaGAN-pytorch/image_datasets.py community (archive-listed) unverified MIT (permissive) · 0c5eecc2f5f4579c · report
d_logistic_loss milmor/LadaGAN-pytorch/utils.py community (archive-listed) unverified MIT (permissive) · dfe4839c7c03b7fa · report
d_r1_loss milmor/LadaGAN-pytorch/utils.py community (archive-listed) unverified MIT (permissive) · 0143fef228211c97 · report
denormalize milmor/LadaGAN-pytorch/utils.py community (archive-listed) unverified MIT (permissive) · 05e9b8206464518b · report
get_activations milmor/LadaGAN-pytorch/fid.py community (archive-listed) unverified MIT (permissive) · 63749a9f8d05d87c · report
get_activations uzielroy/StyleGan_FewShot/metric/fid_score.py community (archive-listed) unverified MIT (permissive) · a3ef5898d81d8dd1 · report
get_map milmor/ladagan/tensorflow/plot_utils.py community (archive-listed) unverified MIT (permissive) · 60afeee00005b62b · report
graipher uzielroy/StyleGan_FewShot/save_images_monet.py community (archive-listed) unverified MIT (permissive) · e176b3170e9eb7f9 · report
images_pca uzielroy/StyleGan_FewShot/save_images_monet.py community (archive-listed) unverified MIT (permissive) · e997ac6a2c12732a · report
l2_loss milmor/ladagan/tensorflow/trainer.py community (archive-listed) unverified MIT (permissive) · 76bc532052b7504c · report
l2_reg uzielroy/StyleGan_FewShot/finetune.py community (archive-listed) unverified MIT (permissive) · 3d111932e00fa877 · report
list_image_files milmor/LadaGAN-pytorch/image_datasets.py community (archive-listed) unverified MIT (permissive) · 9b9d7e8b8644417b · report
pixel_upsample milmor/LadaGAN-pytorch/model.py community (archive-listed) unverified MIT (permissive) · 79d4e2efdb8db1f5 · report
pixel_upsample milmor/ladagan/tensorflow/model.py community (archive-listed) unverified MIT (permissive) · d4eb4c7282c41f98 · report
polynomial_mmd uzielroy/StyleGan_FewShot/metric/kid_score.py community (archive-listed) unverified MIT (permissive) · 8fdb950a259799fe · report
polynomial_mmd_averages uzielroy/StyleGan_FewShot/metric/kid_score.py community (archive-listed) unverified MIT (permissive) · afe497bbaa6085f4 · report
rand_cutout claim-berlin/3d_stylegan_circle_of_willis/diff_augment.py community (archive-listed) unverified licence not identified · pointer only · 390fc5d117993c38 · report

Tasks

Image Generation

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Image Generation CIFAR-10 DiffAugment-BigGAN FID 4.61 #32 of 78 Archive leaderboard report
Image Generation CIFAR-10 (10% data) DiffAugment-StyleGAN2 FID 14.5 #1 of 3 Archive leaderboard report
Image Generation CIFAR-10 (10% data) DiffAugment-CR-BigGAN FID 18.7 #2 of 3 Archive leaderboard report
Image Generation CIFAR-10 (10% data) DiffAugment-BigGAN FID 22.4 #3 of 3 Archive leaderboard report
Image Generation CIFAR-10 (20% data) DiffAugment-StyleGAN2 FID 12.15 #1 of 3 Archive leaderboard report
Image Generation CIFAR-10 (20% data) DiffAugment-CR-BigGAN FID 12.84 #2 of 3 Archive leaderboard report
Image Generation CIFAR-10 (20% data) DiffAugment-BigGAN FID 14.04 #3 of 3 Archive leaderboard report
Image Generation ImageNet 128x128 DiffAugment-BigGAN FID 6.8 #16 of 23 Archive leaderboard report
Image Generation ImageNet 128x128 DiffAugment-BigGAN IS 100.8 #16 of 23 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Introduced by this paper: DiffAugment

1x1 ConvolutionAdamBatch NormalizationBigGANColorJitterConditional Batch NormalizationConvolutionCutoutDense ConnectionsDiffAugmentEarly StoppingFeedforward NetworkGAN Hinge LossLinear LayerNon-Local BlockNon-Local OperationOff-Diagonal Orthogonal RegularizationPath Length RegularizationProjection DiscriminatorR1 RegularizationReLUResidual BlockResidual ConnectionSAGANSoftmaxSpectral NormalizationStyleGAN2TTURTruncation TrickWeight Demodulation

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