Topological Data Mapping of Online Hate Speech, Misinformation, and General Mental Health: A Large Language Model Based Study

Andrew Alexander, Hongbin WangarXiv 2023 · DOI

Abstract

Researchers at Texas A&M University utilized GPT-3 embeddings and Topological Data Analysis (TDA) to map the linguistic relationships between online hate speech, misinformation, and psychiatric disorders. Their study reveals that hate speech shares significant semantic "space" with Cluster B personality disorders and Schizoid Personality Disorder, suggesting a deep-seated connection between certain mental health profiles and toxic online behavior.

Introduction

While social media is a known breeding ground for hate speech and misinformation, understanding the underlying psychological drivers remains a challenge. Previous research has linked these behaviors to the "Dark Triad" of personality traits (Narcissism, Machiavellianism, and Psychopathy), but the broader relationship with clinical psychiatric disorders has been elusive. The primary hurdle is the scale and complexity of social media data; traditional statistical methods often struggle to find "hidden links" in millions of unstructured text posts. This study addresses this gap by using Large Language Models (LLMs) to translate human language into high-dimensional mathematical vectors, allowing for a rigorous, global analysis of the "mental health landscape" of the internet.

Methodology

The research team employed a multi-stage computational pipeline centered on OpenAI’s text-embedding-ada-002 model. This model converted Reddit posts into 1536-dimensional vectors, capturing the "hidden semantics" or underlying meaning of the text.

The study distinguished between "Individual User Post" (IUP) embeddings and "Distilled" embeddings (averaging posts within a community) to filter out individual quirks and focus on characteristic group speech patterns. A zero-shot classification approach was used: a model trained on psychiatric and control IUP embeddings was tasked with classifying hate speech and misinformation posts into those pre-defined categories.

Experimental design showing the four classification tasks used to map psychiatric disorders to hate speech and misinformation.

Finally, Topological Data Analysis (TDA) via the Mapper algorithm was used to project high-dimensional embeddings into a 2D visual map. Unlike standard dimensionality reduction techniques like PCA, TDA excels at preserving the "shape" and non-linear connections of the data, revealing a spectrum of similarity rather than isolated clusters.

Datasets

The study utilized a dataset of thousands of posts from 54 carefully selected Reddit communities, categorized into four classes:

  • Psychiatric Disorders: 34 communities (e.g., r/ADHD, r/BPD, r/narcissism, r/CPTSD, r/schizophrenia).
  • Hate Speech: 9 communities identified by prior literature or Reddit bans (e.g., r/Incels, r/TheRedPill, r/MGTOW).
  • Misinformation: 5 communities (e.g., r/conspiracy, r/NoNewNormal, r/ivermectin).
  • Control: 6 neutral communities with no apparent ties to the other categories (e.g., r/apple, r/askscience).

Results

The model achieved high performance in distinguishing between various psychiatric conditions and control groups. As shown in the confusion matrix below, the model demonstrated an 86% accuracy when classifying distilled psychiatric embeddings using a model trained on individual posts, validating that these communities have distinct, identifiable linguistic signatures.

Confusion matrix showing the classification performance across 17 psychiatric and control categories.

Key findings from the mapping tasks include:

  • Hate Speech Mapping: 78.64% of hate speech embeddings were classified as psychiatric disorders rather than control. Within that group, Cluster B disorders (Narcissistic, Antisocial, Borderline) accounted for nearly 60% of the classifications.
  • Misinformation Mapping: In contrast, 73.85% of misinformation embeddings were classified as "Control," though the portion that did map to disorders was dominated by Anxiety (13.85%).
  • TDA Connectivity: The TDA map showed that almost all psychiatric and hate speech nodes were interconnected, while control nodes remained largely isolated. This indicates that toxic speech and mental health struggles share common linguistic "DNA" that is absent from general conversation.

Discussion

The most striking finding is the "Hate-Disorder" spectrum. Linguistically, hate speech is immediately connected to the space occupied by psychiatric disorders—specifically Cluster B and Schizoid Personality Disorder. The latter was the second-largest classification for hate speech, which was unexpected given the disorder's typical trait of social detachment.

Furthermore, the study found that Complex Post-Traumatic Stress Disorder (CPTSD) is semantically closer to Cluster B personality disorders than to standard PTSD. In the TDA map, CPTSD served as a bridge toward hate speech, whereas PTSD was further away.

Limitations and Future Work

The authors emphasize that correlation does not equal causation; mental illness is not suggested to cause hate speech, but rather the speech patterns are remarkably similar. Limitations include the use of self-identified Reddit communities as proxies for clinical diagnoses and the specific demographics of the platform.

Future research could explore if the principles of therapies like Dialectical Behavior Therapy (DBT)—often used for Cluster B disorders—might be adapted into counter-strategies for online radicalization and hate speech.

Summary updated

BibTeX
@misc{alexander2023topological,
  author = {Andrew Alexander and Hongbin Wang},
  title = {{Topological Data Mapping of Online Hate Speech, Misinformation, and General Mental Health: A Large Language Model Based Study}},
  year = {2023},
  eprint = {2309.13098},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2309.13098},
}
Figure