Decentralised Moderation for Interoperable Social Networks: A Conversation-Based Approach for Pleroma and the Fediverse

Vibhor Agarwal, Aravindh Raman, Nishanth Sastry, Ahmed M. Abdelmoniem, Gareth Tyson, Ignacio Castro

TL;DR

This paper tackles the challenge of content moderation in decentralized, interoperable social networks like the fediverse. They propose a graph-based deep learning model (GraphNLI) that leverages conversational context to detect toxic content, showing it works well for larger instances but struggles with smaller ones due to fragmented data. To address this, they introduce federation strategies like model sharing, significantly improving moderation for smaller instances.

What Problem Does This Paper Address?

The rise of decentralized and interoperable social networks, often referred to as the "fediverse" (think Pleroma and Mastodon), presents a significant challenge for content moderation. Unlike centralized platforms, content can easily spread across different servers (instances), each potentially having its own moderation policies. This fragmentation means an instance might only see a piece of a larger conversation, making it difficult to accurately assess content, especially toxic speech. Traditional moderation tools, which often rely on large, centralized datasets, struggle in this environment. The paper aims to develop and evaluate a decentralized moderation approach that can effectively handle this fragmented conversational data.

Methods

The core of the proposed solution is an adaptation of the GraphNLI model, a graph-based deep learning framework. Instead of just looking at individual posts (toots), GraphNLI uses "graph walks" to capture the conversational context of a post. This means it considers replies and the broader thread to understand the meaning and potential toxicity. For decentralized moderation, the model is trained locally on each instance. To overcome the limitations of small instances with insufficient local data, the researchers explore federation strategies:

  • Toot Federation: Small instances retrieve posts from larger federating instances to augment their training data.
  • Model Sharing: Small instances download and fine-tune a pre-trained moderation model from a larger federating instance.

Datasets

The study utilizes a comprehensive dataset from Pleroma, a large, decentralized, and interoperable micro-blogging service. This dataset comprises 713 instances and approximately 16.5 million posts collected before January 22, 2021. Toxicity scores for posts were obtained using Google's Perspective API. The researchers reconstructed over 7.2 million conversation trees from this data.

Key Insights and Ideas

  • Conversational Context is Crucial: The paper strongly reinforces that understanding the full conversation, not just individual posts, is vital for accurate toxicity detection. Toxic content often appears at the beginning of conversations, suggesting context from earlier posts is key.
  • Decentralization Creates Fragmentation: The fediverse's interoperability, while beneficial for communication, leads to fragmented conversations. Instances often have only partial views of a conversation, making local moderation challenging.
  • Small Instances are the Bottleneck: While larger instances can achieve good moderation performance with local data, smaller instances suffer significantly due to insufficient training data, rendering local-only approaches ineffective.
  • Federation is the Solution for Small Instances: Sharing information (either raw posts or trained models) between instances is essential for effective moderation in smaller communities. Model sharing proves to be particularly effective and privacy-preserving.
  • Toxicity Spreads and Engages More: Toxic content in Pleroma instances tends to be shared (reblogged) and replied to more frequently than non-toxic content, highlighting the urgency of effective moderation.

Key Results

  • The GraphNLI model, trained on the complete Pleroma dataset (global context), achieved a macro-F1 score of 0.9846, significantly outperforming a BERT baseline (0.4591).
  • When trained and inferred locally, GraphNLI achieved a macro-F1 of 0.8837 for large instances and 0.7675 for medium instances.
  • For small instances, local-only GraphNLI achieved a macro-F1 of 0.0, indicating complete failure.
  • Through federation strategies, small instances saw significant improvements:
  • Toot Federation achieved a macro-F1 of 0.8258.
  • Model Sharing achieved the highest macro-F1 of 0.8826, representing a 28.26% improvement over the previous best for small instances.
  • Model sharing also improved performance for medium instances, reaching a macro-F1 of 0.8169.

Limitations and Future Work

The authors acknowledge that their approach, while effective, relies on the availability of conversational context. The effectiveness of local models is directly tied to the richness of the local data. For small instances, the reliance on external data (either posts or models) highlights the inherent challenge of data scarcity. Future work could explore more sophisticated methods for federated learning and model sharing, potentially optimizing for privacy and communication efficiency. The paper also suggests that their approach has broad applicability to other interoperable social networks beyond Pleroma.

Summary updated

BibTeX
@inproceedings{agarwal2024decentralised,
  author = {Vibhor Agarwal and Aravindh Raman and Nishanth Sastry and Ahmed M. Abdelmoniem and Gareth Tyson and Ignacio Castro},
  title = {{Decentralised Moderation for Interoperable Social Networks: A Conversation-Based Approach for Pleroma and the Fediverse}},
  booktitle = {ICWSM},
  year = {2024},
  url = {https://openreview.net/forum?id=XvltD3bMMp},
}
Figure