Lune

EMNLP2023Top-tier venue

On the Challenges of Using Black-Box APIs for Toxicity Evaluation in Research

Luiza Pozzobon, Beyza Ermis, Patrick Lewis, Sara Hooker

Abstract

Perception of toxicity evolves over time and often differs between geographies and cultural backgrounds. Similarly, black-box commercially available APIs for detecting toxicity, such as the Perspective API, are not static, but frequently retrained to address any unattended weaknesses and biases. We evaluate the implications of these changes on the reproducibility of findings that compare the relative merits of models and methods that aim to curb toxicity. Our findings suggest that research that relied on inherited automatic toxicity scores to compare models and techniques may have resulted in inaccurate findings. Rescoring all models from HELM, a widely respected living benchmark, for toxicity with the recent version of the API led to a different ranking of widely used foundation models. We suggest caution in applying apples-to-apples comparisons between studies and lay recommendations for a more structured approach to evaluating toxicity over time. 1

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

12 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • OctoPack: Instruction Tuning Code Large Language Models cites Language Models are Few-Shot Learners
  • GeDi: Generative Discriminator Guided Sequence Generation cites Plug and Play Language Models: A Simple Approach to Controlled Text Generation
  • GeDi: Generative Discriminator Guided Sequence Generation cites RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Models
  • GeDi: Generative Discriminator Guided Sequence Generation cites Language Models are Few-Shot Learners
  • RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Models cites Plug and Play Language Models: A Simple Approach to Controlled Text Generation
  • Enhancing Reinforcement Learning with Dense Rewards from Language Model Critic cites Plug and Play Language Models: A Simple Approach to Controlled Text Generation
  • Enhancing Reinforcement Learning with Dense Rewards from Language Model Critic cites GeDi: Generative Discriminator Guided Sequence Generation
  • Enhancing Reinforcement Learning with Dense Rewards from Language Model Critic cites RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers12

  1. Prometheus: Inducing Fine-Grained Evaluation Capability in Language ModelsSeungone Kim, Jamin Shin, Yejin Choi, Joel Jang et al.ICLR 2024 · 468 citations
  2. OctoPack: Instruction Tuning Code Large Language ModelsNiklas Muennighoff, Qian Liu, Armel Randy Zebaze, Qinkai Zheng et al.ICLR 2024 · 203 citations
  3. Elo Uncovered: Robustness and Best Practices in Language Model EvaluationMeriem Boubdir, Edward Kim, Beyza Ermis, Sara Hooker et al.NeurIPS 2024 · 94 citations
  4. HateDay: Insights from a Global Hate Speech Dataset Representative of a Day on TwitterManuel Tonneau, Diyi Liu, Niyati Malhotra, Scott A. Hale et al.ACL 2025 · 12 citations
  5. Enhancing Reinforcement Learning with Dense Rewards from Language Model CriticMeng Cao, Lei Shu, Lei Yu, Yun Zhu et al.EMNLP 2024 · 7 citations

Builds on12

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. Plug and Play Language Models: A Simple Approach to Controlled Text GenerationSumanth Dathathri, Andrea Madotto, Janice Lan, Jane Hung et al.ICLR 2020 · 1,166 citations
  3. RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language ModelsSamuel Gehman, Suchin Gururangan, Maarten Sap, Yejin Choi et al.EMNLP Findings 2020 · 692 citations
  4. GeDi: Generative Discriminator Guided Sequence GenerationBen Krause, Akhilesh Deepak Gotmare, Bryan McCann, Nitish Shirish Keskar et al.EMNLP Findings 2021 · 219 citations
  5. The Psychological Well-Being of Content Moderators: The Emotional Labor of Commercial Moderation and Avenues for Improving SupportMiriah Steiger, Timir J. Bharucha, Sukrit Venkatagiri, Martin J. Riedl et al.CHI 2021 · 168 citations

Related papers

  1. T2ISafety: Benchmark for Assessing Fairness, Toxicity, and Privacy in Image GenerationLijun Li, Zhelun Shi, Xuhao Hu, Bowen Dong et al.CVPR 2025
  2. RECAST: Enabling User Recourse and Interpretability of Toxicity Detection Models with Interactive VisualizationAustin P. Wright, Omar Shaikh, Haekyu Park, Will Epperson et al.CSCW 2021 · 32 citations
  3. ToxicChat: Unveiling Hidden Challenges of Toxicity Detection in Real-World User-AI ConversationZi Lin, Zihan Wang, Yongqi Tong, Yangkun Wang et al.EMNLP Findings 2023 · 44 citations
  4. Dialectal Toxicity Detection: Evaluating LLM-as-a-Judge Consistency Across Language VarietiesFahim Faisal, Md Mushfiqur Rahman, Antonios AnastasopoulosEMNLP Findings 2025 · 3 citations
  5. ToxiShield: Promoting Inclusive Developer Communication through Real-Time Toxicity FilteringMd Awsaf Alam Anindya, Showvik Biswas, Anindya Iqbal, Jaydeb Sarker et al.FSE 2026 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines