Why Ghost Outputs Teach: A Kernel-Based Understanding of Subliminal Learning

Zhe Li, Bicheng Ying, Chaosheng Dong, Haibo YangarXiv 2026

TL;DR

Subliminal Learning (SL) allows a student model to inherit latent capabilities from a teacher by matching completely unrelated "ghost" outputs on random noise inputs, without ever seeing task labels or real data. This paper provides the first mathematical explanation for this phenomenon using a chained cross-task kernel framework, proving that a shared initialization forces ghost-output optimization to align perfectly with the teacher's hidden task objectives.

What Problem Does This Paper Address?

Imagine a student neural network learning how to classify MNIST digits or adopt a specific behavioral trait without ever seeing a single digit, label, or task logit. Instead, the student is optimized exclusively to match the teacher's auxiliary, un-trained outputs—termed ghost outputs—on completely random inputs like Gaussian noise. Surprisingly, the student still successfully inherits the teacher's downstream capabilities.

This bizarre phenomenon is known as Subliminal Learning (SL), and it fundamentally challenges conventional knowledge distillation. While previous empirical studies have shown where these subliminal signals reside, they haven't explained how the optimization mechanism actually works. Why does gradient descent on random junk data push a student model toward a teacher's true task objective? This paper provides the first unified, learning-dynamics-based theoretical explanation to solve this puzzle.

Figure 1: Illustration of the canonical ghost-output SL framework. A teacher is trained only on the target task, while the student is distilled exclusively through the teacher’s ghost outputs on synthetic inputs. Despite never observing task labels or task logits, the student acquires substantial downstream task capability. This paper explains the three central empirical observations of this phenomenon.

Methods

The authors analyze Subliminal Learning through the lens of learning dynamics and the empirical Neural Tangent Kernel (eNTK). They derive a novel chained cross-task kernel that mathematically connects the student's task prediction space to the ghost supervision space through their shared backbone representations.

By analyzing how a gradient update on a synthetic input alters the student's prediction on an unseen task sample, they decompose subliminal transfer into three measurable components:

  1. The cross-task kernel ($K_{zh}$).
  2. The ghost-output Jacobian.
  3. The parameter discrepancy between the student and the teacher.

They evaluate this framework under both an idealized single-step scenario and a realistic multi-step optimization trajectory where parameter drift and cross-sample interactions occur.

Datasets

The authors validate their theory using two distinct setups:

  • MNIST: Used for controlled small-model experiments on a single-hidden-layer MLP. Distillation is performed using various synthetic inputs, including isotropic Gaussian noise, uniform noise, shuffled MNIST pixels, and constant values.
  • Synthetic Number Sequences & Text Prompts: Used for Large Language Model (LLM) experiments on Qwen2.5-7B-Instruct. The teacher model is injected with a hidden preference (e.g., favoring "cats") and generates number-sequence completions. The student is then distilled purely on these semantically unrelated number sequences or random gibberish.

Key Insights and Ideas

  • The PSD Self-Alignment Guarantee: The authors prove that when the student and teacher share the same initialization, the chained cross-task kernel factorizes into a strictly Positive Semi-Definite (PSD) structure. This means that any optimization step the student takes to match the teacher's ghost outputs is guaranteed to have a positive projection onto the teacher's true task descent direction. The ghost output acts as an algebraic pivot forcing task alignment without explicit label exposure.
  • The Ghost Bottleneck & LLM Pass-Through: The dimensionality of the ghost output ($|h|$) acts as a rank bottleneck. If it's too small, it suppresses gradient alignment. However, in modern LLMs, the vocabulary head serves as the ghost head. Because the vocabulary size is massive ($V \gg d_{model}$), it completely shatters this bottleneck, acting as a mathematically perfect, lossless pass-through filter for high-dimensional features.
  • Broadband Probes vs. Narrowband Data: Why does random noise outperform real data for subliminal transfer? High-entropy inputs act as "broadband probes" because they possess full-support covariance, uniformly exciting all backbone dimensions. Real data is confined to a narrow, low-dimensional manifold ("narrowband"), leaving key cross-kernel directions unexcited.

Key Results

  • Prerequisites for Transfer: On MNIST, normal SL achieves 75.16% accuracy without ever seeing a digit or label. If the shared initialization is broken, accuracy drops to chance level (~9.52%), confirming that shared initialization is a strict mathematical prerequisite for the PSD alignment.
Ablation results verifying necessary conditions for Subliminal Learning.
  • Sustained Long-Term Transfer: Multi-step tracking reveals that while individual gradient steps are noisy due to parameter drift, the underlying PSD ground state accumulates coherently over time, driving sustained task alignment.
Figure 2: Multi-step trajectory of subliminal distillation. Left: Task accuracy over distillation steps. Right: Per-step logit-space projection onto the true task gradient. With shared initialization, the projection is noisy but consistently positive, confirming weak but sustained alignment.
  • Stealthy LLM Trait Transfer: A Qwen2.5-7B student trained on number sequences from a biased teacher adopted the hidden "cat" preference 91.1% of the time (compared to 3.1% for the base model). Furthermore, broadband inputs (random numbers and gibberish) transferred the bias far more effectively (90.8% and 63.1%) than narrowband, domain-specific medical prompts (34.3%).

Limitations and Future Work

While this work provides a rigorous foundation, its mathematical derivations rely on tangent-space stability (the lazy training regime), which is common in overparameterized models but may not fully capture heavy feature-learning regimes.

Additionally, this mechanism uncovers a significant safety risk: malicious or biased traits can be stealthily injected into a student model via entirely benign-looking synthetic data or random tokens. The authors note that developing active defense and mitigation strategies against this form of subliminal trait leakage is a crucial direction for future work.

Summary updated

BibTeX
@misc{li2026why,
  author = {Zhe Li and Bicheng Ying and Chaosheng Dong and Haibo Yang},
  title = {{Why Ghost Outputs Teach: A Kernel-Based Understanding of Subliminal Learning}},
  year = {2026},
  eprint = {2609.23260},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.23260},
}
Figure