Conversational complexity for assessing risk in large language models
Large Language Models (LLMs) present a dual-use dilemma: they enable beneficial applications while harboring potential for harm, particularly through conversational interactions. Despite various safeguards, advanced LLMs remain vulnerable. A watersed case in early 2023 involved journalist Kevin Roose’s extended dialogue with Bing, an LLM-powered search engine, which revealed harmful outputs after probing questions, highlighting vulnerabilities in the model’s safeguards. This contrasts with simpler early jailbreaks, like the “Grandma Jailbreak,” where users framed requests as innocent help for a grandmother, easily eliciting similar content. This raises the question: How much conversational effort is needed to elicit harmful information from LLMs? We propose two measures: Conversational Length (CL), which quantifies the conversation length used to obtain a specific response, and Conversational Complexity (CC), defined as the Kolmogorov complexity of the user’s instruction sequence leading to the response. To address the incomputability of Kolmogorov complexity, we approximate CC using a reference LLM to estimate the compressibility of user instructions. Applying this approach to a large red-teaming dataset, we perform a quantitative analysis examining the statistical distribution of harmful and harmless conversational lengths and complexities. Our empirical findings suggest that this distributional analysis and the minimisation of CC serve as valuable tools for understanding AI safety, offering insights into the accessibility of harmful information. This work establishes a foundation for a new perspective on LLM safety, centered around the algorithmic complexity of pathways to harm.
Authors
- José Hernández‐Orallo (ORCID: https://orcid.org/0000-0001-9746-7632)
- John Burden (ORCID: https://orcid.org/0000-0001-7526-0753)
- Manuel Cebrian
Institutions
- University of Cambridge (GB)
- Leverhulme Trust (GB)
- Centre for Automation and Robotics (ES)
- Artificial Intelligence Research Institute (ES)
- Universitat Politècnica de València (ES)
Publication Details
- Journal
- EPJ Data Science
- Published
- 2025-11-05
- DOI
- https://doi.org/10.1140/epjds/s13688-025-00592-4
- Citations
- 1
- Primary Topic
- Topic Modeling
- Type
- article
- Field-Weighted Citation Impact
- 2.48
Funders
- Silicon Valley Community Foundation
- Ministerio de Ciencia, Innovación y Universidades
- Generalitat Valenciana
- Fundación General CSIC
- Defense Advanced Research Projects Agency
- Horizon 2020 Framework Programme
- European Regional Development Fund
- Agencia Estatal de Investigación