Transferring Inductive Biases via Cross-Architecture Distillation

This direction is split into other directions: inductive bias transfer. Its last version stays readable and citable here.

Version 1 of 160 papers83 conceptsfrozen 2026-10-04

Neural network architectures are defined by their "inductive biases"—the set of assumptions a model uses to predict outputs for inputs it hasn't seen before. Convolutional Neural Networks (CNNs) possess strong inductive biases like locality (pixels near each other are related) and translation invariance (an object is the same regardless of its position). In contrast, Vision Transformers (ViTs) are more flexible; they use global self-attention to relate any two parts of an image, but they lack these inherent spatial priors.

While flexibility is a strength on massive datasets, it makes ViTs "data-hungry." Without the "spatial common sense" of a CNN, a Transformer must learn these basic geometric principles from scratch, often requiring hundreds of millions of images to match CNN performance. Cross-architecture distillation has emerged as the primary mechanism to bridge this gap, allowing flexible models to "borrow" the architectural wisdom of more constrained ones.

Distillation as Architectural Injection

Traditionally, knowledge distillation was viewed as a tool for model compression—shrinking a large teacher into a small student. However, Samira Abnar and colleagues in Transferring Inductive Biases through Knowledge Distillation reframed it as a way to transfer structural properties. By training a student to match the "soft targets" (the full probability distribution) of a teacher, the student doesn't just learn the right answers; it inherits the teacher's specific class-wise preferences and error correlations.

This is particularly powerful when the teacher and student belong to different families. When a CNN teaches a Transformer, the Transformer begins to adopt the CNN's shift-equivariance and local focus. Hugo Touvron and the team behind DeiT (Training data-efficient image transformers & distillation through attention) formalized this by introducing a distillation token. This is a specialized input to the Transformer that interacts with the image patches via attention but is specifically tasked with mimicking the teacher's output. This allows the ViT to learn from the CNN's inductive biases while still maintaining its own global modeling capabilities.

Why Functional Alignment Works

The intuition behind this transfer is that the teacher’s outputs act as a "functional prior." As Jack Fitzsimons and Sebastian M. Schmon argue in Implicit Priors for Knowledge Sharing in Bayesian Neural Networks, regularizing a student's internal features to match a teacher's behavior is equivalent to placing an implicit prior on the student's weights.

This alignment can happen at different levels:

  1. Logit Alignment: The student mimics the final decision-making patterns of the teacher.
  2. Feature Alignment: The student mimics the intermediate representations. Xianing Chen and Jing Zhang proposed DearKD (DearKD: Data-Efficient Early Knowledge Distillation for Vision Transformers), which uses a two-stage approach. In the early stages, the Transformer is forced to mimic the intermediate features of a CNN to "learn" spatial structures. Later, it is allowed to train independently to develop its own global representations.
  3. Relational Alignment: The student learns how the teacher relates different data points. Roy Miles demonstrated that even a simple linear "projector" layer can act as a memory bank for these relationships, facilitating the transfer of translational equivariance from CNNs to ViTs (Understanding the Role of the Projector in Knowledge Distillation).

Overcoming the Performance Ceiling

While transferring inductive biases makes Transformers more data-efficient, it can also be a "double-edged sword." Borui Zhao and Jiajun Liang note in Cumulative Spatial Knowledge Distillation for Vision Transformers that a CNN teacher can eventually act as a ceiling. If the student is forced to follow the teacher too rigidly, it may never utilize its superior capacity for long-range dependencies—the very thing that makes Transformers powerful.

The most successful strategies, like those in DeiT-LT, treat distillation as a "warm-up" or a complementary signal rather than a strict constraint. By using heavy data augmentation and "out-of-distribution" distillation, researchers force the student to learn the invariants of the teacher (like how it handles noise or shifts) rather than just memorizing its specific outputs.

Applications Beyond Vision

The principle of architectural transfer is not limited to CNNs and Transformers. It is a general framework for "training the untrainable" (Vighnesh Subramaniam). For example:

  • SSMs and Mamba: Researchers are distilling the global attention of Transformers into linear-time State-Space Models (SSMs) like Mamba to give them better long-range context (Data Efficient Any Transformer-to-Mamba Distillation via Attention Bridge).
  • LLMs and Reasoning: FinePrompt shows that the specialized inductive biases of fine-tuned models can be distilled into natural language instructions to guide Large Language Models (LLMs) in complex reasoning tasks.

By decoupling the architecture used during inference from the inductive biases used during training, this research direction allows us to build models that are both computationally efficient and structurally "smart."

Papers in this version

History & citationVersion 1 · 2026-10-04

Split into other directions · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_transferring_inductive_biases_via_cross__5297d2fc,
  title = {Transferring Inductive Biases via Cross-Architecture Distillation},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/transferring-inductive-biases-via-cross-architecture-distillation/rdr_5297d2fc278e421f8e89fe8f34770638},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-26},
}

This exact version (version 1, frozen text):

@misc{lacuna_transferring_inductive_biases_via_cross__5297d2fc_v1,
  title = {Transferring Inductive Biases via Cross-Architecture Distillation},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/transferring-inductive-biases-via-cross-architecture-distillation/rdr_5297d2fc278e421f8e89fe8f34770638/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-26},
}