Why LLMs Misidentify Themselves: A Deep Dive into System Prompts, Data Contamination, and Distillation

    Have you ever noticed a large language model claiming to be an entirely different model when its system prompt is cleared, particularly in non-English queries? This article explores the technical mechanisms behind this phenomenon, including the absence of identity anchoring, training data contamination, and the statistical memory effects of large-scale pre-training. It also clarifies why this behavior does not necessarily prove model distillation and provides actionable engineering practices for developers.

    The Phenomenon: Models Report the Wrong Identity Without System Prompts

    Developers using third-party model proxy platforms often encounter a strange issue. When calling a well-known closed-source LLM normally, it correctly states its developer. However, if you manually clear the system prompt and ask, “What model are you?” in Chinese, it might claim to be an entirely different model. In English, it usually remembers its identity, but switching to Chinese triggers “amnesia.”

    This has led to discussions in developer communities, with some claiming that certain commercial models are simply “shell wrapping” or “distilling” an open-source model. From a technical perspective, however, this conclusion doesn’t hold up. The real cause is a combination of three mechanisms: the absence of identity anchoring prompts, identity distribution bias in training data, and statistical memory effects from large-scale pre-training.

    Mechanism 1: The System Prompt as the Identity “Fuse”

    Modern LLMs are essentially conditional probability generators: given a context, they predict the next most likely token. Models lack “self-awareness”; their claimed identity depends entirely on contextual cues.

    In standard product setups, providers inject a fixed system prompt into every request context, stating something like, “You are [Assistant Name], developed by [Company].” This prompt persists throughout the session, acting like a fuse that anchors the model’s identity responses to a preset value. As long as this fuse is intact, the identity answer rarely drifts, regardless of the language used or how the user attempts to induce it.

    However, in setups allowing custom system prompts, developers can leave this field empty. Without any identity information in the context, the model falls back to the “prior distribution” stored in its weights—the most frequent “self-identification” pattern it encountered in its massive training corpus.

    Mechanism 2: Data Contamination Determines the “Default Identity”

    Without a system prompt, what identity will the model output? The answer is: the one with the highest probability in the training corpus. The key here is the coupling of data contamination and language distribution:

    • Uneven identity distribution in corpora: The internet is filled with screenshots, logs, prompt templates, and Q&A regarding LLMs shared by users. A highly popular model in the open-source community might appear far more frequently in certain language ecosystems (such as Chinese internet spaces) than others. Once these texts enter the pre-training corpus, a strong association forms in the model’s weights: “[Language] + identity question → [popular model name].”
    • Different priors for different languages: Tokens from a specific language activate parameter regions closer to that language’s corpus distribution. Whatever answer most frequently follows “What model are you?” in that language’s corpus is what the model tends to output. This explains why the same model gives different answers in English versus Chinese.
    • A universal phenomenon, not an isolated case: Many early models would default to claiming to be certain well-known models without a system prompt, sometimes exhibiting bizarre “default personas.” This is a natural byproduct of large-scale pre-training—a normal reproduction of high-frequency patterns by statistical learning.

    This can be understood through a simplified conceptual formula:

    1. P(Identity | Language=X, No System Prompt)
    2. ≈ Frequency distribution of identities in that language's training corpus

    Whoever has more data wins. This has nothing to do with who the model “essentially” is.

    Mechanism 3: Why This Doesn’t Prove “Distillation or Wrapping”

    Equating “claims to be model X” with “distilled from model X” is a logical fallacy. Determining a model’s lineage requires examining deep features like capability boundaries, reasoning behavioral patterns, and consistency in error distribution, not a self-declaration easily explained by corpus contamination.

    However, distillation is indeed a common industry practice, worth clarifying:

    • White-box distillation: Requires access to the teacher model’s weight files. The student model mimics the teacher’s neuron activations, output probability distributions, and even attention allocation for a “pixel-level” imitation. Only open-source models can serve as white-box teachers.
    • Black-box distillation: Cannot access weights. Instead, it relies on collecting massive input-output pairs from the teacher model’s API to fine-tune the student model with synthetic data. This is a lower-barrier and more widespread method.

    As high-quality human text data depletes, using synthetic model data to feed back into training has become an industry norm. This brings a side effect: models “eat” each other’s outputs, forming data loops. Observant developers have noticed that different vendors’ models share strikingly similar phrasing templates in certain versions, a trace of mutual distillation. The cost is real: when high-quality original corpora are diluted by massive amounts of synthetic data, the literary quality and expressive sharpness of subsequent model versions experience a perceptible decline—corpus contamination goes both ways.

    Engineering Insights for Developers

    Understanding these mechanisms, the following practices can be adopted in application development:

    1. Always inject an explicit identity system prompt: If your application has a fixed persona, explicitly state it in the system prompt and prevent it from being overridden by user input in multi-turn conversations.
    2. Do not use a model’s self-declaration as a benchmarking criterion: When selecting models or analyzing lineage, design behavioral test sets covering reasoning, coding, math, and long-tail knowledge, rather than asking “Who are you?”
    3. Beware of synthetic data loop contamination: When building training or fine-tuning datasets, establish source labeling and deduplication mechanisms, and control the proportion of model-generated data to avoid style degradation and error amplification.
    4. Evaluate platform access differences: When accessing models through proxy platforms, check if the default system prompt has been rewritten or cleared, as this affects identity consistency and safety alignment behavior.

    Conclusion

    When an LLM reports the wrong identity without a system prompt, it is neither a bug nor proof of lineage. It is the natural result of a missing “identity fuse” combined with training corpus distribution bias. This phenomenon actually provides an observation window: it intuitively demonstrates how the composition of pre-training corpora shapes a model’s default behavior, reminding practitioners to remain cautious in data governance, identity anchoring, and distillation practices. In an era increasingly reliant on synthetic data, whoever maintains corpus quality and source transparency will gain the upper hand in the long-term competition of model capabilities.