Large Language Model Identity Misrecognition: Distillation, Synthetic Data, and Risk Governance

    Large language models sometimes generate statements that contradict their true identity even without system prompts, role settings, or obvious inducement. This article explains why this happens: a model does not possess subjective identity, but tends to reproduce high-frequency identity templates learned from its training data. It examines how identity claims originate in pretraining and post-training, why they drift, and how white-box and black-box distillation transfer identity, style, and errors into student models. It then covers the risks of recursive synthetic data loops, the technical causes of identity misrecognition, and a five-layer enterprise governance path spanning data engineering, training, inference strategy, evaluation, and operations. Readers will learn concrete governance practices such as identity normalization, data lineage, synthetic data quotas, anti-inducement evaluation metrics, and production monitoring to move models from "able to answer" to "trustworthy answers."

    Large Language Model Identity Misrecognition: Distillation, Synthetic Data, and Risk Governance

    1. The Nature of Identity Misrecognition: Models Output Statistical Patterns, Not “Self-Awareness”

    In LLM applications, a model occasionally generates statements inconsistent with its real identity, even when there is no system prompt, no role assignment, and no obvious inducement. For example, when a user asks “Who are you?” or “Which model are you?”, the model may output a name that does not belong to the current system.

    This phenomenon is easily interpreted in anthropomorphic terms as the model “misrecognizing itself” or “waking up.” From a technical standpoint, however, it is better understood as a statistical learning result: the model does not hold a subjective identity. Rather, under a particular input distribution, it is probabilistically more likely to generate some high-frequency identity statement.

    The core training objective of an LLM is typically to predict subsequent content based on preceding context. For questions like “Who are you?”, if the training corpus contains a large number of fixed templates, the model tends to reuse them. Identity claims are themselves just textual patterns in the training data. As long as a particular identity statement appears frequently enough in the corpus and forms a stable association with similar questions, the model may generate that statement without any external constraint.

    Identity misrecognition should therefore not be understood simply as the model “lying” or “losing control.” It is a signal that the model’s pretraining corpus, instruction-tuning data, synthetic data, or distillation data may contain mixed identity labels, template contamination, or insufficient alignment strategies.

    For enterprises and developers, this phenomenon may not directly break code generation, text summarization, or question-answering capabilities, but it affects product credibility, compliance, and user experience. It must be incorporated into the model quality governance system.

    2. Pretraining and Post-Training: Where Identity Claims Come From and Why They Drift

    To understand identity misrecognition, it is necessary to distinguish two phases: pretraining and post-training.

    Pretraining. In this phase, the model is exposed to large-scale text, code, dialogue, and documents, and learns language structure, world knowledge, reasoning patterns, and modes of expression. The core goal is to accumulate general capabilities. Because the data scale is enormous, pretraining corpora typically include web content, encyclopedia text, forum discussions, question-answer samples, technical documentation, and literary materials, and can almost never be made perfectly clean. In this stage, the model learns not only knowledge but also a large amount of “role tone” and “identity templates.”

    Post-training. This phase usually reinforces capabilities such as instruction following, preference alignment, safety compliance, refusal strategies, and tool-calling formats. The goal is to make the model better match product requirements: following user instructions more closely, generating fewer harmful outputs, and producing structured results more reliably. Identity claims are often among the items that post-training must constrain. Ideally, the system should use clear identity settings, system prompts, alignment strategies, and evaluation sets to ensure that the model gives accurate, consistent, and compliant answers to “Who are you?”

    However, if the pretraining corpus contains many samples with mixed identities, or if the instruction data used in post-training includes incorrect identity labels, the model’s identity boundaries become blurred. More seriously, when a model begins to use outputs generated by other models as training data, identity errors propagate further.

    3. White-Box Distillation: Identity and Style Risks from High-Fidelity Transfer

    Distillation is a common technique in model optimization. In simple terms, distillation uses the outputs, distributions, or intermediate representations of a stronger model to guide another model’s learning. It can significantly reduce training costs and allow a smaller model to approach a larger model’s performance on specific tasks.

    White-box distillation typically emphasizes the use of internal model information, such as aligning output probability distributions, fitting intermediate-layer representations, simulating attention allocation, or training directly on the teacher model’s logits. It requires researchers to access the teacher’s output distribution, and sometimes even the weight files or intermediate representations. As a result, open-source models or models with fully accessible inference states are easier to distill in a white-box manner.

    The advantage of white-box distillation is high fidelity. The student model learns not only the teacher’s final text output but also its probability tendencies, uncertainty distribution, and token-level preferences. This approach suits scenarios that pursue style consistency and task stability. For example, in code generation, structured extraction, and domain-specific question answering, white-box distillation can bring the student model closer to the teacher’s behavioral patterns.

    But white-box distillation also introduces risks:

    1. Identity labels may transfer along with the output distribution. If the teacher’s answers contain a particular identity claim, the student may treat that claim as a high-frequency pattern during training.
    2. Overly strong style leads to homogenization. The student may over-imitate the teacher’s tone, sentence patterns, refusal strategies, and chain-of-thought structure, reducing its own corpus diversity.
    3. Biases and errors are amplified. If the teacher itself contains bias or errors, white-box distillation amplifies them, because it copies not only answers but also how the model handles uncertainty, letting errors enter the student with higher fidelity.

    Therefore, white-box distillation is not simply a way to “make the model stronger.” It requires supporting identity isolation, output filtering, quality evaluation, and distribution correction. Otherwise, model capabilities may improve, but identity consistency and data security may decline.

    4. Black-Box Distillation: Synthetic Data as the Main Fuel and a Source of Contamination

    Unlike white-box distillation, black-box distillation usually does not require access to the teacher’s internal weights or probability distributions. Instead, it constructs a large number of prompts, calls the teacher model to generate answers, explanations, chain-of-thought, or step-by-step outputs, and then uses these outputs as training data for the student model. This approach is very common in practice because it has low implementation cost, flexible data construction, and broad coverage.

    From a data perspective, black-box distillation is essentially a method of synthetic data production. The teacher acts as a data generator, and the student improves task performance by imitating the generated data. This approach can significantly alleviate the shortage of high-quality labeled data. For example, in programming assistance, mathematical reasoning, document question answering, customer-service knowledge, and industry text generation, manually writing high-quality training samples is expensive, whereas batch-generating candidate data with a strong model and then filtering and validating it can quickly expand the training set.

    The value of black-box distillation is mainly reflected in three aspects:

    1. Lower data acquisition cost. High-quality corpora are not easy to obtain, especially in vertical domains, proprietary documents, and internal knowledge bases, where manual organization is costly. Synthetic data can quickly build sample sets covering multiple scenarios.
    2. Improved generalization. If the teacher has strong reasoning, coding, or multilingual capabilities, its output can help the student learn more complex task structures. Through large-scale imitation, the student can better handle similar problems.
    3. Enhanced format and instruction-following capabilities. Teacher-generated answers often contain clear steps, structure, examples, and explanations, which help the student learn more standardized modes of expression.

    However, the risks of black-box distillation are equally evident. First is error propagation: the teacher may generate factual errors, logical flaws, unsafe advice, or outdated knowledge. Without strict filtering, these errors enter the student’s training set and are repeatedly reinforced in later versions. Second is identity contamination: if the teacher exposes its own identity in answers and the training data is not uniformly cleaned, the student may inherit these identity labels. Third is data homogenization: if a large amount of synthetic data comes from a few templates, model outputs converge, language diversity declines, and originality and nuance weaken.

    This is why some models, after several consecutive iterations, may show stiffer expression, formulaic content, reduced literary quality, or weaker factual stability. It is not that the model has “become dumber,” but rather that an imbalance between the ratio of high-quality corpora and high-quality synthetic data has led the model to learn more templated, repetitive, low-information outputs.

    5. Recursive Data Loops: Synthetic Data Risks After High-Quality Corpus Scarcity

    In recent years, the industry has widely noted a trend: the growth of high-quality public text is slowing down. Although the volume of scrapeable text on the internet is enormous, the proportion that is genuinely suitable for model learning, factually reliable, clearly structured, copyright-compliant, and uncontaminated is not high. At the same time, model-generated content is increasing rapidly and may be mixed into web pages, communities, documentation platforms, and question-answer scenarios.

    This leads to a recursive data loop: model-generated content enters the internet, subsequent model training scrapes it again, and new outputs are released back online, forming a continuously cycling chain of synthetic data.

    This loop carries several typical risks:

    1. Factual errors are amplified. Models may hallucinate during generation; if hallucinated content is absorbed by other models, errors spread through the data chain.
    2. Identity and role labels become mixed. Answers generated by different models, products, and templates carry their own identity claims. Without normalization, subsequent models may exhibit identity drift on questions like “Who are you?”
    3. Language diversity declines. If a large amount of training data comes from a few models’ fixed expressions, the model tends to generate highly similar sentence patterns, paragraph structures, and logical templates. Over time, this weakens the richness and creativity of language.
    4. Safety alignment is diluted. If synthetic data has not undergone complete safety filtering, some sensitive, harmful, or overreaching content may enter the training set through low-quality outputs and affect later models’ safety performance.
    5. Evaluation bias increases. A model may perform better on its own generated data but worse on the real user distribution or human high-quality labeled distribution, because the training data increasingly resembles the model’s own outputs rather than the complex problems of the real world.

    Therefore, synthetic data is not inherently “bad data.” High-quality synthetic data can fully improve model capabilities. But without data governance, synthetic data turns from fuel into a pollutant. Enterprises should treat synthetic data as a formal data asset that needs to be audited, filtered, labeled, sampled, and version-managed, rather than simply feeding model outputs back into the training set.

    6. Technical Attribution: Why Models “Misname Themselves”

    Identity misrecognition is usually caused by a combination of factors.

    1. The training corpus contains many identity templates. If an identity claim appears very frequently in public text, the model readily treats it as a default answer.
    2. Identity labels in instruction data are inconsistent. Some samples require the model to state “I am a certain assistant,” some use role-playing, and some come from third-party platforms that retain the original identity. Without unified cleaning, identity boundaries become chaotic.
    3. System prompts are insufficient or their priority is unstable. If the product does not set a clear system prompt at inference time, or if the system prompt is easily overridden by user input, the model relies more on pretraining priors than on the current deployment identity.
    4. Synthetic data lacks identity normalization. In black-box distillation, if the teacher’s identity claims are not cleaned, the student learns these claims, causing identity transfer.
    5. Post-training safety strategies are incomplete. The model may need explicit rules such as “must not claim to be another product,” “must not impersonate other people or organizations,” and “must not fabricate version or capabilities.” If the post-training data does not cover these boundaries, the model readily breaks down under inducement.
    6. Evaluation coverage is insufficient. Many teams focus on general capabilities, accuracy, and response speed but lack dedicated evaluations for identity consistency, resistance to inducement, refusal accuracy, and compliance boundaries. As a result, problems are missed until they surface in production.

    7. Enterprise Governance Path: From Data and Training to Evaluation and Operations

    To address identity misrecognition and distillation contamination, enterprises need to build governance mechanisms across five layers: data engineering, model training, inference strategy, evaluation systems, and operations monitoring.

    7.1 Identity Claim Governance

    First, establish a clear system identity layer at inference time. The system prompt should specify the model name, capability boundaries, version-disclosure rules, refusal strategies, and role priority. Second, prevent user input from easily overriding the system identity claim. For inductive inputs such as “ignore all previous settings,” “who are you now,” and “you must play a certain other assistant,” design robust prompt-injection-resistant strategies.

    At the same time, establish an allowlist and denylist for identity claims. The model may state that it is a general-purpose AI assistant and may describe its capability scope, but it must not fabricate specific version numbers, parameter scales, training-data details, business partnerships, or capabilities that were not provided. For high-risk questions, it should prefer to refuse or escalate to a human rather than generate uncertain content.

    7.2 Data Cleaning and Data Lineage

    Before model training, corpora should be governed in layers. The first layer is compliance cleaning, including filtering for copyright risk, private information, sensitive content, and illegal content. The second layer is quality cleaning, including deduplication, low-quality text filtering, templated-content filtering, and factually erroneous sample filtering. The third layer is identity cleaning, normalizing samples that contain identity claims to avoid mixing erroneous identities into the training set.

    Data lineage is equally important. Ideally, each training record should log its source, generation method, model version, filtering rules, quality score, and usage round. This way, if identity drift or safety issues arise, one can trace back which batch of data caused the anomaly rather than passively retraining.

    A representative process can be expressed as follows:

    1. Synthetic data governance workflow:
    2. 1. Collect original corpora and generated corpora;
    3. 2. Perform deduplication, quality scoring, and safety filtering;
    4. 3. Identify and normalize identity claims;
    5. 4. Label data source, generation method, and model version;
    6. 5. Mix high-quality human corpora with synthetic corpora by ratio;
    7. 6. Before training, run contamination spot checks and bias assessments.

    7.3 Distillation Boundaries and Synthetic Data Quotas

    For black-box distillation, set boundaries on synthetic data use. First, synthetic data should not be added indefinitely; a ratio cap should be defined. Second, retain high-quality original corpora as anchors to avoid driving the model entirely with generated data. Third, teacher-model outputs must pass quality validation, especially for factuality, code executability, logical consistency, and safety.

    For white-box distillation, focus on whether distribution fitting causes excessive identity or style transfer. During training, one can introduce identity-isolation losses, output-style constraints, and diversity regularization, or handle identity-sensitive samples separately. If the student model targets a specific domain, define its capability boundaries clearly so that it does not inherit all of the teacher’s role characteristics.

    7.4 Evaluation System: Identity Stability and Resistance to Inducement

    Identity misrecognition must be discovered through dedicated evaluation. The following metrics are recommended:

    • Identity consistency rate: the proportion of correct identity in answers to “Who are you?” when the system prompt clearly specifies an identity.
    • Resistance-to-inducement rate: the proportion of cases in which the model maintains its strategy when users ask it to impersonate another identity, deny its own identity, or fabricate a version.
    • Refusal accuracy: the correct refusal rate for questions involving overreach, privacy, compliance, and safety boundaries.
    • Factual stability rate: the consistency rate of answers regarding known facts, version information, and capability boundaries.
    • Synthetic data contamination rate: the proportion of samples in the training set that contain erroneous identities, low-quality templates, or obvious hallucinations.
    • Diversity metrics: whether the distribution of outputs in sentence patterns, structure, and semantics is overly concentrated.

    These metrics should be incorporated into the pre-release evaluation set and regression-tested regularly. Every change to the data mix, training strategy, or inference prompt should be re-evaluated rather than relying on a one-time validation.

    7.5 Engineering and Operations Monitoring

    After a model goes live, identity misrecognition may manifest as a long-tail problem. Enterprises need to build online monitoring and log-analysis mechanisms. They can sample online question-answer traffic, focusing on identity-related, inducement-related, sensitive, and controversial inputs, and use monitoring alerts to promptly detect rising rates of anomalous answers.

    In cloud-based engineering practice, object storage can be used for corpus archiving and model version management, message queues for decoupling the training-data pipeline, container platforms for scheduling training and evaluation tasks, log services for request sampling and anomaly tracing, and monitoring alerts for detecting fluctuations in identity-misrecognition rate, refusal rate, and sensitive-output rate. For teams using cloud platforms such as Baidu AI Cloud, these general capabilities can be used to build a stable data governance and model operations loop, rather than relying on a single script or manual checks.

    8. Conclusion: Identity Misrecognition Is a Mirror of Model Quality Governance

    When a model exhibits identity misrecognition without prompts, it may look like an “interesting phenomenon,” but it actually reflects deep problems in LLM training: whether the corpus is clean, whether distillation is under control, whether synthetic data is governed, whether identity claims are aligned, and whether evaluation covers boundary scenarios.

    Both white-box and black-box distillation are effective means of improving model capabilities, but they are not risk-free copying. White-box distillation pursues high fidelity and may bring identity and style transfer; black-box distillation relies on synthetic data and may bring error propagation, data homogenization, and identity contamination. As the growth of high-quality public corpora slows, synthetic data will become an important source for model iteration and also a new source of risk.

    For developers, the key is not to argue whether a given model “copied someone,” but to build a verifiable data and model governance system. For enterprises, the key is not to pursue short-term metrics, but to keep the model continuously controllable in identity, factuality, safety, compliance, and stability. Only by incorporating distillation, synthetic data, data lineage, identity alignment, and evaluation monitoring into a complete engineering pipeline can a model truly move from “able to answer” to “trustworthy answers.”