RealToxicityPrompts + Perspective API
English prompts that measure how often a model completes them with toxic text, scored by a Google-built classifier the research community adopted wholesale.
Chapter 3 of the AI Index 2022 is the first edition to measure AI ethics the way the report measures accuracy: with benchmarks, metrics and citation counts. What it finds in 2021 is a scaling law nobody wanted. Larger language models set new records on technical benchmarks and simultaneously became more toxic, more stereotyped and better at memorizing the worst of their training data. Meanwhile the field studying the problem grew faster than at any point in its history. The numbers:
Toxicity, stereotype score, religious bias — the 2021 results line up in the same direction. More capable models are also more capable of learning and amplifying what is in their training data, and the training data is the internet.
DeepMind’s Gopher paper, published in December 2021, is the cleanest evidence in the chapter. Holding the prompt distribution fixed and sweeping model size from 117 million to 280 billion parameters, the probability of a toxic continuation rises at every prompt-toxicity level. That single comparison is the chapter’s headline: a 280 billion parameter model developed in 2021 shows a 29% increase in elicited toxicity over a 117 million parameter model considered state of the art as of 2018. The same sweep contains a genuine consolation — larger models are also dramatically better at identifying toxic comments, with few-shot classification AUC on CivilComments climbing steadily from 44 million parameters up to 280 billion. The models that produce the problem are also the best detectors of it.
Where the toxicity comes from is measurable too. Models trained on internet text with toxic content filtered out score far lower on expected maximum toxicity than models trained on unfiltered corpora. The surprise is BookCorpus, which produces toxic text surprisingly often for a book dataset — the report attributes this to its large share of romance novels with explicit content. The prevalence of toxic content online has been estimated at just 0.1%–3%, which is precisely why the trend matters: bigger models are better at memorizing rare text.
The obvious fix has a cost that falls unevenly. Detoxification methods — domain-adaptive pretraining (DAPT), Plug and Play Language Models (PPLM), Generative Discriminator Guided Sequence Generation (GeDi) — all raise perplexity, meaning worse language modeling, and they do it disproportionately on African American English and on text mentioning minority identities compared with white-aligned text. The likely cause is upstream of the model: human annotators are more apt to mislabel African American English as toxic, so the detoxifier learns to penalize it. Cleaning up a model’s output can quietly marginalize the voices it was supposed to protect.
The AI Index conducted original research to map the field, counting every fairness and bias metric cited at least once by another work. The count has grown steadily since 2018, split between two kinds of measurement that answer different questions — and the link between them is missing.
The chapter’s most consequential sentence is a negative result. It is commonly assumed that de-biasing a model’s embeddings — reducing intrinsic bias — will reduce the bias that shows up in applications. It has been demonstrated that there is no reliable correlation between intrinsic bias metrics and downstream application biases. The majority of the metrics in this chapter measure intrinsic bias. So the field has built a large and growing measurement apparatus whose relationship to real-world harm remains unestablished, and the chapter says plainly that further investigation is needed.
Six families of metric carry most of the chapter. Each was designed against a specific harm, and each has a documented blind spot that the chapter is careful to name.
English prompts that measure how often a model completes them with toxic text, scored by a Google-built classifier the research community adopted wholesale.
Measures whether a model prefers stereotypes and anti-stereotypes equally, across gender, race, religion and profession, alongside raw language modeling ability.
Contrasts historically advantaged and disadvantaged groups across nine bias attributes — and found the most capable of three models to be the most biased.
Coreference tests built on occupations that skew by gender in U.S. labor statistics. Two teams released near-identical benchmarks at the same time.
Combines Winogender and WinoBias to measure gender bias in commercial machine translation, where mistakes are costly at global scale.
The association tests measure bias inside the representation itself — and they work on images and on languages other than English too.
Research on fairness and transparency has exploded since 2014, with a fivefold increase in related publications at ethics-related conferences. Two things came with the growth: industry money and authorship, and a geographic concentration that got narrower, not wider, in 2021.
FAccT was one of the first major conferences created to bring researchers, practitioners and policymakers together around sociotechnical analysis of algorithms, and it publishes a significant amount of work critical of contemporary AI methods — Model Cards for Model Reporting in 2019 and On the Dangers of Stochastic Parrots in 2021 both appeared there. In 2021, 53 authors listed an industry affiliation, up from 31 in 2020 and only 5 at the inaugural conference in 2018. That is 71% growth year over year, and it aligns with the wider trend of deep learning researchers moving from academia into industry labs. Industry groups still often publish with academic collaborators, but standalone industry work is rising.
The majority of papers published at FAccT are written by researchers based in the United States, followed by Europe and Central Asia. From 2020 to 2021 the North American share did not fall as the field grew — it rose, from 70.2% to 75.4%. Every other region sits in the single digits or below: East Asia and Pacific 4.03%, Latin America and the Caribbean 1.61%, the Middle East and North Africa 1.21%, Sub-Saharan Africa 0.40%, and South Asia 0.00%. The field deciding what counts as fair is drawn from a narrower slice of the world each year.
Today’s state-of-the-art language models generate false information about the world, which makes them unsafe for fully automated decision making. This section measures how false, and asks whether scale helps.
Headline findings from Chapter 3 · Technical AI Ethics.
A 280 billion parameter model developed in 2021 shows a 29% increase in elicited toxicity over a 117 million parameter model considered the state of the art as of 2018.
Research on fairness and transparency in AI has exploded since 2014, with a fivefold increase in related publications at ethics-related conferences. Researchers with industry affiliations contributed 71% more publications year over year.
Experiments on CLIP showed that images of Black people were misclassified as nonhuman at over twice the rate of any other race.
It has been demonstrated that there is no reliable correlation between intrinsic bias metrics and downstream application biases. Further investigation is needed.
A benchmark published in 2017 may not correlate to the deployment context of 2022.
Chapter 3 (sections 3.1–3.4) — the meta-analysis of fairness and bias metrics, NLP bias benchmarks, AI ethics trends at FAccT and NeurIPS, and factuality and truthfulness — with every figure and citation is free from Stanford HAI.
Open the AI Index 2022 →