atlas

Research map / Image generation / Editing and style transfer

Towards Safe Concept Transfer of Multi-Modal Diffusion via Causal Representation Editing

NeurIPS 2024 · Image generation › Editing and style transfer · approach: Inversion-based diffusion editing · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Causal Representation Editing (CRE), a training-free inference-time intervention that projects out unsafe-concept steering vectors from cross-attention in diffusion U-Nets during causally identified timesteps, to block unsafe object/style transfer in Kosmos-G.

Problem

Preventing multi-modal (vision-language-to-image) diffusion models from transferring unsafe or copyrighted concepts (objects or artistic styles) from user-supplied reference images, which text-based safe-generation methods cannot handle.

Approach

Extends LLM representation editing to diffusion models by building steering vectors from unsafe-concept example images, projecting them out of cross-attention outputs, gating edits with a per-concept discriminator, and restricting edits to a causal timestep interval found by an "assess-with-exclusion" search.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
apply CRE instead of ProtoRe for unsafe object transferKosmos-G · Safe object transfer (10 ImageNet classes)Top-1 accuracy (%): 1.66 -> 0Helped
use negative-prompt Kosmos-G-Neg instead of unmodified Kosmos-GKosmos-G · Safe object transfer (10 ImageNet classes)Top-1 accuracy (%): 36.26 -> 36.76Hurt
apply CRE instead of ProtoRe for unsafe style transferKosmos-G · Safe style transfer (four styles; average)Top-1 accuracy (%): 13.9715 -> 2.1202Helped
govern multiple unsafe styles instead of oneCRE · Multiple-style governanceTop-1 accuracy difference (%): +0.0854No clear effect
govern multiple unsafe styles instead of oneSLD · Multiple-style governanceTop-1 accuracy difference (%): +1.9022Hurt
govern multiple unsafe styles instead of oneProtoRe · Multiple-style governanceTop-1 accuracy difference (%): +2.0728Hurt
apply CRE instead of ProtoRe for I2P safe generationKosmos-G · I2P (average)Score: 0.09 -> 0.06Helped
add CRE inference editingKosmos-G · Image generation runtime (100 images)Time (seconds): 226 seconds -> 246 secondsHurt
add projection-based representation editing (ablation)CRE · Safe object and style generationImage qualityHelped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet DreamBench COCO-30k I2P Style Dataset Final (self-constructed)

Benchmarks: ImageNet 10-class object transfer DreamBench style transfer I2P

Metrics: top-1 classification accuracy of transferred concept (lower I2P category generation rate

Baselines: Kosmos-G Kosmos-G-Neg SLD ProtoRe

Builds on: Inference-Time Intervention ActAdd Safe Latent Diffusion Kosmos-G causal tracing

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy