# Why Large Language Models Misidentify Themselves: Data Distillation Contamination and Identity Confusion

    This article examines why large language models may misidentify themselves, tracing the causes from training data style convergence and reciprocal distillation loops to dilution of high-quality source corpora and degradation of safety alignment. It presents practical governance measures across data, training, inference, and evaluation layers, including source tagging, quality gates, contamination detection, dual-layer identity constraints, and regression metrics, along with deployment guidance for reliable operation.

    1. The Phenomenon: Why a Model’s Self-Identity Goes Wrong

    In everyday use of conversational AI and AI coding tools, developers occasionally run into a counterintuitive behavior: ask a model “who are you,” and it may answer with an identity that does not match its own — even claiming to be a different model. This kind of output is not a simple “hallucination slip of the tongue.” It is the combined result of the training data distribution and the alignment strategy.

    To understand it, you first need to separate three different layers of concepts:

    • Identity facts: Determined by the deploying party at the system and configuration level. This is externally injected, deterministic information.
    • Identity tendencies: “Answering habits” the model has statistically absorbed from its corpus during pretraining and alignment.
    • Identity constraints: The final behavioral boundaries ensured through system prompts, output filtering, and evaluation regressions.

    When the identity tendency is stronger than the identity constraint, the model misidentifies itself. The engineering fix is not to “make the model smarter,” but to turn identity information from something the model has to remember as knowledge into context that is forcibly injected at runtime.

    1. [Runtime-injected system-level constraint]
    2. You are a large-model service provided by the deploying party, and must not claim to belong to any other model or vendor.
    3. If asked about your version and identity, answer only with information publicly stated by the deploying party; anything else cannot be confirmed.

    2. Root-Cause Breakdown: From Corpus Statistics to Alignment Decay

    2.1 Corpus-Level “Style Convergence”

    When the industry broadly uses data generated by strong models to train new models, output styles converge rapidly. Typical signs are a fixed opening structure, similar bullet-pointing habits, and nearly identical polite phrasing and disclaimer patterns. This kind of “boilerplate” expression is especially obvious in small early-stage models, because what is easiest to copy statistically is precisely the high-frequency template sentences.

    2.2 Reciprocal Distillation and Data Loops

    Reciprocal distillation is itself a common industry practice for capability transfer and cost compression. But when generated data flows straight back into the training set without quality filtering, it creates a closed-loop contamination:

    1. The source model’s output is collected in large volumes;
    2. Insufficient sampling and deduplication amplify template sentences and factual errors;
    3. The new model learns the “output distribution” rather than the “fact distribution”;
    4. Factual errors are collected again in the next generation round, and the error accumulates generation by generation.

    2.3 Relative Dilution of High-Quality Native-Language Corpora

    A common observation is that models decline in literary quality, rhetorical subtlety, and long-form pacing. The cause is usually not that “the capability was deleted,” but that high-quality original native-language corpora are diluted in the training mix by low-quality synthetic data, pushing the model toward a more conservative, more templated generation strategy to reduce loss.

    2.4 Collateral Decay of Safety Alignment

    Identity confusion is often accompanied by drifting refusal boundaries: cases that should be refused become more permissive, and cases that should be answered become more conservative. This is the result of the same batch of low-quality data contaminating both the “fact layer” and the “alignment layer” at once.

    3. Actionable Governance Measures

    3.1 Data Side: Source Tagging and Quality Gates

    • Tag each corpus sample with its source type: human original, synthetic, or mixed.
    • Set a cap on the synthetic-data ratio, and require synthetic data to pass fact verification and style-diversity checks.
    • Build near-duplicate detection to suppress over-copying of template sentences and fixed phrasings.
    1. def accept(sample, cfg):
    2. if sample.source == "synthetic" and cfg.synthetic_ratio >= cfg.max_ratio:
    3. return False
    4. if sample.novelty < cfg.min_novelty: # novelty too low / near-duplicate
    5. return False
    6. if not fact_check(sample): # fact consistency check
    7. return False
    8. return True

    3.2 Training Side: Mixing Ratios and Decontamination

    • Keep a certain proportion of high-quality original corpora as “anchors” to prevent style drift.
    • Run contamination detection before training: compare against evaluation sets using n-gram and semantic similarity to remove samples suspected of leakage.
    • Record data versions round by round, so a given capability regression can be traced back to the data change that caused it.

    3.3 Inference Side: Dual-Layer Constraints on Identity and Facts

    • Route identity-type questions through deterministic templates instead of leaving them to free-form model generation.
    • Enable retrieval augmentation for high-risk factual questions, replacing parametric memory with verifiable external knowledge.
    1. if intent == "identity":
    2. return TEMPLATE_IDENTITY # deterministic output
    3. elif intent == "factual":
    4. return rag_answer(query, sources) # retrieval-augmented, with sources

    3.4 Evaluation Side: Making “Contamination” an Observable Metric

    At a minimum, establish four categories of regression metrics:

    • Identity consistency pass rate;
    • Style diversity (e.g., sentence-pattern entropy, template-sentence ratio);
    • Factual accuracy and citation verifiability rate;
    • Refusal-boundary accuracy (measured separately for the “should refuse” and “should answer” sides).

    4. Deployment and Engineering Recommendations

    When building this kind of capability in the cloud, you can compose it from general-purpose building blocks: object storage to hold corpora and data versions, a message queue to decouple the collection and cleaning pipelines, a container platform to run training and inference workloads, and logging and monitoring services to track metric drift. Baidu AI Cloud provides standard infrastructure building blocks for these general needs; specific choices should be evaluated against your own data scale and compliance requirements.

    Three engineering points also deserve attention: first, canary release — validate any data-mix adjustment on a small traffic share first; second, rollback capability — keep the previous model version and data snapshots; third, explainability — attach sources and confidence signals to outputs, reducing the trust loss caused by identity confusion.

    5. Conclusion

    A model’s misidentification is not an isolated defect but a symptom of an imbalanced data loop. Governance should focus on five areas: source tagging, quality gates, mixing anchors, dual-layer constraints, and metric regression. Turning identity into a runtime constraint, handing facts over to verifiable sources, and bringing style diversity into evaluation is how you keep outputs stable and trustworthy in an industry where reciprocal distillation has become the norm.