Emotion-Aware Embedding Fusion in LLMs (Flan-T5, LLAMA 2, DeepSeek-R1, and ChatGPT 4) for Intelligent Response Generation
Abdur Rasool, Muhammad Irfan Shahzad, Hafsa Aslam, Vincent Chan,, Muhammad Ali Arshad

TL;DR
This paper presents Emotion-Aware Embedding Fusion, a framework that enhances large language models' ability to generate empathetic responses in psychotherapy by integrating emotional and contextual features from therapy transcripts.
Contribution
The study introduces a novel hierarchical fusion and attention-based framework that combines multiple emotion lexicons with state-of-the-art LLMs for improved emotional understanding in therapeutic contexts.
Findings
Improved emotional recognition in LLM-generated responses.
Enhanced contextual relevance in therapy chatbot responses.
Efficient retrieval of emotionally relevant segments from therapy transcripts.
Abstract
Empathetic and coherent responses are critical in auto-mated chatbot-facilitated psychotherapy. This study addresses the challenge of enhancing the emotional and contextual understanding of large language models (LLMs) in psychiatric applications. We introduce Emotion-Aware Embedding Fusion, a novel framework integrating hierarchical fusion and attention mechanisms to prioritize semantic and emotional features in therapy transcripts. Our approach combines multiple emotion lexicons, including NRC Emotion Lexicon, VADER, WordNet, and SentiWordNet, with state-of-the-art LLMs such as Flan-T5, LLAMA 2, DeepSeek-R1, and ChatGPT 4. Therapy session transcripts, comprising over 2,000 samples are segmented into hierarchical levels (word, sentence, and session) using neural networks, while hierarchical fusion combines these features with pooling techniques to refine emotional representations.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsEmotion and Mood Recognition
MethodsRefunds@Expedia|||How do I get a full refund from Expedia? · 15 Ways to Contact How can i speak to someone at Delta Airlines · Attention Is All You Need · Cosine Annealing · Layer Normalization · Linear Warmup With Cosine Annealing · Adam · WordPiece · Linear Warmup With Linear Decay · Linear Layer
