OFAI-UKP at HAHA@IberLEF2019: Predicting the Humorousness of Tweets Using Gaussian Process Preference Learning

Tristan Miller, Erik-Lân Do Dinh, Edwin Simpson, Iryna Gurevych

Introduction

Computational humor often treats "funniness" as a binary classification problem. However, humor is inherently subjective and exists on a spectrum of intensity. In the HAHA@IberLEF2019 shared task, researchers were challenged to not only detect humor in Spanish tweets but also predict a "funniness score" on a scale of 1 to 5. This paper presents an approach using Gaussian Process Preference Learning (GPPL) to model humor as a latent ranking problem rather than a direct regression task.

Methodology

The core innovation of this work is the application of GPPL. Instead of training on absolute scores, which can be noisy and inconsistent across annotators, GPPL learns from pairwise comparisons (e.g., "Tweet A is funnier than Tweet B").

Gaussian Process Preference Learning (GPPL)

Since the dataset provided numeric scores, the authors generated millions of artificial pairs based on these ratings. To manage the computational complexity of such a large number of pairs, the system utilized stochastic variational inference with a fixed number of inducing points. Because GPPL outputs a relative "utility" score, a secondary Gaussian process regressor was employed to map these latent values back to the 1–5 scale required by the competition.

Feature Representation

Tweets were represented using a combination of:

  • Embeddings: 200-dimensional Spanish Twitter word embeddings.
  • Linguistic Features: Word frequency data from Wikipedia and polysemy counts.
  • Surface Features: Counts of hashtags, URLs, emoticons, and punctuation.

Experimental Setup

The study utilized the HAHA@IberLEF2019 dataset, consisting of 24,000 training tweets and 6,000 test tweets. A critical finding during setup was the sensitivity to domain-specific embeddings; standard Wikipedia-trained embeddings yielded near-zero correlation, whereas Twitter-specific embeddings achieved a correlation of $\rho = 0.52$.

Results and Discussion

The GPPL-based system successfully outperformed naive baselines but did not reach the performance levels of the competition winners.

Performance metrics for the Humour Detection task comparing the GPPL system against the winner and baseline.

As shown in the results table, the system achieved an F1-measure of 0.660, significantly higher than the baseline (0.440) but lower than the winner (0.821).

Analysis of Score Uniformity

A significant challenge identified was the "information loss" during the conversion between numeric scores and pairwise preferences. The model tended to produce scores within a very narrow range, failing to capture the extreme "peaks" of humor present in the gold standard data.

Scatter plot comparing system-predicted scores against gold-standard ratings, illustrating the narrow range of predicted values for humorous content.

Figure 1 illustrates this phenomenon: while the gold-standard scores span the full range, the system's predictions for humorous tweets (gold > 1) are heavily clustered around a uniform value, suggesting that while the model captures relative ranking, the mapping back to a linear scale remains problematic.

Conclusion

While the GPPL approach offers a theoretically robust way to handle the subjectivity of humor, the practical implementation at HAHA@IberLEF2019 was hampered by the need to convert between ordinal and pairwise formats. Future work should focus on sourcing direct pairwise judgments and improving text normalization for the "noisy" Twitter domain.

Summary updated

BibTeX
@inproceedings{miller2019ofai,
  author = {Tristan Miller and Erik-Lân Do Dinh and Edwin Simpson and Iryna Gurevych},
  title = {{OFAI-UKP at HAHA@IberLEF2019: Predicting the Humorousness of Tweets Using Gaussian Process Preference Learning}},
  booktitle = {IberLEF@SEPLN},
  year = {2019},
}
Figure