Topo Goes Political: TDA-Based Controversy Detection in Imbalanced Reddit Political Data

Arvindh Arun, Karuna K. Chandra, Akshit Sinha, Balakumar Velayutham, Jashn Arora, Manish Jain, Ponnurangam Kumaraguru

Introduction

Controversy detection is a critical task for digital moderation and understanding societal polarization. However, current research often suffers from a "reality gap," relying on synthetically balanced datasets that do not reflect the natural distribution of social media discourse. In real-world scenarios, controversial posts are rare compared to non-controversial ones. This paper addresses this gap by introducing a novel approach using Topological Data Analysis (TDA) to identify heated political debates on Reddit, specifically focusing on the complex landscape of Indian politics.

Methodology

The researchers developed a multi-modal pipeline for feature extraction and model building. The core innovation lies in the use of Persistent Homology to capture the "shape" of user interactions over time.

Overview of the Feature Building and Model Building pipeline used in the study.

Feature Extraction

  1. Graph Construction: Discussions are modeled as weighted User-User interaction graphs, where edges signify replies between participants.
  2. Topological Data Analysis (TDA): By applying Persistent Homology, the authors identify cycles or "holes" in the interaction graph. These cycles represent the back-and-forth exchanges typical of controversial threads.
  3. Textual and Metadata Features: Traditional features like post metadata and SBERT text embeddings are combined with these structural topological fingerprints to create a comprehensive feature set.

Model Benchmarking

The study evaluates several architectures, including traditional machine learning (Random Forest, AdaBoost), Graph Neural Networks (GCN, GAT, GraphSAGE), and anomaly detection via Autoencoders.

Dataset and Labeling

The authors curated a large-scale dataset from seven popular Indian political subreddits, comprising 18,462 posts and nearly 1 million comments. Crucially, the dataset maintains a natural imbalance, with only 12.9% of posts labeled as controversial. Ground truth was established using Reddit’s Upvote Ratio (UR): posts with a UR between 0.3 and 0.7 are considered controversial (indicating split community sentiment), while those above 0.8 are non-controversial.

The Shape of Controversy

The central thesis is that controversy is defined not just by keywords, but by interaction patterns. Cyclic structures in the user graph serve as a robust signal for disagreement, where users repeatedly engage with one another in a debate loop.

Visualization of a controversial Reddit thread graph showing cyclic interaction patterns and associated textual content.

Key Results and Robustness

To measure performance in imbalanced settings, the authors introduced the Imbalance Impact Score ($I$), which rewards models that maintain performance when transitioning from balanced to imbalanced data.

  • TDA Benefits: Incorporating topological features significantly improved model robustness. For the Random Forest (RF) model, the $I$ score improved from 10.69 to 19.04.
  • GNN Performance: Graph Neural Networks also saw a boost; for instance, adding TDA features to a GCN model increased its $I$ score from 13.58 to 15.25.
  • Baseline Strength: Interestingly, well-engineered feature-based baselines (SB) often outperformed complex fusion-based GNNs in these naturally imbalanced environments, highlighting the importance of structural feature engineering.

Conclusion and Future Directions

This work demonstrates that TDA provides a "structural anchor" that enhances controversy detection in real-world, imbalanced data. While effective, future research aims to address multi-lingual discourse (e.g., Hinglish) and develop early-warning systems to predict controversy as threads begin to grow.

Summary updated

BibTeX
@inproceedings{arun2025topo,
  author = {Arvindh Arun and Karuna K. Chandra and Akshit Sinha and Balakumar Velayutham and Jashn Arora and Manish Jain and Ponnurangam Kumaraguru},
  title = {{Topo Goes Political: TDA-Based Controversy Detection in Imbalanced Reddit Political Data}},
  booktitle = {The Web Conference},
  year = {2025},
}
Figure