Context-Aware Toxicity Detection in Game Chat: Domain-Adaptive Pretraining with Match Metadata under Limited Labels

Toxic chat is a persistent problem in competitive games, spurring ongoing moderation efforts. But these efforts face challenges: toxicity is context-dependent, may span multiple messages, and is shaped by player and team dynamics. We adapt RoBERTa for game moderation by modeling text and structured match metadata (player and team identifiers, with only ~100 labeled matches. We introduce Contextual Domain-Adaptive Pretraining (C-DAP), a DAP variant that injects player/team indicators as custom tokens during pretraining and finetuning to learn gaming-specific contextual embeddings. Using datasets from Defense of the Ancients 2 ( DOTA 2 ) and Call of Duty®: Modern Warfare®III ( MWIII ), we compare sources of context (metadata, prior interactions, conversational history), identify when they help most, and show how to leverage them. C-DAP consistently outperforms strong baselines while remaining simple and reusable. Our results highlight the value of context-aware, domain-specific modeling for proactive moderation and offer a practical recipe for training robust, game-tailored text toxicity detectors with low annotation effort.

Authors

Institutions

Publication Details

Journal
Games Research and Practice
Published
2026-07-17
DOI
https://doi.org/10.1145/3831696
Primary Topic
Hate Speech and Cyberbullying Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Context-Aware Toxicity Detection in Game Chat: Domain-Adaptive Pretraining with Match Metadata under Limited Labels

Çaǧlar Gülçehre, Rafał Kocielnik, R. Michael Alvarez, Adrien Schurger-Foy
Games Research and Practice
Hate Speech and Cyberbullying Detection
article

Context-Aware Toxicity Detection in Game Chat: Domain-Adaptive Pretraining with Match Metadata under Limited Labels

Çaǧlar Gülçehre, Rafał Kocielnik, R. Michael Alvarez, Adrien Schurger-Foy
article en

Abstract

Toxic chat is a persistent problem in competitive games, spurring ongoing moderation efforts. But these efforts face challenges: toxicity is context-dependent, may span multiple messages, and is shaped by player and team dynamics. We adapt RoBERTa for game moderation by modeling text and structured match metadata (player and team identifiers, with only ~100 labeled matches. We introduce Contextual Domain-Adaptive Pretraining (C-DAP), a DAP variant that injects player/team indicators as custom tokens during pretraining and finetuning to learn gaming-specific contextual embeddings. Using datasets from Defense of the Ancients 2 ( DOTA 2 ) and Call of Duty®: Modern Warfare®III ( MWIII ), we compare sources of context (metadata, prior interactions, conversational history), identify when they help most, and show how to leverage them. C-DAP consistently outperforms strong baselines while remaining simple and reusable. Our results highlight the value of context-aware, domain-specific modeling for proactive moderation and offer a practical recipe for training robust, game-tailored text toxicity detectors with low annotation effort.

Games Research and Practice
California Institute of Technology (US), École Polytechnique Fédérale de Lausanne (CH)
Openalex Percentile: Top 6%
Hate Speech and Cyberbullying Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.