Toxic Bias: Perspective API Misreads German as More Toxic
Gianluca Nogara, Francesco Pierri, Stefano Cresci, Luca Luceri, Petter Törnberg, Silvia Giordano
TL;DR
The paper investigates whether Perspective API exhibits a language bias that overestimates toxicity in German texts. Using three large datasets—multilingual Twitter data, Italian-German COVID-19 vaccine tweets, and bilingual Wikipedia summaries—the authors show German content consistently receives higher toxicity scores, with translation to English reducing or neutralizing this effect. They document abnormal toxicity score spikes, test for word-level explanations, and demonstrate that the bias intensifies at higher toxicity levels, leading to substantially greater moderation of German content at standard thresholds. The work highlights critical risks of relying on proprietary, black-box AI tools for cross-language social science research and moderation, calling for transparency, cross-language calibration, and data-sharing practices to mitigate unintended censorship and misinterpretation.
Abstract
Proprietary public APIs play a crucial and growing role as research tools among social scientists. Among such APIs, Google's machine learning-based Perspective API is extensively utilized for assessing the toxicity of social media messages, providing both an important resource for researchers and automatic content moderation. However, this paper exposes an important bias in Perspective API concerning German language text. Through an in-depth examination of several datasets, we uncover intrinsic language biases within the multilingual model of Perspective API. We find that the toxicity assessment of German content produces significantly higher toxicity levels than other languages. This finding is robust across various translations, topics, and data sources, and has significant consequences for both research and moderation strategies that rely on Perspective API. For instance, we show that, on average, four times more tweets and users would be moderated when using the German language compared to their English translation. Our findings point to broader risks associated with the widespread use of proprietary APIs within the computational social sciences.
