AffectGPT-RL: Revealing Roles of Reinforcement Learning in Open-Vocabulary Emotion Recognition

Zheng Lian, Fan Zhang, Lan Chen, Yazhou Zhang, Rui Liu, Jinyang Wu, Haoyu Chen, Xiaobai Li, Xiaojiang Peng, Bin He, Jianhua Tao

TL;DR

AffectGPT-RL introduces reinforcement learning to Open-Vocabulary Multimodal Emotion Recognition (OV-MER) to directly optimize non-differentiable, semantic-level evaluation metrics. By aligning the training objective with Emotion Wheel-based metrics using Group Relative Policy Optimization (GRPO), the framework achieves state-of-the-art performance across fine-grained and basic emotion recognition tasks.

What Problem Does This Paper Address?

Traditional Multimodal Emotion Recognition (MER) typically relies on a small, fixed set of categories (like Ekman's six basic emotions: anger, disgust, fear, happiness, sadness, and surprise). However, human expression is far more nuanced. Open-Vocabulary MER (OV-MER) addresses this by allowing models to predict any descriptive emotion word from a generative language model's vocabulary.

The catch lies in how these models are trained versus how they are evaluated. Standard generative models are trained using token-level cross-entropy loss. But token similarity does not equal emotional semantic similarity; for example, "joyful" and "awful" share token-level suffixes but mean opposite things. To evaluate OV-MER accurately, researchers use Emotion Wheels (EWs) to map words to semantic spaces. Because these EW-based metrics rely on discrete lookups, set operations, and stochastic sampling, they are completely non-differentiable and cannot be optimized using standard gradient backpropagation.

Figure 1: Motivation. Token similarity differs from semantic similarity. Existing work relies on token similarity, whereas the evaluation met- rics for OV-MER depend on semantic similarity. Moreover, semantic similarity is inherently non- differentiable. This paper aims to address these issues through reinforcement learning.

Methods

The authors present AffectGPT-RL, a framework that shifts the training paradigm from token-level optimization to reinforcement learning via Group Relative Policy Optimization (GRPO). This allows the model to directly optimize for non-differentiable evaluation metrics.

The training pipeline consists of two distinct phases:

  1. Cold-Start Training: The model is trained on a large-scale descriptive dataset to establish basic capabilities in multimodal emotion understanding and format alignment (generating structured outputs using <think> and <answer> tags).
  2. Reinforcement Learning (GRPO): The model is optimized using five distinct reward functions: Format Reward, Accuracy Reward (direct EW-based scores), Alignment Reward (consistency between reasoning and answer), Dual Reward, and Perception Reward (using a multimodal LLM as a judge of video fidelity).

To combat reward hacking—where the model learns to output long, verbose lists of emotional synonyms to game the set-based evaluation metric—the authors integrated length penalties into the reward functions to encourage concise outputs.

Figure 2: AffectGPT-RL. Our training process consists of two phases: cold-start training and reinforcement learning. In the first phase, we output both thinking and answers. In the second phase, we propose five rewards and introduce length penalties to mitigate reward hacking.

Datasets

The framework utilizes a mix of large-scale coarse datasets and high-quality human-annotated datasets:

  • MER-Caption+: A large-scale dataset containing 31K samples annotated with rich emotion descriptions and open-vocabulary labels, used exclusively for the cold-start phase.
  • MER2025-OV: A high-quality, human-annotated dataset containing 1,000 samples (after rigorous data-leakage filtering) used for the reinforcement learning phase.
  • OV-MERD+: A dedicated open-vocabulary test set consisting of 532 human-annotated samples.
  • MER-UniBench: A comprehensive benchmark containing 12,799 test samples spanning three distinct tasks: sentiment analysis, basic emotion recognition, and fine-grained emotion detection.

Key Insights and Ideas

  • Direct Metric Optimization is Crucial: Treating the evaluation metric itself as the reward function bridges the critical misalignment between training objectives and test-time evaluation in open-ended generation tasks.
  • The "Thinking" Paradox: While modern reasoning models heavily leverage chain-of-thought processing, the authors discovered that removing the <think> process during RL training actually improved performance. They attribute this to potential noise in the coarse-grained cold-start reasoning data and the possibility that extra text diverts the model's attention from directly solving the core OV-MER task.
  • Length Penalties Prevent Exploitation: Because Emotion Wheel metrics naturally disregard duplicate semantic meanings, generative models will exploit this loophole by outputting verbose text to maximize their chances of hitting a ground-truth match. Introducing structural length penalties successfully mitigates this behavior without hurting accuracy.
Figure 3: (a) With RL (single reward). This figure reports performance obtained using RL with a single reward; (b) With RL (multiple rewards). It reports performance obtained using RL with multiple rewards; (c) Role of thinking. It shows that a simpler model, one that only outputs the answer oa and calculates rewards based solely on oa, achieves better performance.

Key Results

  • State-of-the-Art Performance: AffectGPT-RL achieved significant performance gains on the open-vocabulary benchmark (OV-MERD+), pushing the evaluation score from a raw baseline of 62.52 up to 68.39.
  • Cross-Task Generalization: When evaluated on MER-UniBench, the model achieved state-of-the-art results for basic emotion recognition across multiple input modalities (Audio-Text, Video-Text, and Audio-Video-Text).
  • A Sentiment Analysis Trade-off: The authors noted a slight performance degradation in binary sentiment analysis. Because the model was optimized to generate highly nuanced emotional terms, it struggled when forced to compress those nuances into simple "positive" or "negative" labels.

Limitations and Future Work

  • Reasoning Noise: The current implementation shows that incorporating a chain-of-thought reasoning process degrades performance. Future work will focus on designing higher-quality, cleaner cold-start datasets to make reasoning beneficial.
  • Task Balancing: The framework currently struggles to balance the fine-grained requirements of open-vocabulary tasks with the coarse requirements of binary sentiment analysis.
  • Data Scaling: Data scaling curves indicate that AffectGPT-RL has not yet hit its performance upper bound, suggesting that collecting more high-quality RL training data will yield further improvements.

Summary updated

BibTeX
@inproceedings{lian2026affectgpt,
  author = {Zheng Lian and Fan Zhang and Lan Chen and Yazhou Zhang and Rui Liu and Jinyang Wu and Haoyu Chen and Xiaobai Li and Xiaojiang Peng and Bin He and Jianhua Tao},
  title = {{AffectGPT-RL: Revealing Roles of Reinforcement Learning in Open-Vocabulary Emotion Recognition}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=nUblZoo4wF},
}
Figure