Semantic Primes Explain LLM Emotions More Effectively.

Frank Xing· July 22, 2026 View original

Summary

This research suggests that "semantic primes" from the Natural Semantic Metalanguage (NSM) are better explanations for emotion in LLMs than traditional appraisal-based directions. Experiments show NSM primes are recoverable, strongly control emotion, and are treated as interchangeable with corresponding emotions by models.

Understanding how large language models (LLMs) process and represent emotions is a growing area of research, but what constitutes a good explanation for these emotional mechanisms remains unclear. While emotion representations and circuits can be identified, they often lead to circular explanations or arbitrary dimensions. This study explores whether a more fundamental set of internal variables, specifically the "semantic primes" derived from the Natural Semantic Metalanguage (NSM), could offer superior explanations. Across four instruction-tuned LLMs (Llama-1B, Gemma-2B, Gemma-9B, OLMo-7B), experiments yielded compelling evidence. Firstly, NSM primes were found to be recoverable internal elements within these models. Secondly, intervening with a prime-based direction in a reference model demonstrated approximately three times stronger and twice as selective control over emotion compared to the best appraisal-based directions. Finally, the models themselves treated a prime-based explication as interchangeable with the corresponding emotion. These findings collectively suggest that NSM primes serve as more effective "explanans" for emotion in LLMs, aligning better with scientific explanation criteria than many alternative approaches. This offers a more primitive and potentially universal way to understand and control emotional responses in AI.

Why it matters

For professionals developing AI with emotional intelligence or requiring fine-grained control over model behavior, understanding the fundamental drivers of emotion in LLMs can lead to more robust, predictable, and ethically aligned systems.

How to implement this in your domain

  1. 1Explore integrating NSM semantic primes into the design of future LLM architectures for emotion generation or detection.
  2. 2Develop tools that allow for intervention and control of LLM emotional responses using prime-based directions.
  3. 3Utilize NSM primes as a diagnostic framework to better understand and debug unexpected emotional outputs from LLMs.
  4. 4Train LLMs with datasets explicitly incorporating NSM primes to enhance their emotional understanding and expression.

Who benefits

AI DevelopmentHuman-Computer InteractionMental HealthcareEdTechCustomer Service

Key takeaways

  • Semantic primes offer a more fundamental explanation for emotion in LLMs.
  • They are recoverable internal elements within various LLM architectures.
  • Prime-based interventions provide stronger and more selective emotional control.
  • LLMs treat prime-based explications as interchangeable with emotions.

Original post by Frank Xing

"arXiv:2607.18691v1 Announce Type: new Abstract: Progresses have been made on understanding emotion mechanisms of large language models (LLMs). However, how to explain emotion in LLMs, or even what constitutes good explanations, are less clear. Emotion representations, components,…"

View on X

Originally posted by Frank Xing on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses