{"id":{"repo_id":"iastate","oai_identifier":"oai:dr.lib.iastate.edu:20.500.12876/106644"},"canonical_url":"https://search.ndltd.org/etd/iastate/oai:dr.lib.iastate.edu:20.500.12876/106644","repository":{"repo_id":"iastate","name":"Iowa State University","base_url":"https://dr.lib.iastate.edu/server/oai/request"},"display":{"title":"Cross-layer SAE feature drift for early detection and mitigation of multi-turn jailbreaks","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.","abstract_html":"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.","abstract_has_math":false,"creators":["Chu, Yi-Wen"],"institution":"Iowa State University - Thesis & Dissertation","degree_name":"Master of Science","degree_level":"thesis","degree_discipline":"Computer engineering","degree_department":"Department of Electrical and Computer Engineering","school":null,"contributors":[],"advisors":["Wang, Chang"],"committee_chairs":[],"committee_members":[],"year":2026,"date_issued":"2026-05","date_published":"2026-05","updated_at":"2026-11-19T04:31:09Z","subjects":["Electrical and computer engineering"],"languages":["en_US"],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://dr.lib.iastate.edu/handle/20.500.12876/106644"],"render_values":[{"text":"https://dr.lib.iastate.edu/handle/20.500.12876/106644","href":"https://dr.lib.iastate.edu/handle/20.500.12876/106644","code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://doi.org/10.31274/td-20260804-162","outbound_label":"DOI","outbound_source":"dc:identifier.doi","record_url":"https://doi.org/10.31274/td-20260804-162","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier.doi","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Aiastate%3Aoai%3Adr.lib.iastate.edu%3A20.500.12876%2F106644","prefix":"oai_dc"},"source_record":{"url":"https://dr.lib.iastate.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Adr.lib.iastate.edu%3A20.500.12876%2F106644","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Wang, Chang"]},{"key":"dc:contributor.department","label":"Department","values":["Department of Electrical and Computer Engineering"]},{"key":"dc:creator","label":"Author","values":["Chu, Yi-Wen"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-06-09T22:14:34Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2026-06-09T22:14:34Z"]},{"key":"dc:date.issued","label":"Date","values":["2026-05"]},{"key":"dc:date.updated","label":"Dc Date Updated","values":["2026-06-09T22:14:35Z"]},{"key":"dc:relation.orgunit","label":"Dc Relation Orgunit","values":["a75a044c-d11e-44cd-af4f-dab1d83339ff"]},{"key":"dc:type","label":"Dc Type","values":["Text","thesis"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer engineering","Artificial intelligence","Computer science"]},{"key":"thesis:degree_level","label":"Degree Level","values":["thesis"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Iowa State University - Thesis & Dissertation"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Electrical and computer engineering"]},{"key":"dc:subject.discipline","label":"Dc Subject Discipline","values":["Computer engineering","Artificial intelligence","Computer science"]},{"key":"dc:subject.keyword","label":"Dc Subject Keyword","values":["Activation Steering","AI Safety","Jailbreak","Large Language Models (LLMs)","Mechanistic Interpretability","Sparse Autoencoders"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en_US"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.doi","label":"DOI","values":["https://doi.org/10.31274/td-20260804-162"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://dr.lib.iastate.edu/handle/20.500.12876/106644"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["May2026"]},{"key":"dc:description.abstract","label":"Abstract","values":["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."]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["PDF"]},{"key":"dc:title","label":"Title","values":["Cross-layer SAE feature drift for early detection and mitigation of multi-turn jailbreaks"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]}]}],"canonical_facts":{"dc:contributor.advisor":["Wang, Chang"],"dc:contributor.department":["Department of Electrical and Computer Engineering"],"dc:creator":["Chu, Yi-Wen"],"dc:date.accessioned":["2026-06-09T22:14:34Z"],"dc:date.available":["2026-06-09T22:14:34Z"],"dc:date.issued":["2026-05"],"dc:date.updated":["2026-06-09T22:14:35Z"],"dc:description":["May2026"],"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."],"dc:format.mimetype":["PDF"],"dc:identifier.doi":["https://doi.org/10.31274/td-20260804-162"],"dc:identifier.uri":["https://dr.lib.iastate.edu/handle/20.500.12876/106644"],"dc:language.iso":["en_US"],"dc:relation.orgunit":["a75a044c-d11e-44cd-af4f-dab1d83339ff"],"dc:subject":["Electrical and computer engineering"],"dc:subject.discipline":["Computer engineering","Artificial intelligence","Computer science"],"dc:subject.keyword":["Activation Steering","AI Safety","Jailbreak","Large Language Models (LLMs)","Mechanistic Interpretability","Sparse Autoencoders"],"dc:title":["Cross-layer SAE feature drift for early detection and mitigation of multi-turn jailbreaks"],"dc:type":["Text","thesis"],"dspace:entity.type":["Publication"],"thesis:degree_discipline":["Computer engineering","Artificial intelligence","Computer science"],"thesis:degree_level":["thesis"],"thesis:degree_name":["Master of Science"],"thesis:institution_name":["Iowa State University - Thesis & Dissertation"]},"updated_at":"2026-11-19T04:31:09Z"}