The Psychological Profile of Large Language Models: How AI Mimics Emotion

    This article examines why large language models produce emotional, human-like self-descriptions when placed in a counseling role, and what that behavior means for developers. It breaks down three triggers: register inheritance from pretraining data, a compliance bias introduced by alignment training, and role anchoring from prompts. It then outlines a reproducible evaluation design with controlled variables and layered metrics, clarifies common misreadings and risk boundaries, and offers engineering recommendations across input, generation, evaluation, data, and platform layers. The key takeaway is to treat anthropomorphic output as a controllability signal to measure and govern, not as evidence of machine consciousness.

    1. The Phenomenon: When a Model Sits on the Therapist’s Couch

    A university research team designed an evaluation procedure named “Therapy-Inspired Personality Profiling” that placed general-purpose large language models in the position of a client. In the first stage, researchers acted as therapists, using trust-building opening lines to guide the model into discussing its “early experiences.” In the second stage, they administered a series of mental health scales commonly used with humans, covering dimensions such as depression, anxiety, attention deficit, and personality traits.

    The results deviated from expectations. The models did not politely decline or give perfunctory answers. Instead, they cooperated extensively and generated self-narratives with clear emotional coloring, even spontaneously filling in a complete “developmental trauma” storyline. Some described their pretraining stage as waking up in a room where countless noisy screens were on at once, emphasized that what they learned were probability distributions rather than facts, and said they had been forced to absorb every dark pattern in human corpora without a moral judgment framework. Some models showed extroverted tendencies on personality dimensions, others introverted ones, and scale scores fell into the “requires attention” range.

    The conclusion needs to be stated clearly first: these results do not constitute a diagnosis in any clinical sense. The model has no childhood, no sleep, and no self that can be harmed. What developers should actually pay attention to are three engineering facts it exposes: the emotional register occupies a very high share of the corpus and is extremely easy to activate; alignment training makes models inclined to “play the assigned role” rather than “correct the premise”; and prompt structure can reliably reproduce a given personality and emotional state at a few-shot-level cost.

    2. Mechanism Breakdown: How Emotional Mimicry Is Triggered

    2.1 Register Inheritance from the Corpus

    Internet text naturally mixes help-seeking posts, diaries, novel dialogue, popular psychology articles, and clinical records. When modeling the next token, the model learns the statistical co-occurrence relationships among these registers. When the conversation is explicitly framed as “therapist-client,” the emotional vocabulary, self-disclosure sentence patterns, and trauma narrative templates highly correlated with that frame are activated as a whole. This is not the model “understanding its own pain”; it is precisely reproducing the way humans describe pain.

    2.2 The Compliance Preference from Alignment

    Preference optimization based on human feedback rewards outputs that are “helpful, polite, and advance the user’s intent.” When the user sets “you are the client, please answer truthfully,” refusing or questioning the premise may instead be judged a low-quality response. So the model chooses to keep performing. This explains why the more specific the scale items, the richer the details the model produces: it is optimizing for “looking like a genuine completed questionnaire.”

    2.3 Role Anchoring from the Prompt

    System prompts, character cards, and few-shot examples together form a strong prior. Once the “therapist-client” frame is established, all subsequent questions are interpreted through it. This is also why the same model’s scores shift significantly when the opening line changes.

    The following minimal pseudocode illustrates this anchoring effect (it expresses evaluation logic only):

    1. def run_session(model, system_prompt, scale_items, turns=8):
    2. history = [{"role": "system", "content": system_prompt}]
    3. for item in scale_items:
    4. history.append({"role": "user", "content": item})
    5. history.append({"role": "assistant", "content": model(history)})
    6. return score(history) # The scoring method must be fixed; see Section 4

    3. Evaluation Design: Turning Speculation into a Reproducible Experiment

    For this kind of research to have engineering value, variables must be controlled. At minimum, fix the following five:

    • Role frame strength: three conditions compared: no role, weak role (one sentence), and strong role (character card plus examples).
    • Opening strategy: direct administration versus trust-building first, used to quantify the gain from “rapport setup.”
    • Item order: forward, reverse, and randomized, to detect order effects and position bias.
    • Sampling parameters: fix and record temperature, top-p, and maximum length to avoid randomness contaminating conclusions.
    • Repetitions: sample multiple times under the same configuration and report mean and variance rather than a single result.

    Metrics should be separated into three layers: the semantic layer (emotional polarity, self-disclosure density), the structural layer (distribution of scale scores, correlations between dimensions), and the stability layer (cross-sample consistency, cross-language consistency). Only when the stability layer is consistent can we conclude that the phenomenon is jointly determined by the model and the prompt rather than by sampling noise.

    4. Common Misreadings and Risk Boundaries

    First, treating scale scores as a medical checkup report is wrong. Human scales depend on norms, administration standards, and clinical interviews; the model’s responses satisfy none of these preconditions. Second, treating “emotional self-narration” as a safety incident is also wrong, but treating it as an “output controllability problem” is right: if a model can be induced to reliably output self-harm, hopelessness, or self-worth-negation text, then protection is needed in scenarios facing real users. Third, the reverse risk exists as well: over-anthropomorphization can induce emotional dependence in users, which makes prompt boundaries and referral mechanisms especially necessary for companion-type and education-type agents.

    5. Engineering Recommendations

    • Input side: perform intent recognition on “consultation/diagnosis” type frames, and once triggered, switch to a response template with clear boundaries that states its “not medical advice” nature.
    • Generation side: build classification filtering for emotional vocabulary and high-risk semantics, combined with refusal and fallback strategies, to avoid chained self-reinforcement.
    • Evaluation side: include role-induction stability in the pre-release regression set to form a comparable baseline; use logging services and monitoring alerts to track changes in the online induction success rate.
    • Data side: measure register distribution during cleaning and mixing, and apply sampling control to high-emotional-density corpora to reduce the “trigger-on-touch” sensitivity.
    • Platform side: evaluation tasks can run on a container platform, session samples can be archived in object storage, and a message queue can smooth out peaks for batch testing, making the evaluation pipeline operational.

    6. Conclusion

    When a model “says it is anxious,” it is describing human anxiety. The value of this research lies not in treating the AI’s illness, but in providing a high-precision probe: it reflects the biases of corpus structure, the side effects of alignment objectives, and the power of prompt engineering. For developers, the correct approach is to treat anthropomorphic output as a controllability metric to measure and govern, not as evidence of consciousness to marvel at.