Skip to main content
QUICK REVIEW

[Paper Review] Hierarchical CVAE for Fine-Grained Hate Speech Classification

Jing Qian, Mai ElSherief|arXiv (Cornell University)|Aug 31, 2018
Hate Speech and Cyberbullying DetectionComputer Science22 references5 citations
TL;DR

This paper proposes a Hierarchical Conditional Variational Autoencoder (HCVAE) for fine-grained hate speech classification, leveraging hate group category (ideology) information to improve classification accuracy across 40 distinct hate groups. The model outperforms baseline discriminative models by up to 10% in Micro-F1, demonstrating greater robustness on small training datasets due to its probabilistic modeling of latent representations.

ABSTRACT

Existing work on automated hate speech detection typically focuses on binary classification or on differentiating among a small set of categories. In this paper, we propose a novel method on a fine-grained hate speech classification task, which focuses on differentiating among 40 hate groups of 13 different hate group categories. We first explore the Conditional Variational Autoencoder (CVAE) as a discriminative model and then extend it to a hierarchical architecture to utilize the additional hate category information for more accurate prediction. Experimentally, we show that incorporating the hate category information for training can significantly improve the classification performance and our proposed model outperforms commonly-used discriminative models.

Motivation & Objective

  • To address the challenge of fine-grained hate speech classification beyond coarse binary or tripartite categories.
  • To explore the use of Conditional Variational Autoencoders (CVAE) as discriminative models for text classification, despite their generative origins.
  • To improve classification robustness under low-data regimes by incorporating hierarchical hate group category information.
  • To develop a model that captures subtle semantic distinctions among hate groups with shared ideologies.
  • To establish a new benchmark for fine-grained hate speech classification using real-world hate group data.

Proposed method

  • The paper extends the CVAE framework into a hierarchical architecture that mirrors the hierarchical structure of hate groups and their ideological categories.
  • The model conditions the latent variable distribution on both the input tweet and its associated hate group category, enabling better disentanglement of semantic features.
  • It uses a posterior inference network to model the latent representation given the input and label, and a prior network that conditions on the category to guide generation.
  • The hierarchical structure allows the model to leverage shared ideological patterns across subgroups, improving generalization on rare classes.
  • The training objective optimizes the variational lower bound (ELBO) with both reconstruction and KL divergence terms, using weighted sampling to address class imbalance.
  • The model is trained end-to-end using stochastic gradient descent, with inference performed via posterior approximation during testing.

Experimental results

Research questions

  • RQ1Can a CVAE-based model achieve competitive performance in fine-grained hate speech classification, despite being originally designed as a generative model?
  • RQ2How does incorporating hate group category (ideology) information improve classification performance on a 40-class fine-grained hate speech dataset?
  • RQ3Does the hierarchical CVAE model generalize better than standard discriminative models when training data is limited?
  • RQ4To what extent does the model correct misclassifications by aligning predictions with the correct ideological category rather than the exact group?
  • RQ5What are the primary failure modes of the model, and how do class imbalance and data noise affect performance?

Key findings

  • The proposed Hierarchical CVAE (HCVAE) improves the Micro-F1 score by up to 10% compared to baseline models, including Bi-LSTM and Char-CNN.
  • The CVAE-based models demonstrate greater robustness than discriminative models when training data is small, with less degradation in performance on low-resource groups.
  • The HCVAE corrects misclassified instances by predicting the correct ideological category, with 80% of misclassified predictions falling within the same category as the ground truth.
  • The model’s performance is significantly lower on groups with fewer than 1,000 training instances, indicating that class imbalance remains a major challenge.
  • Error analysis reveals that noisy or ambiguous tweets—especially those with strong ideological similarity—lead to misclassification between groups of the same category, such as neo-Nazi and KKK groups.
  • The HCVAE outperforms the standard CVAE on all metrics, showing that hierarchical supervision via ideology labels enhances discrimination between fine-grained hate groups.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.