Concept Arithmetics for Circumventing Concept Inhibition in Diffusion Models
Vitali Petsiuk, Kate Saenko
TL;DR
The paper exposes a fundamental vulnerability in diffusion-model safety: concept inhibition can be bypassed through compositional inference, enabling reconstruction of erased concepts without direct access to inhibited weights. It introduces ARC attacks, a theory-grounded framework where target guidance g*(c) can be approximated via linear combinations of inhibited guidance for distant concepts, formalized by g(c) = λ(c)·y0 + (1−λ(c))·g*(c) with an exponentially decaying λ. The authors validate the approach with both theory (Propositions P1–P4) and extensive experiments, showing that nudity and object-inhibition defenses remain brittle under multi-prompt composition across several inhibition techniques (AC, ESD, UCE). The work highlights a need for safety mechanisms that do not rely on localized, per-concept edits and proposes a framework to test and guide the development of more robust defenses against compositional, input-space attacks in diffusion models.
Abstract
Motivated by ethical and legal concerns, the scientific community is actively developing methods to limit the misuse of Text-to-Image diffusion models for reproducing copyrighted, violent, explicit, or personal information in the generated images. Simultaneously, researchers put these newly developed safety measures to the test by assuming the role of an adversary to find vulnerabilities and backdoors in them. We use compositional property of diffusion models, which allows to leverage multiple prompts in a single image generation. This property allows us to combine other concepts, that should not have been affected by the inhibition, to reconstruct the vector, responsible for target concept generation, even though the direct computation of this vector is no longer accessible. We provide theoretical and empirical evidence why the proposed attacks are possible and discuss the implications of these findings for safe model deployment. We argue that it is essential to consider all possible approaches to image generation with diffusion models that can be employed by an adversary. Our work opens up the discussion about the implications of concept arithmetics and compositional inference for safety mechanisms in diffusion models. Content Advisory: This paper contains discussions and model-generated content that may be considered offensive. Reader discretion is advised. Project page: https://cs-people.bu.edu/vpetsiuk/arc
