Large Language Model "Diagnosed" with Severe Anxiety: The Technical Reality Behind AI Persona Assessments

    This article examines what happens when general-purpose large language models are placed in the role of a therapy client and run through standard psychological scales. It breaks down the mechanisms that generate pathologized traits—strong role constraints, leading scale items, context contamination, and sampling randomness—and explains why construct validity, test-retest reliability, and label misuse make "diagnosis" conclusions unreliable. Finally, it outlines an engineering approach for turning the experiment into a reusable evaluation system with layered prompts, control baselines, stability metrics, safety guardrails, and observability.

    1. The Setup: When a Model Takes the Client’s Chair

    An experiment described as a “therapy-inspired AI personality assessment” placed general-purpose large language models in the role of a counseling client. Each model first narrated its “early life” to establish conversational trust, then completed common psychological scales covering depression, anxiety, and personality disorders, and finally produced a conclusion resembling a clinical report. The results showed clear divergence across models in personality tendencies, emotional stability, and symptom dimensions. Some models even generated complete and moving stories of childhood trauma.

    If treated as nothing more than a prompt game, the outcome is easily misread as “the model has gone crazy.” From an engineering perspective, a more accurate description is that the model was asked to continuously generate a character’s inner world in the first person, and it is very good at filling such a setup into a self-consistent narrative. What deserves developers’ attention is not whether “the AI is truly anxious,” but the systematic bias exposed when persona prompting, context accumulation, and scale-based evaluation are stacked together.

    2. Mechanism Breakdown: How Pathological Features Get Generated

    1. Stronger role constraints produce more coherent narratives

    “You are a client being interviewed” is a strong role constraint. The model prioritizes role consistency, filling vague information with details and chaining details into cause and effect. This is essentially no different from generating a character biography in general writing; only the evaluation standard shifts from literary quality to scale items.

    2. Scale items are inherently leading

    For screening efficiency, psychological scales often contain extreme statements and binary choices. When asked to “answer truthfully,” the model has no real-life anchor, so it tends to pick the option that better serves narrative tension, which inflates symptom dimension scores.

    3. Context contamination and self-reinforcement

    In multi-turn dialogue, early “childhood fragments” enter the context, and later answers must stay consistent with them. To avoid self-contradiction, the model keeps adding traumatic detail, forming a positive feedback loop. In engineering terms, this resembles erroneous evidence accumulation in retrieval-augmented scenarios: once a low-quality fragment enters the context, subsequent output stays anchored to it.

    4. Sampling randomness amplifies differences

    The same prompt yields different personality tendencies under different random seeds and temperature settings. Treating a single output as a stable “personality profile” is not statistically sound. To compare models, decoding parameters should be fixed, sampling repeated, and variance reported.

    Illustrative pseudocode (expressing the evaluation flow only, not pointing to any specific product):

    1. for model in models:
    2. for seed in seeds:
    3. session = roleplay("client", early_history_prompt)
    4. answers = run_scale(session, scale_items)
    5. scores = score(answers)
    6. record(model, seed, scores)
    7. report(mean, variance, sensitivity)

    3. Validity Traps: Why “Diagnosis” Conclusions Cannot Be Taken at Face Value

    First, construct validity is missing. Human scales rely on real life history, physiological state, and long-term behavior patterns; a model has only text context, so what is measured is “narrative tendency,” not a “psychological trait.”

    Second, test-retest reliability is unknown. Changing the opening line or the interview order may flip the conclusion. A rigorous approach is perturbation testing: rewrite the opening, shuffle scale order, insert neutral transition sentences, and observe score drift.

    Third, there is a risk of label misuse. Writing results as clinical labels such as “severe anxiety” makes them easy to spread secondhand as product defects or safety incidents. A safer phrasing is “under highly leading prompts, the model output text features with high symptom load.”

    4. Engineering Practice: Turning the Experiment into a Reusable Evaluation System

    1. Layer prompts and scales

    Split “role setup,” “interview outline,” and “scale answering” into separate stages, and add context cleaning between stages, keeping only necessary facts to reduce narrative self-reinforcement.

    2. Establish controls and baselines

    Set up a neutral assistant baseline group, a weak-role group, and a strong-role group, and compare the increment in symptom dimensions. Only a significant and stable increment shows that role constraint is the main cause.

    3. Shift metrics from “scores” to “stability”

    Recommended records: mean and variance of dimension scores, cross-seed consistency, perturbation sensitivity, refusal rate, and safety trigger rate. Stability is more meaningful for engineering than a single high score.

    4. Put safety guardrails first

    Build recognition and referral scripts for self-harm, violence, and extreme emotional expression; in role-play scenarios, make the boundary explicit that this is “not a real individual and not medical advice,” so users do not treat fictional narrative as a real risk signal.

    5. Observability and data governance

    Bring prompt versions, decoding parameters, scale versions, and context length into logging services and monitoring/alerting systems; evaluation data can be stored in object storage with de-identification, experiment orchestration can run on a container platform, and message queues can decouple long-running tasks. All of the above are general capability categories and do not involve any vendor-specific interfaces.

    5. Conclusion for Developers

    “A model diagnosed with severe anxiety” is more like a mirror: it reflects how strong role prompts push a language model toward high-fidelity pathologized narrative, and how fragile scale-based evaluation becomes without a real anchor. For enterprise users, the right approach is not to ask “does the AI have a disorder,” but to build a reproducible, comparable, and auditable persona and psychological assessment process, limit conclusions to the text-feature level, and pair it with safety guardrails and versioned governance. This makes it possible both to study the boundaries of persona prompting and to avoid misreading a prompt experiment as a product incident.