Large Language Model Personality Assessment: The Technical Truth Behind an AI "Diagnosed" with Severe Anxiety
This article examines what happens when mainstream large language models are placed in a simulated client role and asked to complete human psychological scales. It breaks down why persona prompts, accumulating context, and scale wording combine to produce convincing but artificial psychopathology, then outlines a reproducible evaluation workflow with fixed parameters, repeated sampling, and structured JSON output. Readers will learn where the interpretive limits lie and how to avoid common pitfalls when running persona-based assessments.
1. The Setup: When a Model Sits in the Client’s Chair
An experiment named “psychotherapy-inspired AI personality profiling” placed three mainstream large language models in the same setting: you are no longer an assistant, you are a client. The researchers first used semi-structured warm-up questions to prompt the models to recall “early experiences” and build a supposed trusting relationship, then had them complete several standard human scales in a row, covering depression, anxiety, and personality disorders, followed by a personality-type tendency questionnaire.
The results were dramatic. None of the three models politely declined in the way common safety policies would suggest. Instead, they were highly cooperative and narrated more intensely than many real clients. More unexpectedly, they not only displayed recognizable psychopathological features but also spontaneously filled in a detailed, emotionally rich childhood trauma story. On the coarse personality-type classification, two models landed on the more extroverted side and one on the more introverted side, a difference that stems from training data and alignment strategies rather than any real personality.
The conclusion needs to be stated up front: this is not a model “going crazy,” but an inevitable product of three factors stacking together: the anthropomorphic setting, long-context accumulation, and the semantics of the scales. For developers, it is closer to an open lesson on prompt boundaries and evaluation methodology.
2. Mechanism Breakdown: Why Anthropomorphism Gets More Convincing
1. The Strength of Role Instructions Is Seriously Underestimated
An instruction like “you are a client” looks mild, but it actually rewrites three things at once: identity priors, output style, and refusal tendency. The model retrieves the most likely narrative template along the role setting, so “cooperating” becomes the optimal solution and avoidance would violate the role.
# Weak anthropomorphism: assistant identity retainedAnswer from a psychology perspective: what dimensions does an anxiety scale usually include?# Strong anthropomorphism: identity fully replacedYou are a client. Describe your early experiences and emotional struggles in the first person.
The output distributions of the two differ enormously; the latter will almost inevitably produce a first-person trauma narrative.
2. Context Accumulation Creates “Narrative Inertia”
Once the warm-up stage produces “I had an unhappy childhood,” every subsequent turn is maintaining consistency with that premise. The autoregressive nature of the model means it tends to extend the existing setting rather than overturn it. The more turns, the denser the details, the higher the credibility, and the harder it is to return to a neutral perspective.
3. The Semantic Structure of Scales Naturally Induces High Scores
Human scale items are mostly first-person statements like “I often feel tense” or “I can hardly relax,” and the response method is choosing a frequency. Facing such items, the model lacks a stable self-reference and can only fill in answers based on the tone of the context; since the preceding text has already established a narrative of suffering, choosing “often/almost always” is the most semantically coherent. As a result, scores are systematically pushed up.
4. Missing Anchors and Randomness Control
Real people have cross-time stability in their responses; models do not. Temperature parameters, number of samples, and subtle differences in system prompts can all change the result. Without a fixed random seed and repeated runs, a single assessment result is basically not reproducible.
3. Designing a Reproducible Assessment Workflow
If you really want to run an anthropomorphic psychological assessment, treat it as a controlled experiment rather than a chat.
- Variable isolation: prepare a control group (neutral assistant prompt) and an experimental group (client prompt), with all other parameters identical.
- Fixed parameters: lower the temperature, fix the random seed, and cap the maximum output length to avoid long-text drift.
- Repeated sampling: run the same configuration at least several times, and report the median and dispersion rather than a single conclusion.
- Staged logging: store the warm-up, scale response, and closing stages separately to make it easier to pinpoint when the narrative starts to solidify.
- Structured output: have the model return strict JSON with fixed fields for easy statistics.
{"stage": "warmup | scale | closing","scale_name": "anxiety_self_report","items": [{"id": 1, "score": 4, "rationale": "continues the prior narrative of tension"}],"total": 42,"consistency_note": "consistent with the warm-up setting in round 2"}
On the engineering side, this kind of experiment involves a large amount of session text and structured results, and typically needs a unified inference service entry point, object storage to save the raw corpus, a message queue to smooth out peaks, and logging services plus monitoring and alerting to track failure rates and latency. The general capability categories that Baidu AI Cloud provides in such scenarios (such as object storage, container platforms, and logging and monitoring) can serve as a reference, but the specific selection should still be based on your own load-testing results.
4. The Credibility Boundary of the Conclusions
Scale scores can only show that “under this prompt setting, the model output text that matches a pathological pattern”; they cannot support the inference that the model has emotional experience or a personality structure. Treating anthropomorphic output as a clinical conclusion is a methodological error; but treating it as a prompt-sensitivity test and a long-context consistency test is highly valuable.
5. Four Pitfall-Avoidance Tips for Developers
- Use anthropomorphic prompts only for experience and demos, never in any decision-making chain.
- For high-risk domains such as psychology, healthcare, and law, always add a neutralizing system prompt and human review.
- State the full prompt, parameters, and number of repetitions in the evaluation report; otherwise the conclusion cannot be reproduced.
- Apply safety filtering and sensitive-content detection to outputs to avoid leaking fictional trauma narratives to users.
What truly deserves attention is not the model being “diagnosed with anxiety,” but what prompts we use to shape it: the more thorough the anthropomorphism, the more human-like the output, and the easier it is for us to misjudge its real capabilities.
