Why LLMs Misidentify Themselves: Distillation, Context, and Debugging

    When a large language model answers “Who are you?” as another product, that output is not proof of training source or distillation. This article separates deployment facts, prompt context, and generation behavior; explains how pretraining, post-training, and synthetic data can cause identity mix-ups; clarifies white-box versus black-box distillation; and gives a reproducible investigation path plus identity governance for applications.

    Identity mix-up is an output phenomenon, not proof of training source

    When a large language model answers “Who are you?” by claiming to belong to another model family, a common inference is that it learned the other model’s replies and therefore leaked its training source. That is possible, but the evidence is far from sufficient.

    Separate three questions:

    1. Which model actually handled the request?
    2. What role and identity information did the application give the model?
    3. What self-introduction did the model generate?

    These belong to deployment, context configuration, and text generation. They are not interchangeable.

    The running model is determined by server-side deployment, routing, and versioning. Role identity comes from system instructions, prompt templates, and context. The self-introduction is only conditional generation. Saying “I am another model” does not mean the backend changed, and it does not by itself prove training data provenance.

    For ordinary chat models, self-introduction is not a read of a trusted internal identity field. The model generates text that best matches training patterns and instructions given the current context. The answer can be fluent, explicit, and repeated, and still be wrong.

    Identity mix-up is worth investigating, but the starting point is where the error was produced—not a presumption of who distilled whom.

    No user prompt to role-play does not mean no identity in context

    “No prompt steering” usually only means the user did not ask the model to impersonate another identity. It does not prove the full model input contained no identity-related content.

    A request may pass through: user input → application prompt template → history concatenation → retrieved content → routing → generation → post-processing. Any hop can change the answer.

    1. Residual system instructions or templates

    The app may reuse an old template, or fail to update identity text after a model migration. A leftover “You are …” pointing at a previous role can make the new model adopt the wrong identity.

    Check conflicting templates: a top-level instruction to use the true identity versus a later template that asks the model to mimic some assistant. Position, wording, and how the model was aligned all affect behavior.

    2. History or retrieval contamination

    Earlier turns may include role-play, sample self-introductions, or user corrections. Concatenating them can change how the model interprets the current task.

    RAG has a similar risk. If retrieval includes first-person lines such as “I am such-and-such assistant,” and the app does not mark them as reference only, the model may treat that text as its own role.

    3. Routing vs. UI mismatch

    The model name in the UI need not match the backend that served the request. Canary releases, failover, cache reuse, misconfiguration, and multi-hop proxies can desync display and execution.

    A screenshot usually proves only that the UI showed an answer. It does not prove the full request, actual routing, or training. Reliable checks need server logs—not asking the model again “who are you really?”

    Why training data can cause identity confusion

    Even with correct deployment and context, the model may still emit a wrong identity.

    1. Pretraining learns text patterns, not a registry of facts

    Pretraining typically predicts next tokens and learns language, knowledge, and style. Data may include Q&A logs, docs, role-play, and other assistants’ text.

    If the corpus contains many pairs like:

    “Q: What assistant are you?”
    “A: I am model X…”

    the model may learn that pairing. At generation time, without a stable identity constraint, it may continue with a self-introduction that does not match the deployed product.

    Mixed ordinary data can cause this; targeted distillation of a specific model is not required.

    2. Post-training can strengthen identity consistency, but not guarantee it

    Post-training may include SFT, preference optimization, and other alignment. One goal is more stable instruction following and fewer inappropriate answers.

    Identity can be improved here with identity Q&A, context conflicts, and role-play boundary samples. Limited samples cannot cover all phrasings and combinations. Long context, language switches, citations, or complex role tasks can still mix identities.

    Pretraining vs. post-training should not be simplified as “knowledge only” vs. “rules only.” Both can affect knowledge, style, reasoning, and instruction following; objectives and data distributions differ.

    3. Synthetic data may carry a teacher’s self-description

    If a teacher’s answers become training samples, identity claims, stock openings, and disclaimers may be learned by the student.

    Learning identity text is not the same as proving a specific source. Public pages, shared datasets, and human-written examples can introduce the same strings. One self-introduction usually cannot rule those out.

    White-box vs. black-box distillation

    Knowledge distillation trains a student with signals from a teacher so the student approaches the teacher on some tasks or behaviors. The student may be smaller or differently structured; distillation is not only compression.

    1. White-box: internal training signals

    The trainer can access internals such as output distributions, intermediate representations, or attention-related signals, and match them.

    That is not neuron-level “pixel copy.” Depth, hidden size, and architecture may differ, so trainers often match selected layers, projected representations, or particular distributions.

    White-box work usually needs substantial access, but “must be public open source” is inaccurate. Authorized private access can support it. Public weights also do not imply white-box training was used.

    2. Black-box: observable outputs

    Black-box distillation typically does not use weights or hidden states. Inputs are sent to the teacher; answers, labels, or other observables train the student.

    Such data is often used for SFT and may be used in continued pretraining or other stages; it is not always “more pretraining data.”

    Reasoning traces in the output are visible text, not a full, true account of internal computation. Training on them mainly teaches a problem-solving style and behavior.

    3. Synthetic data is not identical to distillation

    Synthetic data is generated by programs, rules, or models. Distillation transfers capability or behavior via teacher signals.

    Auto-generating a question or a hard case is not necessarily distillation. Training a student on a teacher’s solutions has a clearer distillation character.

    A strong general model may still get value from another model’s domain samples. Capability is multi-dimensional; coverage, task mix, and labeling cost can make data useful. That is technical possibility, not proof that a given party ran such training.

    Three data claims that need correction

    1. “Human data is exhausted” is too absolute

    High-quality, legally usable data for a given objective can be a bottleneck. Public text scale, licenses, duplication, annotation quality, and task fit are different issues and should not be collapsed into “all data is used up.”

    Domain material, real product feedback, human labels, and interactive tasks can still add information if obtained lawfully and handled for privacy and permission.

    2. “Scale is too large to clean” does not hold

    Large-scale cleaning is never perfect, but layered processing can raise quality: dedup, source tags, sensitive-data filters, anomaly detection, quality scores, and sampled review.

    Identity claims can be treated as a special case: detect self-introductions in assistant answers and distinguish necessary technical mentions from unnecessary identity assertions. Deleting every model name can break legitimate technical discussion and comparisons.

    3. “Worse style must be synthetic contamination” lacks causal evidence

    Style can change with training data, post-training preferences, length limits, decoding, templates, and eval targets.

    Synthetic data can amplify templates, errors, and distribution shift, but it can also be validated and used to fill task coverage. Attributing quality drop needs controlled comparison, not a few subjective samples.

    A reproducible investigation flow for developers

    Step 1: Freeze experimental conditions

    Record request time, app version, model config, session state, and available generation parameters. Prefer a new session so history does not leak in.

    Cover direct identity questions, capability descriptions, language changes, and context conflicts—not only one repeated sentence.

    Step 2: Verify the real deployment path

    Check effective routing, fallbacks, cache hits, template versions, and concatenated history. Where permission and privacy allow, save the full message sequence actually sent to the model.

    Identity Q&A does not replace deployment verification. Evidence should be controlled config and server logs.

    Step 3: Repeat tests and compare

    Run each question type multiple times. Count correct, wrong, and uncertain identity answers. When comparing versions, keep prompts, context, and sampling as aligned as possible.

    Sketch:

    1. For each test condition:
    2. Create a new session
    3. Load a fixed template
    4. Submit identity test questions
    5. Save request config and raw answers
    6. Classify identity in the answers
    7. Summarize anomaly rates and sample-review

    Automatic classifiers may misread quotes or negations. Do not only count keywords; decide whether the text is a self-identity claim.

    Step 4: Locate the issue from evidence

    If only one template fails, inspect app config first. If only retrieval triggers it, inspect document boundaries. If server records disagree with the UI name, fix the serving path. If mix-up persists across settings, evaluate the model’s identity consistency.

    Even then, you usually have a behavior defect. Claiming a specific training source still needs provenance records, training audit, or other independent evidence.

    Enterprise apps should treat trusted identity as a system concern

    Do not rely on freely generated self-introductions for critical identity. Model name, version, and operator should come from controlled config or server metadata and be shown deterministically by the app.

    Four governance layers help:

    • Instruction governance: Unify identity wording and bound role-play versus true identity.
    • Data governance: Keep source and license records; review identity text in synthetic data.
    • Eval governance: Put identity consistency in regression tests, including long context, language switch, and RAG.
    • Release governance: After model, template, or routing changes, check display versus actual execution.

    If you post-process outputs, treat that as a presentation-layer guard, not proof the model improved. Keep raw outputs in evaluation or you hide the underlying issue.

    Conclusion

    A model “getting its identity wrong” most directly shows that generative answers are not reliable proof of deployment. Context, training samples, post-training constraints, and the serving path can all be involved; distillation is only one possible explanation.

    Judgment should follow evidence: confirm the output, then context and deployment, then stability via repeated tests, and only then discuss training source. For developers, putting trusted identity in system config and identity behavior in ongoing eval is more useful than inferring complex training relationships from a single self-introduction.