TL;DR
This paper introduces a lifelong learning framework for fine-grained hate speech classification, allowing models to continuously learn about new hate groups and ideologies without forgetting previous ones. By combining Variational Representation Learning (VRL) with an intelligent memory module (LB-SOINN), the authors effectively combat "catastrophic forgetting" in the rapidly shifting landscape of social media.
What Problem Does This Paper Address?
Automated hate speech detection usually assumes a static world: you have a fixed dataset and a pre-defined set of categories. However, social media is anything but static. New hate ideologies emerge (e.g., the 900% surge in anti-Chinese hate speech during the early COVID-19 pandemic), and the vocabulary used by hate groups evolves daily.
When a standard machine learning model is updated with new data, it often suffers from catastrophic forgetting—it learns the new patterns but completely loses the ability to recognize what it learned previously. Furthermore, most models are built for a fixed number of classes, making it difficult to incorporate a 43rd hate group into a model originally trained on 42. This paper tackles the challenge of building a classifier that can adapt to a continuous stream of new, diverse hate ideologies.
Methods
The authors propose a novel architecture that moves away from traditional classification toward a ranking-based approach. Instead of predicting a class label, the model scores how well a tweet matches a candidate hate group. This allows the system to handle an ever-growing list of groups.
The core of their approach consists of two main components:
- Variational Representation Learning (VRL): Inspired by Variational Autoencoders (VAEs), this component distills the "essence" of a task into a latent variable distribution. Unlike a standard VAE, the latent space here is conditioned on both the tweet and its group label. This forces the model to organize its internal representations by ideology, making the knowledge easier to preserve.
- LB-SOINN Memory Module: Since we can't store every tweet ever seen, the model uses a "Load-Balancing Self-Organizing Incremental Neural Network" to pick the most representative "anchor" samples from previous tasks. These anchors are stored in a small memory buffer and replayed during new training sessions to anchor the model's knowledge.
Datasets
The study utilizes a fine-grained hate speech dataset containing tweets from 42 hate groups across 15 distinct ideologies (e.g., Anti-Muslim, Neo-Nazi, Kuklux Klan).
The researchers split this dataset into 15 sequential tasks based on ideology. This setup mimics a real-world scenario where a model might encounter "Anti-Muslim" content first, and then months later, "Anti-Immigration" content. As shown in the table below, the "Average Jaccard Index" (Avg. JI) between these ideologies is very low, indicating that the vocabulary and topics change significantly between tasks, making the learning process particularly difficult.
Key Insights and Ideas
- Task Dissimilarity is a Hurdle: Traditional lifelong learning methods (like EWC) often rely on tasks being somewhat similar. In hate speech, the "topic shift" is so severe that these methods fail. Memory replay (storing and re-training on old examples) proved much more effective than just penalizing weight changes.
- Representations over Raw Data: Storing raw samples isn't enough. By storing the distribution (via VRL) of those samples, the model can use a KL-divergence loss to ensure that its understanding of "old" ideologies doesn't drift when it learns "new" ones.
- Synergy between VRL and LB-SOINN: VRL explicitly pushes tweets into well-organized clusters in the latent space. This "pre-clustering" makes it much easier for the LB-SOINN algorithm to identify the most important topological points to save in memory.
Key Results
The proposed model significantly outperformed state-of-the-art lifelong learning baselines like Elastic Weight Consolidation (EWC) and Gradient Episodic Memory (GEM).
As the number of observed tasks ($t$) increased, the performance gap widened. By the time the model reached the 15th task, the proposed method maintained a Micro-F1 score of 44.62%, while GEM dropped to 15.07% and standard fine-tuning plummeted to 6.18%. Remarkably, the model even outperformed "Multitask Learning" (training on all data at once) in the later stages, likely because focusing on one task at a time is easier than balancing 15 simultaneously.
Limitations and Future Work
The authors noted a specific "cold start" problem: the model performs poorly on the very first task in the sequence. This is attributed to the reconstruction loss in the VRL component; with a limited initial vocabulary, the model struggles to learn a robust language representation from scratch.
To fix this, the authors suggest pre-training the VAE on a large, general Twitter corpus before starting the lifelong learning process. This would give the model a baseline "understanding" of language, allowing it to focus purely on the nuances of hate ideologies from task one.
Summary updated