Back to search

Iowa State University - Thesis & Dissertation

Cross-layer SAE feature drift for early detection and mitigation of multi-turn jailbreaks

Abstract

dc:description.abstract

The rapid development of Large-Language Models (LLMs) has raised AI Safety to a critical concern. Despite recent safety alignment, LLMs remain vulnerable to multi-turn jailbreak attacks that bypass safeguards through gradual escalation. This thesis investigates whether Sparse Autoencoder (SAE) feature drift can serve as an early warning signal for multi-turn jailbreak escalation, and whether targeted feature intervention can restore safe behavior upon detection. Using Gemma-3-4B-IT with Gemma Scope SAEs across four transformer layers, a cross-layer MLP classifier is trained on per-turn aggregated SAE activations to detect escalation before harmful output appears. The detector successfully identified jailbreak escalation with a median early warning of 1.5 turns before harmful output appeared. Feature analysis revealed that detection is driven primarily by features that escalate as harmful intent accumulates, and by turn-over-turn activation drift. A compact causal subset was identified for use as the steering intervention target. A conditional steering intervention was designed and implemented; however, applying correction vectors at detected escalation turns produced no meaningful reduction in attack success rate, and stronger corrections made outcomes worse.These results suggest that detection and intervention are separable problems: the detector reliably identifies escalating turns, but correcting the underlying feature activations does not prevent jailbreak success. These findings confirm that SAE activation drift is a viable early warning signal for multi-turn jailbreak escalation, while effective feature-level intervention remains an open problem.

Degree

thesis:*
Name thesis:degree_name
Master of Science
Level thesis:degree_level
thesis
Discipline thesis:degree_discipline
Computer engineering
Department dc:contributor.department
Department of Electrical and Computer Engineering
Grantor
Iowa State University - Thesis & Dissertation
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Chu, Yi-Wen
Advisor dc:contributor.advisor
  • Wang, Chang

Subjects

dc:subject × 1

Rights

Language dc:language.iso
en_US

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Iowa State University
Base URL
dr.lib.iastate.edu/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Chu, Yi-Wen. Cross-layer SAE feature drift for early detection and mitigation of multi-turn jailbreaks. thesis thesis, Iowa State University - Thesis & Dissertation, 2026. https://doi.org/10.31274/td-20260804-162