Abstract
Transformer models have significantly advanced the field of emotion recognition. However, there are still open challenges when exploring open-ended queries for Large Language Models (LLMs). Although current models offer good results, automatic emotion analysis in open texts presents significant challenges, such as contextual ambiguity, linguistic variability, and difficulty interpreting complex emotional expressions. These limitations make the direct application of generalist models difficult. Accordingly, this work compares the effectiveness of fine-tuning and prompt engineering in emotion detection in three distinct scenarios: (i) performance of fine-tuned pre-trained models and general-purpose LLMs using simple prompts; (ii) effectiveness of different emotion prompt designs with LLMs; and (iii) impact of emotion grouping techniques on these models. Experimental tests attain metrics above 70% with a fine-tuned pre-trained model for emotion recognition. Moreover, the findings highlight that LLMs require structured prompt engineering and emotion grouping to enhance their performance. These advancements improve sentiment analysis, human-computer interaction, and understanding of user behavior across various domains.
Abstract (translated)
翻译: Transformer 模型在情感识别领域取得了显著进展。然而,在探索大型语言模型(LLMs)的开放式查询时,仍然存在许多挑战。尽管当前模型提供了不错的结果,但在开放文本中进行自动情绪分析仍面临重大难题,例如语境模糊性、语言多样性以及难以解释复杂的情绪表达等。这些限制使得通用模型直接应用变得困难。因此,这项工作比较了在三种不同场景下微调和提示工程在情感检测中的有效性:(i) 微调预训练模型与一般用途LLMs使用简单提示的表现;(ii) 不同情绪提示设计对LLMs的效果;以及(iii) 情绪分组技术对此类模型的影响。实验测试显示,经过微调的预训练模型在情感识别中的性能指标超过70%。此外,研究结果还表明,LLMs需要结构化的提示工程和情绪分组来提高其表现。这些进步提升了情感分析、人机交互以及跨多个领域的用户行为理解水平。
URL
https://arxiv.org/abs/2510.19668