[Paper Review] Affect Recognition in Conversations Using Large Language Models
This study evaluates large language models (LLMs) for affect recognition in conversations across chit-chat and task-oriented dialogues using IEMOCAP, EmoWOZ, and DAIC-WOZ datasets. It demonstrates that few-shot in-context learning and fine-tuning significantly improve LLM performance, with GPT-4 achieving state-of-the-art results, while LLMs show robustness to ASR errors except in depression detection.
Affect recognition, encompassing emotions, moods, and feelings, plays a pivotal role in human communication. In the realm of conversational artificial intelligence, the ability to discern and respond to human affective cues is a critical factor for creating engaging and empathetic interactions. This study investigates the capacity of large language models (LLMs) to recognise human affect in conversations, with a focus on both open-domain chit-chat dialogues and task-oriented dialogues. Leveraging three diverse datasets, namely IEMOCAP (Busso et al., 2008), EmoWOZ (Feng et al., 2022), and DAIC-WOZ (Gratch et al., 2014), covering a spectrum of dialogues from casual conversations to clinical interviews, we evaluate and compare LLMs' performance in affect recognition. Our investigation explores the zero-shot and few-shot capabilities of LLMs through in-context learning as well as their model capacities through task-specific fine-tuning. Additionally, this study takes into account the potential impact of automatic speech recognition errors on LLM predictions. With this work, we aim to shed light on the extent to which LLMs can replicate human-like affect recognition capabilities in conversations.
Motivation & Objective
- To assess the zero-shot and few-shot capabilities of LLMs in recognizing emotions and depression severity in conversational AI.
- To investigate the impact of automatic speech recognition (ASR) errors on LLM-based affect recognition.
- To compare the effectiveness of in-context learning (ICL) and task-specific fine-tuning for affect recognition across diverse dialogue types.
- To evaluate whether LLMs can replicate human-like affect recognition in open-domain chit-chat and task-oriented dialogues.
- To explore the potential of LLMs as a backend for spoken dialogue systems, particularly under realistic ASR error conditions.
Proposed method
- Employed four LLMs: LLaMA-7B, Alpaca-7B, GPT-3.5, and GPT-4 for affect recognition in three datasets: IEMOCAP (emotion), EmoWOZ (task-oriented dialogue), and DAIC-WOZ (depression screening).
- Designed prompt templates that included emotion definitions and context-specific instructions to guide LLMs in zero-shot and few-shot in-context learning (ICL) setups.
- Conducted in-context learning with varying numbers of few-shot examples (N=0 to N=5) to evaluate the impact of prompt engineering on performance.
- Performed task-specific fine-tuning on LLaMA-7B, Alpaca-7B, and GPT-2 using 25%, 50%, 75%, and 100% of training data to assess model capacity and data efficiency.
- Injected synthetic ASR errors into utterances to evaluate robustness of LLMs in spoken dialogue systems, particularly for depression detection.
- Used standard metrics such as weighted F1 and macro F1 to evaluate performance across multi-class emotion and depression severity classification tasks.
Experimental results
Research questions
- RQ1How well do LLMs perform in zero-shot and few-shot affect recognition across diverse dialogue types, including chit-chat and task-oriented dialogues?
- RQ2To what extent does in-context learning with few-shot examples improve LLM performance on affect recognition tasks compared to zero-shot settings?
- RQ3How effective is task-specific fine-tuning in enhancing LLMs' affect recognition capabilities, and what proportion of training data is sufficient to achieve near-SOTA performance?
- RQ4How robust are LLMs to automatic speech recognition (ASR) errors when recognizing emotions and detecting depression in spoken dialogues?
- RQ5What role do label semantics and class imbalance play in the performance of fine-tuned LLMs for affect recognition tasks?
Key findings
- GPT-4 achieved the highest performance across all datasets, with a weighted F1 of 0.78 on IEMOCAP (4-way) and 0.74 on EmoWOZ, outperforming other LLMs in both zero-shot and few-shot settings.
- Few-shot in-context learning significantly improved performance, especially for larger models: GPT-3.5 and GPT-4 showed consistent gains with increasing few-shot examples, peaking at N=1 for 4-way IEMOCAP and EmoWOZ.
- Task-specific fine-tuning enabled LLaMA-7B and Alpaca-7B to reach near-state-of-the-art performance on IEMOCAP (4-way) and EmoWOZ with only 50% of the training data, achieving weighted F1 scores above 0.75.
- Fine-tuning with the full training set on IEMOCAP (5-way) still showed a performance gap compared to supervised SOTA, likely due to the inclusion of an ambiguous 'Other' class that lacks affective specificity.
- GPT-2 showed performance degradation after fine-tuning due to class imbalance, with the model over-predicting 'Neutral' and excluding these predictions from evaluation metrics.
- LLMs were robust to ASR errors in emotion recognition but exhibited significant performance drops in depression detection, indicating sensitivity to high-stakes affective content under noisy inputs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.