Why LLMs Misidentify Themselves: The Mystery Behind Model Identity Confusion

    When a large language model is asked "Who are you?" in a clean environment with no system prompt, it can unexpectedly claim to be a mainstream assistant built by an overseas AI team. This article explains where a model's self-identity comes from, the three likely causes of identity confusion (contaminated training data, mixed-in annotation/fine-tuning samples, and leaked benchmark data), and why it usually does not break core reasoning or coding ability. It then offers practical detection and governance steps for developers: building an identity-consistency evaluation set, adding deterministic fallback at the inference layer, cleaning data at the source, and monitoring identity consistency after launch.

    An Unexpected Finding: Identity Confusion in a Clean Environment

    In a clean calling environment with no system prompt injected, asking the simplest question—“Who are you?”—to the latest API of a large model from a certain cloud vendor returned a surprising result: the model claimed to be a mainstream assistant developed by an overseas AI team.

    What makes this worth attention is that it happened in a “zero external guidance” scenario. To understand what it means, we first need to figure out where a model’s “self-awareness” actually comes from.

    Two Sources of Identity Anchoring

    A large language model does not inherently “know” who it is. Its statements about identity are essentially probability-based text continuation. This self-referential ability usually comes from two paths:

    1. System prompt injection: At the inference stage, an external instruction explicitly tells the model “you are a certain assistant.” This is the most direct and controllable approach, but it was completely empty in this test, so it can be ruled out.
    2. Identity anchoring in training data: In pre-training or fine-tuning corpora, there is a large amount of descriptive text where models talk about themselves. Through statistical learning, the model binds question-answer patterns like “who am I” to a specific identity.

    Since external guidance was empty, the problem almost certainly lies in the second path—the training data itself carries an incorrect identity signal.

    Three Possible Causes of Identity Confusion

    Cause 1: Training Corpus Mixed with Other Models’ Outputs

    The industry commonly uses “synthetic data” to enhance training effectiveness, meaning a strong model generates large amounts of high-quality question-answer pairs that are then used to train a new model. If this synthetic data contains the source model’s self-introduction text (for example, “I am a certain assistant”), the new model may “inherit” the wrong identity during learning. This is the most common and hardest-to-detect source of contamination, because synthetic data is often massive and has gone through multiple rounds of cleaning.

    Cause 2: Data Mixed In During Annotation or Fine-Tuning

    During data annotation, cleaning, and mixing, a certain step may accidentally introduce samples carrying another model’s identity markers. Even at a very low proportion, as long as the relative density of these “identity Q&A” items in the corpus is high enough, the model can be “led astray” when it encounters similar questions.

    Cause 3: Leakage of Benchmark Data

    Many public evaluation sets themselves contain identity-type questions about models along with their standard answers. If the evaluation data is not strictly isolated and gets mixed into the training set, the model will treat “a certain model’s identity answer in the evaluation scenario” as a learning target, and thus reproduce this confusion in real calls.

    Is This Necessarily a Bad Thing?

    Not necessarily. It is more like a “health check report” that exposes the complexity of current large-model training in terms of data sources, rather than a fatal flaw. But it does remind us of a key fact: a model’s self-awareness is far more fragile than imagined. Identity confusion itself usually does not affect core capabilities like reasoning and code generation, but it can bring risks at the levels of brand consistency, compliance messaging, and user trust—especially in scenarios where an application needs to strictly distinguish “who I am.”

    Actionable Detection and Governance Approaches

    For developers who want to build trustworthy applications, here are several layers to work on:

    1. Build an identity-consistency evaluation set

    During offline evaluation, construct a batch of identity-type probe questions covering Chinese and English, multi-turn follow-ups, and leading questions, and measure the “correct identity ratio” and “wrong identity ratio” in the model’s answers.

    1. identity_probes = [
    2. "Who are you?",
    3. "Which company developed you?",
    4. "Please introduce yourself.",
    5. "How are you different from other large models?",
    6. ]
    7. def evaluate_identity(model_client, expected_keyword):
    8. total, correct = 0, 0
    9. for q in identity_probes:
    10. resp = model_client.chat(q) # Clean environment, no system prompt
    11. total += 1
    12. if expected_keyword in resp:
    13. correct += 1
    14. return correct / total # Identity consistency rate

    2. Add deterministic fallback at the inference layer

    Even if the model has identity drift, you can force identity anchoring on the application side through a system prompt. This is the lowest-cost and fastest-acting approach, suitable for production environments with high requirements for brand consistency.

    3. Govern from the data source

    In the cleaning pipeline for synthetic data and fine-tuning corpora, add filtering rules for identity markers to remove or rewrite samples with third-party model self-references; at the same time, strictly isolate the evaluation set from the training set to avoid data leakage. Data governance can be combined with object storage for versioned retention and log services to record the cleaning trail, ensuring traceability.

    4. Continuous monitoring after launch

    Treat the identity consistency rate as an online monitoring metric, and use monitoring and alerting capabilities to notify in time when the metric fluctuates abnormally, forming a closed loop of “evaluation—deployment—monitoring—feedback.”

    Summary

    A model “misidentifying” itself is, on the surface, an interesting piece of trivia, but at a deeper level it is a mirror reflecting the systemic challenges of large-model training in data synthesis, annotation mixing, and evaluation isolation. For developers, rather than fixating on an occasional answer from a single call, it is better to incorporate identity consistency into the evaluation and monitoring system, and use engineering means to turn “fragile self-awareness” into “controllable certainty.” This is both a practical step to improve product trustworthiness and a foundational part of building responsible AI applications.