Large Language Model Identity Drift: Causes and the Role of Distillation
This article explains why a large language model may misidentify itself as another model, framing the issue as identity drift caused by data rather than self-awareness. It covers how pre-training and post-training shape model behavior, compares white-box and black-box distillation, and outlines engineering practices such as data lineage, style debiasing, identity alignment data, evaluation isolation, and continuous monitoring to reduce identity drift and data contamination.
1. The Phenomenon: What Model Identity Drift Actually Is
A general-purpose large language model was recently observed identifying itself as a different model without any prompt steering. From an engineering perspective, this is not a sign that the model has developed self-awareness. It is a typical case of identity drift.
A model’s self-description is a text generation result. Its distribution is determined by brand-name co-occurrence patterns in the training corpus. When one model name appears frequently in synthetic data, the model learns to associate that name with the context of a high-quality answer, and therefore emits the wrong label when introducing itself.
This behavior has no necessary connection to model capability. It exposes weaknesses in data mixture and deduplication governance, not a lack of reasoning ability.
2. Pre-training and Post-training: Two Stages of Capability Formation
2.1 Pre-training: Knowledge Injection and Corpus Contamination Risk
The goal of pre-training is knowledge accumulation and the construction of foundational capabilities. Massive, heterogeneous, and largely unrefined text is fed to the model in a single pass. Because the data volume often reaches the trillions of tokens, cleaning every record manually is not feasible, so pre-training corpora naturally contain noise, duplicated content, and a large amount of model-generated synthetic text.
This creates a structural risk. As the share of model-generated content on the internet grows, later models inevitably treat the output style of other models as learning material during pre-training, producing corpus contamination. This is also a common explanation for the decline in Chinese literary quality in some later model versions: high-quality original text is diluted by large volumes of homogeneous synthetic text.
2.2 Post-training: Alignment and Behavior Shaping
Post-training typically consists of supervised fine-tuning and preference alignment, with the goal of making model output match human expectations more closely. If post-training data contains question-answer pairs with clear source signatures, such as fixed opening phrasing or particular bullet-point habits, the model mistakes these formulaic patterns for a general expression norm. Identity drift is therefore often planted during pre-training and amplified during post-training.
3. Two Technical Paths of Distillation
3.1 White-box Distillation: Distribution-level Fitting
White-box distillation requires access to the weights and internal signals of the model being distilled. By minimizing the difference in output distributions, it fits logits, intermediate representations, and even attention patterns. Typical outputs are lightweight variants that pair a small parameter count with large-model capability, common in on-device or low-cost inference scenarios.
A schematic training objective is shown below (it expresses the general idea only and is not tied to any specific interface):
# General form of soft-label distillationloss = alpha * kl_divergence(student_logits, teacher_logits) + (1 - alpha) * ce_loss(student_logits, hard_labels)
The white-box path requires open weights, so its applicability is limited.
3.2 Black-box Distillation: Synthetic Data Driven
Black-box distillation does not touch weights. It issues a large volume of instruction calls to the model being distilled, collects its answers and reasoning traces, and uses them as training data for a new model. In essence, it is high-quality synthetic data production. The advantages are low cost, strong controllability, and fast expansion of generalization ability. The difficulty is that data volume often reaches tens of millions or even hundreds of millions of records, making it extremely hard for the cleaning pipeline to fully handle deduplication, detoxification, source labeling, and style normalization.
4. Industry Debate and a Neutral Conclusion
Mutual distillation has become a common practice in the industry, so any single party accusing another of distillation is not persuasive. The more important issue is governance: synthetic data needs explicit source labeling, a style debiasing mechanism, and isolation of same-source data in evaluation, so that self-reinforcing loops do not degrade capability. The claim that a highly intelligent model has nothing to learn from a less intelligent one does not hold. Model capability always comes from the combination of data and training objectives.
5. Engineering Recommendations: Reducing Identity Drift and Data Contamination
- Build data lineage: label synthetic data and record its generation source and intended use, so it can be audited and traced.
- Debias style: identify and downweight formulaic expressions during corpus cleaning to reduce the buildup of boilerplate patterns.
- Add identity alignment data: include explicit identity and boundary question-answer samples in post-training, covering multiple languages and multi-turn scenarios.
- Isolate evaluation: build evaluation sets that do not share a source with the training corpus, specifically to test identity consistency and factuality.
- Monitor continuously: bring identity consistency, repetition rate, and factual error rate into online monitoring and alerting, and close the iteration loop with logging services and a containerized training platform.
In summary, model misidentification is an external symptom of a data engineering problem. Understanding the boundaries between pre-training, post-training, and distillation, and building an auditable data governance chain, is the fundamental path to improving model reliability.
