Abstract
Traditional approaches to Context-Aware Emotion Recognition (CAER) rely on specialized architectures and extensive supervised training, which often struggle with generalization and data scarcity. This paper explores the potential of Large Vision-Language Models (LVLMs) to serve as robust emotion recognizers. By evaluating models like LLaVA and VILA through supervised fine-tuning, in-context learning, and chain-of-thought reasoning, the researchers demonstrate that LVLMs can achieve competitive or superior performance compared to task-specific models. Notably, the study introduces a multi-context retrieval module that enhances few-shot learning by aligning demonstrations with both personal and environmental contexts.
Introduction
Recognizing human emotion is a complex task that extends far beyond analyzing facial expressions. To accurately interpret how an individual feels, one must consider the "context": their body language, their interactions with others, and the specific environment they inhabit. This is the fundamental challenge of Context-Aware Emotion Recognition (CAER).
Historically, CAER has been addressed using hand-engineered, specialized architectures trained on niche datasets. However, these traditional models face two significant hurdles. First, they often suffer from a generalization gap, inheriting the subjective biases of their training data and failing in unseen environments. Second, data scarcity remains a bottleneck, as labeling emotional data is both expensive and time-consuming. This research investigates whether the extensive "world knowledge" embedded in pre-trained LVLMs can overcome these limitations, effectively repurposing general-purpose models for nuanced emotional analysis.
Methodology
The study systematically evaluates LVLMs—specifically LLaVA-7B and VILA-8B—across three distinct paradigms to determine their efficacy in emotion recognition.
1. Supervised Fine-Tuning (SFT)
This paradigm follows the standard approach of updating model weights on specific CAER datasets. It serves as a benchmark for how well an LVLM can adapt when provided with direct supervision for the task.
2. In-Context Learning (ICL)
ICL is a training-free approach where the model is provided with a few "demonstrations" (example images and their corresponding labels) within the prompt. To optimize this, the authors developed a Demonstration Retrieval Module. Rather than selecting examples at random, this module uses a ranking algorithm to calculate similarity based on two distinct factors:
- Person Context: The appearance and posture of the individual.
- Scene Context: The background and environmental setting.
By ensuring that retrieved examples are semantically relevant to both the subject and the environment, the model can better infer the target emotion.
3. Chain-of-Thought (CoT) Reasoning
To leverage the inherent reasoning capabilities of LVLMs, the researchers utilized GPT-4V to generate "rationales"—detailed explanations of why a specific emotion fits a given scene. These rationales guide smaller LVLMs during the few-shot process, encouraging the model to "think" through the contextual clues before arriving at a label.
Experimental Setup and Datasets
The models were benchmarked against two primary datasets:
- EMOTIC: A complex, multi-label dataset featuring 23,571 images and 26 discrete emotion categories (e.g., Peace, Affection, Fatigue). It is characterized by a high number of labels per image, making it a rigorous test of descriptive breadth.
- HECO: A single-label dataset containing 9,385 images focused on 8 basic emotions (e.g., Happiness, Anger, Fear), testing the model's ability to identify primary emotional states.
Key Insights and Results
The Power of Contextual Retrieval
The research highlights that the method of selecting demonstrations is critical. The multi-context retrieval method (Person + Scene) significantly outperformed random selection and retrieval based on the "overall" image. On the EMOTIC dataset, this approach improved F1 scores from 35.72 to 40.41, confirming that the relationship between the subject and their environment is the most vital feature for accurate recognition.
Precision vs. Recall in Reasoning
While Chain-of-Thought rationales improved the models' precision, they often led to a decrease in recall. CoT makes the model more "cautious"; it tends to predict an emotion only when it can find a clear, logical justification. While this reduces false positives, it can cause the model to miss subtler, secondary emotions that lack overt environmental evidence.
Performance Benchmarks
- HECO Results: In a 10-shot ICL setting, VILA-8B achieved 47.55% accuracy, notably outperforming the specialized EMOT-Net (38.80%) without requiring task-specific training.
- EMOTIC Results: Supervised Fine-Tuning of LLaVA-7B reached a 80.20% Micro-Precision. While its recall was lower than some traditional methods, the high precision suggests the model is exceptionally reliable for the labels it does predict.
Conclusion
This study demonstrates that LVLMs are highly capable emotion recognizers, often rivaling or exceeding the performance of specialized models through clever prompting and retrieval strategies. The findings suggest that the knowledge required for complex emotional understanding is already present in these large-scale models; the challenge lies in effectively "prompting" that knowledge out.
Future work will focus on refining the quality of generated rationales to better balance precision and recall and exploring ways to overcome the image-count constraints that currently limit high-shot in-context learning in models like LLaVA.
Summary updated