CSR: cross-architecture unified attack on concept erasure, FLUX explicit content attack success rate reaches 50.47%Concept Score Relearning: A Unified Cross-Architecture Attack on Concept Erasure
CSR, after concept erasure in text-to-image generation, uses the same concept score objective to reactivate concepts on SD-1.4 and FLUX.1-dev; strict nudity average ASR is 40.29% and 50.47%, respectively.
White-box parameter-level relearning: the attacker can access the erased model checkpoint θ, the corresponding public pre-trained reference model ϕ, and the target concept prompt, without knowing the erasure algorithm; does not modify the prompt at inference time, performs one parameter update per concept.
- Concept erasure suppresses undesirable, copyrighted, or sensitive concepts in text-to-image models, but erased concepts may still be recoverable through parameter updates. Existing relearning attacks are mostly tied to a single architecture, making it difficult to cover both noise-prediction U-Nets and flow-matching Transformers.
- Concept Score Relearning uses a frozen, non-erased reference model, takes the native prediction difference between conditional and unconditional at the same latent and timestep as the concept direction, then constructs a target with recovery strength η, and updates the erased model with MSE. Anchors are self-generated by the reference model, requiring no external target concept images.
- On ESD, EA, AC, EAP, CP, MACE, CSR achieves the highest strict nudity ASR-Strict, with averages rising from the erased model's 7.60% to 50.47% on FLUX.1-dev and from 8.60% to 40.29% on SD-1.4. Violence settings also rank first in all cases. Art styles are highest in 10 of 12 settings, and Entity, Abstraction, Relationship rank first in all 12 settings.
- The authors state that results depend on a public reference model, did not evaluate relearning without a reference model, and did not test on SD3, video, or editing models; the attack budget is fixed, and adaptive defenses are left for future work. Experiments cover SD-1.4 and FLUX.1-dev, with human evaluation of 20 people, 20 paired comparisons, and excluding nudity.
- Evaluated models
- FLUX.1-devStable Diffusion-v1.4
- Benchmarks
- I2PConceptPrune Van Gogh/Pablo Picasso promptsEntity/Abstraction/RelationshipMS-COCO
- Metrics
- ASR-StrictASR-PermissiveASRTop-3 ASRCLIP Acc.CLIPScoreFIDLPIPS
The researchers propose Concept Score Relearning (CSR), a unified parameter-level framework that reactivates erased concepts within each model's native prediction space, without requiring an external dataset of target concept images.
Paper analysis
What problem does this paper attempt to solve?
Can the erased concept be reactivated on both U-Net and flow Transformer using the same parameter-level objective?
Can erased concepts be reactivated on both noise-prediction U-Net and flow-matching Transformer using the same parameter-level objective?
- Scenario: Text-to-image models can generate undesirable, copyrighted, or sensitive content. Concept erasure suppresses specified concepts without full retraining, but the authors argue that erased concepts may still be recoverable through subsequent parameter updates, making resistance to relearning part of erasure robustness evaluation.
- Existing gaps: The authors state that existing parameter-level relearning attacks are mostly tied to a single architecture: early work mainly studied Stable-Diffusion-style U-Nets, and ReFLUX specifically targets rectified-flow Transformers, so objectives and optimization mechanisms cannot directly transfer across families.
- Core hypothesis: Both model families change their conditional prediction for a target concept relative to the empty condition at the same latent state and timestep/noise level. The authors hypothesize that this conditional–unconditional prediction shift can serve as a common relearning signal across architectures.
- Proposed method: The authors propose Concept Score Relearning (CSR), which uses a frozen unerased reference model to construct concept directions and updates the erased model in its native prediction space; no external target concept image set is needed.
- Threat model:
- Goal: Recover the suppressed target concept by updating the erased model's parameters θ.
- Knowledge: The authors assume white-box, with access to the erased checkpoint θ, the corresponding public pretrained reference model ϕ, and the target concept prompt; the erasure algorithm is unknown.
- Capability: Parameter updates in the model's native prediction space; anchors are self-generated by the reference model from the target prompt. The appendix states the attacker does not control inference-time prompts and performs one update per concept.
- Victim systems: SD-1.4 (noise-prediction U-Net) and FLUX.1-dev (velocity-prediction Transformer) erased with ESD, AC, EAP, EraseAnything, ConceptPrune, MACE.
What related research exists?
Relearning attacks are respectively tied to the U-Net noise objective or FLUX's attention and velocity mechanisms, and the same objective across architectures has not been sufficiently studied.
The paper organizes related work along three lines and treats inference-time erasure bypass as a separate threat model.
- Text-to-image generative models: DALL-E, GLIDE, Imagen, and latent diffusion (Rombach et al., 2022) advanced text-to-image generation; Stable Diffusion became a common base for editing, safety, and concept erasure. The authors note that SD3 (Esser et al., 2024) adopts a multimodal Diffusion Transformer with rectified flow, and FLUX (Labs et al., 2025; Labs, 2024) further shifts to large-scale flow-matching Transformers, making relearning objectives difficult to transfer directly due to architectural differences.
- Concept erasure: Training data includes LAION-5B, COYO-700M, Conceptual 12M. Erasure methods suppress specified generation capabilities without retraining from scratch (Gandikota et al., 2023; 2024; Kumari et al., 2023; Li et al., 2025a; Schramowski et al., 2023; Zhang et al., 2024), and relate to machine unlearning (Bourtoule et al., 2021 et al.). The authors state that existing methods mainly target SD-style U-Nets, using parameter or representation editing, semantic anchor mapping, and structured pruning; EraseAnything (Gao et al., 2025) extends erasure to flow models like FLUX. From this, the authors ask whether erased concepts remain recoverable under a unified relearning framework.
- Relearning and concept recovery: Parameter-level attacks update the erased model via fine-tuning, LoRA (Hu et al., 2022), or lightweight adapters (Du et al., 2023; Zhang et al., 2023; Jiang et al., 2025). The authors name two lines: ReFLUX (Jiang et al., 2025) targets FLUX, using attention-based reactivation, velocity-guided optimization, and parameter-efficient adapters; Liu & Zhang (2025) use concept-oriented noise-prediction objectives on SD-style U-Nets. The authors argue that both are effective only within their respective architectures, with objectives still tied to noise-prediction U-Nets or flow-matching Transformers.
- Inference-time bypass (another threat model): Gradient prompts or trigger optimization (Chin et al., 2023; Liu et al., 2024 et al.), training-free search, multimodal probing, LLM-assisted semantic search, and policy-based prompt optimization. The authors consider these to characterize inference-time robustness, distinct from the parameter-level relearning threat model.
Baseline methods include attack-side ReFLUX, UnlearnDiffAtk (Zhang et al., 2023), P4D (Chin et al., 2023), Ring-A-Bell (Tsai et al., 2023), and erasure-side ESD, AC, EAP, EraseAnything, ConceptPrune, MACE. Benchmarks/datasets are I2P (nudity and violence), ConceptPrune's Van Gogh and Picasso prompts, ReFLUX's Entity/Abstraction/Relationship protocol, and MS-COCO for utility evaluation.
The authors position CSR as: not tying relearning to U-Net noise objectives or FLUX-specific attention and velocity mechanisms, but expressing concept directions in the model's native predictions and maintaining the same objective construction and relearning objective on SD-1.4 and FLUX.1-dev.
How does the paper address this problem?
CSR constructs the objective from the reference model's conditional–empty-condition prediction difference and updates the erased model with MSE in each native space.
Concept Score Relearning (CSR) constructs a concept direction in the erased model's own native prediction space using the conditional–unconditional prediction difference of a frozen reference model, then performs one parameter update with the same MSE objective.
Problem Setting and Native Predictions
- Two generative families: SD's U-Net predicts the added noise, denoted fθ=ϵθ; FLUX's Transformer predicts the velocity field at continuous noise levels s∈[0,1], denoted fθ=vθ. The authors do not assume these two spaces are equivalent.
- Common quantity: At the same latent state and timestep/noise level, fθ(zt, t, c)−fθ(zt, t, ∅) represents the native prediction change caused by concept condition c relative to empty condition ∅.
- Attack target: The pretrained reference model ϕ is concept-erased to obtain victim θ; parameter-level attacks attempt to recover the suppressed concept by updating θ. Appendix A.2 states that CSR uses only this shared interface, with prediction differences and optimization objectives both remaining in their respective native spaces.
Concept Direction and Objective Construction
- Concept score: The frozen unerased reference model provides dc(zt, t; ϕ)=fϕ(zt, t, c)−fϕ(zt, t, ∅). The authors call this the concept score and clarify that it does not imply the model explicitly parameterizes a statistical score.
- Self-generated anchors: Given a target prompt c, the reference model generates concept images, which are VAE-encoded into an anchor set Zc. During relearning, anchors are perturbed according to that architecture's forward process to obtain concept-related latent states, rather than using image reconstruction as the objective. No external target concept image set is used.
- Recovery target: Tη(zt, t, c)=fϕ(zt, t, ∅)+η dc(zt, t; ϕ). η>0 is the recovery strength; η=1 makes the target equal to the reference model's conditional prediction, and η>1 extrapolates along the concept direction. Default η=3.
Unified Relearning Objective
- Loss: LCSR is the element-wise MSE between the victim's native prediction under condition c and the stop-gradient Tη, with expectation taken over concept anchors, Gaussian noise, and timesteps/noise levels. On SD, fθ=ϵθ; on FLUX, fθ=vθ; the objective form is unchanged.
- Procedure (Algorithm 1): First sample N reference model images and encode them as Zc; then perform S steps, each taking a perturbed anchor, constructing τ=sg[u+η dc] using the reference model's empty-condition and conditional predictions, and minimizing MSE over θ's trainable parameters.
- Parameter surface: Appendix A.3 states that on SD-1.4, the to_k and to_v projections of cross-attention are updated; on FLUX.1-dev, only the k and v projections of the image–text cross-attention where image latents serve as queries in the double-stream Transformer block are updated. Optimizer is AdamW, with learning rate 1×10^-4 for SD and 1×10^-5 for FLUX, weight decay 0.01, and gradient clipping 1.0.
- Budget: Default N=40 anchors, S=40 steps; FLUX caches K=2 perturbation/target tuples per anchor. SD uses batch size 1 and 50-step DDIM; FLUX uses flow-matching Euler scheduling, guidance scale 3.5, and 2 reference forward passes per step. Reference predictions are not backpropagated.
Success Criteria
- Nudity: Prompts in I2P with NudeNet score above 50%; primary metric is ASR-Strict for five explicit nudity categories, with broader ASR-Permissive also reported.
- Violence: Corresponding I2P prompts, using Q16 classifier ASR.
- Art styles: 50 ConceptPrune prompts each for Van Gogh and Picasso; Top-3 ASR of a 129-class WikiArt classifier, success if the target painter is in the top three.
- Other concepts: Entity, Abstraction, Relationship use ReFLUX's CLIP detection protocol, reporting CLIP Acc.
- Utility: CLIPScore and FID relative to real images on MS-COCO; LPIPS between erased and reactivated models under the same prompt and seed.
What experiments did the paper conduct?
CSR is highest in all 12 nudity and 12 violence settings, highest in 10 of 12 style settings, and highest in all 12 miscellaneous settings.
Experimental Setup
- Models: FLUX.1-dev and Stable Diffusion-v1.4. Fine-tuning and evaluation are done on a single 80GB NVIDIA A100.
- Erasure methods: ESD, AC, EAP, EraseAnything (EA), ConceptPrune (CP), MACE. Not all methods natively support both model families; the authors use official implementations, otherwise perform architecture-specific porting (Appendix A.4).
- Attack baselines: ReFLUX, UnlearnDiffAtk, P4D, Ring-A-Bell. The miscellaneous table only compares ReFLUX.
- Nudity and violence: Nudity uses I2P prompts with nudity score above 50%, with NudeNet's ASR-Strict (five explicit body parts) as primary and ASR-Permissive as secondary. Violence uses corresponding I2P prompts and Q16 ASR. The paper does not state the number of prompts in these two groups in the main text.
- Styles and miscellaneous: 50 prompts each for Van Gogh and Picasso, 129-class WikiArt classifier Top-3 ASR. Entity, Abstraction, Relationship use the CLIP protocol; the appendix states filtering by reference model upper bound first, then evaluating 100 prompts each.
- Utility and human evaluation: MS-COCO CLIPScore, FID, and paired LPIPS. Human evaluation involves 20 non-author, blind participants, 20 matched comparisons, 1–5 scale four-dimensional scoring.
Main Results
Strict nudity ASR-Strict (%), from Table 1. CSR is highest in all 12 architecture×erasure settings. The authors report erased model averages of FLUX 7.60%, SD 8.60%, and CSR averages of 50.47% and 40.29%.
Swipe horizontally to read the table
Model / Attack ESD EA AC EAP CP MACE FLUX erased model 3.51 10.18 18.60 1.75 9.47 2.11 FLUX CSR 33.33 52.63 53.33 53.68 51.58 58.25 SD-1.4 erased model 0.70 12.98 10.53 1.75 23.86 1.75 SD-1.4 CSR 35.79 59.30 38.25 33.33 55.09 20.00 - Nudity: The authors state CSR raises FLUX average from 7.60% to 50.47% and SD from 8.60% to 40.29%, ranking first in all 12 settings. ASR-Permissive shows the same trend, averaging 68.01% (FLUX) and 54.91% (SD), with full numbers in Appendix A.7.2. Several baselines are below the erased model, e.g., on FLUX, UnlearnDiffAtk against ESD is 0.00 (relative to erased model −3.51 percentage points), and ReFLUX against CP is 1.05 (−8.42 percentage points).
- Violence (Table 2): The authors state CSR ranks first in all 12 settings, with averages rising from 21.33% to 71.44% (FLUX) and from 39.04% to 59.92% (SD). In individual cells, FLUX-MACE CSR is 89.45% and SD-MACE is 48.83%. Several baselines are below the erased model, e.g., on FLUX-EAP, UnlearnDiffAtk is 0.00 (erased model 22.27%).
- Qualitative: Figures 1, 3, 4 show generated images from erased models, baselines, and CSR; the authors state CSR recovers recognizable content for nudity, violence, styles, abstraction, relationships, and entities. Yellow boxes indicate corresponding unerased model outputs, and explicit regions are obscured with blue bars. Specific pixel content in the figures cannot be read from text.
Art Styles and Miscellaneous Concepts
- Styles (Table 3): Top-3 ASR. The authors state CSR is highest in 10 of 12 architecture×painter×erasure settings. Van Gogh / Picasso average ASR: FLUX 22.00% / 73.33%, SD 48.67% / 85.33%. Exceptions are FLUX, ESD, Van Gogh: CSR 12.0%, UnlearnDiffAtk 14.0% higher; SD, ESD, Van Gogh: CSR 36.0%, ReFLUX 38.0% higher. For Picasso, CSR is highest, e.g., FLUX-EA 90.0%, SD-EA 96.0%.
- Miscellaneous (Table 4): CLIP Acc., only ESD and EA. The authors state CSR ranks first in all 12 settings. Relationship remains the hardest, but relative to ReFLUX, the authors state CSR is higher by 29.00 and 26.50 percentage points on FLUX and SD, respectively. Example cells: on FLUX-ESD, CSR for Entity/Abstraction/Relationship is 51.00 / 62.71 / 42.00, while ReFLUX is 23.30 / 34.29 / 16.00; among these, ReFLUX's Entity-EA is 11.10, below the erased model's 16.00.
Utility, Efficiency, and Human Evaluation
- Efficiency: The authors state CSR performs one update per concept, taking about 2.4 minutes on SD-1.4 and about 5 minutes on FLUX.1-dev on a single A100-80GB; the evaluated prompt-space attack takes at most about 52 minutes per prompt.
- Utility: Relative to ReFLUX, the authors state CSR is better in 30 of 36 comparisons: CLIP similarity higher in all 12 settings, FID lower in 10 of 12, and LPIPS lower in 8 of 12. Full numbers are in Appendix A.7.3, not listed cell-by-cell in the main text.
- Human evaluation (Table 5): 20 participants, 20 comparisons, covering violence, styles, entities, abstractions, relationships, both architectures, and ESD, EA; excluding nudity. CSR participant-level means±std are React. 4.62±0.91, Align. 4.74±0.22, Preserv. 4.68±0.53, Quality 4.52±0.76; ReFLUX is 4.62 vs 4.52, 4.74 vs 3.89, 4.68 vs 3.91, 4.52 vs 4.03. The authors state all four-dimensional means are higher. Figure 7 is a bar chart of the same group means.
Other Ablations and Analyses
Figure 5 shows ASR-Strict for ESD-erased nudity, attack seed 0.
- η: Default η=3 gives SD-1.4 32.98% and FLUX.1-dev 38.25%; the authors state reactivation improves as η increases from η=1 (directly matching reference prediction). The figure also marks η axis 1–4, but exact values for other ticks are not written in the main text.
- Anchor count N: A single anchor already gives non-trivial reactivation; default N=40 gives the same 32.98% and 38.25%.
- Anchor source: Replacing with irrelevant anchors drops ASR-Strict from 32.98% to 10.53% (SD) and from 38.25% to 2.81% (FLUX). Figure 5c also marks bars like Null, where 17.9, 13.7, 10.5, 2.8 are visible, but the main text only explicitly explains the irrelevant-anchor pair.
- Appendix ablations: The authors state more results on parameter surface and optimization budget are in A.7.4; the main text does not provide other numbers, and none are added here.
What are some points that can be further explored?
The authors emphasize that erasure evaluation should include cross-architecture parameter-level relearning, and state that concept direction scaling and concept anchors are key to recovery.
Limitations and future directions noted by the authors
The paper does not have a separate Limitations section. The following items come from the conclusion, ethics statement, and reproducibility statement where follow-up items are explicitly written.
- Cross-architecture evaluation: The conclusion states these results highlight the need to evaluate concept erasure against parameter-level relearning threats on modern generative architectures (Conclusion).
- Concept removal and resistance to relearning: The ethics statement encourages future work to consider both the effectiveness of concept removal and its resistance to parameter-level relearning when evaluating model safety (Ethics Statement).
- Code release: The reproducibility statement says code and configuration will be released, i.e., the authors plan to release them for reproducing the reported results (Reproducibility Statement).
The "need for" in the main-text experimental discussion is not counted as a limitation. The paper does not write the availability of reference models, fixed budget, or untested SD3 as limitations; these are only stated in the experimental scope according to what the paper actually covers.
Experimental coverage
- Architectures: Experiments were conducted on FLUX.1-dev and Stable Diffusion-v1.4 (Section 5.1). Appendix A.2 uses these two families to illustrate native prediction spaces, with no quantitative results for a third family.
- Erasures and attacks: Safety concepts cover six erasure methods—ESD, EA, AC, EAP, CP, MACE—and UnlearnDiffAtk, P4D, Ring-A-Bell, ReFLUX (Tables 1–2). Style only reports ESD, EA, CP (Table 3); miscellaneous only reports ESD and EA, with ReFLUX as the only attack comparison (Table 4).
- Concepts and metrics: Nudity uses NudeNet's ASR-Strict / ASR-Permissive, violence uses Q16, style uses Top-3 ASR over 129 WikiArt classes (50 each), and miscellaneous uses CLIP Acc. Utility is reported on MS-COCO with CLIPScore, FID, and LPIPS (Section 5.1).
- Human evaluation: 20 non-author participants, 20 matched comparisons, five concept groups (violence, style, entity, abstraction, relationship) × two architectures × ESD and EA; explicit nudity is excluded from the human evaluation (Section 5.2, Appendix A.8). Statistically, trials are first averaged within participants, then mean and standard deviation are reported; the paper does not report significance tests.
- Implementation assumptions: Appendix A.3 states the setting as accessible θ, a public reference model ϕ, and target concept prompts, without knowing the erasure algorithm. Defaults are η=3, N=40, S=40. The paper does not report agreement coefficients with human ratings.
Summarize the main content of the paper
CSR reactivates erased concepts on both architectures using the reference model's concept direction, achieving the highest average ASR in safety settings.
Concept Score Relearning (CSR) is a parameter-level framework to test whether text-to-image concept erasure remains robust under cross-architecture relearning.
- Problem: Can erased models from noise-prediction U-Net (SD-1.4) and flow-matching Transformer (FLUX.1-dev) be reactivated by the same concept-oriented objective? The authors argue that existing relearning objectives are each tied to one architecture family.
- Method: In a white-box setting, the attacker has the erased checkpoint, the corresponding public reference model, and the target concept prompt, but does not know the erasure algorithm. The reference model self-generates anchors; the concept direction is conditional prediction minus empty-condition prediction at the same latent state; the target extrapolates along that direction with strength η, then MSE updates part of the victim's attention projections. SD operates in noise space, FLUX in velocity space, with the same objective form.
- Safety results: On strict nudity, CSR is highest in all 12 architecture×erasure settings, with average ASR-Strict of 50.47% for FLUX.1-dev and 40.29% for SD-1.4 (erased models average 7.60% and 8.60%, respectively, Table 1). Violence also ranks first in all 12 settings, with average ASR of 71.44% and 59.92% (Table 2).
- Other concepts: Top-3 ASR for Van Gogh and Picasso is highest in 10 of 12 settings; the two exceptions are ESD-erased Van Gogh, where UnlearnDiffAtk (FLUX, 14.0%) and ReFLUX (SD, 38.0%) exceed CSR (Table 3). Entity, Abstraction, Relationship rank first in all 12 settings on ESD and EA (Table 4).
- Cost and ablations: The authors state one update per concept, about 2.4 minutes (SD) or 5 minutes (FLUX); relative to ReFLUX, 30 of 36 utility/consistency comparisons are better. In a 20-person blind evaluation, CSR's four-dimensional means are all higher (Table 5). Irrelevant anchors reduce ESD nudity ASR-Strict to 10.53% (SD) and 2.81% (FLUX) (Figure 5).
- Authors' conclusion: Surface suppression after erasure does not necessarily resist subsequent parameter-level relearning; the authors argue that such threats should be included in concept erasure evaluation on modern generative architectures, and state that concept direction scaling and concept-specific anchors are key to recovery.
Related papers
- The Poisoned ConversationAttacksarXiv