A Hormone-inspired Emotion Layer for Transformer language models (HELT)
Not on the map. Why?
Abstract (arXiv)
Large Language Models have demonstrated remarkable capabilities in generating contextually relevant and grammatically correct text. However, they fundamentally lack the ability to process and respond to emotional context in a manner analogous to human emotional cognition. Current approaches to emotion modeling in NLP systems rely primarily on discrete emotion classification or simplistic sentiment analysis, which fail to capture the continuous, multi-dimensional nature of human emotional states. In this paper, we introduce HormoneT5, a novel architecture that augments transformer language models with a biologically-inspired Hormone Emotion Block that simulates the human endocrine system's role in emotional processing. Our approach computes six continuous hormone-like values through specialized per-hormone attention heads, each with orthogonally initialized learnable queries, temperature-scaled attention mechanisms, and deep output projections. These hormone values are then transformed into an emotional embedding that modulates the encoder hidden states, enabling emotionally-appropriate response generation. We propose a multi-objective training framework combining sequence-to-sequence loss, hormone prediction loss with margin penalties, and diversity regularization to prevent attention collapse. Experimental results on our curated emotion-labeled dataset demonstrate that HormoneT5 achieves 85%+ per-hormone accuracy within a 0.15 tolerance threshold, with hormone differentiation ranges exceeding 0.85 across all six hormones between contrasting emotional tones. Human evaluation studies show significant preference (p < 0.01) for HormoneT5-generated responses in terms of emotional appropriateness and empathetic quality compared to baseline T5 outputs. Our work opens new directions for biologically-grounded affective computing and emotionally intelligent conversational agents.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 34 of its 80 references that are in the map. First posted on arXiv 13 Apr 2026.
Builds on
34 of 80 references.
References · 34
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
- 2018Deep contextualized word representationscited by 2,290
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2019Generating Long Sequences with Sparse Transformerscited by 1,546
- 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 799
22 more
- 2020AdapterFusion: Non-Destructive Task Composition for Transfer Learningcited by 788
- 2019CTRL: A Conditional Transformer Language Model for Controllable Generationcited by 762
- 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 717
- 2023Instruction Tuning for Large Language Models: A Surveycited by 623
- 2021Towards Emotional Support Dialog Systemscited by 299
- 2023PersonaLLM: Investigating the Ability of Large Language Models to Express Personality Traitscited by 234
- 2013Crowdsourcing a Word-Emotion Association Lexiconcited by 196
- 2022A Survey of Controllable Text Generation using Transformer-based Pre-trained Language Modelscited by 129
- 2022Evaluating and Inducing Personality in Pre-trained Language Modelscited by 123
- 2017Using millions of emoji occurrences to learn any-domain representations for detecting sentiment, emotion and sarcasmcited by 118
- 2022EmoBank: Studying the Impact of Annotation Perspective and Representation Format on Dimensional Emotion Analysiscited by 76
- 2024EmoLLMs: A Series of Emotional Large Language Models and Annotation Tools for Comprehensive Affective Analysiscited by 62
- 2023A Wide Evaluation of ChatGPT on Affective Computing Taskscited by 30
- 2023DialogueLLM: Context and Emotion Knowledge-Tuned Large Language Models for Emotion Recognition in Conversationscited by 30
- 2024EmoSphere++: Emotion-Controllable Zero-Shot Text-to-Speech via Emotion-Adaptive Spherical Vectorcited by 19
- 2024Token Prepending: A Training-Free Approach for Eliciting Better Sentence Embeddings from LLMscited by 18
- 2024Exploring the Frontiers of LLMs in Psychological Applications: A Comprehensive Reviewcited by 17
- 2023Quantifying Valence and Arousal in Text with Multilingual Pre-trained Transformerscited by 11
- 2025Don't Get Too Excited -- Eliciting Emotions in LLMscited by 9
- 2025Large Language Models for Subjective Language Understanding: A Surveycited by 9
- 2025Explainable Sentiment Analysis with DeepSeek-R1: Performance, Efficiency, and Few-Shot Learningcited by 5
- 2025Hierarchical Token Prepending: Enhancing Information Flow in Decoder-based LLM Embeddingscited by 3
Built on by
Not cited yet.