Manuscript Offprint

arXiv:2608.24759

IDeaL: Data-Free Multi-Teacher Distillation via Improved Dead Leaves

Feyza Yavuz, Mert Bülent Sarıyıldız, Diane Larlus

Feyza Yavuz, Mert Bülent Sarıyıldız, and Diane Larlus

NAVER LABS Europe

Abstract. Multi-teacher distillation has emerged as a way to combine complementary teacher models into a single student model that exhibits the strengths of all its teachers. The student is trained to mimic the output of the teachers on a set of images, typically the union of the individual teacher's training sets, assuming this data is available. In this paper, we question that assumption and explore alternative options. We first study how far one can go when distilling from teachers fed with different types of noise. Then, we show that information contained in the teachers can be leveraged to tailor the noise for multi-teacher distillation: we propose a method that, thanks to decorrelation losses at both patch and image levels, generates teacher-specific, improved samples optimized for data-free distillation. Experiments show that our most effective samples, IDeaL, lead to strong students that successfully capture complementary information from the teachers, yielding surprisingly competitive results that substantially narrow the gap with students distilled from real images. Moreover, given a limited budget of 1K images for distillation, students distilled using our IDeaL samples match or surpass the performance of those distilled using a 1K-image subset of ImageNet.

Keywords: Multi-Teacher Distillation · Synthetic Data

1 Introduction

Vision Transformers (ViTs) [11] pretrained on large collections of web images have become the standard visual backbone, largely replacing CNNs. Today, it is common practice to use such pretrained visual encoders, which provide general-purpose feature representations to a wide range of downstream tasks. However, different models capture distinct visual characteristics, depending on their architecture, training process, or training data. Multi-teacher distillation has thus emerged as a popular way to reconcile these complementary views [19,47,49,53–55,60,70]; multiple teacher models jointly guide the learning of a single student, allowing it to inherit knowledge from all teachers at once.

However, multi-teacher distillation methods typically require large amounts of real images during training. These methods try to cover the input domain of the teachers by using their training data when available [49,53,54] or by using a large web-based dataset such as DataComp-1B [17] as in [19,47]. This reliance on real data poses practical challenges when the teachers' original training data is

F. Yavuz et al.

Figure

Fig. 1: In this paper, we distill complementary teachers into strong models, even without real data. (Left) Examples of the noisy samples that we use for distillation: i) procedurally generated synthetic Dead Leaves and ii) its improved version IDeaL. (Right) Performance on several downstream tasks of a student distilled from 4 teachers using 1M samples of either ImageNet, Dead Leaves, or our Improved Dead Leaves (IDeaL). We report the minimum performance obtained by the teachers on each task as a reference and denote the relative gains obtained by using IDeaL compared to the minimum teacher.

unavailable or cannot be redistributed due to legal restrictions, privacy concerns, or proprietary data policies. This issue is becoming relevant as foundation models are increasingly trained on proprietary data that is not publicly accessible [57,62]. As a result, obtaining suitable real-image datasets for distillation can be costly, impractical, or simply not possible.

In this paper we take an adversarial stance and ask: how far can multi-teacher distillation go if not provided with any data? Earlier work [54] has taken one step in this direction and replaced ImageNet [50] with realistic synthetic variants for each ImageNet class generated by Stable Diffusion [51]. We go further and pursue a completely data-free approach, where images are entirely replaced by procedurally-generated, synthetic surrogates. We start by analyzing how distillation performance degrades as the number of ImageNet samples decreases. We then replace real images with structured noise generated with procedural programs and compare several options already considered in data-free pretraining [3,27,39]. Among these, we find that Dead Leaves [3] consistently outperforms other alternatives, and shows encouraging transfer performance.

Building on these promising results, we propose a pixel-level optimization method that injects information from teacher attention layers into synthetic images, tailoring them for multi-teacher distillation. Starting from the best data-free alternative, Dead Leaves, we optimize these samples so that patches exhibit diverse representations within a single synthetic image while global representations differ across these images. To achieve this, we introduce decorrelation losses that encourage low cosine similarity between patches within an image and between image-level representations, yielding richer and more diverse inputs for distillation. Note that our synthetic images are not meant to recover the teachers' training sets, not even to look realistic. Instead, they are optimized to capture how the teachers process the data. This allows the student to learn from the teachers' complementary views, even without data.

To properly evaluate the effectiveness of our generation method and the resulting synthetic samples, we need a controlled distillation and evaluation setting. We choose to follow UNIC [54] as our main framework for multi-teacher distillation. In this framework, ImageNet is the dataset used by all teachers for training and distillation. That way, when we systematically replace it with synthetic alternatives, we can isolate the impact of our design choices on student performance. Moreover, the framework evaluates on a diverse set of classification and dense prediction tasks, providing a comprehensive overview of the distilled students' performance.

To summarize, our contributions are as follows. First, we study data-free multi-teacher distillation, systematically analyzing how distillation performance varies when reducing the amount of real data, and replacing it with procedurally generated synthetic datasets. Second, we propose a pixel-level optimization method, tailored to ViTs [11], that enriches synthetic images using complementary information provided by multiple teachers. Applied to the synthetic Dead Leaves samples, it produces a much more effective training set of Improved Dead Leaves (or IDEaL in short) for multi-teacher distillation.

Through extensive experiments in a controlled setting, we show that IDEaL samples yield strong students that close much of the performance gap with the students distilled on real images. Given a budget of only 1K images, they even match or surpass them. With 1M samples, they lead to strong students that are versatile enough to be competitive on all tasks, outperforming the minimum teacher performance on all considered tasks (except for ImageNet, the training set of the teachers), as shown in Fig. 1. To the best of our knowledge, this is the first work that fully replaces real images with synthetic surrogates in multi-teacher distillation while maintaining competitive performance across a large number of downstream tasks.

References (76)

  • Layer Normalization
  • Procedural image programs for representation learning
  • Learning to see by looking at noise
  • Food-101 – Mining discriminative components with random forests
  • Model compression
  • Emerging properties in self-supervised vision transformers
  • Data-free learning of student networks
  • Mimiq: Low-bit data-free quantization of vision transformers with encouraging inter-head attention similarity
  • Describing textures in the wild
  • ImageNet: A large-scale hierarchical image database
  • An image is worth $16 \times 16$ words: Transformers for image recognition at scale
  • Scaling laws of synthetic images for model training
  • Data-free adversarial distillation (opens arXiv in a new tab)
  • Contrastive model inversion for data-free knowledge distillation
  • Data-free knowledge distillation using adversarially perturbed opengl shader images (opens arXiv in a new tab)
  • What makes a good dataset for knowledge distillation? In: Proc
  • Minerl: A large-scale dataset of minecraft demonstrations
  • Radiov2.5: Improved baselines for agglomerative vision foundation models
  • EuroSAT: A novel dataset and deep learning benchmark for land use and land cover classification
  • Distilling the knowledge in a neural network
  • Sparse model inversion: Efficient inversion of vision transformers for data-free applications
  • Batch normalization: Accelerating deep network training by reducing internal covariate shift
  • Clevr: A diagnostic dataset for compositional language and elementary visual reasoning
  • Replacing labeled real-image datasets with auto-generated contours
  • Formula-driven supervised learning with recursive tiling patterns
  • Pre-training without natural images
  • Adam: A method for stochastic optimization
  • Collecting a large-scale dataset of fine-grained cars
  • Psaq-vit v2: Toward accurate and general data-free quantization for vision transformers
  • Patch similarity aware data-free quantization for vision transformers
  • Exploring target representations for masked autoencoders
  • Data-free knowledge distillation for deep neural networks (opens arXiv in a new tab)
  • Decoupled weight decay regularization
  • Fine-grained visual classification of aircraft (opens arXiv in a new tab)
  • Zero-shot knowledge transfer via adversarial belief matching
  • Pre-training vision transformers with very limited synthesized images
  • Scaling backwards: Minimal synthetic pretraining? In: Proc
  • Can vision transformers learn without natural images? In: Proc
  • Zero-shot knowledge distillation in deep networks
  • Automated flower classification over a large number of classes
  • Cats and dogs
  • Learning to retain while acquiring: Combating distribution-shift in adversarial data-free knowledge distillation
  • Discovering and overcoming limitations of noise-engineered data-free knowledge distillation
  • Clamp-vit: Contrastive data-free learning for adaptive post-training quantization of vits
  • Am-radio: Agglomerative vision foundation model – reduce all domains into one
  • Fitnets: Hints for thin deep nets
  • Fantastic gains and where to find them: On the existence and prospect of general knowledge transfer between any pretrained model
  • ImageNet Large Scale Visual Recognition Challenge
  • Fake it till you make it: Learning transferable representations from synthetic imagenet clones
  • Concept generalization in visual representation learning
  • DUNE: distilling a universal encoder from heterogeneous 2d and 3d teachers
  • UNIC: universal classification models via multi-teacher distillation
  • Hybrid distillation: Connecting masked autoencoders with contrastive learners
  • Indoor segmentation and support inference from rgbd images
  • Visual atoms: Pre-training vision transformers with sinusoidal waves
  • A new benchmark: On the utility of synthetic data with blender for bare supervised learning and downstream domain adaptation
  • Contrastive representation distillation
  • DeiT III: Revenge of the ViT
  • Siglip 2: Multilingual vision-language encoders with improved semantic understanding, localization, and dense features (opens arXiv in a new tab)
  • The iNaturalist species classification and detection dataset
  • SUN database: Large-scale scene recognition from abbey to zoo
  • Formula-supervised visual-geometric pre-training
  • Mv-fractaldb: Formula-driven supervised learning for multi-view image recognition
  • Data-free knowledge amalgamation via group-stack dual-gan
  • See through gradients: Image batch recovery via gradinversion
  • Dreaming to distill: Data-free knowledge transfer via deepinversion
  • UDON: Universal dynamic online distillation for generic image representations
  • Paying more attention to attention: Improving the performance of convolutional neural networks via attention transfer
  • Barlow twins: Self-supervised learning via redundancy reduction
  • A large-scale study of representation learning with the visual task adaptation benchmark (opens arXiv in a new tab)
  • Cross-architecture distillation made simple with redundancy suppression
  • Diversifying sample generation for accurate data-free quantization
  • Enhancing diversity for data-free quantization
  • Semantic alignment and reinforcement for data-free quantization of vision transformers
  • Semantic understanding of scenes through the ADE20k dataset
  • iBOT: Image BERT pre-training with online tokenizer