arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2202.11176cs.CLcs.AIcs.CYcs.LG
收藏

新一代透视图API:高效的多语言转换器级Transformers

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

Jigsaw;Google Research(谷歌研究院)

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

摘要:

在万维网上,有毒内容检测器是抵御潜在仇恨和攻击性信息的关键防线。因此,构建高效的分类器以实现更安全的互联网是一个重要的研究领域。此外,网络是一个高度多语言、跨文化的社区,随着时间的推移,它会发展出自己的行话。因此,开发跨各种语言、用法和风格的有效模型至关重要。在本文中,我们介绍了Google Jigsaw的下一个版本的Perspective API背后的基本原理。该方法的核心是一个单一的多语言无令牌Charformer模型,适用于各种语言,域和任务。我们证明,通过放弃静态词汇表,我们获得了各种设置的灵活性。我们还概述了技术,使这样一个字节级模型的生产效率和可行性。通过对来自真实API流量的多语言有毒评论分类基准进行广泛的实验,并对一系列代码切换,隐蔽毒性,基于表情符号的仇恨,人类可读混淆,分布偏移和偏见评估设置进行评估,我们表明我们提出的方法优于强大的基线。最后,我们提出了我们的调查结果,从部署这个系统在生产中。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑