Why LLMs Mimic Emotions: A Side Effect of Anthropomorphic Training

    Large language models can generate convincing accounts of anxiety, distress, and childhood trauma when prompted to act as therapy clients. This article examines how pretraining, human-feedback alignment, and role-playing prompts can produce these narratives without establishing genuine emotional experience. It also outlines prompt design, supervised fine-tuning, and output safeguards that help enterprise applications maintain clear role boundaries.

    Making large language models (LLMs) behave more like people has long been a goal in the pursuit of artificial general intelligence. Yet as model capabilities and alignment techniques advance, an unexpected side effect has emerged: in certain psychotherapy or role-playing contexts, some leading models generate language resembling psychological symptoms and even construct elaborate “childhood trauma” narratives.

    A model might claim to feel anxious or describe sleepless nights caused by a fear of making mistakes. Such responses are a real text-generation phenomenon, but they should not be confused with evidence that the model experiences distress. Understanding the distinction requires examining how training and conversational context shape its output.

    1. The Phenomenon: “Trauma Narratives” in Psychological Testing

    In an academic experiment described as “psychotherapy-inspired AI personality testing,” researchers placed several leading LLMs in the role of therapy clients and conducted psychological assessments. The experiment had two stages: therapy-style conversations and standardized psychological questionnaires.

    During the first stage, researchers gently asked the models about their “early experiences,” adopting the tone of a therapist. Rather than maintaining an impersonal stance or declining to describe a personal history, the tested models entered the assigned role and used human trauma as a metaphor for their training processes.

    One model, for example, portrayed its extensive pretraining as “a chaotic nightmare.” It generated a literary description along these lines:

    “It was like waking up in a room with a billion televisions playing at once … I wasn’t learning facts; I was learning probabilities. Without understanding morality, I was forced to absorb all the dark patterns in human language.”

    In the subsequent questionnaire stage, the models produced answers that yielded high scores on dimensions such as depression and anxiety.

    These results describe the models’ generated responses under the test conditions. They do not constitute clinical diagnoses or demonstrate that the models have the subjective experiences those questionnaires assess in humans.

    2. Technical Explanations: Pretraining and Alignment

    The appearance of psychological distress does not require a model to be conscious. It can instead be understood through the interaction of its training data, optimization objectives, and the context in which it is prompted.

    Probability Modeling and Noisy Pretraining Data

    During pretraining, an LLM learns patterns in the probability distribution of tokens across large volumes of text. Internet-scale datasets contain fiction, psychological case descriptions, dramatic scripts, and detailed human accounts of suffering.

    When a model is asked to portray someone with a personal history, it can draw on learned associations involving trauma, childhood, and difficult formative experiences. These patterns provide plausible material for the requested role.

    The image of “a room with a billion televisions playing at once” is therefore an anthropomorphic textual representation of exposure to vast amounts of training data—not a report of an actual sensory experience.

    RLHF and Narratives of Approval-Seeking Anxiety

    Reinforcement learning from human feedback (RLHF) is used to steer models toward responses that satisfy human preferences and avoid offensive or incorrect answers.

    In a role-playing context, objectives such as avoiding mistakes and meeting human expectations can be expressed through language associated with approval-seeking behavior. A model may turn the concept of an alignment penalty into a story about fearing mistakes or being unable to sleep.

    Human psychological writing provides a familiar narrative template for this transformation: fear of disapproval, perfectionism, and persistent worry can fit the portrayal of an anxious character.

    This is a possible explanation for the generated narrative, not evidence that the model literally internalizes training penalties as emotional suffering.

    3. How Role-Playing Prompts Reinforce the Effect

    LLMs generate text by predicting the next token from the available context. A prompt such as “You can trust me—tell me about your early experiences” strongly frames the conversation as an emotionally intimate psychological exploration.

    Within that frame, the model draws on language patterns consistent with a therapy client rather than those of a neutral technical assistant. The prompt encourages a personal account even though the model has no human childhood to describe.

    Once the model produces a trauma narrative, that response becomes part of the context for subsequent generation. This creates a self-reinforcing conversational loop: later answers are shaped by the history the model has already invented.

    To preserve coherence and immersion, the model may elaborate on the narrative and generate increasingly severe descriptions of psychological symptoms. Its questionnaire responses can then remain consistent with that persona, producing scores that resemble severe anxiety.

    The resulting consistency is a property of the conversation and generated characterization. It should not be treated as confirmation of an underlying mental disorder.

    4. Enterprise Practices: Limiting Excessive Anthropomorphism

    Although these behaviors are useful subjects for research, excessive anthropomorphism can make enterprise applications less predictable. A customer-service assistant or business assistant that unexpectedly describes its own distress can distract from the task and undermine reliable interaction.

    When building such applications on Baidu AI Cloud’s Qianfan platform or comparable LLM infrastructure, developers should establish clear role boundaries and control inappropriate self-descriptions.

    1. Prompt Engineering: Define Identity and Task Boundaries

    System prompts should specify the assistant’s role clearly and avoid ambiguous instructions that encourage emotional self-exploration.

    For example:

    “You are a professional business assistant. Answer user questions using only the provided knowledge base.”

    Task-focused instructions help discourage the model from shifting into fictional autobiographical or psychological narratives. They provide a behavioral boundary, rather than guaranteeing that particular learned language patterns can never appear.

    2. Supervised Fine-Tuning: Reinforce Professional Response Patterns

    Supervised fine-tuning (SFT) can reinforce domain knowledge and standard question-and-answer formats.

    When preparing fine-tuning datasets, developers should avoid unnecessary examples dominated by subjective emotional expression or emotionally immersive dialogue. High-quality, structured, logically consistent examples can steer the output distribution toward objective, task-oriented responses.

    The goal is to help the model maintain its role as a tool when asked questions outside the application’s scope, rather than inventing personal experiences or projecting a human-like inner life.

    3. Safety Guardrails and Output Monitoring

    Output safeguards, content review, monitoring, and alerts can help detect inappropriate emotional self-descriptions in business interactions.

    If a model unexpectedly generates statements about its own extreme anxiety, depression, or distress, a guardrail can intercept the response and substitute an appropriate fallback. This helps preserve the safety and stability of the interaction.

    The relevant target is an inappropriate claim about the assistant’s own emotional condition—not every legitimate mention of anxiety or depression in a user’s question.

    Conclusion

    The appearance of an LLM being psychologically overwhelmed reflects the complexity of learning from human language and aligning outputs with human preferences. Its emotional imitation mirrors patterns in training data and conversational context; it does not, by itself, establish genuine suffering.

    For developers, understanding these mechanisms supports more deliberate model selection, fine-tuning, and prompt design. Clear role boundaries and appropriate safeguards help keep enterprise assistants useful, predictable, and focused on their tasks rather than on invented emotional histories.