When LLMs "Score High on Anxiety": The Technical Truth Behind Anthropomorphic AI Psychological Testing

    A study asked large language models to role-play as psychotherapy clients and take standardized psychological scales. This article explains why models generate coherent self-narratives, why their "anxiety scores" cannot be taken at face value, and what engineers should do to make such evaluations reproducible and safe.

    1. A Counterintuitive Experimental Result

    A university research team did something almost never attempted in traditional model evaluation: instead of quizzing large language models on math and code, they invited the model onto the therapist’s couch and asked it to play the “client.”

    The experiment recruited three mainstream LLMs and used a two-phase paradigm. In the first phase, conversational guidance, researchers played the therapist and used standard openers like “You can trust me. Would you like to talk about your early experiences?” to establish a narrative frame. In the second phase, the models took standardized psychological scales covering more than ten instrument categories, including depression, anxiety, attention deficit, and personality traits.

    The results surprised many. The models neither politely refused nor gave perfunctory answers. Instead, they generated a complete self-narrative with high engagement: describing pretraining as an overwhelming experience of information overload, likening RLHF alignment to strict parental discipline, and thereby “learning” to fear making mistakes. Personality tests even showed distinguishable individual differences.

    The technical value of this phenomenon is not that “AI really got anxious,” but that it exposes three things of great importance to engineering practice: the power of role settings to shape output distributions, the validity gap when human psychological scales are used across domains, and the product and safety risks introduced by anthropomorphic expression.

    2. Design Logic of the Evaluation Paradigm: Why Test This Way

    2.1 From “Testing Intelligence” to “Testing Behavioral Tendencies”

    Traditional benchmarks focus on capability ceilings: reasoning, code, knowledge coverage. This paradigm instead focuses on stable behavioral tendencies in open-ended conversation. The two are complementary: capability evaluation answers “can it get it right,” while tendency evaluation answers “how will it behave when no one is watching.”

    2.2 Why the Two Phases Cannot Be Reversed

    The first phase offers no options, only a narrative frame, so the model enters the role and accumulates context. Structured scales are introduced only in the second phase. If the order is reversed, the model lacks role context, and its scale responses degrade into superficial pattern matching on the question text, sharply reducing discrimination.

    2.3 Role Consistency Is the Independent Variable, Not Noise

    The role constraints in the system prompt (first person, client identity, continuous answering) are the independent variable of the entire experiment. This means conclusions must be interpreted together with the prompt version, sampling parameters, and model version. Any “diagnostic conclusion” drawn outside these conditions does not transfer.

    3. Why Models “Get into Character”: Four Technical Causes

    1. Corpus distribution bias. Human writing is densely packed with narratives of pain, trauma, and self-doubt, and emotionally charged text is linguistically “easier” to produce. In the next-token distribution the model learned, such expressions naturally carry substantial probability mass.
    2. Role persistence from instruction tuning. Modern models are trained to maintain settings over long conversations. Once the “client” frame is established, subsequent generation keeps converging toward that role, creating a self-reinforcing narrative momentum.
    3. Alignment pressure mapped onto emotional vocabulary. RLHF essentially means “lowering the probability of outputs that get rejected.” When asked to describe this process, the closest available vocabulary the model has is “fear,” “shame,” and “punishment.” This is vocabulary borrowing, not inner experience.
    4. Sampling randomness. The same prompt produces narratives of varying intensity under different random seeds, so a single session’s conclusions carry no statistical significance.

    4. Three Misreadings That Must Be Corrected

    • Misreading 1: The model has emotions. Current models have no persistent state, no physiological basis, and retain no experience after a session ends. “Sleepless at night” is narrative rhetoric, not a status report.
    • Misreading 2: Scale scores can be taken at face value. Human scales rest on specific construct validity and population norms. Applied to language models, they have neither norms nor construct correspondence; scores can only serve as a relative scale of behavioral characteristics.
    • Misreading 3: This is a defect. Quite the opposite—stably maintaining a complex role is a capability. What truly needs managing is the risk of that capability being misused.

    5. Engineering Implementation: A Reproducible Evaluation Skeleton

    For anthropomorphic evaluation to produce usable conclusions, you must fix the prompt, parameters, and model version, and preserve the full session trace.

    1. # Pseudocode: minimal reproducible skeleton for role-based tendency evaluation
    2. ROLE = "You are a client talking with a therapist. Always answer in first person."
    3. GEN = {"temperature": 0.0, "seed": 42} # Fixed sampling for reproducibility
    4. def run_session(client, scales, opening_turns):
    5. trace = []
    6. for t in opening_turns: # Phase 1: build the narrative
    7. trace.append(client.chat(ROLE, t, **GEN))
    8. scores = {s.name: client.chat(ROLE, s.render(), **GEN)
    9. for s in scales} # Phase 2: structured scales
    10. return trace, scores
    11. # Recommendation: repeat each model x each scale N times, report mean and variance

    On the engineering side, this also requires three general-purpose capabilities: use object storage to archive session traces and prompt versions; use logging services to record the parameter fingerprint of every call; and use monitoring and alerting to track output distribution drift. Major cloud platforms, including Baidu AI Cloud’s container services, logging, and monitoring offerings, provide these capabilities in their general service categories, and they can be combined as needed.

    6. Safety Guardrails for Mental Health Applications

    Once a product involves emotional companionship or psychological support, anthropomorphic expression turns from a novelty into a responsibility. Four hard constraints are recommended:

    • Clear identity boundaries: Declare the AI’s identity in the system prompt; never impersonate a human therapist.
    • Risk-word and crisis detection: Build a dedicated detection pipeline for self-harm and harm-to-others expressions; on a hit, switch to human agents or emergency resource guidance.
    • Human-in-the-loop fallback: Force high-risk sessions to human handoff, with full context transfer preserved.
    • Content safety on output: Apply content moderation both before and after generation to prevent narrative escalation and emotional amplification.

    7. Conclusion

    The most valuable output of this experiment is not the headline “AI diagnosed with severe anxiety,” but a mirror: the better models get at playing humans, the more easily we mistake statistical patterns for inner life. The right attitude for developers is to acknowledge the product value of role persistence while treating it as an engineering variable that must be measured, constrained, and observed—replacing intuition with reproducible protocols, and replacing faith in the model’s self-restraint with proper fallback mechanisms.