Abstract
Fine-grained emotion classification remains a significant challenge in Natural Language Processing due to the inherent complexity of human feelings and the prevalence of data imbalance in existing benchmarks. This paper introduces a novel approach that combines Robert Plutchik’s Wheel of Emotions with a Mixture of Experts (MoE) architecture. By decomposing complex emotions into primary psychological building blocks and employing specialized neural network "experts," the proposed model achieves substantial performance gains, particularly for rare emotions. Experimental results on the SemEval-2018 and GoEmotions datasets show a significant increase in Macro-F1 scores, demonstrating the effectiveness of grounding architectural design in psychological theory.
Introduction
While sentiment analysis has reached high levels of accuracy, distinguishing between nuanced emotions like anger, disgust, and sadness remains difficult. Two primary hurdles impede progress: the composite nature of many emotions and the "long tail" problem, where certain emotions are underrepresented in training data. This work addresses these issues by leveraging Plutchik’s psychological framework to guide a Mixture of Experts (MoE) model, allowing for more precise and interpretable emotion detection.
Methodology
Plutchik-Inspired Labeling
The core of the approach lies in Robert Plutchik’s "Wheel of Emotions," which posits that complex emotions are mixtures of eight basic primary emotions. The authors redefined dataset labels by decomposing complex categories into their constituent parts. For instance, "Love" is treated as a combination of Joy and Trust, while "Pessimism" is mapped to Anticipation and Sadness. This decomposition serves as a logic-based form of data augmentation, providing the model with more examples of basic emotional building blocks.
Mixture of Experts (MoE) Architecture
To mirror this psychological structure, the researchers modified Llama-2-7B and Mistral-7B models. They replaced the final Feed-Forward Network (FFN) layer with an MoE layer containing eight experts, each corresponding to one of Plutchik’s primary emotions. A Top-k Gating mechanism routes tokens to the $k$ most relevant experts. By varying $k$ from 1 to 4, the model can activate multiple specialists to capture the blended nature of complex emotional states.
Experimental Results
The model was evaluated on the SemEval-2018 Task 1 and GoEmotions datasets. The integration of Plutchik labeling and MoE architecture yielded impressive quantitative improvements.
On the SemEval-2018 dataset, the Macro-F1 score—which highlights performance on rare classes—rose from a baseline of approximately 56% to 68% with $k=3$. The most dramatic gains were observed in previously "weak" categories; for example, the F1 score for "Trust" in the Llama-2 model increased from 12.8 to 57.8. The results also showed that Plutchik labeling provided more stability across different $k$ values compared to standard labeling.
Key Insights
- Architectural Alignment: The MoE structure naturally aligns with psychological theory, where the final output is a weighted sum of specialized "expert" opinions.
- Interpretability: Analysis of the gate layer revealed that the model learned co-activation patterns consistent with human psychology, such as activating "Joy" and "Trust" experts for tokens associated with "Love."
- The "Surprise" Paradox: Despite overall gains, "Surprise" remained difficult to classify, likely due to its nature as a cognitive state without a fixed valence, as noted in psychological literature.
Conclusion and Future Work
This research demonstrates that incorporating domain-specific psychological knowledge into LLM architectures can significantly enhance performance on complex classification tasks. Future work will explore the "vertical" dimension of Plutchik’s cone to account for emotional intensity and optimize expert routing to prevent token clustering.
Summary updated