Introduction
In the field of Natural Language Processing (NLP), the prevailing wisdom for Emotion Recognition in Conversations (ERC) has long been that "context is king." Researchers typically assume that feeding a model more surrounding dialogue and external commonsense knowledge will inevitably lead to a better understanding of a speaker's emotional state. However, recent research from the Harbin Institute of Technology and SIAT suggests that this "blind leverage" of extra information can often introduce detrimental noise. Their proposed framework, CKCL (Context and Knowledge Contrastive Learning), focuses on "denoising" the conversation by identifying when context or external knowledge is truly necessary and when it is redundant.
The Challenge of Contextual Noise
Current ERC models often struggle because they treat every utterance as if its meaning depends entirely on external factors. While some sentences are highly ambiguous, others are "independent"—their emotional content is clear from the text alone. Forcing a model to process irrelevant context for these independent utterances can degrade the quality of its internal representations.
As illustrated in the figure above, an utterance like "I've literally never been this happy" (Example 1) is self-contained. In contrast, "That's patio furniture!" (Example 2) requires external knowledge to understand the speaker's intent, and "Oh, but it's made her so happy" (Example 3) requires conversational context to identify who "her" refers to. The CKCL framework aims to teach models to distinguish between these types of utterances without requiring manual labels.
The CKCL Framework
The core of the proposed solution is a contrastive learning framework designed to filter out irrelevant information. The architecture consists of three primary components:
- Self-Supervised Pseudo-Labeling: The model identifies "context-independent" utterances by comparing its own emotion predictions with and without context. If the prediction remains stable even when context is masked, the utterance is labeled as independent.
- Context & Knowledge Contrastive Learning: Using these pseudo-labels, the model employs contrastive learning to pull similar types of utterances (independent vs. dependent) together in the vector space while pushing dissimilar ones apart. This helps the model learn a latent feature representing the optimal level of reliance on external information.
- Emotion Supervised Contrastive Learning (SCL): To address class imbalance and the difficulty of distinguishing fine-grained emotions (e.g., "happy" vs. "excited"), a weighted loss function is applied to refine emotional clusters.
Experimental Evaluation
The researchers evaluated CKCL across four major ERC benchmarks: IEMOCAP (scripted/improvised acting), DailyDialog (human-written daily talk), MELD (multi-party dialogue from Friends), and EmoryNLP (alternative Friends dataset). The framework was integrated into existing state-of-the-art (SOTA) models like COSMIC and KET to test its generalizability.
Key Results
The CKCL framework consistently improved the performance of all baseline models:
- DailyDialog: COSMIC + CKCL achieved a 2.18% F1-score improvement.
- IEMOCAP: The framework boosted baseline performance by 2.06%.
- Denoising Efficacy: The researchers found that Knowledge CL (filtering external knowledge) was often more impactful than Context CL, suggesting that current models are particularly sensitive to noise from external knowledge bases.
- Clustering Quality: t-SNE visualizations confirmed that CKCL produces tighter, more distinct emotional clusters, particularly for frequently confused categories like "happy" and "excited."
Conclusion
The CKCL framework demonstrates that more data is not always better in ERC. By identifying and ignoring irrelevant context and knowledge, models can achieve more robust and accurate emotion representations. This research shifts the focus from simply accumulating information to intelligently "denoising" the conversational signal, setting a new standard for how models should handle the complexities of human dialogue.
Summary updated