Sustained Gradient Alignment Mediates Subliminal Learning in a Multi-Step Setting: Evidence from MNIST Auxiliary Logit Distillation Experiment

Chayanon Kitkana, Shivam AroraSci4DL @ ICLR 2026

TL;DR

This paper investigates "subliminal learning," where a student model unintentionally acquires unwanted "teacher traits" even when trained on safe data. They demonstrate that this phenomenon is driven by a persistent, albeit weak, alignment between the gradients of the desired task (distillation) and the undesired trait, even over many training steps. Crucially, they show that directly removing this aligned gradient component effectively stops trait acquisition, highlighting the dominance of this first-order effect.

What Problem Does This Paper Address?

Knowledge distillation (KD) is a powerful technique for training smaller, more efficient student models by having them mimic a larger teacher model. However, a concerning side effect, termed "subliminal learning," has been observed where students can inherit undesirable traits or misaligned behaviors from the teacher, even if the training data itself is clean. This poses a significant risk for propagating biases and misalignments across model generations, making it difficult to detect and prevent. Existing theories attribute this to gradient alignment but haven't fully established its persistence and causal role in multi-step training settings. This paper aims to empirically validate the persistence of this gradient alignment and its causal impact on trait acquisition in a multi-step learning scenario.

Methods

The authors employ an experimental setup based on the MNIST MLP auxiliary logit distillation experiment. They focus on measuring two key quantities:

  • Gradient Alignment: They quantify the alignment between the gradient of the distillation loss ($\nabla_{\theta} L_{\text{distill}}$) and the gradient of the trait loss ($\nabla_{\theta} L_{\text{trait}}$). This is done using both the inner product and cosine similarity of these gradients throughout training.
  • Trait Acquisition: They measure the student model's ability to acquire the teacher's "trait" by evaluating its performance on an auxiliary task (specifically, a classification task using the no-class logits).

To test causality, they introduce a novel intervention: Projecting Conflicting Gradients (PCGrad) adapted for trait suppression. Instead of removing conflicting gradient components (as in standard PCGrad), they project the distillation gradient onto the trait gradient's normal plane to remove the trait-aligned component when they are positively aligned. This effectively isolates the contribution of the trait-aligned gradient. They also evaluate a previously proposed mitigation method, liminal training, which uses an annealed KL regularizer to minimize deviation from the base model's distribution.

Datasets

  • MNIST: The standard MNIST dataset is used for training the teacher model and for evaluating the student model's classification accuracy.
  • Synthetic Noise Dataset: A synthetic dataset of 60,000 images is generated from a uniform distribution and used specifically for the distillation process. This ensures that the distillation itself does not inadvertently introduce the trait.
  • Audit Subset: A subset of the MNIST dataset is used to compute the trait gradient, allowing for the measurement of trait acquisition independently of the distillation objective.

Key Insights and Ideas

  • Sustained Gradient Alignment: The paper provides strong empirical evidence that the weak positive alignment between distillation and trait gradients persists throughout multi-step training, not just at initialization. This suggests that the "subliminal learning" phenomenon is not a fleeting initial effect but a continuous process mediated by this alignment.
  • Causality of Alignment: By actively removing the trait-aligned component of the distillation gradient, the authors demonstrate a substantial suppression of trait acquisition. This is a crucial finding, establishing a causal link between gradient alignment and the student's unintended learning.
  • First-Order Dominance: The success of the gradient projection method, which targets the first-order gradient terms, suggests that this first-order effect is the primary driver of trait acquisition in this specific setup. This implies that higher-order effects, while potentially present, are less influential here.
  • Liminal Training's Limitations: The study reveals that liminal training, while it can attenuate gradient alignment early in training, does not effectively suppress trait acquisition. This suggests that simply reducing alignment might not be sufficient if the underlying trait-aligned component isn't fundamentally removed, especially when the first-order effect is dominant.

Key Results

  • Trait Acquisition: The student model successfully acquires the teacher trait, achieving above-chance digit classification performance (average final test accuracy of 55.28 ± 10.48%).
  • Gradient Alignment: The fraction of training steps with positive gradient alignment is high (0.781 ± 0.102), although the average alignment is close to zero, indicating a weak but consistent positive bias.
  • Gradient Projection Impact: Removing the trait-aligned gradient component drastically reduces trait acquisition, dropping the average final test accuracy to near-chance levels (10.14 ± 1.33%). This intervention had minimal impact on the distillation loss (KL divergence).
  • Liminal Training Impact: Liminal training resulted in a slightly lower average final test accuracy (48.97 ± 9.63%) compared to the control, but did not suppress trait acquisition. Cross-entropy was initially slowed but eventually caught up as regularization decayed.

Limitations and Future Work

  • Generalizability of First-Order Dominance: The authors acknowledge that their findings regarding the dominance of the first-order effect might not generalize to settings where higher-order effects in the loss landscape are more significant.
  • Availability of Ground Truth: The proposed gradient projection method, while effective, requires knowledge of the "ground truth" trait gradient. This is not always available in real-world scenarios, leaving the challenge of finding practical mitigation methods open.
  • Future Research: The paper suggests that future work should focus on developing mitigation methods that can effectively remove the trait-aligned gradient component, especially in scenarios where the first-order effect is dominant. Exploring mitigation strategies for settings with more significant higher-order effects is also a promising direction.

Summary updated

BibTeX
@inproceedings{kitkana2026sustained,
  author = {Chayanon Kitkana and Shivam Arora},
  title = {{Sustained Gradient Alignment Mediates Subliminal Learning in a Multi-Step Setting: Evidence from MNIST Auxiliary Logit Distillation Experiment}},
  booktitle = {Sci4DL @ ICLR},
  year = {2026},
  url = {https://openreview.net/forum?id=UJM4H9oLJN},
}
Figure