Self-Distillation of Hidden Layers for Self-Supervised Representation Learning

Scott Lowe, Anthony Fuller, Sageev Oore, Evan Shelhamer, Graham W. Taylor · DOI

Abstract

The landscape of self-supervised learning (SSL) is currently dominated by generative approaches (e.g., MAE) that reconstruct raw low-level data, and predictive approaches (e.g., I-JEPA) that predict high-level abstract embeddings. While generative methods provide strong grounding, they are computationally inefficient for high-redundancy modalities like imagery, and their training objective does not prioritize learning high-level, conceptual features. Conversely, predictive methods often suffer from training instability due to their reliance on the non-stationary targets of final-layer self-distillation. We introduce Bootleg, a method that bridges this divide by tasking the model with predicting latent representations from multiple hidden layers of a teacher network. This hierarchical objective forces the model to capture features at varying levels of abstraction simultaneously. We demonstrate that Bootleg significantly outperforms comparable baselines (+10% over I-JEPA) on classification of ImageNet-1K and iNaturalist-21, and semantic segmentation of ADE20K and Cityscapes.

Introduction

Self-supervised learning for computer vision has traditionally bifurcated into two paradigms. Generative models, such as Masked Autoencoders (MAE), focus on pixel-level reconstruction. While these models are stable and well-grounded in the input data, they often over-allocate capacity to low-level textures that are irrelevant for downstream semantic tasks. On the other hand, predictive models, like I-JEPA, predict the latent embeddings of missing patches. While these capture more abstract semantic information, they are prone to "representation collapse" because their targets—the final layer of a moving-average teacher—are highly non-stationary and detached from the raw input.

Bootleg identifies a "missing middle" in this hierarchy. By targeting multiple hidden layers simultaneously, Bootleg provides hierarchical grounding, ensuring the model learns both the structural foundations of the image and its high-level conceptual content.

The Bootleg Framework

Bootleg utilizes a Vision Transformer (ViT) architecture within a teacher-student distillation setup. The core innovation lies in the definition of the distillation target.

The Bootleg architecture: A student network predicts latent representations from multiple hidden layers of a teacher network.

Hierarchical Distillation

Unlike standard predictive SSL which targets only the final layer ($z_{12}$ in a ViT-Base), Bootleg extracts representations from a set of hidden layers (e.g., layers 1, 4, 8, and 12). These representations are z-scored to ensure equal contribution to the loss and concatenated into a single target vector.

Masking Strategy

Following the Joint-Embedding Predictive Architecture (JEPA) design, Bootleg employs block-based masking. The student network is provided with a set of context patches, while the predictor module must estimate the multi-layer embeddings for several large, masked target blocks. This strategy is more challenging than the uniform random masking used in MAE, forcing the model to learn complex spatial and semantic relationships.

Experimental Results

We evaluated Bootleg across a diverse suite of benchmarks, comparing it against generative (MAE), predictive (I-JEPA), and hybrid (data2vec 2.0) baselines.

Comparison of Bootleg against state-of-the-art SSL methods across classification and segmentation benchmarks.

Performance Gains

As shown in the results table, Bootleg consistently outperforms its predecessors. On ImageNet-1K classification using a ViT-Small architecture, Bootleg achieves 69.8% accuracy (Patch probe), a massive improvement over I-JEPA's 52.4% and MAE's 47.0%. This trend holds across larger architectures (ViT-B and ViT-L) and more specialized datasets like iNaturalist-21.

Downstream Transfer

In semantic segmentation tasks (ADE20K and Cityscapes), Bootleg demonstrates superior localization. The inclusion of early-layer targets provides the necessary spatial grounding that purely final-layer predictive models often lack, resulting in significantly higher mean Intersection over Union (mIoU) scores.

Discussion and Conclusion

The success of Bootleg suggests that "using the whole buffalo"—leveraging the entire depth of the teacher network—is critical for robust SSL. Predicting early layers acts as an anchor to the visual stimulus, preventing the training instabilities and representation drift common in deep distillation.

While Bootleg introduces a slight computational overhead due to the teacher network (approximately 12% more than a non-distillation baseline), the resulting +10% accuracy boost represents a new state-of-the-art for predictive self-supervised learning. Future work will explore the application of hierarchical distillation to other modalities, such as video and audio, where temporal and spectral hierarchies are equally prevalent.

Summary updated

BibTeX
@misc{lowe2026self,
  author = {Scott Lowe and Anthony Fuller and Sageev Oore and Evan Shelhamer and Graham W. Taylor},
  title = {{Self-Distillation of Hidden Layers for Self-Supervised Representation Learning}},
  year = {2026},
  eprint = {2603.15553},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.15553},
}
Figure