Joint Emotion Analysis via Multi-task Gaussian Processes

Daniel Beck, Trevor Cohn, Lucia Specia

Introduction

Emotion analysis in natural language processing involves predicting a set of fine-grained labels—such as joy, anger, or fear—for a given text. This task is inherently difficult due to data scarcity, the subjectivity of human annotations, and the complex inter-task relationships between emotions. While some emotions are naturally linked (e.g., fear and sadness), others are mutually exclusive (e.g., joy and sadness). Most existing multi-task learning methods assume tasks are positively correlated, failing to capture these nuances. This paper introduces a multi-task Gaussian Process (GP) framework designed to explicitly learn both correlations and anti-correlations between emotional states directly from data.

Methodology

The proposed framework extends standard Gaussian Processes using the Intrinsic Coregionalisation Model (ICM). Unlike standard kernels that compare two inputs, the ICM uses a vector-valued kernel that combines input similarity with a coregionalisation matrix ($B$).

To ensure the matrix $B$ remains valid (symmetric and positive semi-definite) while providing flexibility, the authors employ a low-rank parameterization ($B = \tilde{L}\tilde{L}^T + \text{diag}(\alpha)$). This allows the model to learn the full covariance structure between emotions by maximizing marginal likelihood, effectively capturing how different emotions "move" together or apart.

Learning the "Emotion Map"

A key insight of this approach is the model's ability to generate a learned map of human emotion. By analyzing the coregionalisation matrix, the model identifies clusters of emotional states. As shown in the heatmap below, the model identifies a "negative" cluster (comprising sadness, fear, anger, and disgust) and a "positive/high-arousal" cluster (joy and surprise).

The learned coregionalisation matrix acting as an emotion map, showing correlations (yellow/white) and anti-correlations (dark red/black).

The model successfully identifies that joy and surprise are anti-correlated with the other four emotions. Capturing this "negative knowledge transfer" is vital, as it prevents the model from making contradictory predictions (e.g., predicting high joy and high sadness simultaneously).

Experimental Results

The study utilized the SemEval-2007 "Affective Text" dataset, consisting of 1,000 news headlines scored for six emotions. To simulate a "low-data" regime where multi-task learning is most beneficial, only 100 sentences were used for training.

Using Pearson’s correlation coefficient as the primary metric, the ICM GP models (Rank 1 and Rank 5) significantly outperformed both the SVM baseline and single-task GP models. The multi-task approach was particularly dominant in predicting fear, joy, and surprise, demonstrating the value of borrowing statistical strength across related tasks.

Performance comparison using Pearson’s correlation coefficient across different emotions and models.

Discussion and Future Work

While the ICM GP framework shows strong performance, it currently assumes that emotion scores follow a Gaussian distribution. However, real-world emotion scores are often heavily skewed or "peaked" near zero. This led the SVM to perform better on specific emotions like "disgust," where the data distribution was highly non-Gaussian.

Future research could improve the model by incorporating non-Gaussian likelihoods, such as a Beta distribution, to better handle bounded emotion scores. Additionally, exploring "Deep Gaussian Processes" could further refine the model's ability to handle the subjective noise inherent in human emotion annotation.

Summary updated

BibTeX
@inproceedings{beck2014joint,
  author = {Daniel Beck and Trevor Cohn and Lucia Specia},
  title = {{Joint Emotion Analysis via Multi-task Gaussian Processes}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2014},
  doi = {10.3115/v1/d14-1190},
}
Figure