A New Generation of Perspective API: Efficient Multilingual Character-level Transformers

By Alyssa Lees, Vinh Q. Tran, Yi Tay, Jeffrey Scott Sorensen, Jai Gupta, Donald Metzler, Lucy Vasserman. 2022

306 citations recorded by the source corpus.

On the world wide web, toxic content detectors are a crucial line of defense against potentially hateful and offensive messages. As such, building highly effective classifiers that enable a safer internet is an important research area. Moreover, the web is a highly multilingual, cross-cultural community that develops its own lingo over time. As such, it is crucial to develop models that are effective across a diverse range of languages, usages, and styles. In this paper, we present the fundamentals behind the next version of the Perspective API from Google Jigsaw. At the heart of the approach is a single multilingual token-free Charformer model that is applicable across a range of languages, domains, and tasks. We demonstrate that by forgoing static vocabularies, we gain flexibility across a variety of settings. We additionally outline the techniques employed to make such a byte-level model efficient and feasible for productionization. Through extensive experiments on multilingual toxic comment classification benchmarks derived from real API traffic and evaluation on an array of code-switching, covert toxicity, emoji-based hate, human-readable obfuscation, distribution shift, and bias evaluation settings, we show that our proposed approach outperforms strong baselines. Finally, we present our findings from deploying this system in production.

Subfields: Artificial Intelligence, Model Architectures, AI Ethics, Fairness & Society, Signal Processing

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. Mostafa Dehghani
  2. Yi Tay
  3. Neil Houlsby
  4. Jianfeng Gao
  5. Donald Metzler
  6. Mohit Bansal
  7. Quoc V. Le
  8. Lucas Beyer

In Model Architectures

  1. Mostafa Dehghani
  2. Yi Tay
  3. Donald Metzler
  4. Dara Bahri
  5. Xiaohua Zhai
  6. Neil Houlsby
  7. Lucas Beyer
  8. Alexander Kolesnikov

In Signal Processing

  1. Basil Mustafa
  2. Arsha Nagrani
  3. Xiaohua Zhai
  4. Alexander Kolesnikov
  5. Neil Houlsby
  6. Michael Tschannen
  7. Yi Tay
  8. Anelia Angelova

Citations in the corpus