Conf-Guard: Dynamic Multi-Turn Jailbreak Detection with Conformal Guarantees

Kevin Zhang, Dae Yon Hwang, Gabriel Loaiza-Ganem
11/25/2026
cs.LGcs.AIstat.ML

No confident code implementation found for this paper.

Abstract

As the applications of large language models (LLMs) expand to critical domains, their capacity for abstention becomes increasingly vital. Current methods treat abstention mostly as a single-turn problem, rather than a conversational one.

Show full abstract

This issue is of particular importance for securing LLMs against adversarial threats, which have recently shifted from single-turn attacks to sophisticated conversational exploits where malicious intent gradually unfolds across multiple turns. Traditional defences struggle to guard against multi-turn attacks and do not offer formal guarantees on the percentage of attacks they block. Here, we propose Conf-Guard, a novel framework that operates by keeping track of a scalar score which dynamically evolves throughout the conversation, and by terminating the conversation if the score breaches a threshold. We show that the threshold can be selected so as to achieve a distribution-free conformal guarantee, which, for jailbreak detection, formally ensures a user-specified percentage of attacks is successfully blocked. We also propose specific choices of score functions obtained by combining leading pre-trained jailbreak detection classifiers with an outlier detection metric. Through extensive empirical experiments, we show that Conf-Guard achieves its conformal guarantee and that our proposed score functions result in improved false refusal rates over their underlying classifiers. Our code is available at https://github.com/layer6ai-labs/conf_guard. Warning: the data we use in this paper contains jailbreak attacks with toxic and offensive language.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhang2026confguard,
  title  = {Conf-Guard: Dynamic Multi-Turn Jailbreak Detection with Conformal Guarantees},
  author = {Kevin Zhang and Dae Yon Hwang and Gabriel Loaiza-Ganem},
  year   = {2026},
  eprint = {2611.35088},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.35088v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.35088.svg)](https://codeofpaper.com/paper/2611.35088)

Discussion