potentialpaper

LongEmotion: Measuring Emotional Intelligence of Large Language Models in Long-Context Interaction

Weichu Liu, Jing Xiong, Yuxuan Hu, Zixuan Li, Minghuan Tan, Ningning Mao, Chenyang Zhao, Zhongwei Wan, Chaofan Tao, Wendong XU, Hui Shen, Chengming Li, Lingpeng Kong, Ngai Wong

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Large language models (LLMs) make significant progress in Emotional Intelligence (EI) and long-context understanding. However, existing benchmarks tend to overlook certain aspects of EI in long-context scenarios, especially under realistic, practical settings\textit{realistic, practical settings} where interactions are lengthy, diverse, and often noisy. To move towards such realistic settings, we present LongEmotion\textit{LongEmotion}, a benchmark specifically designed for long-context EI tasks. It covers a diverse set of tasks, including Emotion Classification\textbf{Emotion Classification}, Emotion Detection\textbf{Emotion Detection}, Emotion QA\textbf{Emotion QA}, Emotion Conversation\textbf{Emotion Conversation}, Emotion Summary\textbf{Emotion Summary}, and Emotion Expression\textbf{Emotion Expression}. On average, the input length for these tasks reaches 8${,}$777 tokens, with long-form generation required for Emotion Expression\textit{Emotion Expression}. To enhance performance under realistic constraints, we incorporate Retrieval-Augmented Generation (RAG\textit{RAG}) and Collaborative Emotional Modeling (CoEM\textit{CoEM}), and compare them with standard prompt-based methods. Unlike conventional approaches, our RAG\textit{RAG} method leverages both the conversation context and the large language model itself as retrieval sources, avoiding reliance on external knowledge bases. The CoEM\textit{CoEM} method further improves performance by decomposing the task into five stages, integrating both retrieval augmentation and limited knowledge injection. Experimental results show that both RAG\textit{RAG} and CoEM\textit{CoEM} consistently enhance EI-related performance across most long-context tasks, advancing LLMs toward more practical and real-world EI applications\textit{practical and real-world EI applications}. Furthermore, we conduct a detailed case study on the performance comparison among GPT series models, the application of CoEM in each stage and its impact on task scores, and the advantages of the LongEmotion dataset in advancing EI. All of our code and datasets will be open-sourced, which can be viewed at the anonymous repository link https://anonymous.4open.science/r/anonymous-578B.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

add · history

No versions are recorded yet: its preprint, the venues it went to and what they decided, the camera-ready. Missing a version?

We don't know of a submission of this paper to a venue with open reviews. Missing a submission?

Loading the discussion…