Why Large Language Models Get Their Own Identity Wrong: Distillation, Synthetic Data, and Identity Confusion

    Why do large language models sometimes introduce themselves as a different model? This article explains the technical roots of "identity confusion" in LLMs, covering white-box and black-box knowledge distillation, the role of synthetic data, and how data pollution during pre-training and post-training can cause a model to inherit another model's identity. It also offers practical guidance on data provenance, identity alignment, and preventing data degradation.

    Why Large Language Models Get Their Own Identity Wrong: Distillation, Synthetic Data, and Identity Confusion

    An Interesting Phenomenon: Models That Don’t “Know” Themselves

    A notable case once drew attention in the AI community: when asked “Who are you?” without any prompt-based guidance, a new-generation general-purpose large language model named a different model as its own identity.

    This kind of “identity confusion” is not an isolated incident. If you observe the output styles of various models over time, you’ll notice that some leading frontier models produce answers to certain templated question types (often called “canned” Q&A patterns) that closely resemble those of earlier open-source models. What’s the technical reason behind this? This article analyzes the phenomenon from three angles: distillation, synthetic data, and data contamination.

    Two Main Approaches to Knowledge Distillation

    Knowledge distillation was originally proposed in academia. The core idea is to let a smaller or newer model “inherit” capabilities from an existing model. Depending on whether the internal information of the teacher model is accessible, it falls into two categories.

    White-Box Distillation: Fitting Internal Signals

    White-box distillation requires access to the teacher model’s weights, so it only works with open-source models. The student model is trained to fit the teacher’s:

    • Output probability distributions (soft labels): which carry richer “inter-class similarity” information than one-hot labels;
    • Intermediate layer features: aligning hidden-layer representations as closely as possible through feature-matching losses;
    • Attention patterns: making attention matrix distributions similar for finer-grained behavioral imitation.

    A simplified loss function looks like this:

    1. loss = alpha * kl_div(
    2. student_logits / T,
    3. teacher_logits / T,
    4. ) + (1 - alpha) * ce_loss(student_logits, labels)

    Here, T is a temperature coefficient used to soften the probability distribution, and alpha balances the distillation loss against the ground-truth label loss. This type of distillation aims for a near-pixel-perfect approximation of the teacher model’s behavior.

    Black-Box Distillation: Inputs and Outputs Only

    Black-box distillation requires no weights—only API access. The typical workflow:

    1. Build a massive, diverse set of prompts;
    2. Query the target model in batches and collect its outputs and chain-of-thought reasoning;
    3. Use these Q&A pairs as pre-training or fine-tuning data for a new model.

    From a data perspective, black-box distillation is essentially one way of producing synthetic data. It doesn’t copy weights; it merely expands the training corpus, which can both improve generalization and dramatically reduce data annotation costs.

    More critically, if a team can gain access to high-quality corpora it otherwise couldn’t obtain—for example, outputs from a model that performs exceptionally well in a particular language—it can transfer the “distributional characteristics” of that data through this approach. Since synthetic datasets often reach tens of millions or even billions of samples, traditional data-cleaning pipelines struggle to filter them out completely.

    It’s worth emphasizing that claims like “a highly capable model has no need to learn from other models” don’t hold up technically. The value of distillation lies not in who is stronger, but in complementary data distributions and reduced training costs. It is a widespread industry practice that leading vendors tacitly acknowledge among themselves.

    Pre-Training and Post-Training: The Two Stages of Capability Formation

    To understand how identity confusion arises, we also need to distinguish the two stages of model training.

    Pre-training: The model is fed massive internet-scale corpora and accumulates knowledge and language ability through self-supervised objectives such as next-token prediction. Because the data volume is enormous (trillions of tokens), item-by-item manual cleaning is impractical—the model essentially absorbs everything in the corpus, including misinformation and stylistic traits.

    Post-training: This includes supervised fine-tuning (SFT), reinforcement learning from human feedback (RLHF), and related techniques. Here the model learns how to respond—answer formats, tone, and the standard answers to identity questions such as “Who am I?” and “Who developed me?”

    A model’s sense of identity comes primarily from identity-related data in the post-training stage. If that data is insufficient or gets overwritten, gaps appear in the model’s self-knowledge.

    The Technical Explanation Behind “Mistaking Its Own Identity”

    Putting it all together, a model identifying itself as another model may stem from:

    1. Training data contamination: If pre-training or post-training data contains large amounts of synthetic data generated by other models—and that data carries the other model’s self-introduction templates or system prompt fragments—the model may simply “memorize” the wrong identity answers.
    2. Insufficient identity instruction coverage: When a new model has too few identity-related samples in post-training, old patterns memorized during pre-training get activated when identity questions come up.
    3. Distillation data residue: If black-box distillation outputs include the teacher model’s self-descriptions, that content enters the new model as “knowledge.”

    This also explains why some models show a clear decline in the literary quality of their Chinese output after multiple iterations: large amounts of low-quality Chinese text generated by other models flow back into the training set, diluting or even polluting an originally high-quality Chinese data distribution. The industry colloquially calls this “models feeding on each other” or data inbreeding: when synthetic data repeatedly re-enters the training loop, the distribution gradually narrows and diversity declines.

    Practical Takeaways for Practitioners

    • Prioritize data provenance: Build source-tagging and deduplication mechanisms into your training corpora to identify suspected synthetic data;
    • Don’t skip post-training: Critical capabilities like identity setting and safety alignment must be solidified through sufficient post-training samples;
    • Watch out for data degradation: Control the proportion of synthetic data and retain enough real human-authored text as an anchor;
    • Leverage engineering tooling: Use cloud logging services and data management tools to version and add observability to your training data pipelines, making it easier to trace the source of contamination.

    Conclusion

    A model “mistaking its own identity” may sound like an amusing anecdote, but it’s really a microcosm of today’s LLM training paradigm. As high-quality human data approaches exhaustion, synthetic data and distillation have become mainstream production methods—and the side effects of data contamination are emerging alongside them. Understanding the underlying logic of distillation and pre-training allows for a more rational assessment of any model’s capability boundaries and iteration quality. For developers, when selecting or building models, data quality governance is becoming a more important competitive factor than parameter count.