Know Thyself, Teach Thyself: Internal Information Flow for Selective Self-Distillation

Rui Wang, Bo Chen, Jiangxuan Long, Yingyu LiangarXiv 2026

TL;DR

INFLOW (Internal Information Flow) is a novel self-distillation framework that enables Large Language Models (LLMs) to improve themselves by measuring how much "new" information they gain from internal retrieval. By selecting training examples where retrieved context significantly shifts the model's semantic beliefs, INFLOW achieves superior performance across multiple model families and knowledge domains without requiring any human labels or external teachers.

What Problem Does This Paper Address?

Recursive Self-Improvement (RSI) is the "holy grail" of AI development: the idea that a model can use its own outputs to train a better version of itself. However, this "closed loop" faces a major hurdle—models often reinforce their own systematic errors and uncertainties.

Existing self-distillation methods usually try to solve this in two separate ways:

  1. Teacher Enhancement: Using techniques like RAG (Retrieval-Augmented Generation) to make the "teacher" view of the model smarter.
  2. Data Selection: Choosing which generated examples are "good" enough to train on (e.g., based on confidence or diversity).

The authors argue that these two stages are currently disconnected. We don't actually know if the retrieved information successfully improved the teacher's signal, or if the student is just memorizing redundant information it already knew. INFLOW bridges this gap by treating self-distillation as a measurable flow of information.

Methods

INFLOW introduces a three-stage pipeline designed to maximize the information transferred from the model's internal knowledge to its updated parameters:

  1. Certainty-Calibrated Retrieval (Potential Information): To find the most helpful "demonstrations" for a given query, the model looks at its own internal hidden-state trajectories—how a token's representation evolves through the transformer layers. It combines this trajectory similarity with a "certainty score" (based on the entropy of the answer distribution) to ensure it retrieves sources that are both relevant and reliable.
  2. Semantic Belief Shift Selection (Realized Information): This is the core innovation. The model generates answers for a query twice: once without retrieval and once with the retrieved context. It then calculates the Jensen–Shannon (JS) divergence between these two probability distributions. A large "belief shift" indicates that the retrieval actually provided new, impactful information. INFLOW selects only these high-shift examples for training.
  3. On-Policy Self-Distillation: Finally, the model performs distillation. A student model samples trajectories (on-policy), while an Exponential Moving Average (EMA) teacher—conditioned on the retrieved context—provides soft targets. The goal is to bake the "smarter" retrieval-conditioned belief into the student's weights so it can perform better even without the extra context.
Figure 1: Overview of INFLOW. For each query, Stage I uses internal signals to estimate how much information retrieval can channel from external evidence into the teacher. In Stage II, the teacher reflects through self-comparison and selects the realized information to provide to the student. Stage III distills this new information into the student, where it is expected to shift the original semantic belief without retrieval context.

Datasets

The researchers evaluated INFLOW across three diverse knowledge domains using two major benchmarks:

  • SciKnowEval: Focused on Natural Sciences (Biology, Chemistry, Physics).
  • MMLU-Pro: Focused on Mathematics and Humanities/Social Sciences.

The experiments were conducted across four different open-weight model backbones: Qwen3-4B-Instruct, Qwen3.5-9B-Instruct, Ministral-3-8B-Instruct, and Llama-3.1-8B-Instruct.

Key Insights and Ideas

  • Information as a Metric: The paper formalizes distillation as information transfer. By measuring the "belief shift," the authors provide a principled way to quantify how much a model is actually learning from a specific example.
  • The Value of "Dissenting Voices": In self-distillation, high consistency isn't always good—it might just mean the model is repeating a known fact. INFLOW suggests that the most valuable training data comes from instances where the model changes its mind when presented with evidence.
  • Internal Trajectories Matter: Using the full layer-wise trajectory of a token for retrieval is more effective than using just the final-layer embedding, as it captures the "decision process" of the model.

Key Results

INFLOW consistently outperformed standard training on all data ("FULL") and several competitive selection baselines (like NEURON and MUTUAL):

  • Accuracy Gains: INFLOW improved unadapted checkpoints by 1.0 to 3.2 percentage points on average.
  • Domain Strengths: The strongest improvements were seen in Mathematics, where INFLOW boosted scores by up to 6.0 points on some models.
  • Efficiency: Despite the two-stage process, INFLOW's runtime is comparable to other advanced selection methods, requiring roughly 67 minutes per run compared to 76 minutes for NEURON.
Figure 2: Accuracy over optimizer updates. Shaded bands denote the standard deviation across three rollout- index accuracies.

Limitations and Future Work

The authors highlight a critical limitation: a large belief shift does not guarantee a correct answer.

On Llama-3.1-8B, for instance, the model often shifted its belief significantly, but it frequently moved from one incorrect answer to another. This suggests that if the model's internal "source pool" of knowledge is fundamentally flawed or noisy, self-distillation can actually propagate errors (a "Break" rather than a "Fix").

Future work could involve developing better internal "truthfulness" filters that can distinguish between a corrective belief shift and a purely random or erroneous one without needing ground-truth labels.

Summary updated

BibTeX
@misc{wang2026know,
  author = {Rui Wang and Ruijie Wang and Bo Chen and Jiangxuan Long and Yingyu Liang},
  title = {{Know Thyself, Teach Thyself: Internal Information Flow for Selective Self-Distillation}},
  year = {2026},
  eprint = {2609.36695},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.36695},
}
Figure