NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Discriminator-Cooperated Feature Map Distillation for GAN Compression

Tie Hu, Mingbao Lin, Lizhou You, Fei Chao, Rongrong Ji

Introduction

Generative Adversarial Networks (GANs) have revolutionized image synthesis but come with a heavy computational cost. Deploying state-of-the-art models like CycleGAN on mobile devices is often impractical due to their massive parameter counts and high multiply-accumulate operations (MACs). This paper presents Discriminator-Cooperated Distillation (DCD), a novel approach to GAN compression that leverages the teacher's discriminator to guide a student generator, achieving significant efficiency gains without sacrificing image quality.

The Challenge of GAN Compression

Knowledge Distillation (KD) is a common technique where a compact "student" model learns from a larger "teacher." In many tasks, this involves "feature map distillation," which forces the student's internal activations to match the teacher's pixel-for-pixel.

However, the authors argue that pixel-level matching is fundamentally ill-suited for generative tasks. In GANs, two images can be perceptually identical to a human while having vastly different pixel values. Forcing a strict pixel-wise alignment is overly restrictive and can lead to "mode collapse," where the generator's output variety diminishes.

Discriminator-Cooperated Distillation (DCD)

To overcome the limitations of pixel-wise distillation, the authors propose using the teacher’s discriminator as a "perceptual lens."

Overview of the DCD framework, showing how teacher and student feature maps are aligned and passed through the teacher discriminator.

Core Innovations

  1. Discriminator-Cooperated Distillation (DCD): Instead of direct comparison, intermediate feature maps from both the teacher and student are passed through the teacher's discriminator. The distillation loss is calculated based on the discriminator's internal activations. This ensures the student learns high-level features—such as object structure and realism—rather than just raw pixel values.
  2. Collaborative Adversarial Training: To avoid overwhelming the student with a pre-trained, "perfect" discriminator, the authors train a teacher discriminator from scratch alongside the student. This "coopetition" allows the student to improve gradually, avoiding local minima and mode collapse.
  3. Complementary Losses: The DCD loss is used alongside standard Perceptual Loss (typically VGG-based). While Perceptual Loss focuses on style and texture, DCD excels at capturing structural integrity and object localization.
  4. Feature Alignment: Since student and teacher architectures differ, $1 \times 1$ convolutions are used to align feature map dimensions before they enter the discriminator. A key finding was that these alignment modules for the teacher must remain fixed, while the student's modules must be updated to ensure a stable learning target.

Experimental Results

The DCD method was evaluated on standard image-to-image translation benchmarks, including horse2zebra, summer2winter, and edges2shoes.

Comparison of DCD against other compression methods. DCD achieves the lowest MACs and parameters while maintaining or improving visual quality.

The results demonstrate that DCD significantly outperforms previous state-of-the-art compression methods like OMGD and GAN Compression:

  • Efficiency: For CycleGAN on the horse2zebra task, DCD reduced MACs by 40.3× and parameters by 82.5×.
  • Quality: Despite the massive reduction in size, the Fréchet Inception Distance (FID) improved from 61.53 (original) to 48.24 (DCD).
  • Visual Fidelity: Qualitatively, DCD produces sharper details (e.g., zebra stripes) and more vivid colors compared to other methods, which often result in blurry or muted outputs.

Conclusion

Discriminator-Cooperated Distillation proves that the discriminator is an untapped resource in GAN compression. By shifting the focus from pixel-wise matching to discriminator-led perceptual alignment, DCD enables the creation of highly efficient generative models that can even surpass their uncompressed counterparts in quality. Future work may involve integrating DCD with Neural Architecture Search (NAS) to further optimize student structures or extending the method to high-resolution synthesis tasks like StyleGAN.

Summary updated

BibTeX
@inproceedings{hu2022discriminator,
  author = {Tie Hu and Mingbao Lin and Lizhou You and Fei Chao and Rongrong Ji},
  title = {{Discriminator-Cooperated Feature Map Distillation for GAN Compression}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
}
Figure