[Paper Review] Author Profiling for Hate Speech Detection
This paper proposes a novel hate speech detection approach that integrates community-based author profiling features—derived from social network embeddings—into existing deep learning models. By leveraging node2vec to generate low-dimensional author embeddings capturing community structure, the method significantly outperforms state-of-the-art baselines on a 16k-tweet dataset annotated for racism and sexism, demonstrating that social network context enhances detection beyond lexical and semantic cues alone.
The rapid growth of social media in recent years has fed into some highly undesirable phenomena such as proliferation of abusive and offensive language on the Internet. Previous research suggests that such hateful content tends to come from users who share a set of common stereotypes and form communities around them. The current state-of-the-art approaches to hate speech detection are oblivious to user and community information and rely entirely on textual (i.e., lexical and semantic) cues. In this paper, we propose a novel approach to this problem that incorporates community-based profiling features of Twitter users. Experimenting with a dataset of 16k tweets, we show that our methods significantly outperform the current state of the art in hate speech detection. Further, we conduct a qualitative analysis of model characteristics. We release our code, pre-trained models and all the resources used in the public domain.
Motivation & Objective
- To investigate whether community-based author profiling improves hate speech detection beyond traditional textual features.
- To explore the role of homophily and online communities in shaping hateful language patterns.
- To develop and evaluate a method that combines user network structure with deep learning for improved detection performance.
- To release code, pre-trained models, and datasets to support reproducibility and future research.
Proposed method
- Constructed a directed graph of Twitter authors based on retweets and mentions in a 16k-tweet dataset.
- Applied node2vec to learn low-dimensional dense embeddings for each author, capturing community membership and social structure.
- Integrated author embeddings as additional features into baseline hate speech classifiers, including logistic regression and RNN-based models.
- Trained and evaluated models using a 5-fold cross-validation setup on annotated racism and sexism labels.
- Used t-SNE to visualize author embeddings and validate that clusters correspond to communities with similar linguistic behavior.
- Maintained a blacklist of URLs to address misclassification of tweets with obfuscated or malicious links.
Experimental results
Research questions
- RQ1Are authors who belong to specific online communities more likely to produce hate speech?
- RQ2Can community-based author profiling features improve the performance of hate speech detection systems?
- RQ3How do author embeddings derived from social networks compare to purely lexical or semantic features in detecting hate speech?
- RQ4What types of hateful content remain misclassified despite the addition of profiling features?
Key findings
- The addition of author embeddings from node2vec significantly improved hate speech detection performance over state-of-the-art baselines using only textual features.
- The model achieved state-of-the-art results on a 16k-tweet dataset annotated for racism and sexism, demonstrating the value of social network structure in classification.
- Visualizations of author embeddings revealed dense clusters corresponding to communities of users who frequently post hateful content, particularly in the sexism class.
- Despite improvements, tweets containing obfuscated words (e.g., 'c*nt') or shortened URLs to hateful content remained misclassified, indicating limitations in current detection strategies.
- The study confirms that users prone to hate speech tend to form cohesive online communities, validating the relevance of homophily in online discourse.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.