Revealing Hidden Mechanisms of Cross-Country Content Moderation with Natural Language Processing

Neemesh Yadav, Jiarui Liu, Francesco Ortu, Roya Ensafi, Zhijing Jin, Rada Mihalcea

Content moderation on social media platforms remains a significant "black box" for researchers and the public alike. While platforms like X (formerly Twitter) implement policies to curb harmful content, the specific drivers—whether legal mandates, platform-specific rules, or geopolitical pressures—are often opaque. In a study published in the Findings of ACL 2025, researchers utilized Large Language Models (LLMs) and explainable AI (XAI) to audit a decade of Twitter censorship across five distinct geopolitical contexts: Germany, France, India, Turkey, and Russia.

The Challenge of Opaque Moderation

Traditional research in Natural Language Processing (NLP) has largely focused on improving the detection of hate speech or misinformation. However, this paper shifts the focus toward understanding the why behind moderation decisions. The authors identify two primary hurdles: the inherent opacity of moderation mechanisms and the limitations of traditional NLP systems, which often rely on surface-level keyword detection without accounting for context.

Methodology: Reverse-Engineering and Explaining

The researchers framed their investigation around two core tasks:

  1. Reverse-Engineering Moderation: Multi-label classifiers were trained to predict whether a post would be censored and to categorize it into one of six types: Political, Religious, Harmful, Corporate, Military, or Other.
  2. Explaining Decisions: To understand the logic behind these classifications, the team employed SHAP (Shapley Additive Explanations) to identify influential tokens and prompted LLMs (such as Aya-23 and GPT-4o-mini) to generate natural language rationales.

The study utilized the Twitter Stream Grab dataset, focusing on approximately 122,000 posts censored between 2011 and 2020. The taxonomy for categorization was based on the Reporters Without Borders (RSF) Press Freedom Index methodology.

Examples of censored posts and their types

Regional Priorities and Geopolitical Mirroring

A key finding of the study is that censorship patterns are deeply tied to local laws and specific geopolitical events. This "geopolitical mirroring" is evident in temporal spikes of moderation during major social or political occurrences. For instance, tokens related to the "Kavanaugh" hearings were highly influential in Germany and France in 2018, while "Kashmir" and "cluster bombs" were salient in India.

Furthermore, moderation logic varies significantly by border. Germany and France exhibit high levels of "Harmful" content moderation, likely reflecting strict anti-hate speech legislation like Germany's NetzDG. In contrast, censorship in India and Turkey is heavily skewed toward "Political" content.

Category and misclassification distribution by country

Key Results and LLM Performance

The study demonstrated that moderation decisions are highly replicable. Trained models, including smaller decoders like Pythia 1B and Llama 3.2 1B, achieved F1 scores exceeding 90% in predicting censorship. In zero-shot settings, state-of-the-art models like GPT-4o achieved roughly 53% accuracy in identifying categories, underscoring the necessity of local context for accurate classification.

Human evaluations found that LLM-generated explanations were helpful approximately 72% of the time. The Aya-23 model was particularly well-regarded by annotators, likely due to its robust multilingual training, which is crucial for navigating diverse cultural contexts.

Limitations and Future Directions

While the study provides a scalable framework for auditing platform transparency, it faces certain limitations. The analysis primarily focused on English-language tweets, which may not fully capture the nuances of discourse in Russia or Turkey. Additionally, the dataset concludes in 2020, predating significant shifts in platform ownership and policy. Future work may involve more advanced interpretability techniques, such as activation patching, to further probe how models represent censorship concepts across different languages and cultures.

Summary updated

BibTeX
@inproceedings{yadav2025revealing,
  author = {Neemesh Yadav and Jiarui Liu and Francesco Ortu and Roya Ensafi and Zhijing Jin and Rada Mihalcea},
  title = {{Revealing Hidden Mechanisms of Cross-Country Content Moderation with Natural Language Processing}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure