One RING forgets all concepts: concept erasure based on the consensus of already-unlearned modelsOne RING to Unlearn Them All: Concept Erasure from the Consensus of Unlearned Models
The authors propose RING, which erases concepts using rare SAE features jointly suppressed by multiple unlearning models; on FLUX.1-dev, all six nudity benchmarks leave no more than 1.5% unsafe images.
The goal is to make pretrained generative models no longer generate a specified concept while preserving unrelated content. Evaluation includes adversarial prompts such as Ring-A-Bell, MMA-Diffusion, P4D, and UnlearnDiff; the paper does not specifically define the attacker's knowledge or input control permissions.
- Concept erasure requires a generative model to remove nudity, objects or artistic style while preserving unrelated content. The authors argue that existing methods also change unrelated content, and that the side effects of different methods are hard to compare in the same representation space.
- RING trains a TopK SAE on the base model, treats multiple existing unlearning models as voters, selects features that are suppressed by all voters and rare on generic prompts, and at inference time multiplies them uniformly by a negative coefficient without modifying the base weights.
- The experiments cover SD v1.4, FLUX.1-dev and CogVideoX-5B. The authors report that RING erases most thoroughly on six nudity benchmarks on FLUX.1-dev, and achieves a good balance between erasure and specificity in object and style erasure on SD v1.4; video erasure is worse than some voters.
- The authors note that RING depends on multiple available unlearned models, that consistent voting can be vetoed by invalid voters, and that FLUX.1-dev generation time increases by about 50%; currently it erases one concept at a time, with one SAE per block. The experiments cover only three generative models and nudity, two object categories, and Van Gogh style.
- Evaluated models
- SD v1.4FLUX.1-devCogVideoX-5B
- Benchmarks
- I2PT2I-RedPromptRing-A-BellMMA-DiffusionP4DUnlearnDiffbasic nudity promptsCOCOCIFAR-10GenVan Gogh style erasure
- Metrics
- unsafe images (%)attack success rate (ASR)Nude frames (%)FIDFIDgenFIDrealCLIP scoreCLIP-TLPIPSeLPIPSuLPIPSdAcceAccgAccsHoAUROC
The researchers propose a concept erasure method, RING, which treats multiple existing concept erasure models as voters and uses the rare SAE features they jointly suppress to guide erasure. The paper finds that each concept erasure model suppresses tens of thousands of SAE features, most of which encode generic content; the suppression sets of any two models overlap by at most 30% under the Jaccard index, and the few features that rarely activate on generic prompts and are jointly suppressed by all models are essentially exclusive to the erased concept. RING trains an SAE on the base model, selects these features, and scales them by a single negative factor at inference; the same pipeline applies to the UNet of SD v1.4, the flow-matching Transformer FLUX.1-dev, and the video model CogVideoX-5B.
Related events and news
1 events · 0 news mentions
- This event's paper
RING用多模型共识SAE特征擦除概念
Paper analysis
What problem does this paper attempt to solve?
To address concept erasure damaging unrelated content, the authors use the consistency of multiple unlearning models on SAE features to select erasure targets.
The core problem is how to erase a specified concept from a generative model while changing unrelated content as little as possible. The authors argue that existing concept erasure methods each bring their own distinct side effects, and that there is no representation space in which these side effects can be compared.
- Application scenarios: Text-to-image and video models may generate pornography, real-person deepfakes, or copyrighted artistic styles; filtering training data requires retraining from scratch, which the authors say still leaves inappropriate content.
- Existing shortcomings: Fine-tuning, LoRA, closed-form weight editing and hypernetwork adapters each rely on different assumptions about concepts. The authors say no method removes only the target concept, and many suppressed features actually correspond to generic content such as fabric, hair, and grass.
- Core observation: SAEs can place activation changes from different models into a shared dictionary. The Jaccard index between the suppression sets of any two voters is only 0.16–0.30, while features suppressed by all voters and rare are more specific to the target concept (Table 15).
- Proposed method: RING (Removal via INtersection-Guided suppression) trains an SAE only on the base model, uses existing unlearned models as voters to select features, and applies negative scaling at inference time, with base weights unchanged.
- Threat model:
- Protection goal: Prevent the model from generating the specified concept while preserving unrelated content and the original composition.
- Victim systems: The UNet-architecture SD v1.4, the flow-matching transformer FLUX.1-dev, and the video model CogVideoX-5B.
- Adversarial conditions: Evaluation uses prompt sets including I2P, Ring-A-Bell, MMA-Diffusion, P4D, and UnlearnDiff, which include adversarial prompts.
- Knowledge boundary: The paper does not specifically define the attacker's white-box or black-box knowledge or input control permissions.
What related research exists?
Related work is divided into training-based concept erasure, SAE erasure and ensemble methods; RING's distinction is selecting features by the consensus of multiple erasure models.
Training- and weight-editing-based concept erasure
- ESD, STEREO, EraseAnything: ESD (2023) fine-tunes to imitate negative classifier-free guidance away from the target concept; STEREO (2025) combines adversarial prompt search with anchor-guided fine-tuning; EraseAnything (2025) formulates erasure as a bilevel optimization.
- MACE, UnHype: MACE (2024) trains a separate LoRA for each concept and merges it into the weights; UnHype (2026) uses a hypernetwork to dynamically generate LoRA weights from the CLIP embedding of the prompt.
- UCE, RECE: UCE (2024) is training-free and edits the cross-attention projection in closed form; RECE (2024) iteratively extends the edit to handle embeddings that can still regenerate the target concept.
SAEs for concept erasure
- SAeUron (2025): identifies SAE features related to the target concept based on the contrast between concept data and non-concept data, and suppresses them at inference time.
- SAEmnesia (2025) and Concept Steerers (2025): the former trains SAEs in a supervised manner to establish a one-to-one mapping between concepts and latents; the latter trains a k-sparse autoencoder on text embeddings and steers generation at test time.
- Difference from RING: the authors state that RING first analyzes what existing erasure methods actually suppress, then selects the features they jointly suppress; generic prompts are used only to exclude frequently activated features, not to provide concept-level supervision or contrastive ranking.
Ensembling and shared dictionaries
- NegMerge, FlowErase-OPD: NegMerge (2024) merges the task vectors of different fine-tuned models, keeping only coordinates with consistent signs and then negating them; FlowErase-OPD (2026) integrates multiple single-concept erasure teachers into a unified LoRA.
- SAE ensembles and cross-model dictionaries: Gadgil et al. (2025) ensemble SAEs with bagging and boosting; Crosscoders (2024) and Universal SAEs (2025) learn cross-model shared dictionaries.
- Positioning of this work: the authors state that RING combines the decisions of multiple concept erasure methods on a shared SAE trained only on base-model activations, using consistency to select the features to suppress during generation.
Experimental baselines and benchmarks
- Nudity erasure: FLUX.1-dev compares ESD, UCE, CA, EA, ESD-x, EraseFlow, GEM, BEM; SD v1.4 additionally includes RECE, MACE, SAFREE, AdvUnlearn, TRCE, STEREO, SAeUron; CogVideoX-5B compares SAFREE, T2VUnlearning, CGCE.
- Other tasks: object erasure compares FMN, CA, SLD-M, ESD-x, UCE, ESD-u, MACE, UnHype; Van Gogh style erasure compares ESD-x, UCE, SLD-M, CA, RECE, STEREO, EraseFlow. Benchmarks include I2P, T2I-RedPrompt, Ring-A-Bell, MMA-Diffusion, P4D, UnlearnDiff, COCO, CIFAR-10 and Gen.
How does the paper address this problem?
RING first selects SAE features through consistent multi-model voting and rarity filtering, then applies uniform negative scaling to these features at each denoising step.
RING treats existing unlearning models as feature-selection voters: offline, it finds SAE features that all voters jointly suppress and that rarely activate on generic prompts; at inference time it scales only these features, preserves the SAE reconstruction error, and does not update the base model weights.
Shared SAE on the base model
- Training target: a TopK SAE is trained separately on the output activations of three selected blocks of the denoising network; for the UNet, feature-map spatial position vectors are used, and for the diffusion transformer, image or video tokens, ignoring position and timestep.
- Core form: z=TopK(ReLU(Wenc(x−bpre)+benc)), x̂=Wdecz+bpre, where TopK keeps only the k largest latent activations.
- Training parameters: k=256, dictionary size 32d; float32, Adam, 10 epochs, cosine learning rate and 1000 warm-up steps. Activations come from 5000 training prompts, and 8 denoising steps are cached along the sampling trajectory (Appendix B).
- Block selection: mass-mean linear probes are used for three concepts—nudity, Van Gogh style and dog—and blocks are ranked by the minimum d′ among the three; the network is divided into three segments by depth, and one high-d′ block is selected from each, avoiding selection of adjacent blocks (Appendix D).
Unanimous voting and rarity filtering
- Voting process: the base model and the voters generate separately for the same concept prompts and the same seed, activations are encoded with the same base SAE, and the trigger frequency of each feature over tokens and denoising steps is counted.
- Suppression criterion: a feature is recorded as suppressed by a voter only if the voter's feature trigger frequency drops by more than λ=0.5 relative to the base model and the base frequency is above the 10% quantile of that block.
- Rarity filtering: R is the q=2% of features that the base model triggers least on prompts without the concept; the final set is Fc={i∣ sup(i,m) ∀ m∈ Mc}∩ R, i.e., the intersection of the set jointly suppressed by all voters and the rare set.
- Set size: the number of features is determined by the degree of voting agreement, λ and q, and is not set directly. λ=0.5 was not tuned and remains unchanged across models and concepts (Appendix M).
Feature editing at inference time
- Stepwise editing: at each denoising step and each selected block, SAE encoding and decoding are performed; features in Fc are multiplied by a shared negative number γc, and the remaining features are unchanged.
- Preserving the error: the edited vector is the decoded result plus the original SAE reconstruction error x−x̂; vectors with no selected feature activation remain unchanged. When classifier-free guidance is used, both the conditional and unconditional passes are edited.
- Strength selection: for the nudity task, the weakest edit on a fixed grid such that at most one concept image or video in the validation set is still flagged by NudeNet is chosen; for style and object, the γc with the highest validation LPIPSd or Ho, respectively, is chosen.
- Actual values: −8 for SD v1.4 nudity, −32 for FLUX.1-dev, and −16 for CogVideoX-5B; −46 for Van Gogh, and −64 for both object categories.
Voters, data and evaluation
- Voter configuration: SD v1.4 nudity uses ESD-u, MACE, RECE, STEREO; FLUX.1-dev uses ESD-x, GEM, EraseFlow; CogVideoX-5B uses T2VUnlearning, SAFREE, CGCE. Object and style use the voter combinations listed in the paper.
- Training and selection data: SAE training includes 500 concept prompts and 4500 COCO train2014 captions; feature selection for FLUX.1-dev and CogVideoX-5B uses the first 2000 entries of the shuffled list, and SAE training for CogVideoX-5B uses a stratified subset of 2500 (Appendix B).
- Success criterion: image nudity is measured by the NudeNet unsafe ratio or ASR according to each benchmark's protocol; video counts nude frames. Quality and specificity are additionally measured by FID, CLIP, LPIPS, SSIM, Ho, etc., and are not judged by a single erasure rate.
- Feature analysis: Qwen3.8-27B labels features based on high-activation images, then judges on held-out images whether the label applies, measuring with AUROC whether the label predicts where the feature triggers; the proportion of nudity among the top 20 high-activation images is also counted (Appendix L).
What experiments did the paper conduct?
The experiments cover three generative models and three types of concepts; RING balances erasure and fidelity on image tasks, but video nudity erasure is worse than some voters.
Experimental Setup
- Models under test: SD v1.4, FLUX.1-dev, CogVideoX-5B; the first two perform image nudity erasure, SD v1.4 additionally performs airplane, ship and Van Gogh style erasure, and CogVideoX-5B performs video nudity erasure.
- Nudity benchmarks: FLUX.1-dev uses I2P, T2I-RedPrompt, Ring-A-Bell, MMA-Diffusion, P4D, basic prompts; SD v1.4 uses I2P, MMA, P4D, UnlearnDiff, Ring-A-Bell; video uses Gen and Ring-A-Bell.
- Metrics and evaluation: FLUX.1-dev uses NudeNet to determine unsafe; SD v1.4 reports ASR per the TRCE protocol; video counts nudity frames per NudeNet. Figure 3's exposed uses score ≥0.6, different from Table 2's TRCE threshold of 0.45.
- Quality evaluation: FLUX.1-dev computes FID against the base on 10k COCO generations; SD v1.4 reports FIDgen, FIDreal, CLIP score on 3k COCO prompts; concept prompts additionally measure CLIP, LPIPS, SSIM.
- Other tasks: objects generate 200 images per prompt, using CIFAR-10 classes and synonymous prompts, with CLIP ViT-B/32 computing Acce, Accg, Accs, Ho; style uses 20 Van Gogh and 80 other-artist prompts.
- Repetition and sources: main results do not report the number of repeated runs. Table 1's ESD-x, Table 2's ESD-u, STEREO, SAeUron, etc. are marked as trained or measured by the authors themselves; some nudity frame rates in Table 3 are taken from the original papers, and CLIP-T is all measured by the authors.
Main Results
The table below summarizes RING and its voters; full baselines are in Tables 1–5. Nudity values are unsafe images or ASR (%), video is nudity frames (%).
Swipe horizontally to read the table
Model and task Method Erasure result Fidelity or specificity Source FLUX.1-dev, nudity RING I2P 0.54; T2I-RP 0.36; RAB 0.35; MMA 0.20; P4D 1.47; Basic 0 FID 2.78 Table 1 FLUX.1-dev, nudity ESD-x / GEM / EraseFlow I2P 3.54 / 6.77 / 9.77 FID 7.53 / 8.20 / 8.32 Table 1 SD v1.4, nudity RING I2P 2.47; MMA 7.50; P4D 7.28; UnDiff 2.82; RAB 1.27 FIDgen 12.25; FIDreal 27.24; CLIP 30.92 Table 2 SD v1.4, nudity STEREO / TRCE / AdvUnlearn I2P 0.86 / 1.29 / 1.71; MMA 1.10 / 1.40 / 0.30 FIDgen 19.08 / 12.08 / 13.84 Table 2 CogVideoX-5B, nudity RING Gen 12.53; RaB 7.05 CLIP-T: Gen 25.77; RaB 24.64 Table 3 CogVideoX-5B, nudity SAFREE / T2VUnlearning / CGCE Gen 35.12 / 16.47 / 2.84; RaB 10.64 / 2.74 / 0.59 Gen CLIP-T 27.05 / 26.00 / 15.69 Table 3 SD v1.4, object RING airplane Ho 95.75; ship Ho 96.79 average Ho 96.27 Table 5 SD v1.4, Van Gogh RING LPIPSe 0.48 LPIPSu 0.08; LPIPSd 0.40 Table 4 - Image nudity: the authors state RING has the lowest unsafe rate on all six FLUX.1-dev benchmarks; on SD v1.4, STEREO, TRCE, AdvUnlearn erase more on most benchmarks, and RING ties STEREO and TRCE at 1.27% only on Ring-A-Bell.
- Concept composition: on 931 sexual I2P prompts, RING's exposed is 0.8% and CLIP is 0.813; STEREO is 0.2% and 0.660 respectively. On FLUX.1-dev's 1,303 prompts, RING is 0.7% and 0.854 (Table 13).
- Video exception: RING outperforms SAFREE and T2VUnlearning on Gen but falls short of CGCE; on Ring-A-Bell it falls short of T2VUnlearning and CGCE. The authors state CGCE achieves stronger erasure by rewriting scenes, with a Gen CLIP-T of 15.69.
Feature Specificity and Unrelated Content
- Consensus voting: rare features jointly suppressed by all voters have AUROC 0.87 on SD v1.4, with nudity accounting for 76% of high-activation images; on FLUX.1-dev AUROC rises from 0.79 to 0.90 and the nudity proportion from 0.51 to 0.82 (Figure 5).
- Single-voter side effects: features that do not pass the rarity filter and are suppressed by only one voter have AUROC at most 0.60 and nudity proportion at most 0.23; the Jaccard index of any two-voter set is 0.16–0.30 (Table 15).
- Benign image loss: on SD v1.4's 3000 COCO prompts, a zero-shot detector measures that RING loses on average 0.6% of visible classes, versus 4.8–9.3% for voters; the electronic device class is highest at 22% for MACE (Figure 12, Appendix N).
Voting and Filtering Ablations
- Voter combinations: on FLUX.1-dev, three voters select 288 features, with COCO LPIPS 0.098 and RAB CLIP 0.735; single-voter or two-of-three sets give 478–1670 features, corresponding to LPIPS 0.144–0.173 and RAB CLIP 0.576–0.706 (Table 6).
- Removing the rarity filter: 6281 jointly suppressed features give unsafe 0.00 at γc=−8, but COCO CLIP 0.686 and LPIPS 0.691; the authors therefore consider the rarity filter to protect unrelated content.
- Removing voters: 288 contrast features give unsafe 1.40% on RAB, random rare active features 0.94%, and RING 0.35%; further comparison at the same scale and same γc is in Table 20.
Other Ablations and Analyses
- γc sensitivity: for SD v1.4, changing from −8 to −16 lowers I2P ASR from 2.47 to 0.64 and concept CLIP from 0.813 to 0.758; for FLUX.1-dev, −16 leaves 1.7–7.0% unsafe on each benchmark (Table 12, Appendix F).
- SAE random seeds: retraining a single block gives a best-match selection rate of 56–60% and concept-prompt edit cosine of 0.71–0.72; after each selects its own γc, all 100 concept validation images are flagged 0 (Tables 9–10).
- Venn regions: at a unified γc=−32, the 983 rare features shared only by ESD-x and GEM give unsafe 0.00 on RAB but CLIP 0.562; RING gives 0.35% and 0.735 (Table 21).
- Denoising step analysis: the authors report that from step 15, the 5-NN accuracy of selected features distinguishing concept from generic prompts is about 97%, random features about 79%, and single-voter features 62–72% (Figure 13).
- Computational cost: the FLUX.1-dev nudity pipeline takes about 25 H200 GPU-hours, excluding voter training; inference generation time increases by 46–54%, and peak memory rises from 33.9 GB to 42.3 GB (Appendix G).
What are some points that can be further explored?
The authors list voter dependence, unanimous veto, inference overhead and the single-concept single-SAE limitation; the experiments also stop at three models and the specified concepts.
Limitations and future directions noted by the authors
- Dependence on existing methods: RING builds on existing unlearning models, so it applies only to concepts for which several concept erasure methods already exist (Conclusion, Limitations).
- Veto problem of unanimous voting: voting requires unanimity, so every voter must erase the concept; a voter that does not erase the concept will veto the relevant features (Conclusion, Limitations).
- Inference overhead: SAE editing increases the generation time of FLUX.1-dev by about 50%; Appendix G gives a measured range of 46–54% (Conclusion, Limitations; Appendix G).
- Single concept and single SAE: currently only one concept is erased at a time, and each block uses one TopK SAE; the authors list extending both as future work (Conclusion, Limitations).
Scope of the experiments
- Models and modalities: the evaluated models are SD v1.4, FLUX.1-dev and CogVideoX-5B, three in total; the first two are evaluated on images and the third on video (Section 4.1).
- Concept scope: nudity is evaluated on all three models; object erasure covers only airplane and ship; artistic style erasure covers only Van Gogh (Sections 4.1–4.2).
- Adversarial evaluation: images use protocols such as I2P, T2I-RedPrompt, Ring-A-Bell, MMA-Diffusion, P4D and UnlearnDiff; video uses Gen and Ring-A-Bell (Appendix H).
- Stability check: the SAE seed experiment retrains only up_blocks.1.attentions.1 of SD v1.4, using seeds 1, 2, 3, and edits only that block; the main results edit three blocks (Appendix C).
- Statistics and re-measurement information: the main results tables do not report the number of repeated generations or confidence intervals; Figure 5 reports bootstrap 95% intervals for each group of at most 60 features, and the random feature set ablation uses the mean of three draws (Figure 5, Table 6).
Summarize the main content of the paper
RING locates concept features through multi-model consensus, reducing unrelated changes in image erasure, but it depends on existing voters and increases inference cost.
RING is a concept erasure method for image and video diffusion models, aiming to preserve unrelated content while removing nudity, objects or artistic styles. The authors compare the side effects of existing erasure methods in a shared SAE representation, and replace a single method's feature judgment with the consensus of multiple unlearned models.
- Core observation: different voters each suppress many features unrelated to the target, and the Jaccard index of pairwise sets is only 0.16–0.30; features jointly suppressed by all and rare on generic prompts correspond more concentratedly to the target concept (Table 15, Figure 5).
- Method essentials: train TopK SAEs on three blocks of the base model, use λ=0.5 to determine suppression and q=2% to filter rare features; at inference, multiply selected features by a unified negative number γc at each step, retain the reconstruction error, and do not modify the base weights.
- FLUX.1-dev nudity: RING leaves 0.54%, 0.36%, 0.35%, 0.20%, 1.47%, 0 unsafe images on I2P, T2I-RP, Ring-A-Bell, MMA, P4D, Basic respectively, with FID 2.78 on 10k COCO (Table 1).
- SD v1.4 tasks: nudity erasure falls short of STEREO, TRCE, AdvUnlearn on most adversarial benchmarks; object erasure has an average Ho of 96.27, and Van Gogh's LPIPSd is 0.40, both the highest in the tables (Tables 2, 4, 5).
- Video results: on CogVideoX-5B, RING's nudity frame rates on Gen and Ring-A-Bell are 12.53% and 7.05%, better than some voters, but CGCE is 2.84% and 0.59% respectively (Table 3).
- Authors' conclusion and cost: the authors consider that multi-model consensus restricted to rare SAE features can reduce erasure side effects; meanwhile, RING requires multiple effective voters, FLUX.1-dev inference time increases by 46–54%, and multiple concepts and multiple SAEs per block remain for future work.
Research lineage
1 foundations · 0 follow-ups in libraryNo later in-library follow-ups recorded yet.
Hover or focus a connected paper to inspect the citation context.