Abstract
This contribution is an extended abstract of the paper originally published in the IEEE Transactions on Software Engineering (TSE) [Co25]. The paper presents EvoTox, an automated black-box testing framework that uses evolutionary search to assess Large Language Models’ susceptibility to generating toxic content through natural, realistic prompts. Empirical evaluation on five state-of-the-art LLMs (7-671B parameters) shows that EvoTox significantly outperforms existing baseline methods in detecting toxicity with effect sizes up to 1.0, while maintaining limited cost overhead (22−35%) and generating human-like prompts validated by domain experts
| Related KIT institution | Institute of Information Security and Dependability (KASTEL) |
|---|---|
| Language | English |
| KITopen ID | 1000196047 |
| Keywords | Automated Testing, Evolutionary Testing, Large Language Models, Toxic Speech |
| Publisher | Gesellschaft für Informatik (GI) |
| Series | Lecture Notes in Informatics (LNI), Proceedings - Series of the Gesellschaft fur Informatik (GI) (P-377) ISSNs: 2944-7682, 1617-5468 |
| Event | Software Engineering (SE), Bern, Switzerland, Feb 23 – 27, 2026 |
| Relations in KITopen | |
| Referenced in | Scopus |