Modeling Islamist Extremist Communications on Social Media using Contextual Dimensions: Religion, Ideology, and Hate

Ugur Kursuncu, Manas Gaur, Carlos Castillo, Amanuel Alambo, K. Thirunarayan, Valerie Shalin, Dilshod Achilov, I. Budak Arpinar, Amit ShetharXiv 2019 · DOI

TL;DR

This paper introduces a context-aware computational framework to detect Islamist extremist communications on Twitter by decomposing content into three distinct dimensions: Religion, Ideology, and Hate. By training domain-specific word embeddings on specialized corpora (like the Qur’an vs. ISIS magazines), the researchers achieved a 10.2% improvement in precision over state-of-the-art baselines, significantly reducing the risk of mislabeling peaceful religious discourse as extremist.

What Problem Does This Paper Address?

The primary challenge in identifying extremist content online is "cloaking." Extremist groups often hijack religious terminology, twisting mainstream concepts to serve a malevolent ideology. For example, the term jihad can refer to an internal spiritual struggle (mainstream) or a call to violent conflict (extremist).

Standard machine learning models often struggle with this inherent ambiguity, leading to high false-positive rates where peaceful Muslims are incorrectly flagged as extremists. This isn't just a technical failure; it has serious social implications, including discrimination and the erosion of trust. The authors aim to build a model that can distinguish between these nuanced contexts while handling the "sparsity" of social media data (where users may not post frequently enough for traditional models to capture their intent).

Table 1 shows how the same term, like "jihad," carries different meanings across religious, ideological, and hateful contexts.

Methods

The authors propose a multi-dimensional modeling approach. Instead of a single "extremism" model, they create three separate Word2Vec (skip-gram) embedding models, each trained on a specific domain corpus:

  1. Religion (R): Trained on the Qur’an and authentic Hadith collections.
  2. Ideology (I): Trained on ISIS-published magazines (e.g., Dabiq) and books by known extremist ideologues.
  3. Hate (H): Trained on a general social media hate speech corpus.

To represent a user, the system aggregates their tweets and generates a vector for each dimension. These are then concatenated and reduced via Singular Value Decomposition (SVD) to create a final 300-dimensional representation.

Figure 1. Creation of representations for a user using contextual dimension models using Word2Vec (W2V).

Beyond the embeddings, the paper employs two critical pre-processing steps:

  • Outlier Detection: Using Hierarchical Density-Based Clustering (HDBC) and t-SNE visualization, the authors identified and removed "likely outliers"—users in the extremist dataset who were likely mislabeled by previous researchers or lacked the specific ideological markers of extremism.
  • Imputation: Since many users don't tweet about all three dimensions, the authors used Latent Dirichlet Allocation (LDA) to "impute" or fill in missing contextual data based on topical similarity to other users.

Datasets

  • Positive Class (Extremist): 538 verified extremist users (and ~47k tweets) from Pro-ISIS datasets and the "Lucky Troll Club" (users suspended by Twitter for ISIS-related activity).
  • Negative Class (Non-Extremist): 6,040 mainstream Muslim religious users (and ~7k tweets) to ensure the model could distinguish between piety and extremism.
  • Domain Corpora: Specialized texts including the Qur’an, Sahih Al-Bukhari (Hadith), ISIS magazines (Dabiq, Rumiyah), and various extremist manifestos.

Key Insights and Ideas

  • Ideology is the Differentiator: While extremist and non-extremist users share significant overlap in the "Religion" dimension, they diverge sharply in "Ideology" and "Hate." Statistical analysis (Mann-Whitney U-test) showed that the Ideology dimension was the most effective for clustering and separating the two groups.
  • The "Cloaking" Effect is Measurable: By looking at the "nearest neighbors" of words in different embedding spaces, the authors proved that the numerical representation of a word like jihad changes significantly depending on whether it is viewed through a religious or ideological lens.
  • Precision Over Recall: In the context of counter-terrorism and social media monitoring, the authors argue that precision (avoiding false positives) is more important than recall (finding every instance). Mislabeling a peaceful user has higher social costs than missing a single extremist tweet.

Key Results

The tri-dimensional (RIH) model using Random Forest (RF) with data imputation significantly outperformed the baseline:

  • Precision: 0.97 (a 10.2% improvement over the baseline).
  • Recall: 0.89 (an 8.5% improvement).
  • F1-Score: 0.93 (a 10.7% improvement).
  • AUC: 0.93.

The results showed that while the "Religion" dimension alone is a poor classifier (often confusing the two groups), combining it with "Ideology" and "Hate" provides the necessary context to achieve high accuracy.

Limitations and Future Work

The authors acknowledge that the limited number of labeled instances may make it difficult to track the "ever-evolving" nature of extremist language. Extremist groups are known for rapidly changing their slang and coded language to evade detection.

Future work aims to address this by exploring the dynamic nature of radicalization over time, moving from static classification to a model that can track an individual's "progression" through these contextual dimensions. They also plan to incorporate more domain-specific knowledge to make the analysis less "fragile" to shifts in online discourse.

Summary updated

Abstract

Terror attacks have been linked in part to online extremist content. Although tens of thousands of Islamist extremism supporters consume such content, they are a small fraction relative to peaceful Muslims. The efforts to contain the ever-evolving extremism on social media platforms have remained inadequate and mostly ineffective. Divergent extremist and mainstream contexts challenge machine interpretation, with a particular threat to the precision of classification algorithms. Our context-aware computational approach to the analysis of extremist content on Twitter breaks down this persuasion process into building blocks that acknowledge inherent ambiguity and sparsity that likely challenge both manual and automated classification. We model this process using a combination of three contextual dimensions -- religion, ideology, and hate -- each elucidating a degree of radicalization and highlighting independent features to render them computationally accessible. We utilize domain-specific knowledge resources for each of these contextual dimensions such as Qur'an for religion, the books of extremist ideologues and preachers for political ideology and a social media hate speech corpus for hate. Our study makes three contributions to reliable analysis: (i) Development of a computational approach rooted in the contextual dimensions of religion, ideology, and hate that reflects strategies employed by online Islamist extremist groups, (ii) An in-depth analysis of relevant tweet datasets with respect to these dimensions to exclude likely mislabeled users, and (iii) A framework for understanding online radicalization as a process to assist counter-programming. Given the potentially significant social impact, we evaluate the performance of our algorithms to minimize mislabeling, where our approach outperforms a competitive baseline by 10.2% in precision.
BibTeX
@misc{kursuncu2019modeling,
  author = {Ugur Kursuncu and Manas Gaur and Carlos Castillo and Amanuel Alambo and K. Thirunarayan and Valerie Shalin and Dilshod Achilov and I. Budak Arpinar and Amit Sheth},
  title = {{Modeling Islamist Extremist Communications on Social Media using Contextual Dimensions: Religion, Ideology, and Hate}},
  year = {2019},
  eprint = {1908.06520},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1908.06520},
}

Loading related content...

Figure