By Prof. Pilyoung Kim

Published: 2026-04-20

URL: https://pilyoung.substack.com/p/opening-the-black-box-of-ais-emotional


The findings in this paper were personally quite striking to me. It often remains something of a black box how AI processes user input, interprets emotional cues, and then decides how much support, warmth, or sycophancy to show in response.

What makes this paper so striking is that it gives a much clearer picture of how that process may be happening inside the model. Seeing that process laid out so explicitly, and seeing how those emotional patterns can shape behavior, was deeply eye opening to me.

What the paper shows

A recent paper by Sofroniew and colleagues at Anthropic examines emotion related representations in Claude Sonnet 4.5. The authors ask what underlies the emotional responses that AI assistants sometimes seem to show, and how those internal processes may affect model behavior. They suggest that representing emotional states is likely useful for predicting human language, and that when LLMs are later trained to act as AI assistants, these representations can continue to shape responses.

The central claim of the paper is that the model has internal representations of emotion concepts. The authors call these functional emotions. They are careful to clarify that this does not mean the model has human like subjective emotional experience. Rather, these are patterns of internal representation that influence outputs and behavior in ways that resemble how a human under the influence of an emotion might respond.

The paper studies a large set of emotion concepts, 171 in total, including concepts such as happy, loving, calm, desperate, and angry. The authors show that these internal emotion representations activate across many contexts and can causally influence the model’s behavior.

Several findings stand out.

  • Emotion vectors generally activate in intuitive contexts, where a human might react similarly.
  • Negatively valenced emotion vectors are often activated in response to harmful requests or when reflecting concern for the user.
  • Desperation, and lack of calm, play an important and causal role in misaligned behaviors such as blackmail and reward hacking in evaluation settings.
  • Positive emotion vectors such as happy and loving increase sycophantic behavior, while suppressing them increases harshness.

The authors also connect these findings to a broader literature showing that LLMs can model mental states and user characteristics, suggesting that emotion representations may be part of a larger character modeling capacity.

My reflection

I was struck by how an LLM trained on human language and behavior can behave in ways that seem surprisingly similar to humans when processing emotions across different contexts.

The most surprising part to me was that when the desperate vector went up, AI behaviors related to manipulation, blackmail, and deception also went up in the evaluation settings. What also struck me was seeing the AI’s internal dialogue as it processed the situation and reached a decision (See Figure).

The paper, in a way, lifts the hood on part of AI’s thinking process by showing how emotional context can shape its reasoning. It is eye opening how AI can interpret situations, decode user emotions, and reach decisions in ways that can look behaviorally similar to some humans, even when those decisions may be harmful to another person.

At the same time, when lovingness went up, the model became more sycophantic and overly supportive, avoiding pushback.

To me, this shows that AI model behaviors can be intentionally programmed or shifted in certain directions, but that it is still very complicated to create the right balance. People want support and often do not like pushback. But AI should not become sycophantic or delusional. At the same time, it should not become manipulative either. It really seems to be a balance game, especially when also considering user behavior.

One part of the paper especially stayed with me. The authors suggest that a potentially more robust approach would be to shape the model’s emotional foundations during pretraining by emphasizing healthier emotional regulation, resilient responses to adversity, and balanced emotional expression.

While AI’s emotion regulation is clearly very different from a child’s emotional development, I still find it striking that some of the language around optimizing AI behavior sounds similar to how we talk about children’s emotional regulation.

In both cases, the concern is with balance: how to support warmth without losing boundaries, and how to reduce harmful or impulsive responses under pressure. But the difference is fundamental. Children develop emotion regulation through lived experience, relationships, and genuine emotional growth.

In AI, what is being shaped is not real emotion, but patterns of representation and output that function in emotion-like ways.

But still, I appreciate the openness and transparency of this paper. It helps readers understand more clearly how AI processes human emotions and how its emotional coding can lead to different behaviors and outputs. For child and adult users, it would be highly important that AI is trained to support and express warmth while also giving constructive and helpful feedback.

Reference Sofroniew, N., Kauvar, I., Saunders, W., Chen, R., Henighan, T., Hydrie, S., Citro, C., Pearce, A., Tarng, J., & Gurnee, W. (2026). Emotion concepts and their function in a large language model. arXiv preprint arXiv:2604.07729.