TL;DR
This paper introduces a probabilistic approach using Gaussian Process Preference Learning (GPPL) to predict the humorousness of short texts, moving beyond simple binary classification to a spectrum of funniness. The method leverages human preference judgments and linguistic features, demonstrating its applicability to Spanish tweets from the HAHA@IberLEF2019 challenge.
What Problem Does This Paper Address?
Humor is a complex and nuanced aspect of human communication, making it a significant challenge for computational methods. While many systems focus on simply detecting if a text is humorous or not, understanding the degree of humorousness is crucial for applications like conversational agents or machine translation, which need to adapt their tone. Existing approaches often struggle with the subjective and varied nature of humor, which can be conceptualized as a spectrum rather than a discrete category. This paper aims to address this by developing a system that can both detect humor and predict its intensity, using a probabilistic framework that learns from human preferences.
Methods
The core of the proposed system is a variant of Gaussian Process Preference Learning (GPPL). GPPL is a Bayesian approach that learns to rank and rate items based on pairwise human preference judgments. It models the underlying "utility" or "humorousness" of each text and uses a Gaussian process to capture relationships between texts based on their features. This allows the system to make predictions for new, unseen texts.
Key aspects of their method include:
- Preference Learning: Instead of relying on direct numerical scores, the system learns from comparisons (e.g., "Tweet A is funnier than Tweet B"). This is particularly useful when direct scoring is subjective or inconsistent.
- Feature Representation: Tweets are represented by a vector of features, including word embeddings, token frequencies, and linguistic properties like polysemy and the presence of hashtags or URLs.
- Scalability: The authors employ a scalable GPPL method using stochastic variational inference and inducing points, which allows them to handle large datasets.
- Post-processing: The raw GPPL output is mapped back to the original funniness scale (0-5) using a Gaussian process regressor, with further adjustments to ensure values fall within the expected range.
Datasets
The primary dataset used is from the HAHA@IberLEF2019 evaluation campaign. This dataset consists of Spanish-language tweets annotated for both binary humor detection and a 5-point funniness scale. The authors also mention using the HAHA@IberLEF2018 task data as a development set.
Key Insights and Ideas
- Humor as a Spectrum: The paper strongly advocates for viewing humor not as a binary (funny/not funny) but as a continuous spectrum. This perspective is crucial for building more sophisticated humor-aware systems.
- Preference Learning's Advantage: Using pairwise preference judgments, even with potentially noisy or inconsistent human annotations, can be more robust than relying solely on direct numerical scores, especially for subjective tasks like humor.
- Data Conversion Challenges: Converting existing numerical humor scores into pairwise preference data is not straightforward and can lead to information loss, potentially impacting system performance. This highlights the importance of designing annotation schemes that align with the desired modeling approach.
- Language Resource Mismatch: Using general-purpose language resources (like standard Wikipedia embeddings) for informal social media text (like tweets) can be problematic, leading to suboptimal performance.
Key Results
The system was evaluated on the HAHA@IberLEF2019 tasks:
- Task 1 (Humor Detection): The system achieved an F1-score of 0.660, with a precision of 0.588 and a recall of 0.753.
- Task 2 (Funniness Prediction): The system achieved a Root Mean Squared Error (RMSE) of 1.810.
While these results beat a simple baseline, they were significantly worse than the top-performing system in the evaluation. The authors attribute this partly to the challenges in converting numerical scores to preference judgments and the mismatch between their linguistic resources and the informal nature of Twitter data.
Limitations and Future Work
- Data Conversion: The authors acknowledge that the conversion of numerical scores to pairwise preferences might have led to information loss, impacting performance. They suggest that directly sourcing gold-standard preference judgments would be ideal but is prohibitively expensive.
- Language Resource Mismatch: The use of standard language resources for informal social media text was identified as a limitation.
- Normalization: The lack of normalization for Twitter data to match linguistic resources was also noted.
Future work suggested includes:
- Mitigating the data conversion problem, possibly by recasting the task to directly use preference judgments.
- Normalizing the language of tweets.
- Incorporating more humor-specific features and exploring advanced linguistic features like n-grams and TF-IDF.
Summary updated