EBoW: Strengthening Cyberbullying Detection through Embedding-Enhanced Features

Automatic detection of cyberbullying on social networks based on bullying features

2016-01-04
Rui Zhao, Anna Zhou, Kezhi Mao
Summary
Problem
Method
Results
Takeaways
Abstract

The paper introduces EBoW (Embeddings-enhanced Bag-of-Words), a novel representation learning framework for cyberbullying detection. By combining traditional BoW and Latent Semantic Analysis (LSA) with embedding-expanded "bullying features," the model achieves SOTA performance on Twitter datasets using a linear SVM classifier.

TL;DR

With the rise of social media, cyberbullying has become a critical public health issue. Traditional NLP models often treat bullying detection as a generic text classification task, missing the nuance of offensive language. This paper introduces EBoW (Embeddings-enhanced Bag-of-Words), which systematically expands a set of "insulting seeds" using word embeddings to capture the semantic variety of harassment, leading to superior detection performance on platforms like Twitter.

Problem & Motivation: Beyond Keyword Matching

Why is cyberbullying hard to detect? Unlike physical bullying, it is persistent (24/7) and often uses coded language, slang, or synonyms that simple keyword filters miss.

Previous works attempted to solve this by:

  1. Standard BoW: Treating "idiot" and "moron" as unrelated dimensions.
  2. Manual Weighting: Arbitrarily doubling the weight of a few swear words, which lacks a theoretical basis and fails to adapt to new slang.

The authors identified that the Inductive Bias of the model must include the semantic proximity of offensive terms. If "slut" is a known bullying term, semantically similar words retrieved via latent space (like "whore" or "hypocrite") should also be treated as high-signal features.

Methodology: The EBoW Framework

The core innovation is the Representation Learning phase. Instead of relying on a single feature type, the authors concatenate three distinct perspectives:

  1. Bag-of-Words (BoW): Captures the raw presence of unigrams and bigrams using TF-IDF.
  2. Latent Semantic Analysis (LSA): Reduces dimensionality to capture global context and reduce noise.
  3. Bullying Features (The Secret Sauce):
    • Start with 350 "insulting seeds" (e.g., nigga, bitch, fuck).
    • Use a Word2vec model (trained on 400M tweets) to find the top- most similar words for each seed.
    • Assign weights based on Cosine Similarity. For a bigram like "stupid jerk," they use an additive model: .

EBoW Architecture Figure 1: The EBoW feature concatenation process leading to a Linear SVM classifier.

Experimental Insights

The researchers tested EBoW against strong baselines (LDA, LSA, and scaled BoW) on a labeled Twitter dataset.

Key Findings:

  • Performance Lift: EBoW achieved the highest Precision (76.8), Recall (79.4), and F1-Score (78.0).
  • The "Goldilocks" Zone: The parameter (number of expanded words) is crucial. Too small (), and the model lacks coverage; too large (), and noisy, non-offensive words dilute the feature space.
MethodPrecisionRecallF1 Score
BoW75.677.876.6
sBoW (Scaled)75.778.376.9
EBoW (Ours)76.879.478.0

Results Visualization Figure 2: Sensitivity analysis of parameter h showing the peak performance around h=50.

Critical Analysis & Conclusion

The beauty of EBoW lies in its Interpretability. Unlike deep black-box neural networks, we can see exactly which expanded words (like those in Figure 2's word cloud) are driving the classification.

Limitations:

  • The model still relies on a "seed list," which may require periodic updates as Internet slang evolves (e.g., "leetspeak" or memes).
  • The additive model for bigram embeddings is a simplification that might not capture complex sarcasm.

Takeaway: This work demonstrates that effectively "grounding" embeddings with domain-specific lexicons is a powerful way to augment classical machine learning pipelines, providing a robust middle ground between pure manual engineering and full deep learning.

Find Similar Papers

Try Our Examples

  • Search for recent papers that utilize BERT or Transformer-based embeddings for cyberbullying detection specifically to compare against this 2016 word2vec-based approach.
  • What are the most widely used public datasets for cyberbullying research beyond the "Bullying Traces" dataset used in this study, and how do they handle class imbalance?
  • Explore how recent research integrates social network graph metadata (user relationships) with text features to improve the accuracy of cyberbullying detection systems.
Contents
EBoW: Strengthening Cyberbullying Detection through Embedding-Enhanced Features
1. TL;DR
2. Problem & Motivation: Beyond Keyword Matching
3. Methodology: The EBoW Framework
4. Experimental Insights
4.1. Key Findings:
5. Critical Analysis & Conclusion