The Structural Safety Generalization Problem

Julius Broomfield, Tom Gibbs, Ethan Kosak-Hine, George Ingebretsen, Tia Nasir +5 more
4/13/2025
cs.CRcs.AIcs.CV

No official code found. Best implementation: juliusbroomfield/the-SSG-problem (3 stars, last commit 2025-05-23).

Abstract

LLM jailbreaks are a widespread safety challenge. Given this problem has not yet been tractable, we suggest targeting a key failure mechanism: the failure of safety to generalize across semantically equivalent inputs. We further focus the target by requiring desirable tractability properties of attacks to study: explainability, transferability between models, and transferability between goals. We perform red-teaming within this framework by uncovering new vulnerabilities to multi-turn, multi-image, and translation-based attacks. These attacks are semantically equivalent by our design to their single-turn, single-image, or untranslated counterparts, enabling systematic comparisons; we show that the different structures yield different safety outcomes. We then demonstrate the potential for this framework to enable new defenses by proposing a Structure Rewriting Guardrail, which converts an input to a structure more conducive to safety assessment. This guardrail significantly improves refusal of harmful inputs, without over-refusing benign ones. Thus, by framing this intermediate challenge - more tractable than universal defenses but essential for long-term safety - we highlight a critical milestone for AI safety research.

View on arXivView PDF

Code Implementations(1)

Code and Data for the paper [ACL 2025] "The Structural Safety Generalization Problem"

31Python, Jupyter NotebookFeb 18, 20251 years ago

Cite this paper

@article{broomfield2025structural,
  title  = {The Structural Safety Generalization Problem},
  author = {Julius Broomfield and Tom Gibbs and Ethan Kosak-Hine and George Ingebretsen and Tia Nasir and Jason Zhang and Reihaneh Iranmanesh and Sara Pieri and Reihaneh Rabbany and Kellin Pelrine},
  year   = {2025},
  eprint = {2504.09712},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.09712v2}
}

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/2504.09712.svg)](https://codeofpaper.com/paper/2504.09712)

Discussion