NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Detecting Gang-Involved Escalation on Social Media Using Context

Serina Chang, Ruiqi Zhong, Ethan Adams, Fei-Tzin Lee, Siddharth Varia, Desmond Patton, William R. Frey, Chris Kedzie, Kathy McKeown

Abstract

Social media platforms have become a digital extension of real-world gang conflicts, where expressions of grief ("Loss") can rapidly escalate into threats ("Aggression"). This paper presents a system developed at Columbia University to detect these transitions by leveraging domain-specific language models and contextual features, including user history and social interactions. Using a Convolutional Neural Network (CNN) architecture, the model significantly outperforms traditional baselines, providing a potential tool for violence de-escalation.

Introduction

In urban environments like Chicago, social media is often used by gang-involved youth to express emotions that can lead to physical violence. Detecting "Aggression" and "Loss" in these posts is challenging due to the use of African American English (AAE) and hyper-local, coded dialects. Furthermore, isolated tweets often lack the necessary context to distinguish between general slang and specific, actionable threats.

Methodology

The proposed system moves beyond static, hand-curated dictionaries toward an automated, data-driven approach. The architecture integrates three primary components:

  1. Domain-Specific Resources: Custom Word2Vec embeddings were trained on a large unlabeled corpus of 1 million tweets from the target community. Additionally, the SENTPROP algorithm was used to induce a lexicon (SPLex) for Aggression and Loss from a small seed set.
  2. Contextual Features: The model incorporates a user’s recent tweet history (up to 90 days) with temporal decay and a representation of user interactions (mentions and retweets).
  3. CNN Architecture: A Convolutional Neural Network processes the target tweet, concatenating it with context vectors before the final classification layer.
Overview of the system architecture, showing the integration of domain-specific embeddings and contextual features into a CNN classifier.

Data and Insights

The researchers utilized a labeled dataset of 4,936 tweets from a specific Chicago gang network, supplemented by an unlabeled dataset of 1 million tweets for training embeddings. Key findings include:

  • Hyper-Local Context: Embeddings trained on the specific community (DS) outperformed general-purpose or even dialect-specific (AAE) embeddings.
  • The Power of Context: Aggression is often reactive. By analyzing a user's history and interactions, the model can distinguish between general profanity and specific threats directed at rivals.
  • Scalable Automation: Automatically induced lexicons proved as effective as manual phrasebooks, allowing the system to adapt to rapidly evolving slang.

Results

The inclusion of context and domain-specific (DS) resources led to substantial performance gains. The CNN-Context model achieved a Macro-F1 score of 69.8, a significant improvement over the SVM baseline and the CNN model without context.

Performance comparison of various models showing the superiority of the CNN-Context approach.

The model's most robust improvements were seen in the Aggression class, where the F1 score rose from 33.7 (baseline) to 42.0. Additionally, using domain-specific embeddings alone provided a significant boost in Macro-F1 compared to standard Google News embeddings.

Limitations and Future Work

Despite its success, the system faces challenges with the nuanced use of hashtags and emojis. Future research will focus on modeling the directionality of social interactions and linking online posts to real-world events. The ultimate goal is to equip violence outreach workers with tools to identify and de-escalate conflicts before they turn fatal.

Summary updated

BibTeX
@inproceedings{chang2018detecting,
  author = {Serina Chang and Ruiqi Zhong and Ethan Adams and Fei-Tzin Lee and Siddharth Varia and Desmond Patton and William R. Frey and Chris Kedzie and Kathy McKeown},
  title = {{Detecting Gang-Involved Escalation on Social Media Using Context}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2018},
  url = {https://openreview.net/forum?id=BkWYvzG_bB},
}
Figure