Abstract
This paper introduces the Group-Stack Dual-GAN framework, a novel approach to Knowledge Amalgamation (KA) that operates in an entirely data-free environment. By treating the training process as a generative game, the framework synthesizes training samples that mimic the internal logic of multiple specialized "teacher" models to train a versatile multi-task "student" network. The system achieves performance levels that rival supervised methods on standard benchmarks, effectively addressing privacy and proprietary concerns associated with original training datasets.
Introduction
In deep learning, access to large-scale datasets is often restricted by privacy regulations, proprietary rights, or logistical constraints. While Knowledge Amalgamation (KA) allows for the reuse of pre-trained models to build multi-task networks, most existing techniques rely on unlabeled data to guide the transfer process. This research tackles the extreme "Data-Free" scenario: training a student network to perform multiple tasks using only the weights of pre-trained teacher models, with zero access to the original images or labels.
Methodology
The proposed Group-Stack Dual-GAN framework consists of two primary components designed to reconstruct the "DNA" of the original training data through internal activations.
1. The Group-Stack Generator ($G$)
Unlike traditional GANs that aim for visual realism, this generator is designed to reconstruct images that trigger specific internal activations in teacher models. It is structured in "stacks" to align with the hierarchical blocks of the teacher networks, ensuring that intermediate features are accurately captured.
2. The Dual-Generator (TargetNet $\mathcal{T}$)
The TargetNet acts as the "student" network and serves as a dual to the generator. While the generator learns to produce images from noise, the TargetNet learns to map those synthetic images to accurate multi-task label vectors.
Technical Innovations
- Two-Level Filtering: The framework employs "teacher-level filtering" to match feature distributions and "task-level filtering" to isolate specific task knowledge.
- Discrete Loss ($\mathcal{L}_{dis}$): To mimic the sparse nature of real-world labels, a discrete loss function forces the generator to produce images that result in clear, "one-hot" predictions rather than ambiguous probability distributions.
- Block-wise Training: Knowledge transfer is stabilized by training the student network layer-by-layer, aligning its intermediate features with those of the generator.
Experimental Results
The framework was evaluated on the PASCAL VOC 2007 and MS-COCO multi-label classification benchmarks. Notably, the method never accessed the original images or labels during the amalgamation process.
Performance Benchmarks
- VOC 2007 (10-label set): The proposed method achieved 73.6% mAP, significantly outperforming the previous data-free state-of-the-art (DAFL) at 46.8%.
- VOC 2007 (Full 20-label): The system reached 87.2% mAP, approaching the performance of fully supervised methods (typically 85-90%).
- MS-COCO: On this complex dataset, the method achieved an O-F1 score of 68.2%, nearly doubling the DAFL baseline of 36.6%.
Internal Perception vs. Human Vision
An interesting finding is that the generated images do not resemble real-world objects to the human eye. Instead, they appear as abstract, colorful patterns. However, these patterns effectively stimulate the teacher networks' internal filters, providing the necessary signals for training the student network.
Discussion and Conclusion
The Group-Stack Dual-GAN demonstrates that sparsity is a powerful signal; by forcing the generation of images that produce clear labels, the quality of synthetic training data improves. Furthermore, the hierarchical regrouping of the student network allows it to handle multiple tasks more efficiently than the individual teachers from which it learned.
While the framework is computationally intensive due to the multi-stage GAN training process, it provides a robust path forward for data-free model compression and multi-task learning. Future work may explore direct teacher-to-student knowledge transfer to bypass the synthetic image generation step entirely, further streamlining the data-free pipeline.
Summary updated