Use soft prompts and LLM label transfer to scale real-time in-game toxicity detection across games and languages

June 1, 20258 min

Overview

Decision SnapshotNeeds Validation

The approach is production-oriented and tested on live game data; results are convincing for scaling but show per-language gaps that need more data or human review before full automation.

Citations0

Evidence Strength0.75

Confidence0.90

Risk Signals11

Trust Signals

Findings with numeric evidence: 5/5

Findings with evidence refs: 5/5

Results with explicit delta: 2/5

Reproducibility

Status: Partial assets available

Open source: Partial

At A Glance

Cost impact: 70%

Production readiness: 70%

Novelty: 50%

Authors

Zachary Yang, Domenico Tullo, Reihaneh Rabbany

Links

Abstract / PDF / Data

Why It Matters For Business

Switching to a single soft-prompted model cuts model count and maintenance while keeping similar accuracy; using LLM-assisted label transfer lowers non-English annotation costs and speeds roll-out across languages.

Who Should Care

Summary TLDR

This paper shows two practical ways to scale real-time game chat moderation. First, add a short GAME_TYPE_TOKEN (a soft prompt) before chat context so one small model (ToxBuster) handles multiple games with near-equal accuracy to more costly schemes (macro F1 ≈43%). Second, use GPT-4o-mini to transfer labels from 15 existing datasets into a new MLSNT multilingual dataset, keeping only items where human annotators and the LLM agree to raise label quality (binary weighted F1 up to 86.66%, and agreed toxic precision ~79.12%). Human checks on live chat show macro F1 varies by language (19–59%), highlighting where more data or human review is still needed. In production at Ubisoft the unified set

Problem Statement

Game studios must detect toxic chat in real time across many games and languages while keeping compute, latency, and annotation costs low. Maintaining separate per-game and per-language models is costly and hard to scale. The paper tackles: (1) unifying game-specific models into one deployable model, and (2) extending coverage to multiple languages without prohibitive human annotation costs.

Main Contribution

A soft-prompting method (GAME_TYPE_TOKEN) that unifies multiple game models while preserving performance and improving scalability

An LLM-assisted label transfer pipeline that converts 15 open datasets into a new MLSNT multilingual toxicity dataset

Key Findings

A single soft-prompted model matches multi-step curriculum learning on game-level detection.

NumbersSoft prompting overall macro F1 = 43.16% vs curriculum best 43.35% (Table 1)

Practical UseDeploy one model with GAME_TYPE_TOKEN to reduce training cycles and maintenance while keeping similar detection accuracy.

Evidence RefTable 1 (Soft prompting vs Curriculum)

LLM label transfer can produce high-quality binary toxic/non-toxic labels.

NumbersGPT-4o-mini binary weighted F1 = 86.66% on full agreed dataset (Table 3)

Practical UseUse GPT-4o-mini to auto-label clear-cut cases and cut human annotation effort for non-English data.

Evidence RefTable 3 (GPT-4o-mini weighted F1)

Results

MetricValueBaselineDeltaSplit / DatasetEvidenceEvidence Ref
Macro F1-score (cross-game, soft-prompting)43.16% overall (soft prompting, game-aware)Single-game overall 40.82%+2.34 pp vs single-gameGAME_1 & GAME_2 (Table 1)Table 1 reports macro F1 for Single 40.82%, Mixed 42.48%, Curriculum 43.35%, Soft 43.16%Table 1
GPT-4o-mini label transfer (binary weighted F1)86.66%Full dataset with unanimous human annotator agreementTable 3 shows binary weighted F1 86.66% for prompt v1 temp 1.0Table 3

What To Try In 7 Days

Add a GAME_TYPE_TOKEN before chat context and train a single classifier on mixed game data to test unified deployment.

Run GPT-4o-mini label transfer on one non-English dataset and keep only human+LLM-agreed labels to seed multilingual training.

Compare xlm-roberta-base and xlm-roberta-base-adapted on a week of in-game chat to decide domain adaptation needs.

Optimization Features

Infra Optimization
multi-lingual variants kept under 300M params to limit latency
Model Optimization
soft-prompting (prefix tokens)
System Optimization
single-model deployment reduces maintenance
Training Optimization
mixed-dataset trainingdomain adaptation via continued MLM pretraining
Inference Optimization
use of small language models (SLMs) for real-time inference

Reproducibility

Code AvailableNo
Data AvailableYes
Open Source StatusPartial
LicenseUnknown

Data URLs

ComplexDataLab/MLSNT (paper claims release)https://arxiv.org/abs/2506.06347

Risks & Boundaries

Limitations

Evaluation is limited to two Ubisoft games; other genres may differ.

LLM-assisted transfer discards 10–70% of lines, so coverage varies by dataset.

When Not To Use

When a language has very little clean training data or adversarial translations.

When strict fine-grained toxicity labels are required without human review.

Failure Modes

LLM label transfer may inherit dataset annotation bias and miss subtle cultural context.

Filtering approach excludes ambiguous cases, pushing difficult decisions to costly human review.

Core Entities

Models

ToxBusterbert-base-uncasedxlm-roberta-basexlm-roberta-base-adaptedGPT-4o-mini

Metrics

macro F1-scoreweighted F1-score

Datasets

MLSNTCOLDSWSRTOXICNTOCABMLMAGAHDGERM_EVALHASOCInspection AILLM_JPOffComOLIDToLDAbusiveSouth_Park

Context Entities

Models

distilbertdebertaroberta-base

Metrics

precisionrecall