Papers › Feature Quantization Improves GAN Training

Feature Quantization Improves GAN Training

5 Apr 2020ICML 2020 1arXiv:2004.02088archive 2025-07-28

Yang Zhao, Chunyuan Li, Ping Yu, Jianfeng Gao, Changyou Chen

The instability in GAN training has been a long-standing problem despite remarkable research efforts. We identify that instability issues stem from difficulties of performing feature matching with mini-batch statistics, due to a fragile balance between the fixed target distribution and the progressively generated distribution. In this work, we propose Feature Quantization (FQ) for the discriminator, to embed both true and fake data samples into a shared discrete space. The quantized values of FQ are constructed as an evolving dictionary, which is consistent with feature statistics of the recent distribution history. Hence, FQ implicitly enables robust feature matching in a compact space. Our method can be easily plugged into existing GAN models, with little computational overhead in training. We apply FQ to 3 representative GAN models on 9 benchmarks: BigGAN for image generation, StyleGAN for face synthesis, and U-GAT-IT for unsupervised image-to-image translation. Extensive experimental results show that the proposed FQ-GAN can improve the FID scores of baseline methods by a large margin on a variety of tasks, achieving new state-of-the-art performance.

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

Code

Syntology Ran 1 of 4 code samples harvested from 2 repositories linked to this paper; 3 have no recorded run. Of those that ran: 1 ran with no contract checked.

By repository: official repository: 1 sample from 1 repository, 1 ran; found in paper text by Syntology: 3 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

YangNaruto/FQ-GAN officialmentioned in papermentioned on GitHubtf report
yangyucheng000/MSpaper mindsporeApache-2.0 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

4 samples harvested; 1 ran; 0 honoured the contract we drafted; 3 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.

1ran
3unverified

Licence: 1 of the 4 samples is 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.

Quantize YangNaruto/FQ-GAN/FQ-BigGAN/vq_layer.py official repository ran no licence file found · pointer only · 0be995ce42c516e0 · report
augmentation taki0112/UGATIT/utils.py found in paper text by Syntology unverified MIT (permissive) · 76abd03df3e34279 · report
load_test_data taki0112/UGATIT/utils.py found in paper text by Syntology unverified MIT (permissive) · dcce1222c3697159 · report
save_images taki0112/UGATIT/utils.py found in paper text by Syntology unverified MIT (permissive) · dfa35c437d3cf0d5 · report

Tasks

Conditional Image GenerationFace GenerationImage GenerationImage-to-Image TranslationQuantizationTranslationUnsupervised Image-To-Image Translation

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Conditional Image Generation CIFAR-10 FQ-GAN FID 5.34 #6 of 25 Archive leaderboard report
Conditional Image Generation CIFAR-10 FQ-GAN Inception score 8.50 #6 of 25 Archive leaderboard report
Conditional Image Generation CIFAR-100 FQ-GAN FID 7.15 #2 of 7 Archive leaderboard report
Conditional Image Generation CIFAR-100 FQ-GAN Inception Score 9.74 #2 of 7 Archive leaderboard report
Conditional Image Generation ImageNet 128x128 FQ-GAN FID 13.77 #17 of 22 Archive leaderboard report
Conditional Image Generation ImageNet 128x128 FQ-GAN Inception score 54.36 #17 of 22 Archive leaderboard report
Conditional Image Generation ImageNet 64x64 FQ-GAN FID 9.67 #3 of 4 Archive leaderboard report
Conditional Image Generation ImageNet 64x64 FQ-GAN Inception score 25.96 #3 of 4 Archive leaderboard report
Image Generation FFHQ 1024 x 1024 FQ-GAN FID 3.19 #9 of 20 Archive leaderboard report
Image-to-Image Translation anime-to-selfie FQ-GAN Kernel Inception Distance 10.23 #1 of 2 Archive leaderboard report
Image-to-Image Translation selfie-to-anime FQ-GAN Kernel Inception Distance 11.40 #1 of 2 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

1x1 ConvolutionAdamAdaptive Instance NormalizationBatch NormalizationBigGANConditional Batch NormalizationConvolutionDense ConnectionsEarly StoppingFeedforward NetworkGAN Feature MatchingGAN Hinge LossLinear LayerNon-Local BlockNon-Local OperationOff-Diagonal Orthogonal RegularizationProjection DiscriminatorR1 RegularizationReLUResidual BlockResidual ConnectionSAGANSoftmaxSpectral NormalizationStyleGANTTURTruncation Trick

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