Unified Game Moderation: Soft-Prompting and LLM-Assisted Label Transfer for Resource-Efficient Toxicity Detection

Zachary Yang, Domenico Tullo, Reihaneh Rabbany

Abstract

This paper presents a scalable framework for real-time toxicity detection in online gaming. By leveraging soft-prompting to unify multiple game-specific models and an LLM-assisted label transfer method to harmonize diverse datasets, the authors create a resource-efficient, multi-lingual system capable of handling evolving moderation policies across a global portfolio. The resulting system, tested in production environments, demonstrates that contextual tokens and LLM-refined data can significantly reduce operational overhead while maintaining high detection accuracy.

Introduction

Moderating online game chat is an operational challenge at scale. Traditional approaches face two primary "walls":

  1. The Unification Wall: Different games have distinct slang and social norms. Maintaining separate models for dozens of games is computationally expensive and creates a significant maintenance burden.
  2. The Definition Wall: Toxicity definitions evolve based on legislation or company policy. Open-source datasets often use inconsistent labels (e.g., "offensive" vs. "toxic"), making it difficult to train a single model that adheres to specific house rules across multiple languages.

Methodology

The authors build upon ToxBuster, a BERT-based real-time classifier, and introduce two novel strategies to overcome these barriers.

Soft-Prompting for Model Unification

Instead of training separate models or using complex curriculum learning, the authors prepended a specialized GAME_TYPE_TOKEN (e.g., GAME_1, GAME_2) to every chat sequence. This "soft prompt" allows a single model to learn game-specific nuances—such as distinguishing between competitive "trash talk" and genuine harassment—without increasing parameter count or inference latency.

LLM-Assisted Label Transfer

To solve data inconsistency, the authors utilized GPT-4o-mini as a "label translator." They re-classified 15 existing human-annotated datasets according to specific organizational toxicity categories. To ensure high quality, they implemented a validation filter: only samples where the LLM’s binary classification agreed with the original human label were retained. This consensus approach filtered out ambiguous cases while generating a massive, high-quality multi-lingual training set.

The five-step pipeline for LLM-assisted label transfer, from human-curated data to the final matched dataset.

Datasets

  • MLSNT (Multi-Lingual Social Network Toxicity): A new benchmark aggregating 15 open-source datasets covering 7 languages: Chinese, French, German, Japanese, Portuguese, and Russian.
  • Ubisoft Internal Chat: Real-world game chat data used for final evaluation and production testing.
  • CC-100: Used for domain-specific pre-training of the multi-lingual base model (XLM-RoBERTa).

Key Results and Insights

Unified Performance

The soft-prompted model achieved a macro F1-score of 43.16%, effectively matching the performance of maintaining multiple separate models while drastically reducing operational overhead. As shown in the comparison below, soft-prompting performs competitively against more complex curriculum learning strategies.

Comparison of performance across different training methods, showing that soft-prompting achieves top-tier results.

Efficiency and Multi-lingual Success

By using XLM-RoBERTa-base (approx. 279M parameters) instead of massive LLMs for inference, the system maintains the low latency required for real-time moderation. The system was successfully extended to 7 additional languages. In production, the model identifies an average of 50 players per game, per day engaging in sanctionable behavior.

LLMs as Data Refineries

The paper demonstrates that LLMs are most effective as "filters" for existing human-labeled data rather than as zero-shot classifiers. Requiring agreement between the LLM and human labels provided a 40% performance boost in identifying specific toxic categories compared to using the LLM alone.

Limitations and Future Work

  • Language Nuance: Performance was lower in Japanese (19.07% macro F1), likely due to adversarial chat data and complex writing systems.
  • Genre Bias: The study focused on two specific genres; future work will explore if soft prompts hold up in social VR spaces versus competitive shooters.
  • Human-in-the-loop: Discarded cases where LLM and human labels disagreed still require manual review to capture the most nuanced forms of toxicity.

Summary updated

BibTeX
@inproceedings{yang2025unified,
  author = {Zachary Yang and Domenico Tullo and Reihaneh Rabbany},
  title = {{Unified Game Moderation: Soft-Prompting and LLM-Assisted Label Transfer for Resource-Efficient Toxicity Detection}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2025},
}
Figure