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

By Luiza Amador Pozzobon, B. Ermiş, Patrick Lewis, Sara Hooker. 2023

59 citations recorded by the source corpus.

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. Code and data are available at https://github.com/for-ai/black-box-api-challenges.

Subfields: Artificial Intelligence, Computational Theory and Mathematics, Safety, Robustness & Interpretability

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Quoc V. Le
  2. Graham Neubig
  3. Mohit Bansal
  4. Luke S. Zettlemoyer
  5. Jianfeng Gao
  6. Noah A. Smith
  7. Percy Liang
  8. Kyunghyun Cho

In Computational Theory and Mathematics

  1. Yi Tay
  2. Mostafa Dehghani
  3. Dilek Z. Hakkani-Tür
  4. John Wieting
  5. Ryan A. Rossi
  6. Vijay Vasudevan
  7. Dylan Baker
  8. Nan Du

In Safety, Robustness & Interpretability

  1. Sunipa Dev
  2. Irene Solaiman
  3. Frederick Liu
  4. Su Lin Blodgett
  5. Mark Díaz
  6. John Wieting
  7. Franck Dernoncourt
  8. Dylan Baker

Citations in the corpus