Source-linked AI summary

Close Shortcut Wins Long: Seeking Diverse and Stable Generators for Data-Free Knowledge Distillation

Kailin Lyu, Zherui Zhang, Junhao Dong, Kexue Fu, Weiguang Pang, Rongtao Xu, Qizheng Wang, Di Wu, Chee-Keong Kwoh, Longxiang Gao, Shibiao Xu, Changwei Wang, Ce Hao, Yu Zhang

arXiv:2608.22003v1cs.CV

TL;DR

Generator-based DFKD can over-rely on teacher preferences and specific frequency patterns, limiting synthetic-image quality and class diversity while destabilizing training. CSWL combines frequency-domain augmentation with Cross-Stage Frequency Reconstruction to address these issues, and experiments across benchmarks, resolutions, and downstream tasks report consistent improvements over mainstream DFKD methods.

  • Problem

    Generator-based DFKD suffers from teacher bias, frequency-specific dependencies, limited synthetic-image diversity and quality, and unstable training.

  • Method

    CSWL combines CDFA frequency-domain augmentation with CSFR cross-stage reconstruction to suppress shortcut learning and regularize generator optimization.

  • Results

    Experiments across multiple image-recognition benchmarks, input resolutions, and downstream tasks show that CSWL consistently outperforms existing mainstream DFKD methods.

  • Takeaways & Limitations

    Frequency-domain augmentation improves class diversity, while cross-stage reconstruction improves synthetic-data quality and training stability.

Abstract

from arXiv · show

Data-Free Knowledge Distillation (DFKD) preserves privacy by transferring knowledge without real data access. However, existing generator-based DFKD methods suffer from over-reliance on teacher preferences and pattern collapse, exhibiting "generative shortcut learning" in the frequency domain: dependent on specific frequency components and frequency positions, resulting in inconsistent synthetic image quality and class diversity. In this paper, we propose a CSWL framework aimed at introducing insights from the frequency domain perspective to improve generator diversity and training stability to Close the phenomenon of Shortcut learning to Win in the Longer term. To address the issue of generative shortcut learning, we introduce frequency-domain augmentation at the feature level, encouraging the generator to attend to the full frequency spectrum and thereby suppress shortcut learning behavior. To tackle training instability, we propose a Cross-Stage Frequency Reconstruction (CSFR) auxiliary task, which implicitly constructs an Exponential Moving Average (EMA) mechanism to promote long-term optimization and stability. Extensive experiments, including downstream tasks and various image recognition datasets at multiple resolutions, validate the effectiveness of CSWL in improving both diversity and stability from the frequency view.

I. INTRODUCTION

The paper identifies frequency-domain shortcut learning as a source of uneven synthetic-image quality and class diversity in generator-based DFKD. CSWL addresses this with frequency-domain augmentation and cross-stage reconstruction to improve diversity, stability, and downstream transfer.

  • Motivation: DFKD avoids real training data but generator-based methods can produce uneven quality and category coverage, harming balanced student learning.Preferred categories may be semantically clear while weaker categories remain abstract and noisy.
  • Frequency-domain diagnosis: Frequency analysis reveals that generators depend on particular frequency components and positions, producing generative shortcut learning.All categories rely on low-frequency components, while weakly predicted categories rely more on high-frequency components than preferred categories.
  • Proposed framework: CSWL combines CDFA, which disentangles and fuses amplitude and phase spectra, with CSFR, which reconstructs salient frequency information across stages.The two components target frequency dependence and training instability, respectively.
  • Evaluation: Experiments across image-recognition datasets, resolutions, and downstream tasks demonstrate the effectiveness of the frequency-domain CSWL framework.The supplied introduction reports qualitative and quantitative superiority over existing approaches.

II. RELATED WORK

Related work covers knowledge distillation, data-free dataset generation, generator-based DFKD, and frequency-domain analysis. Existing methods improve synthesis or diversity, but shortcut learning and limited spatial-domain exploration remain open challenges.

  • Knowledge distillation: Knowledge distillation transfers teacher knowledge to a smaller student, while traditional methods generally assume access to the teacher’s training data.The review motivates data-free alternatives for settings where original data cannot be used.
  • Data-free knowledge distillation: DFKD replaces original training data with synthetic datasets generated through optimization-based or generator-based approaches.The literature includes iterative synthetic-image optimization and generator-driven proxy-data construction.
  • Generator-based DFKD: Generator-based methods use GANs and related techniques for data synthesis, with prior work targeting convergence speed, self-supervision, or image diversity.Examples include CSD, NAYER, and SpaceShipNet.
  • Frequency-domain analysis: Frequency-domain analysis exposes global image features and structures, motivating its use for representation and generative-model optimization.The review notes growing interest in frequency-domain features for knowledge distillation.

A. Motivation and Overview

The framework synthesizes data from noise and jointly trains the generator, student, and shared decoder without real data. Its frequency-domain modules target shortcut learning, diversity, convergence stability, and transferability.

  • Framework: Figure 3 integrates a noisy layer, generator, student network, and shared decoder into joint data-free training.CDFA performs frequency-domain disentanglement, while CSFR supplies regularization.
  • Motivation and Overview: DFKD trains a generator to synthesize samples for student learning, with synthetic images represented as x̂ = G(z, y; θG).The latent variable z is sampled from a Gaussian prior.
  • Motivation and Overview: Existing DFKD methods face teacher bias, frequency-specific dependencies, inconsistent synthetic quality, limited class diversity, and unstable training.The motivation also identifies insufficient frequency-domain explanation in spatial-domain approaches.
  • Framework: CDFA enhances diversity through frequency-domain feature disentanglement, while CSFR stabilizes generator convergence and is reused during knowledge transfer.The transfer stage applies explicit knowledge distillation and uses CSFR to improve student generalization and representation transferability.

B. Class-Decoupled Frequency Augmentation

CDFA addresses generator shortcut learning by augmenting generative features in the frequency domain while preserving spatial semantics. It uses stochastic amplitude scaling, inter-class amplitude mixing, and weighted fusion with native spatial features to promote class diversity.

  • CDFA uses frequency-domain representations to enhance class diversity while preserving spatial-domain semantics.
  • The generator feature is transformed into frequency space and decomposed into amplitude, representing frequency intensity, and phase, encoding positional information.
  • Stochastic scaling applies a random factor to each frequency component to disrupt low-level frequency preferences and reduce overfitting to specific components.The scaling factor is sampled from U(αmin, αmax).
  • Inter-class amplitude mixing combines frequency-domain features from different categories after stochastic amplitude scaling.
  • The augmented feature combines frequency-domain and native spatial features as Faug(c, h, w) = λF′(c, h, w) + (1 − λ)F(c, h, w).λ controls the balance between the two domains before subsequent generator layers synthesize the final image.

C. Cross-Stage Frequency Reconstruction

CSFR addresses unstable quality after frequency augmentation by reconstructing salient information across data synthesis and knowledge transfer. A shared decoder learns from diverse augmented samples and transfers stable reconstruction capability back to generator updates.

  • CDFA can introduce unstable quality because diversity conflicts with the sharp distributions needed for knowledge transfer and spectral changes may cause semantic distortions.
  • Amplitude-guided masking identifies salient frequency regions associated with visual information such as edges and textures.The mask threshold is adaptively computed from the amplitude distribution using a quantile.
  • The masked spectrum is transformed back into the spatial domain to produce a masked image for reconstruction.
  • CSFR uses teacher and student networks as encoders that share a decoder, providing generator training stability and improving student generalization and representation transferability.
  • During knowledge transfer, the shared decoder learns reconstruction mappings from diversity-enhanced samples, then operates with fixed parameters during data generation.This transfers reconstruction capability across stages and alleviates instability under single-class constraints.

D. Optimization

CSWL optimization alternates generator updating for diverse, discriminative synthetic samples with student updating for knowledge transfer from the teacher. The objectives include classification, batch-normalization alignment, reconstruction, and student-side consistency losses.

  • Optimization has two stages: generator updating for data synthesis and student-network updating for knowledge transfer.
  • The generator is optimized to produce diverse and meaningful synthetic data through an objective function.
  • The generator objective includes cross-entropy classification loss, batch-normalization statistics alignment loss, and the proposed cross-stage reconstruction loss.The reconstruction loss is described as improving generator training stability.
  • The student network is updated using an overall loss function during the knowledge-transfer stage.

S + LCAM, (14)

The losses combine teacher–student prediction alignment, activation-region consistency, and cross-stage reconstruction to improve transferability and student generalizability.

  • L_CAM enforces activation-region consistency during knowledge transfer.
  • L_S is the cross-stage reconstruction loss, improving student generalizability and representational transferability.

IV. EXPERIMENTS

The evaluation spans classification datasets across low, medium, and high input resolutions, using multiple backbone architectures and specified optimization settings.

  • Experiments cover CIFAR-10 and CIFAR-100 at 32×32, Tiny-ImageNet at 64×64, and ImageNet-1K at 224×224.
  • The study evaluates ResNet, VGG, and WideResNet backbone architectures.
  • Training uses AdamW, cosine-annealed student learning rates, a 0.001 generator learning rate, 200 iterations per update, and batch size 256.

B. Main Results

CSWL performs strongly across recognition, downstream segmentation, quantization, and computational evaluations, with reported gains over competing DFKD methods and no added time or memory overhead.

  • CSWL achieves higher accuracy across teacher–student pairs on CIFAR-10 and CIFAR-100, surpasses competitors on Tiny-ImageNet, and remains competitive on ImageNet.
  • 1.52 percentage points: CSWL outperforms SpaceShipNet on CIFAR-100 with WRN-40-2 teacher and WRN-16-1 student.
  • CSWL maintains a computational advantage without additional training time or memory overhead.
  • 3.03 mIoU points: CSWL improves semantic segmentation on NYUv2 using DeepLabV3 after CIFAR-100 distillation.
  • CSWL consistently achieves superior accuracy in data-free quantization compared with ZeroQ, AdaDFQ, and HAST.

C. Ablation Study

Ablation results attribute diversity gains to CDFA and stability gains to CSFR, while showing that frequency augmentation settings and masking choices affect performance.

  • CDFA: CDFA dynamically adjusts frequency-band importance, mitigating class bias and improving semantic and representation diversity.
  • CDFA: Without CDFA, image quality and student accuracy degrade; frequency-domain enhancement is more effective than SpaceshipNet’s spatial feature enhancement.
  • CSFR: CSFR produces stable IS improvement across all four teacher–student combinations, whereas disabling it causes significant fluctuations.
  • Hyperparameter analysis: Excessively broad α scaling factors or high λ mixing ratios introduce noise and reduce image quality.
  • Amplitude-Guided Masking: High-frequency and low-frequency masking both produce inferior performance in frequency-domain reconstruction.

D. Visualization

Visualizations show that CDFA improves synthetic feature separability and that frequency-domain analysis reveals diversity and consistency gains not obvious in the spatial domain. CSWL’s broader evaluation reports consistent improvements across benchmarks and downstream tasks, while broader architectures and vision tasks remain future work.

  • Feature-distribution visualization: CDFA produces more compact intra-class distributions and clearer inter-class distances, improving the quality of the data source for knowledge distillation.On CIFAR-10, CDFA enhances synthetic-sample fidelity and class separability compared with CFE, which can blur noisy-class decision boundaries.
  • Frequency-domain visualization: Frequency-domain visualization reveals greater class diversity and consistency for CSWL than spatial-domain inspection alone.The spatial view shows no significant quality or diversity difference, whereas the frequency view exposes more distinctive patterns.
  • Framework mechanisms: CSWL combines CDFA and CSFR to reduce reliance on specific frequency components and positions while stabilizing generator optimization.CDFA augments disentangled amplitude and phase information across classes; CSFR shares a reconstruction objective across generation and knowledge-transfer stages.
  • Experimental evidence: Experiments across image-recognition benchmarks with different input resolutions and downstream tasks show that CSWL consistently outperforms mainstream DFKD methods.The reported gains are associated with improved class diversity, synthetic-data quality, optimization stability, and training stability.
  • Scope boundary: The study’s broader generality remains unassessed for complex architectures and challenging tasks such as object detection, instance segmentation, and multimodal scenarios.The authors identify these settings as future directions beyond the primarily image-classification-centered evaluation.
Loading 2608.22003v1…