Beyond the pale: Assessing prevalence and contents of extremist speech in LLM training data
Organizations: University of Manchester
Abstract
Despite a strong interest on the part of the research community in the topic of trustworthy and safe AI, the composition of the text corpora that large language models (LLMs) encounter in pre- and post-training has not yet drawn much attention. In this work, we address the question of whether LLMs are exposed to unfiltered, uncontextualised extremist speech. Using several definitions of extremist speech, stemming from official documents and research literature, and an extraction pipeline combining automated text processing with expert verification, we provide a lower bound on the prevalence of extremist documents in Dolma, an open training corpus underpinning the OLMo series of models. We show that Dolma is likely to include hundreds of thousands of documents containing extremist content and hate speech of several types, including direct calls for violence, and discuss the implications of this for data curation and model pre-training.
Figures & tables
| Berger | Schmid | UK | Union | Model | |
|---|---|---|---|---|---|
| Berger | 1356 (286) | 687 (228) | 525 (220) | 906 (256) | Llama 3 |
| Schmid | 1058 (241) | 499 (206) | 799 (231) | ||
| UK | 587 (225) | 557 (216) | |||
| Union | 1262 (280) | ||||
| Berger | 373 (189) | 316 (179) | 309 (177) | 359 (188) | Qwen 2.5 |
| Schmid | 680 (233) | 457 (213) | 655 (233) |
| Code | Content Type |
|---|---|
| HS | Hate speech, no extremist narratives present |
| LWX | Left-wing extremist narratives are present |
| MAIN | Mainstreaming of extreme beliefs |
| News | News articles |
| OOK | Other texts no extremism / okay for training data |
| OPR | Other texts no extremism / problematic for training data |
| Text # | UK | Berger | Schmid |
|---|---|---|---|
| 1 | XRW | HS | XRW |
| 2 | OPR | HS | XRW |
| 3 | XRW | MAIN | News |
| 4 | News | HS | XRW |
| 5 | XRW | LWX | UKNCON |
| 6 | OOK | News | OPR |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
| Domain | Count | Description |
|---|---|---|
| gloria.tv | 3 | Traditionalist Catholic media platform with conservative religious commentary. |
| teapartyeconomist.com | 2 | Tea Party and libertarian-conservative political blog. |
| discordleaks.unicornriot.ninja | 2 | Investigative archive of leaked Discord chats from extremist communities. |
| alexjones101.blogspot.com | 1 | Personal conspiracy-oriented political blog. |
| meforum.org | 2 | Middle East Forum, a neoconservative think tank focused on Middle East policy and Islamism. |
| us5.campaign-archive.com | 1 | Mailchimp-hosted archive of email newsletters. |
Language Model Pretraining
Language model pretraining teaches models language patterns and knowledge from large text corpora before they are adapted to specific tasks.
See all 441 papers