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

Knowledge Extraction with No Observable Data

Jaemin Yoo, Minyong Cho, Taebum Kim, U Kang

TL;DR

KEGNET (Knowledge Extraction with Generative Networks) allows you to perform knowledge distillation—transferring intelligence from a large "teacher" model to a smaller "student" model—without ever seeing the original training data. By using the teacher’s own internal logic to train a generator, KEGNET creates "synthetic" training data that captures the teacher's expertise, even when privacy or confidentiality keeps the real data under lock and key.

What Problem Does This Paper Address?

Knowledge distillation is a powerful tool for model compression. Usually, you take a massive, high-performing "teacher" network and a smaller "student" network, then feed the same data into both. The student learns to mimic the teacher’s nuanced probability distributions.

The catch? You need the original data. In many sensitive fields—like medical diagnostics, industrial secrets, or military intelligence—the data used to train the teacher is strictly confidential. If you only have the trained model but not the data, traditional distillation fails. Randomly generated noise won't work either, because a neural network’s "knowledge" is concentrated on a very narrow "manifold" (a specific subset of the input space). If you feed a network random pixels, it produces unpredictable garbage. This paper introduces a way to reconstruct that manifold using only the teacher model itself.

Methods

The authors propose KEGNET, a framework that treats knowledge extraction as a generative task.

KEGNET Architecture

The architecture consists of three main parts:

  1. The Generator ($G$): This network takes a target label (e.g., "this is a 3") and a noise vector (representing style/variation) and tries to create an artificial data point that the teacher will recognize.
  2. The Fixed Teacher ($M$): This is the pre-trained model we want to distill. It acts as the "judge," telling the generator how well the artificial data matches the target label.
  3. The Decoder ($D$): To prevent the generator from creating the same "perfect" image every time (mode collapse), the decoder tries to reconstruct the original noise vector from the generated data. This forces the generator to embed diverse information into the synthetic samples.

The Secret Sauce: The authors use a three-part objective function:

  • Classifier Loss: Ensures the teacher recognizes the generated data as the intended class.
  • Decoder Loss: Ensures the generated data is diverse and maps back to the input noise.
  • Diversity Loss: Explicitly pushes generated points away from each other in the input space to cover more of the teacher's learned manifold.

Once the generator is trained, it produces a "synthetic dataset" which is then used to train the student model via standard distillation.

Datasets

The researchers evaluated KEGNET across two categories of data:

  • Unstructured Data: Three datasets from the UCI Machine Learning Repository: Shuttle, PenDigits, and Letter.
  • Image Data: The classic MNIST (handwritten digits), Fashion MNIST (clothing items), and SVHN (Street View House Numbers).

These datasets represent a range of complexity, from simple 8-feature vectors to multi-channel RGB images.

Key Insights and Ideas

  • The Teacher is the Discriminator: Unlike a standard GAN (Generative Adversarial Network) which requires real data to train a discriminator, KEGNET uses the pre-trained teacher as a proxy for reality. If the teacher is confident about a synthetic input, that input is "real enough" for distillation purposes.
  • Manifold Recovery: The paper demonstrates that we don't need the true data distribution to distill a model; we only need the teacher's version of that distribution.
  • Overcoming Mode Collapse: In data-free settings, generators love to "cheat" by finding one single pixel pattern that highly satisfies the teacher. The inclusion of the Decoder and a specific Diversity Loss is what makes the synthetic data robust enough to actually train a student.

Key Results

KEGNET significantly outperformed baselines like Tucker Decomposition (a mathematical model compression technique) and simple random sampling.

  • Accuracy Jumps: On the SVHN dataset, KEGNET achieved up to 87.26% accuracy for the student model, while the best baseline struggled at around 63%.
  • Fashion MNIST: KEGNET reached ~85-87% accuracy, whereas simple Gaussian or Uniform noise sampling failed to even reach 75%.
  • Qualitative Success: When looking at the generated images for MNIST and SVHN, the "synthetic" digits are clearly recognizable to the human eye, despite the generator never having seen a real digit.
Generated Synthetic Digits

Limitations and Future Work

While KEGNET performs impressively on digit and basic object datasets, the authors note that more complex datasets like CIFAR-10 or ImageNet would likely require much more sophisticated generator architectures.

Additionally, the current method assumes the teacher and student share a somewhat similar architecture (e.g., both are CNNs). Future work could explore "cross-architecture" distillation—for example, extracting knowledge from a massive Transformer into a tiny MobileNet—without any observable data. Finally, the authors suggest that while they used Tucker Decomposition to initialize the student, other compression algorithms could be integrated into the KEGNET pipeline for even better results.

Summary updated

BibTeX
@inproceedings{yoo2019knowledge,
  author = {Jaemin Yoo and Minyong Cho and Taebum Kim and U Kang},
  title = {{Knowledge Extraction with No Observable Data}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
}
Figure