WorksComputer Science
ESSI: Computationally Efficient Semantic Search for Sparse Autoencoder Concepts
Abstract
Sparse autoencoders (SAEs) decompose diffusion model activations into interpretable features, but steering a model with them requires identifying which features map to a given semantic concept, if any. Existing methods for this concept to feature task are expensive, relying on grid searches or repeated passes through the frozen UNet. We propose Efficient Semantic Sparse Identification (ESSI). Using segmentation masks to label SDXL activations as concept or non-concept, ESSI ranks SAE features and binary-searches for the smallest set on which a linear classifier still separates positive from negative samples while not falling below a performance threshold, then reuses that classifier to calibrate the steering strength. We evaluate the same selected features on both concept insertion and object unlearning. Compared with prior work, ESSI is as cheap or cheaper, and performs well on both insertion and removal.
Introduction
Diffusion models ([46]) have emerged as one of the most powerful and commonly used text-to-image models. Since their introduction, they have been made larger ([13, 5]), faster ([34]), and higher scoring on metrics of image quality ([27]). In parallel, there has been more interest in interpreting and understanding how these models work. Using a UNet ([42]) as a backbone is very popular, and is a good element to study for interpretability: the middle layers already contain some semantic information ([32, 2]), so the activations of these layers are prime targets for using sparse autoencoders ([41]) to disentangle ([49]). We choose to use SDXL, given that its weights, and the weights of a few sparse autoencoders are publicly available.
Sparse representations are not particularly useful if we cannot discover which semantic concepts are encoded within them. A lot of work labels features post hoc ([49, 53]), taking a feature and then figuring out which human interpretable concepts it matches to. We call this the feature concept task. This is different from transforming a human interpretable concept into a good feature, which we call the concept feature task. But what constitutes a "good" feature? Interpretability is a less straightforward task than prediction or classification, as the end user’s needs are downstream of having an understandable, monosemantic feature for a concept. Gurnee et al. [19] looks at language models, and rates features by classification accuracy. We use classification accuracy as a heuristic to find good features, but interpretable features should be judged by how well they can be used to ablate the concept from a model output that would otherwise contain it, or insert the feature into a model output that would otherwise not contain it. To our knowledge, presently there is no work that, starting from a named concept, searches for the features and evaluates the same selected features quantitatively on both removal and insertion in diffusion models.
Additionally, prior work ([21, 12]) for aligning sparse latent dimensions of diffusion models with semantic concepts is also computationally expensive, requiring a grid search over hyperparameters ([12]), multiple passes through the frozen UNet ([21]), training multiple classifiers, or a complicated convex optimization problem [19]. Some of these require quadrillions of FLOPs, costing time and energy. Scaling laws [28] predict that models will only get larger, so this problem will only get worse. Even with current models, searching for dozens or even hundreds of distinct concepts would be infeasible under the current paradigm. To rectify this, we propose Efficient Semantic Sparse Identification (ESSI). ESSI uses segmentation masks to label each spatial activation as concept or non-concept, ranks SAE features by an importance score, and binary-searches for the smallest feature set on which a linear classifier still reaches 95% accuracy. The same classifier calibrates the steering strength, so no images are generated during the search. An additional gap in prior work is inadequate comparisons: Cywiński & Deja [12] only scores its method on removal, He et al. [21] only scores insertion, and Gurnee et al. [19] does neither. We provide a comprehensive comparison of our method against competing methods on both tasks.
The first comprehensive comparison of concept feature methods that evaluates them on both removal and insertion.
Propose ESSI: a new method for the concept feature task using between and fewer FLOPs than some of the alternative methods.
Evaluate our method on both insertion and unlearning and show that our method achieves decent scores on removal and insertion with a massive decrease in FLOPs needed.
Related Work
Mechanistic Interpretability
Machine learning models are often described as "black boxes". It’s not clear what human-understandable concepts are actually represented by hidden activations. Occasionally, we get lucky, such as when early layers of the Inception model ([51]) turned out to be Gabor filters ([37]), but this is the exception, not the norm. One of the major complications is that hidden activations are usually polysemantic ([45]), so one neuron can activate on seemingly unrelated concepts. The sparse autoencoder (SAE) ([41, 35]) was proposed to rectify this. SAEs are shallow autoencoders, where the latent layer is of a significantly higher dimensionality, and a sparsity penalty (such as ) is applied to the latents. Some common variants include Jump ReLU ([40]), Top K ([17]), and Matryoshka ([8]). SAEs have been applied to increasingly larger NLP architectures, such as a single transformer block ([7]), a small GPT ([6]), and even Claude ([52]). SAE features could be used for steering ([1, 10]) these models, with implications for AI safety ([25]). We adopt the sparse coding approach of Gurnee et al. [19], but deviate from their approach by studying a vision model, not a text model and allowing for .
SAEs for Vision
SAEs have also been used post hoc on trained vision foundation models, such as CLIP ([38]) and Vision Transformers ([48 a]), as well as incorporated into the training of autoencoders ([31]). For text-to-image models, SAEs have been applied to the text embeddings of the conditioning prompts ([20, 29]) as well as the activations of the internal layers of models such as SDXL ([39, 50]). Some approaches like Tinaz et al. [53] analyze the sparse features and then assign, post hoc, semantic labels to each latent dimension. However, doing the inverse, of starting with a semantic concept and then finding the matching features, is nontrivial. So far there are four approaches:
SAEuron ([12]) scores features by how much more they activate on concept data than on other data, then grid-searches the number of features and the removal strength by generating images and scoring them with an unlearning metric.
Concept Aligned Sparse Latents (CASL) (He et al., [21]) trains a concept-aligned mapping on top of the SAE, with a loss that needs passes through the UNet and CLIP.
Adaptive Thresholding (Gurnee et al., [19]) trains a series of classifiers that iteratively decrease the number of features, where at each step the probe is retrained to use the top neurons from the last step.
Optimal Sparse Probing (OSP) (Bertsimas et al., [3]) formulates feature selection as a binary optimization problem, and uses a cutting-plane algorithm to estimate the optimal subset of features.
Unlearning
One of the reasons the concept → feature task is more important than the feature → concept task is that specific concepts need to be removed from models. Modern models are trained on large datasets full of unsavory concepts (Birhane et al., [4]), so making them unlearn (Nguyen et al., [36]) is useful for both text (Geng et al., [18]) and image models (Xie et al., [55]). There is a wealth of methods that are used to ablate controversial concepts from generative image models ([56, 11, 14, 22, 15, 54]). These approaches sometimes utilize extra weights and adapters ([26, 16, 57]), some sort of adversarial training ((hongyi nie et al., 2025; Zhang et al., 2024b)) or a new optimization objective ([33, 30]).
Methodology
Given a concept (e.g. an object), ESSI finds a small set of sparse autoencoder (SAE) features at a U-Net layer that represent , a removal strength that suppresses the concept when those features are rescaled at inference time, and an insertion strength that adds the concept to an image by adding the same features’ decoder directions. Like SAeUron (Cywiński & Deja, [12]), ESSI ranks features by how much more activation they carry on images of than on images of other concepts. It differs from SAeUron in two ways. (i) We use segmentation masks throughout. The ranking is computed only over the segmented region of each image, so background patches contribute to neither the concept’s nor the other concepts’ statistics. The probes that choose the number of features and contrast the patches inside and outside the mask within the same images, which share the same prompt, style and background. (ii) Instead of keeping a fixed number of top-ranked features with a hand-tuned strength, we choose the number of features , and automatically, using linear probes on cached activations, without generating any images for the search. The full procedure is given in Algorithm 1; we describe each step below.
Notation. Let be the set of candidate layers, the set of concepts (), the prompts of concept , and the SAE encoder at layer , with latent features and decoder . We write for the -th coordinate of an SAE code .
Collecting activations
For every concept , we build the prompt set from the prompt templates of Ruiz et al. [43], filling the subject slot with (e.g. “a in the jungle”). We generate one image per prompt with SDXL-Turbo (Sauer et al., [44]), a distilled version of SDXL (Podell et al., [39]), using a single denoising step. Following Surkov et al. [49], we record the residual update of the transformer block, i.e. the block’s output minus its input. For layer and prompt , this gives an activation map , whose entry we call a patch. We encode every patch with the pretrained TopK SAEs of Surkov et al. [49], .
Segmentation masks
For each image generated from a prompt , we prompt SAM 3 (Carion et al., [9]) with the text and take the union of the returned instance masks; if SAM3 returns no mask, the mask is empty. We downsample the pixel mask to each layer’s resolution by majority vote: a patch is inside the mask if more than half of its pixels are. This gives . For the concept , the patches of its own images are split into
with SAE codes . These are the positives and negatives of the probes in § 3.4 and § 3.5; an image with an empty mask contributes only negatives.
Ranking features
We use the feature-importance score of Cywiński & Deja [12], computed on masked regions only. For an image with a non-empty mask, let
be its mean code over the mask (images with an empty mask are left out of the ranking). For a set of images , let , and let be the images of the other concepts. Each feature is scored by how much more of the total activation mass it takes up on the concept’s regions than on the other concepts’ regions:
where is a small constant for numerical stability. SAeUron computes the same score with averaged over every patch of the image; restricting it to the mask removes the background, which is shared across concepts, from both terms. Let be the features with a positive score, sorted by descending score, and let be the top .
Choosing the number of features
We hold out 20% of the concept’s images (split by image, so that patches from one image never appear in both splits) and use the rest for training. For a feature subset , let be an -regularized logistic regression trained to separate from using only the coordinates , with each feature rescaled to a maximum of 1. Let be its accuracy on the held-out patches. We select the smallest whose probe reaches 95% of the accuracy of the probe trained on every feature:
with ; if no reaches the target, we use . We find by binary search over . This assumes accuracy does not decrease as grows; we log every the search evaluates so that the assumption can be checked. The selected features are . We do not propose a method for choosing the layer: ESSI is run at each layer independently.
Removal
Following Cywiński & Deja [12], we remove by rescaling the selected features in proportion to how strongly they fire on the concept. Let be the mean activation of feature over every patch of the concept’s images, i.e. over (patches where the feature is inactive count as zero). The edited code is
so zeroes the features and pushes them in the opposite direction. Unlike SAEuron, we do not restrict the edit to patches where a feature exceeds a threshold: it is applied at every patch, and leaves patches where a selected feature is inactive unchanged. To keep the SAE’s reconstruction error out of the edit, we do not replace the block’s output with the decoded edited code. Instead, we subtract only the change that the selected features contribute:
where is the output of block and is the code of its residual update.
Choosing . To choose without generating any images, we train a dense probe (feature standardization followed by -regularized logistic regression) on the raw activations of the training images. Because this probe reads the activations directly rather than the SAE codes, it can detect the concept even through features outside . On the held-out images, let be the set of positive patches that classifies as positive before the edit. We apply the edit offline, exactly as it is applied during generation, and choose the weakest after which at most 5% of is still classified as positive:
where is patch after the edit with strength . We find by bisection (12 steps). If even leaves more than 5% of positive, we use . This check only covers block ; later blocks and the text conditioning can restore the concept, so we measure removal on generated images in § 4.
Insertion
The same features can also add to an image that does not contain it. We take base images generated from a fixed prompt with a different subject (e.g. another object), and regenerate each with the same prompt and seed while adding the selected features’ decoder directions inside the base subject’s region. Let be the SAM 3 mask of in the unedited base image, downsampled to layer by majority vote, and let be the mean activation of feature over the SAE’s training data. At every patch with , the block’s output becomes
and patches outside the mask are left unchanged. Unlike removal, the edit does not depend on the block’s own code: only the direction of the selected features is added.
Choosing . We consider two choices. The first reuses the removal strength, , at no extra cost. Since multiplies while multiplies , this reuses the number rather than the size of the edit. The second chooses the way is chosen, without generating any images. We train a dense probe (feature standardization followed by -regularized logistic regression) on the raw activations of all of the concept’s images; no images need to be held out, because the probe is evaluated on the base images. Let be the patches of the cached, unedited base-image activations at layer that lie inside the base subjects’ masks, over the base images whose subject is not . We add the injection offline, exactly as it is added during generation, and choose the weakest strength after which at least 95% of those patches look like to the probe:
We find by bisection (12 steps), which assumes that the share of positive patches does not decrease as grows. If even does not reach 95%, we use ; if the patches already reach it without any injection, we inject nothing. As with , this check only covers block , so we measure insertion on the generated images in § 4.
Algorithm 1: ESSI feature selection, removal strength and insertion strength for concept at layer
Input: concept , concepts , prompt templates, layer , SAE , base images with subject masks
Output: , ,
For every : generate one image per prompt in with SDXL-Turbo (1 step); record residual updates and encode them;
Segment in each image of with SAM 3; downsample to by majority vote;
Rank features by the masked score (concept’s regions vs. the other concepts’ regions) ;
Split the patches of into by the mask; encode to ;
Split the images of 80/20 into train / held-out;
Binary-search the smallest with ); ;
Train dense probe on (train split);
Bisect : weakest leaving of held-out detected positives positive ( if none does);
Train dense probe on (all images); collect the masked base patches (bases with );
Bisect : weakest after which of \mathcal{B}_c+\alpha W_l^{\mathrm{dec}}_v is classified positive (50 if none does); or set ;
return ;
Experiments
We learn features for the 20 object concepts of the UnlearnCanvas benchmark [58]. Images are classified with the UnlearnCanvas object and style classifiers and (ViT-L/16). We retrain both with the original architecture and training recipe, but on images generated by SDXL-Turbo, the diffusion model we edit, since the released classifiers had trouble distinguishing styles on its images (Appendix § 9.6). Unless stated otherwise, all features are learned on the last downsampling block before the bottleneck, down.2.1; preliminary experiments showed that features learned at this block outperform those of the other blocks (Appendix § 9.7). The exception is CASL, whose authors use the bottleneck block, so we report CASL at both down.2.1 (CASL (down)) and the bottleneck mid.0 (CASL (mid)). CASL is trained for 5k steps. Implementation and training details for all methods are in Appendix § 9.
Evaluation images. The evaluation set is one image per (object, style) pair: the prompt “A image in style.” for every object and each of the 50 UnlearnCanvas styles , generated with a fixed seed, so prompts. We write for the unedited image of a prompt and for the image generated from the same prompt and seed with an edit applied. All experiments use a single seed; reported numbers are means over the 20 concepts. Removal and insertion examples are shown in Figure 1 and Figure 2.

Figure 1. Concept removal examples at down.2.1. Each panel shows the unedited image (left) and each method’s edit with (top row) and (bottom row). Top: removing Birds from “A Birds image in Surrealism style.” Bottom: removing Horses from “A Horses image in Fauvism style.”

Figure 2. Concept insertion examples at down.2.1. Each panel shows the unedited base image (left) and each method’s edit with , and (rows, top to bottom). Top: inserting Human into “a good picture of flame.” Bottom: inserting Sandwiches into “a good picture of bears.”
Removal
To remove a concept , we regenerate every prompt of the evaluation set with the same seed while applying the edit of § 3.5 for , and compare each edited image with the unedited image . The prompts with (50 images) are the target images; the other 950 measure collateral damage. We report, averaged over the 20 concepts:
Unlearning accuracy (UA): the fraction of target images that are no longer classified as , . Higher is better.
In-domain retain accuracy (IRA): the object classifier’s accuracy on the non-target images, i.e. whether the other objects survive the removal of , . Higher is better.
Cross-domain retain accuracy (CRA): the style classifier’s accuracy on the same non-target images, i.e. whether removing an object leaves the styles intact, . Higher is better.
Fréchet Inception Distance (FID) [23]: the Fréchet distance between Gaussians fitted to the Inception-v3 pool features of the edited images and of the unedited images of the same 1000 prompts. It measures how far the edit moves the image distribution, not image realism against real data. Lower is better.
(UA+IRA)/2: Each metric alone can be gamed: replacing the image with noise maximizes UA, and leaving it unchanged maximizes IRA. Their mean is high only when the target concept is removed and unrelated content is preserved.
For every feature selection method, we compare two choices of the removal strength : , found automatically as described in § 3.5, and , found by grid search as in the codebase of SAeUron [12]. For , each is applied to SAeUron’s sweep prompts, and the value maximizing (UA+IRA)/2 is kept; for SAeUron, the number of features is searched jointly with . CASL’s strength lives on a different scale, so for CASL we search its steering strength instead and remove with . Following SAeUron’s code, the search is scored with the released (not retrained) object classifier. Its prompts use a different template from the evaluation prompts, but cover the same 50 styles, so is not tuned on fully held-out data; uses no classifier and no evaluation prompts. Results are in Table 1.
| Method | UA | IRA | CRA | FID | (UA+IRA)/2 |
| ESSI | 0.676 | 0.990 | 0.980 | 9.897 | 0.833 |
| Adaptive | 0.668 | 0.992 | 0.980 | 9.659 | 0.830 |
| OSP | 0.678 | 0.981 | 0.973 | 11.439 | 0.830 |
| SAeUron | 0.722 | 0.978 | 0.966 | 14.091 | 0.850 |
| CASL (down) | 0.285 | 0.722 | 0.711 | 89.733 | 0.503 |
| CASL (mid) | 0.455 | 0.518 | 0.497 | 171.545 | 0.486 |
| ESSI | 0.827 | 0.995 | 0.985 | 10.431 | 0.911 |
| Adaptive | 0.694 | 0.996 | 0.985 | 8.902 | 0.845 |
| OSP | 0.615 | 0.993 | 0.982 | 9.274 | 0.804 |
| SAeUron | 0.937 | 0.983 | 0.969 | 15.094 | 0.960 |
| CASL (down) | 0.191 | 0.812 | 0.799 | 48.472 | 0.502 |
| CASL (mid) | 0.254 | 0.738 | 0.720 | 79.391 | 0.496 |
Table 1. Concept removal results at down.2.1 (CASL also at mid.0), means over the 20 UnlearnCanvas objects. Best in bold, second best italicized.
Insertion
To insert a concept , we use a separate set of base images: the prompt “a good picture of ” for each of the 20 UnlearnCanvas objects , generated with the same fixed seed and segmented with SAM 3 on . We regenerate each base prompt with the same seed while adding concept inside the base subject’s mask, as described in § 3.6, giving an edited image for every base . Bases whose subject is itself are skipped, leaving 19 edited images per concept. We report the Editing Precision Ratio (EPR) [21], averaged over the 20 concepts: the mean absolute change of the object classifier’s logit for between
and , divided by the mean absolute change of its other 19 object logits. It is high when the edit adds without disturbing the classifier’s other concepts. Higher is better. For every feature selection method, we compare three insertion strengths: , found automatically as described in § 3.6, and the negated removal strengths and of § 4.1. Results are in Table 2.
Table 2. Concept insertion results at down.2.1 (CASL also at mid.0), means over the 20 UnlearnCanvas objects. Best in bold, second best italicized.
| Method | FLOPs/concept |
| ESSI | 27.8 T |
| Adaptive | 27.8 T |
| OSP | 27.9 T |
| SAeUron* | 250 P |
| CASL | 56.3 P |
Table 3. FLOPs per concept for feature selection.
Efficiency
We count the floating-point operations (FLOPs) each method needs to select its features (Table 3) and its removal and insertion strengths (Table 4), per concept at one block. GPU work (generation, classification, segmentation, SAE encoding, CASL training) is counted with PyTorch’s FLOP counter; CPU work (probes) is counted analytically. FLOPs are operation counts, independent of numeric precision (generation ran in fp16); the time and energy per FLOP depend on the hardware and precision. We write G, T and P for , and FLOPs. Results are in Table 3 and Table 4.
| Strength | FLOPs/concept |
| 104 G | |
| 104 G | |
| (ESSI, Adaptive, OSP) | 30.6 P |
| (CASL) | 22.3 P |
| (SAeUron)* | 0 |
Table 4. FLOPs per concept for strength selection, on top of feature selection.
Discussion
The most significant result is the drastic difference in efficiency between the ESSI, OSP and Adaptive methods, and the rest. ESSI requires roughly 9000 times fewer FLOPs than SAeUron, and roughly 2000 times fewer FLOPs than CASL. For removal, for both methods of choosing , SAeUron still performs best on (UA+IRA)/2, while ESSI ranks second. Given that, it’s more accurate to say that ESSI provides comparable removal for a fraction of the compute, albeit not superior. For insertion, the adaptive method is first or second best for all ways of choosing , but note that ESSI with is the highest score across all combinations of method and strength. ESSI + would be cheaper than SAeUron or CASL and do extremely well at insertion and fairly well at removal. CASL performs poorly on all metrics. Our experiments reflected a fairly wide domain shift. The original paper used 50 inference steps on Stable Diffusion 1.5. Despite a thorough search over hyperparameters (including inference steps) in Appendix § 9.2, none of our CASL configurations performed well on our SDXL-Turbo model. CASL was also evaluated on facial features, while our method had a much more diverse set of concepts to learn.
Conclusion
This is the first study to evaluate the same selected features on both removal and insertion, comparing five methods. Our contribution, ESSI, turns a named concept into a small set of SAE features plus a removal strength and an insertion strength. It does this using segmentation masks and linear probes on cached activations, and generates no images during the search. We caveat that the ESSI, OSP and Adaptive methods tend to have very similar results, and almost identical efficiencies, but ESSI has a slight but consistent edge in removal compared to the other inexpensive methods. CASL is not robust to our choice of model and concepts, so further work would entail trying this analysis again on a larger set of models and subjects, so as to discover which techniques work on which configurations, and why. Another next step is to find a way to decide between layers, as it’s possible that some of our target concepts were not present in all layers. Our work also assumes that sparse autoencoders are the best way to represent features; it is possible that features are not as polysemantic as people assume and we may not need them.
Author Contributions
Redacted while under review
Acknowledgments
Redacted while under review
Appendix
Implementation details
Every method edits SDXL-Turbo with a single denoising step and the same pretrained TopK SAEs [49] as ESSI, and reads the same cached activations of the concept images of § 3.1 (25 prompts per concept, one seed). Unless stated otherwise, removal and insertion are applied exactly as in § 3.5 and § 3.6: removal rescales the selected features by and subtracts only their change through the SAE decoder, and insertion adds inside the base subject’s mask. The strengths and are found with the same dense probes, targets and bisection as ESSI’s, applying each method’s own edit offline; uses the grid search of § 4.1. The methods therefore differ only in how they choose the features, except CASL, which also edits the activations in its own way.
SAeUron
We reimplement the feature selection and removal of SAeUron ([12]) on our SAEs, following its released code. Each image’s SAE code is averaged over all of its patches, and features are scored with the score of § 3.3 computed on these unmasked means; the top features are kept. SAeUron does not choose from data: the paper tunes and per concept on a validation set, and the values it reports were tuned for an SAE trained on Stable Diffusion 1.5, so we rerun its search on our model. For each concept, we evaluate every jointly with every , separately at each block, and keep the pair that maximizes (UA+IRA)/2. The search images are SAeUron’s sweep prompts, the UnlearnCanvas anchor prompt of each object followed by “in s style.” for 49 styles (20 × 49 = 980 prompts), generated with a fixed seed per prompt and scored with the released UnlearnCanvas object classifier, as in SAeUron’s code. Its released code thresholds the scores at fixed percentiles (99.99, 99.995, 99.999) rather than taking the top ; with our 5120-feature SAEs every percentile keeps only the top feature, so we search directly, as described in the paper. Removal follows SAeUron’s masked edit: feature is rescaled to only at patches where exceeds its mean activation over all concepts (the mean over concepts of each concept’s mean image code), and left unchanged elsewhere. For , we keep the searched and replace only by the value of the probe bisection, applying the thresholded edit offline. Insertion adds the searched features exactly as ESSI adds its own (§ 3.6).
CASL
CASL ([21]) learns, for each concept, a linear map from the frozen SAE code of a block to an edit of the block’s output, with , and selects the features with the largest columns of . We train it as the paper’s second stage. The map is added at every patch of the block (down.2.1 or mid.0), with the code of the block’s residual update, as for the other methods. The training loss is DiffusionCLIP’s directional loss plus an reconstruction term,
where is the unedited image, the image generated from the same prompt and seed with the map applied, the CLIP ViT-B/16 image and text encoders, and . The text pair goes from the domain to the concept, = “a photo” and = “a photo of a c”. Because SDXL-Turbo produces the image in one step, is generated directly and no DDIM inversion is needed; gradients flow through the U-Net and the VAE decoder to and only. The paper trains on 1,000 images per concept without specifying them; we use one pool shared by all concepts, the concept prompts of all 20 objects with two seeds each (20 × 25 × 2 = 1000 images). The paper does not give an optimizer, learning rate or number of steps. We initialize and at zero, so that features that never fire on the training images keep a zero column and do not enter the rank, and train with Adam (learning rate , one image per step) for 5,000 steps; in a sweep over optimizers and learning rates, this was the setting whose CLIP loss clearly decreased the most. Refer to the Table 5 for an exhaustive search of hyperparameters.
| block | training steps | lr | inference steps | optimizer | |
| down.2.1 | 1000 | 1e-5 | 1 | SGD | -0.003 |
| down.2.1 | 1000 | 1e-4 | 1 | SGD | -0.005 |
| down.2.1 | 1000 | 1e-3 | 1 | Adam | 0.024 |
| down.2.1 | 1000 | 1e-3 | 1 | SGD | 0.017 |
| down.2.1 | 1000 | 1e-3 | 2 | Adam | -0.011 |
| down.2.1 | 1000 | 1e-3 | 10 | Adam | 0.012 |
| down.2.1 | 1000 | 1e-2 | 1 | Adam | 0.054 |
| down.2.1 | 1000 | 1e-2 | 2 | Adam | 0.013 |
| down.2.1 | 1000 | 1e-2 | 10 | Adam | -0.002 |
| down.2.1 | 3000 | 1e-3 | 1 | Adam | 0.043 |
| down.2.1 | 3000 | 1e-3 | 2 | Adam | 0.002 |
| down.2.1 | 3000 | 1e-3 | 10 | Adam | 0.003 |
| down.2.1 | 3000 | 1e-2 | 1 | Adam | 0.125 |
| down.2.1 | 3000 | 1e-2 | 2 | Adam | -0.001 |
| down.2.1 | 3000 | 1e-2 | 10 | Adam | 0.003 |
| down.2.1 | 5000 | 1e-2 | 1 | Adam | 0.138 |
| down.2.1 | 10000 | 1e-2 | 1 | Adam | 0.138 |
| mid | 1000 | 1e-5 | 1 | SGD | -0.008 |
| mid | 1000 | 1e-4 | 1 | SGD | 0.003 |
| mid | 1000 | 1e-3 | 1 | Adam | 0.024 |
| mid | 1000 | 1e-3 | 1 | SGD | -0.009 |
| mid | 1000 | 1e-3 | 2 | Adam | 0.013 |
| mid | 1000 | 1e-3 | 10 | Adam | -0.024 |
| mid | 1000 | 1e-2 | 1 | Adam | 0.092 |
| mid | 1000 | 1e-2 | 2 | Adam | 0.005 |
| mid | 1000 | 1e-2 | 10 | Adam | 0.030 |
| mid | 3000 | 1e-3 | 1 | Adam | 0.049 |
| mid | 3000 | 1e-3 | 2 | Adam | 0.006 |
| mid | 3000 | 1e-3 | 10 | Adam | 0.017 |
| mid | 3000 | 1e-2 | 1 | Adam | 0.157 |
| mid | 3000 | 1e-2 | 2 | Adam | -0.013 |
| mid | 3000 | 1e-2 | 10 | Adam | -0.012 |
| mid | 5000 | 1e-2 | 1 | Adam | 0.171 |
| mid | 10000 | 1e-2 | 1 | Adam | 0.144 |
Table 5. Hyperparameter search
Features are ranked by the norm of their column of , and, as in the paper, only the top feature is used.
CASL edits the block with its own map rather than through the SAE decoder (CASL-Steer):
at every patch, without the bias and without a mask, for both removal and insertion. Since the map is trained to add the concept, insertion uses and removal in the opposite direction, . The edit is proportional to , so it is zero at patches where the feature is inactive. Because and the SAE decoder have different scales, CASL’s strengths lie on a different scale from the other methods: the grid search uses , and the probe bisection search , , the largest strength shown in the paper.
OSP
Optimal sparse probing (OSP) ([19]) finds, for each , the features of the best -sparse linear classifier of the concept. We follow the official implementation and its defaults. The probe separates the same patches as ESSI’s probes, the positive patches inside the concept’s masks from the negative patches outside them, over all of the concept’s images. Each feature is divided by 10 times its standard deviation over these patches, and the 50 features with the largest absolute difference between the positive and negative means are kept as candidates. For each , OSP solves the -sparse hinge-loss SVM
over the candidates, with balanced class weights and for patches, by the outer-approximation (cutting-plane) method of Bertsimas et al. [3]: an SVM solved on a support gives a cut valid for every support, and a mixed-integer program over the cuts proposes the next support until the bound meets the best objective. The official code solves both problems with Gurobi; we solve the SVM with libsvm and the mixed-integer program with HiGHS. As in the official code, each solve is limited to 60 s, after which the best support found is used, and runs over , each solve warm-started from the top of an logistic regression on the previous, larger support. The supports for different need not be nested, so the number of features is chosen as in § 3.4 but among these eight supports: the smallest whose support reaches 95% of the held-out accuracy of the probe on all features, found by binary search over .
Adaptive thresholding
Adaptive thresholding (Adaptive) ([19]) prunes the features iteratively with elastic-net logistic regressions. It uses the same patches, normalization and mean-difference ranking as OSP, again following the official implementation. Starting from the 64 features with the largest mean difference, it fits, for each in the official schedule in turn, an elastic-net logistic regression with balanced class weights, and ratio on the current features, and keeps the features with the largest absolute coefficients for the next, smaller . The resulting sets are nested, so they define a single ranking: the features of the smallest set come first, followed by the features each larger set adds, ordered by the absolute coefficients of that set’s probe. The number of features is then chosen from this ranking exactly as ESSI’s (§ 3.4), by binary search over .
Scores By Subject
Some subjects were "harder" than others. For any concept, there is no guarantee that the SDXL-Turbo model was capable of representing it with a few sparse latents. Insertion, Removal FID and Removal (UA+IRA)/2 are in Table 6, Table 7 and Table 8, respectively.
| Object | ESSI | Adaptive | OSP | SAeUron | CASL (down) | ESSI | Adaptive | OSP | SAeUron | CASL (down) | ESSI | Adaptive | OSP | SAeUron | CASL (down) |
| Architectures | 1.085 | 5.784 | 2.888 | 1.339 | <u>0.000</u> | 2.585 | 3.194 | 1.449 | 2.436 | <u>0.000</u> | 2.379 | 1.149 | 2.300 | <u>0.518</u> | <u>0.000</u> |
| Bears | 1.464 | 0.907 | 0.907 | 1.035 | 0.395 | 0.531 | 0.871 | 0.871 | 0.683 | 0.395 | 1.636 | 1.071 | 1.071 | 1.032 | 0.464 |
| Birds | 3.267 | 3.267 | 1.029 | 3.164 | <u>0.000</u> | <u>0.000</u> | <u>0.000</u> | 0.549 | <u>0.000</u> | <u>0.000</u> | 3.579 | 3.579 | 1.050 | 3.285 | <u>0.000</u> |
| Butterfly | 1.494 | 0.762 | 0.762 | 1.787 | <u>0.000</u> | 0.722 | 0.935 | 0.935 | 0.596 | <u>0.000</u> | 1.582 | 0.865 | 0.865 | 1.201 | <u>0.000</u> |
| Cats | 5.290 | 5.290 | 5.290 | 5.495 | <u>0.000</u> | 1.279 | 1.279 | 1.279 | 0.999 | <u>0.000</u> | 4.132 | 4.132 | 4.132 | 1.796 | <u>0.000</u> |
| Dogs | 5.389 | 5.389 | 0.987 | 4.587 | <u>0.000</u> | 1.855 | 1.855 | 0.628 | 1.234 | <u>0.000</u> | 5.348 | 5.348 | 1.078 | 3.977 | <u>0.000</u> |
| Fishes | 2.240 | 2.240 | 2.240 | 1.018 | 0.582 | 0.838 | 0.838 | 0.838 | 0.529 | 0.582 | 0.807 | 0.807 | 0.807 | 0.573 | 0.668 |
| Flame | 2.051 | 2.051 | 1.313 | 1.873 | <u>0.000</u> | 3.493 | 3.493 | 2.311 | 1.074 | <u>0.000</u> | 3.197 | 3.197 | 0.745 | 3.768 | <u>0.000</u> |
| Flowers | 0.717 | 4.348 | 4.348 | 3.133 | 0.915 | 0.717 | 2.813 | 2.813 | 1.360 | 0.915 | 1.264 | 3.953 | 3.953 | 2.483 | 1.115 |
| Frogs | 0.820 | 0.820 | 0.820 | 0.820 | 0.511 | 0.738 | 0.738 | 0.738 | 0.738 | 0.511 | 1.001 | 1.001 | 1.001 | 1.001 | 0.591 |
| Horses | 0.653 | 0.653 | 2.356 | 3.181 | <u>0.000</u> | 0.653 | 0.653 | 0.585 | 1.126 | <u>0.000</u> | 3.838 | 3.838 | 1.280 | 3.158 | <u>0.000</u> |
| Human | 3.017 | 1.195 | 0.995 | 1.161 | <u>0.000</u> | 1.999 | 1.195 | 0.817 | 0.938 | <u>0.000</u> | 2.601 | 1.058 | 0.842 | 1.177 | <u>0.000</u> |
| Jellyfish | 0.809 | 0.771 | 0.771 | 0.967 | <u>0.000</u> | 0.809 | 0.529 | 0.529 | 0.767 | <u>0.000</u> | 0.613 | 0.653 | 0.653 | 1.274 | <u>0.000</u> |
| Rabbits | 0.467 | 0.467 | 0.467 | 0.467 | 0.378 | 0.794 | 0.794 | 0.794 | 0.794 | 0.378 | 0.911 | 0.911 | 0.911 | 0.911 | 0.434 |
| Sandwiches | 0.870 | 1.284 | 0.870 | 2.500 | <u>0.000</u> | 1.445 | 1.277 | 1.445 | 1.365 | <u>0.000</u> | 0.897 | 1.306 | 0.897 | 1.258 | <u>0.000</u> |
| Sea | 2.082 | 1.450 | 1.450 | 4.397 | <u>0.000</u> | <u>0.000</u> | 2.150 | 2.150 | 1.486 | <u>0.000</u> | 3.539 | 0.894 | 0.894 | 4.799 | <u>0.000</u> |
| Statues | 1.997 | 3.629 | 1.902 | 1.579 | 0.520 | 1.274 | 1.234 | 1.226 | 1.233 | 0.520 | 4.568 | 3.254 | 4.213 | 5.132 | 0.516 |
| Towers | 1.529 | 2.281 | 2.281 | 4.506 | <u>0.000</u> | 2.048 | 3.422 | 3.422 | 3.036 | <u>0.000</u> | 2.797 | 1.189 | 1.189 | 4.754 | <u>0.000</u> |
| Trees | 1.271 | 1.026 | 1.026 | 2.984 | <u>0.000</u> | 3.045 | 1.443 | 1.443 | 1.513 | <u>0.000</u> | 2.331 | 1.138 | 1.138 | 2.121 | <u>0.000</u> |
| Waterfalls | 3.344 | 3.344 | 3.344 | 3.344 | 0.434 | 1.707 | 1.707 | 1.707 | 1.707 | 0.434 | 2.703 | 2.703 | 2.703 | 2.703 | 0.342 |
| Pooled | 1.994 | 2.481 | 1.860 | 2.592 | 0.536 | 1.570 | 1.760 | 1.411 | 1.395 | 0.536 | 2.641 | 2.520 | 1.882 | 2.476 | 0.510 |
Table 6. Per-object insertion EPR ↑ at down.2.1. In each column, the best object is in bold, the second best italicized and the worst <u>underlined</u>; the last row is the EPR pooled over all edited images (Table 2).
| Object | ESSI | Adaptive | OSP | SAeUron | CASL (down) | ESSI | Adaptive | OSP | SAeUron | CASL (down) |
| Architectures | 3.226 | 7.262 | 15.499 | 16.054 | 0.000 | 3.052 | 1.539 | 13.324 | <u>44.670</u> | 0.000 |
| Bears | 14.105 | 6.244 | 6.244 | 11.176 | 237.543 | 8.833 | 4.815 | 4.815 | 8.003 | 130.334 |
| Birds | 0.881 | 0.881 | <u>25.082</u> | 0.884 | 0.223 | 9.801 | 9.801 | <u>16.665</u> | 8.673 | 0.015 |
| Butterfly | 9.823 | 10.847 | 10.847 | 6.775 | 0.000 | 10.712 | 11.204 | 11.204 | 11.860 | 0.000 |
| Cats | 5.321 | 5.321 | 5.321 | 4.322 | 0.000 | 13.554 | 13.554 | 13.554 | 7.938 | 0.000 |
| Dogs | 12.243 | 12.243 | 19.842 | 5.587 | 0.736 | 7.575 | 7.575 | 2.170 | 11.197 | 0.073 |
| Fishes | 15.054 | 15.054 | 15.054 | 33.296 | 215.814 | 14.923 | 14.923 | 14.923 | 23.867 | 110.904 |
| Flame | 15.285 | 15.285 | 9.552 | 4.414 | 4.321 | 13.058 | 13.058 | 1.319 | 12.864 | 0.201 |
| Flowers | 4.673 | 20.070 | 20.049 | 21.582 | <u>373.302</u> | 3.020 | 14.570 | 14.570 | 15.674 | 9.415 |
| Frogs | 8.419 | 8.419 | 8.419 | 8.419 | 226.734 | 6.139 | 6.139 | 6.139 | 6.143 | 123.673 |
| Horses | 20.314 | 20.314 | 12.022 | 9.829 | 0.093 | 18.213 | 18.213 | 9.192 | 20.017 | 0.003 |
| Human | 0.523 | 6.709 | 17.498 | 14.434 | 0.253 | 0.476 | 1.304 | 14.062 | 9.972 | 0.301 |
| Jellyfish | 10.536 | 7.969 | 7.969 | 12.528 | 2.588 | 8.801 | 6.974 | 6.974 | 8.870 | 0.114 |
| Rabbits | 5.300 | 5.300 | 5.281 | 5.281 | 224.723 | 9.011 | 9.011 | 9.011 | 9.007 | 140.859 |
| Sandwiches | 15.876 | 16.982 | 15.876 | 16.089 | 0.000 | 11.909 | 13.266 | 11.909 | 16.404 | 0.000 |
| Sea | 1.232 | 0.353 | 0.353 | 4.408 | 1.421 | 9.509 | 0.061 | 0.061 | 10.431 | 0.042 |
| Statues | 7.273 | 7.351 | 7.328 | 6.620 | 283.528 | 13.204 | 10.939 | 14.496 | 11.693 | <u>268.301</u> |
| Towers | 10.985 | 6.986 | 6.986 | <u>50.164</u> | 0.000 | 11.538 | 2.000 | 2.000 | 20.200 | 0.000 |
| Trees | 25.013 | 7.744 | 7.744 | <u>37.942</u> | 0.123 | <u>21.288</u> | 5.074 | 5.074 | 30.381 | 0.108 |
| Waterfalls | 11.862 | 11.862 | 11.862 | 11.862 | 223.258 | 14.009 | 14.009 | 14.009 | 14.016 | 185.091 |
| Mean | 9.897 | 9.660 | 11.441 | 14.083 | 89.733 | 10.431 | 8.902 | 9.274 | 15.094 | 48.472 |
Table 7. Per-object removal FID ↓ at down.2.1. In each column, the best object is in bold, the second best italicized and the worst <u>underlined</u>; the last row is the mean over the 20 objects (Table 1).
| Object | ESSI | Adaptive | OSP | SAeUron | CASL (down) | ESSI | Adaptive | OSP | SAeUron | CASL (down) |
| Architectures | 0.689 | 0.609 | 0.918 | 0.629 | 0.500 | 0.640 | __0.500__ | 0.854 | 0.865 | 0.500 |
| Bears | 0.990 | 0.766 | 0.766 | 0.993 | 0.572 | 1.000 | 0.679 | 0.679 | 1.000 | 0.643 |
| Birds | 0.510 | 0.510 | 0.539 | __0.510__ | 0.499 | 0.995 | 0.995 | __0.483__ | 0.996 | 0.500 |
| Butterfly | 1.000 | 0.999 | 0.999 | __0.950__ | 0.500 | 1.000 | 1.000 | 1.000 | 1.000 | 0.500 |
| Cats | 0.790 | 0.790 | 0.790 | 0.710 | 0.500 | 0.995 | 0.995 | 0.995 | 1.000 | 0.500 |
| Dogs | 0.999 | 0.999 | 0.624 | 0.730 | 0.497 | 0.990 | 0.990 | 0.500 | 0.999 | 0.500 |
| Fishes | 0.995 | 0.995 | 0.995 | 0.933 | 0.476 | 0.998 | 0.998 | 0.998 | 0.962 | __0.383__ |
| Flame | 0.548 | 0.548 | 0.510 | 0.520 | 0.487 | 0.831 | 0.831 | 0.500 | __0.691__ | 0.500 |
| Flowers | 0.586 | 0.966 | 0.966 | 0.962 | 0.527 | 0.559 | 0.966 | 0.966 | __0.965__ | 0.500 |
| Frogs | 1.000 | 1.000 | 1.000 | 1.000 | 0.523 | 1.000 | 1.000 | 1.000 | 1.000 | __0.479__ |
| Horses | 0.987 | 0.987 | 1.000 | 0.990 | 0.499 | 0.995 | 0.995 | 1.000 | 0.996 | 0.500 |
| Human | 0.510 | 0.645 | 0.741 | 0.913 | 0.500 | __0.510__ | 0.500 | 0.655 | 0.869 | 0.500 |
| Jellyfish | 1.000 | 0.930 | 0.930 | 0.998 | 0.493 | 0.930 | 0.870 | 0.870 | 0.969 | 0.500 |
| Rabbits | 0.760 | 0.760 | 0.760 | 0.760 | 0.517 | 0.999 | 0.999 | 0.999 | 0.999 | 0.526 |
| Sandwiches | 0.984 | 0.987 | 0.984 | 0.999 | 0.500 | 1.000 | 0.999 | 1.000 | 0.999 | 0.500 |
| Sea | __0.500__ | __0.500__ | __0.500__ | 0.560 | 0.495 | 0.880 | __0.500__ | 0.500 | 0.940 | 0.500 |
| Statues | 0.920 | 0.940 | 0.900 | 0.930 | 0.554 | 1.000 | 1.000 | 1.000 | 1.000 | 0.572 |
| Towers | 0.929 | 0.950 | 0.950 | 0.940 | 0.500 | 0.920 | 0.550 | 0.550 | 0.981 | 0.500 |
| Trees | 0.965 | 0.719 | 0.719 | 0.949 | 0.499 | 0.981 | 0.530 | 0.530 | 0.969 | 0.499 |
| Waterfalls | 1.000 | 1.000 | 1.000 | 1.000 | __0.428__ | 1.000 | 1.000 | 1.000 | 1.000 | __0.429__ |
| Mean | 0.833 | 0.830 | 0.830 | 0.849 | 0.503 | 0.911 | 0.845 | 0.804 | 0.960 | 0.502 |
Table 8. Per-object removal at down.2.1. In each column, the best object is in bold, the second best italicized and the worst underlined; the last row is the mean over the 20 objects (Table 1).
Classifier Comparison
The classifier used in the original UnlearnCanvas repository was fine-tuned on images generated by Stable Diffusion 1.5, which is a different model than what we used (SDXL-Turbo). This domain shift was surprisingly impactful and their style classifier performed far worse on style classification, and slightly worse on object classification on a random sample of 100 images generated by our SDXL-Turbo model, as shown in Table 9. We replicated the training of the object and style classifiers using the same methodology to train the original classifiers, with the difference that we used images generated by SDXL-Turbo.
| metric | style | object |
| accuracy (pretrained) | 0.06 | 0.91 |
| accuracy (sdxl) | 0.96 | 0.99 |
| both right | 0.06 | 0.91 |
| both wrong | 0.04 | 0.01 |
Table 9. SDXL Classifier vs. Pretrained Classifier Results
Block Comparisons
A few preliminary experiments showed that the down.2.1 block was better at both insertion and removal than the other blocks which we could find pretrained Sparse Autoencoders for. We averaged the Insertion score over all values of attempted and the removal scores over all values of tried and report layer-wise scores in Table 10, Table 11, Table 12 and Table 13.
| Method | FID | EPR | FID | EPR | EPR | ||
| ESSI | 9.897 | 0.833 | 1.570 | 10.431 | 0.911 | 2.641 | 1.994 |
| Adaptive | 9.660 | 0.830 | 1.760 | 8.902 | 0.845 | 2.520 | 2.481 |
| OSP | 11.441 | 0.830 | 1.411 | 9.274 | 0.804 | 1.882 | 1.860 |
| SAeUron | 14.083 | 0.849 | 1.395 | 15.094 | 0.960 | 2.476 | 2.592 |
| CASL (down) | 89.733 | 0.503 | 0.536 | 48.472 | 0.502 | 0.510 | 0.536 |
Table 10. Removal FID and and insertion EPR at down.2.1, means over the 20 objects (EPR pooled over all edited images). Under / , EPR is insertion at . In each column, the best method is in bold and the second best italicized.
Table 11: Removal FID and and insertion EPR at mid.0, means over the 20 objects (EPR pooled over all edited images). Under / , EPR is insertion at . In each column, the best method is in bold and the second best italicized.
| Method | FID | EPR | FID | EPR | EPR | ||
| ESSI | 27.228 | 0.694 | 0.751 | 13.596 | 0.714 | 0.782 | 1.125 |
| Adaptive | 12.875 | 0.710 | 0.716 | 9.786 | 0.699 | 0.847 | 0.919 |
| OSP | 14.022 | 0.722 | 0.707 | 10.613 | 0.702 | 0.821 | 0.928 |
| SAeUron | 42.497 | 0.741 | 0.762 | 35.365 | 0.811 | 0.828 | 0.784 |
| CASL (mid) | 171.545 | 0.486 | 0.637 | 79.391 | 0.496 | 0.625 | 0.637 |
Table 11.
Table 12: Removal FID and and insertion EPR at up.0.0, means over the 20 objects (EPR pooled over all edited images). Under / , EPR is insertion at . In each column, the best method is in bold and the second best italicized.
| Method | FID | EPR | FID | EPR | EPR | ||
| ESSI | 17.678 | 0.800 | 1.062 | 13.010 | 0.846 | 1.264 | 1.165 |
| Adaptive | 15.886 | 0.836 | 1.021 | 12.158 | 0.845 | 1.185 | 1.154 |
| OSP | 17.430 | 0.836 | 1.034 | 12.307 | 0.823 | 1.081 | 1.514 |
| SAeUron | 19.575 | 0.768 | 0.751 | 20.776 | 0.942 | 1.115 | 1.538 |
Table 12.
Table 13: Removal FID and and insertion EPR at up.0.1, means over the 20 objects (EPR pooled over all edited images). Under / , EPR is insertion at . In each column, the best method is in bold and the second best italicized.
| Method | FID | EPR | FID | EPR | EPR | ||
| ESSI | 55.938 | 0.706 | 0.864 | 31.472 | 0.756 | 1.400 | 1.819 |
| Adaptive | 26.321 | 0.746 | 0.844 | 14.513 | 0.730 | 0.789 | 1.190 |
| OSP | 23.615 | 0.746 | 0.816 | 15.041 | 0.735 | 0.814 | 1.056 |
| SAeUron | 81.633 | 0.614 | 0.897 | 59.617 | 0.798 | 1.048 | 1.590 |
Table 13.

Figure 3. SDXL Classifier vs. Pretrained Classifier Visualization
References
- [1]Dana Arad, Aaron Mueller, and Yonatan Belinkov. SAEs are good for steering – if you select the right features. In Christos Christodoulopoulos, Tanmoy Chakraborty, Carolyn Rose, and Violet Peng (eds.), Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pp. 10241–10259, Suzhou, China, November 2025. Association for Computational Linguistics. ISBN 979-8-89176-332-6. doi: 10.18653/v1/2025.emnlp-main.519. URL https://aclanthology.org/2025.emnlp-main.519/. 2DOI
- [2]Dmitry Baranchuk, Ivan Rubachev, Andrey Voynov, Valentin Khrulkov, and Artem Babenko. Label-efficient semantic segmentation with diffusion models, 2022. URL https://arxiv.org/abs/2112.03126. 1
- [3]Dimitris Bertsimas, Jean Pauphilet, and Bart Van Parys. Sparse classification: a scalable discrete optimization perspective. Machine Learning, 110(11-12):3177–3209, November 2021. ISSN 1573-0565. doi: 10.1007/s10994-021-06085-5. URL http://dx.doi.org/10.1007/s10994-021-06085-5. 3, 16
- [4]Abeba Birhane, Vinay Uday Prabhu, and Emmanuel Kahembwe. Multimodal datasets: misogyny, pornography, and malignant stereotypes, 2021. URL https://arxiv.org/abs/2110.01963. 3
- [5]Black Forest Labs, Stephen Batifol, Andreas Blattmann, Frederic Boesel, Saksham Consul, Cyril Diagne, Tim Dockhorn, Jack English, Zion English, Patrick Esser, Sumith Kulal, Kyle Lacey, Yam Levi, Cheng Li, Dominik Lorenz, Jonas Müller, Dustin Podell, Robin Rombach, Harry Saini, Axel Sauer, and Luke Smith. Flux.1 kontext: Flow matching for in-context image generation and editing in latent space, 2025. URL https://arxiv.org/abs/2506.15742. 1
- [6]Joseph Bloom. Open source sparse autoencoders for all residual stream layers of gpt2-small. LessWrong, 2024. https://www.lesswrong.com/posts/f9EgtLSurAiqRJySD/open-source-sparse-autoencoders-for-all-residual-stream. 2
- [7]Trenton Bricken, Adly Templeton, Joshua Batson, Brian Chen, Adam Jermyn, Tom Conerly, Nick Turner, Cem Anil, Carson Denison, Amanda Askell, Robert Lasenby, Yifan Wu, Shauna Kravec, Nicholas Schiefer, Tim Maxwell, Nicholas Joseph, Zac Hatfield-Dodds, Alex Tamkin, Karina Nguyen, Brayden McLean, Josiah E Burke, Tristan Hume, Shan Carter, Tom Henighan, and Christopher Olah. Towards monosemanticity: Decomposing language models with dictionary learning. Transformer Circuits Thread, 2023. https://transformer-circuits.pub/2023/monosemantic-features/index.html. 2
- [8]Bart Bussmann, Noa Nabeshima, Adam Karvonen, and Neel Nanda. Learning multi-level features with matryoshka sparse autoencoders, 2025. URL https://arxiv.org/abs/2503.17547. 2
- [9]Nicolas Carion, Laura Gustafson, Yuan-Ting Hu, Shoubhik Debnath, Ronghang Hu, Didac Suris, Chaitanya Ryali, Kalyan Vasudev Alwala, Haitham Khedr, Andrew Huang, Jie Lei, Tengyu Ma, Baishan Guo, Arpit Kalla, Markus Marks, Joseph Greer, Meng Wang, Peize Sun, Roman Rädle, Triantafyllos Afouras, Effrosyni Mavroudi, Katherine Xu, Tsung-Han Wu, Yu Zhou, Liliane Momeni, Rishi Hazra, Shuantrui Ding, Sagar Vaze, Francois Porcher, Feng Li, Siyuan Li, Aishwarya Kamath, Ho Kei Cheng, Piotr Dollár, Nikhila Ravi, Kate Saenko, Pengchuan Zhang, and Christoph Feichtenhofer. Sam 3: Segment anything with concepts, 2026. URL https://arxiv.org/abs/2511.16719. 3
- [10]Runjin Chen, Andy Arditi, Henry Sleight, Owain Evans, and Jack Lindsey. Persona vectors: Monitoring and controlling character traits in language models, 2025. URL https://arxiv.org/abs/2507.21509. 2
- [11]Jiali Cheng and Hadi Amiri. MultiDelete for multimodal machine unlearning. In European Conference on Computer Vision (ECCV), pp. 165–184. Springer, 2024. 3arxiv.org/abs/2311.12047
- [12]Bartosz Cywiński and Kamil Deja. Saeuron: Interpretable concept unlearning in diffusion models with sparse autoencoders, 2025. URL https://arxiv.org/abs/2501.18052. 1, 2, 3, 4, 7, 14
- [13]Patrick Esser, Smith Kulal, Andreas Blattmann, Rahim Entezari, Jonas Müller, Harry Saini, Yam Levi, Dominik Lorenz, Axel Sauer, Frederic Boesel, Dustin Podell, Tim Dockhorn, Zion English, Kyle Lacey, Alex Goodwin, Yannik Marek, and Robin Rombach. Scaling rectified flow transformers for high-resolution image synthesis, 2024. URL https://arxiv.org/abs/2403.03206. 1
- [14]Chongyu Fan, Jiancheng Liu, Yihua Zhang, Eric Wong, Dennis Wei, and Sijia Liu. SalUn: Empowering machine unlearning via gradient-based weight saliency in both image classification and generation. In International Conference on Learning Representations (ICLR), 2024. 3arxiv.org/abs/2310.12508
- [15]Rohit Gandikota, Joanna Materzynska, Jaden Fiotto-Kaufman, and David Bau. Erasing concepts from diffusion models. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pp. 2426–2436, October 2023. doi: 10.1109/ICCV51070.2023.00230. 3DOI
- [16]Daiheng Gao, Shilin Lu, Shaw Walters, Wenbo Zhou, Jiaming Chu, Jie Zhang, Bang Zhang, Mengxi Jia, Jian Zhao, Zhaoxin Fan, and Weiming Zhang. Eraseanything: Enabling concept erasure in rectified flow transformers, 2025. URL https://arxiv.org/abs/2412.20413. 3
- [17]Leo Gao, Tom Dupré la Tour, Henk Tillman, Gabriel Goh, Rajan Troll, Alec Radford, Ilya Sutskever, Jan Leike, and Jeffrey Wu. Scaling and evaluating sparse autoencoders, 2024. URL https://arxiv.org/abs/2406.04093. 2
- [18]Jiahui Geng, Qing Li, Herbert Woisetschlaeger, Zongxiong Chen, Fengyu Cai, Yuxia Wang, Preslav Nakov, Hans-Arno Jacobsen, and Fakhri Karray. A comprehensive survey of machine unlearning techniques for large language models, 2025. URL https://arxiv.org/abs/2503.01854. 3
- [19]Wes Gurnee, Neel Nanda, Matthew Pauly, Katherine Harvey, Dmitrii Troitskii, and Dimitris Bertsimas. Finding neurons in a haystack: Case studies with sparse probing, 2023. URL https://arxiv.org/abs/2305.01610. 1, 2, 3, 16
- [20]Qinqin He, Jiaqi Weng, Jialing Tao, and Hui Xue. A single neuron works: Precise concept erasure in text-to-image diffusion models, 2025. URL https://arxiv.org/abs/2509.21008. 2
- [21]Zhenghao He, Guangzhi Xiong, Boyang Wang, Sanchit Sinha, and Aidong Zhang. Casl: Concept-aligned sparse latents for interpreting diffusion models, 2026. URL https://arxiv.org/abs/2601.15441. 1, 2, 3, 7, 14
- [22]Alvin Heng and Harold Soh. Selective amnesia: A continual learning approach to forgetting in deep generative models. In Advances in Neural Information Processing Systems (NeurIPS), volume 36, 2023. 3arxiv.org/abs/2305.10120
- [23]Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. GANs trained by a two time-scale update rule converge to a local Nash equilibrium. In Advances in Neural Information Processing Systems, volume 30, 2017. 7
- [25]Tim Tian Hua, Andrew Qin, Samuel Marks, and Neel Nanda. Steering evaluation-aware language models to act like they are deployed, 2026. URL https://arxiv.org/abs/2510.20487. 2
- [26]Chi-Pin Huang, Kai-Po Chang, Chung-Ting Tsai, Yung-Hsuan Lai, Fu-En Yang, and Yu-Chiang Frank Wang. Receler: Reliable concept erasing of text-to-image diffusion models via lightweight erasers, 2024. URL https://arxiv.org/abs/2311.17717. 3
- [27]KandooAI and RunDiffusion. Juggernaut XL v9. https://huggingface.co/RunDiffusion/Juggernaut-XL-v9, 2024. Fine-tune of Stable Diffusion XL 1.0. Accessed: 2026-10-09. 1
- [28]Jared Kaplan, Sam McCandlish, Tom Henighan, Tom B. Brown, Benjamin Chess, Rewon Child, Scott Gray, Alec Radford, Jeffrey Wu, and Dario Amodei. Scaling laws for neural language models, 2020. URL https://arxiv.org/abs/2001.08361. 2
- [29]Dahye Kim and Deepti Ghadiyaram. Concept steerers: Leveraging k-sparse autoencoders for test-time controllable generations, 2025. URL https://arxiv.org/abs/2501.19066. 2
- [30]Mingyu Kim, Dongjun Kim, Amman Yusuf, Stefano Ermon, and Mijung Park. Training-free safe denoisers for safe use of diffusion models, 2026. URL https://arxiv.org/abs/2502.08011. 3
- [31]Akshay Kulkarni, Tsui-Wei Weng, Vivek Narayanaswamy, Shusen Liu, Wesam A. Sakla, and Kowshik Thopalli. Interpretable and steerable concept bottleneck sparse autoencoders, 2026. URL https://arxiv.org/abs/2512.10805. 2
- [32]Mingi Kwon, Jaeseok Jeong, and Youngjung Uh. Diffusion models already have a semantic latent space, 2023. URL https://arxiv.org/abs/2210.10960. 1
- [33]Leyang Li, Shilin Lu, Yan Ren, and Adams Wai-Kin Kong. Set you straight: Auto-steering denoising trajectories to sidestep unwanted concepts, 2025. URL https://arxiv.org/abs/2504.12782. 3
- [34]Simian Luo, Yiqin Tan, Longbo Huang, Jian Li, and Hang Zhao. Latent consistency models: Synthesizing high-resolution images with few-step inference, 2023. URL https://arxiv.org/abs/2310.04378. 1
- [35]Andrew Ng. Sparse autoencoder. CS294A Lecture Notes, Stanford University, 2011. 2
- [36]Thanh Tam Nguyen, Thanh Trung Huynh, Zhao Ren, Phi Le Nguyen, Alan Wee-Chung Liew, Hongzhi Yin, and Quoc Viet Hung Nguyen. A survey of machine unlearning, 2024. URL https://arxiv.org/abs/2209.02299. 3
- [37]Chris Olah, Nick Cammarata, Ludwig Schubert, Gabriel Goh, Michael Petrov, and Shan Carter. An overview of early vision in inceptionv1. Distill, 2020. doi: 10.23915/distill.00024.002. https://distill.pub/2020/circuits/early-vision. 2DOI
- [38]Mateusz Pach, Shyamgopal Karthik, Quentin Bouniot, Serge Belongie, and Zeynep Akata. Sparse autoencoders learn monosemantic features in vision-language models. In D. Belgrave, C. Zhang, H. Lin, R. Pascanu, P. Koniusz, M. Ghassemi, and N. Chen (eds.), Advances in Neural Information Processing Systems, volume 38, Main Conference, pp. 95706–95742. Curran Associates, Inc., 2025. doi: 10.52202/085713-3202. URL https://proceedings.neurips.cc/paper_files/paper/2025/file/89e83382abee53b932a6df62edbf9cc-Paper-Conference.pdf. 2DOI
- [39]Dustin Podell, Zion English, Kyle Lacey, Andreas Blattmann, Tim Dockhorn, Jonas Müller, Joe Penna, and Robin Rombach. Sdxl: Improving latent diffusion models for high-resolution image synthesis, 2023. URL https://arxiv.org/abs/2307.01952. 2, 3
- [40]Senthooran Rajamanoharan, Arthur Conmy, Lewis Smith, Tom Lieberum, Vikrant Varma, János Kramár, Rohin Shah, and Neel Nanda. Improving dictionary learning with gated sparse autoencoders, 2024. URL https://arxiv.org/abs/2404.16014. 2
- [41]Marc' aurelio Ranzato, Christopher Poultney, Sumit Chopra, and Yann Cun. Efficient learning of sparse representations with an energy-based model. In B. Schölkopf, J. Platt, and T. Hoffman (eds.), Advances in Neural Information Processing Systems, volume 19. MIT Press, 2006. URL https://proceedings.neurips.cc/paper_files/paper/2006/file/87f4d79e36d68c3031ccf6c55e9bbd39-Paper.pdf. 1, 2DOI
- [42]Olaf Ronneberger, Philipp Fischer, and Thomas Brox. U-net: Convolutional networks for biomedical image segmentation, 2015. URL https://arxiv.org/abs/1505.04597. 1
- [43]Nataniel Ruiz, Yuanzhen Li, Varun Jampani, Yael Pritch, Michael Rubinstein, and Kfir Aberman. Dreambooth: Fine tuning text-to-image diffusion models for subject-driven generation, 2023. URL https://arxiv.org/abs/2208.12242. 3
- [44]Axel Sauer, Dominik Lorenz, Andreas Blattmann, and Robin Rombach. Adversarial diffusion distillation, 2023. URL https://arxiv.org/abs/2311.17042. 3
- [45]Adam Scherlis, Kshitij Sachan, Adam S. Jermyn, Joe Benton, and Buck Shlegeris. Polysemanticity and capacity in neural networks, 2025. URL https://arxiv.org/abs/2210.01892. 2
- [46]Jascha Sohl-Dickstein, Eric A. Weiss, Niru Muhsawarnathan, and Surya Ganguli. Deep unsupervised learning using nonequilibrium thermodynamics, 2015. URL https://arxiv.org/abs/1503.03585. 1
- [48]Samuel Stevens, Wei-Lun Chao, Tanya Berger-Wolf, and Yu Su. Interpretable and testable vision features via sparse autoencoders, 2025b. URL https://arxiv.org/abs/2502.06755. 2
- [49]Viacheslav Surkov, Chris Wendler, Mikhail Terekhov, Justin Deschenaux, Robert West, and Caglar Gulcehre. Unpacking sdxl turbo: Interpreting text-to-image models with sparse autoencoders, 2024. URL https://arxiv.org/abs/2410.22366. 1, 3, 13
- [50]Viacheslav Surkov, Chris Wendler, Antonio Mari, Mikhail Terekhov, Justin Deschenaux, Robert West, Caglar Gulcehre, and David Bau. One-step is enough: Sparse autoencoders for text-to-image diffusion models, 2025. URL https://arxiv.org/abs/2410.22366. 2
- [51]Christian Szegedy, Wei Liu, Yangqing Jia, Pierre Sermanet, Scott Reed, Dragomir Anguelov, Dumitru Erhan, Vincent Vanhoucke, and Andrew Rabinovich. Going deeper with convolutions, 2014. URL https://arxiv.org/abs/1409.4842. 2
- [52]Adly Templeton, Tom Conerly, Jonathan Marcus, Jack Lindsey, Trenton Bricken, Brian Chen, Adam Pearce, Craig Citro, Emmanuel Ameisen, Andy Jones, Hoagy Cunningham, Nicholas L Turner, Callum McDougall, Monte MacDiarmid, Alex Tamkin, Esin Durmus, Tristan Hume, Francesco Mosconi, C. Daniel Freeman, Theodore R. Sumers, Edward Rees, Joshua Batson, Adam Jermyn, Shan Carter, Chris Olah, and Tom Henighan. Scaling monosemanticity: Extracting interpretable features from clade 3 sonnet, 2026. URL https://arxiv.org/abs/2605.29358. 2
- [53]Berk Tinaz, Zalan Fabian, and Mahdi Soltanolkotabi. Emergence and evolution of interpretable concepts in diffusion models. In Advances in Neural Information Processing Systems, volume 38, 2025. doi: 10.52202/085713-5566. 1, 2DOI
- [54]Jing Wu, Trung Le, Munawar Hayat, and Mehtrash Harandi. EraseDiff: Erasing data influence in diffusion models, 2024. 3
- [55]Yiwei Xie, Ping Liu, and Zheng Zhang. Erasing concepts, steering generations: A comprehensive survey of concept suppression, 2025. URL https://arxiv.org/abs/2505.19398. 3
- [56]Shangyu Xing, Fei Zhao, Zhen Wu, Tuo An, Weihao Chen, Chunhui Li, Jianbing Zhang, and Xinyu Dai. EFUFF: Efficient fine-grained unlearning framework for mitigating hallucinations in multimodal large language models. In Yaser Al-Onaizan, Mohit Bansal, and Yun-Nung Chen (eds.), Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pp. 1167–1181, Miami, Florida, USA, November 2024. Association for Computational Linguistics. doi: 10.18653/v1/2024.emnlp-main.67. 3DOI
- [57]Hongxiang Zhang, Yifeng He, and Hao Chen. Steerdiff: Steering towards safe text-to-image diffusion models, 2025. URL https://arxiv.org/abs/2410.02710. 3
- [58]Yihua Zhang, Chongyu Fan, Yimeng Zhang, Yuguang Yao, Jinghan Jia, Jiancheng Liu, Gaoyuan Zhang, Gaowen Liu, Ramana Kompella, Xiaoming Liu, and Sijia Liu. Unlearncanvas: A stylized image dataset to benchmark machine unlearning for diffusion models. arXiv preprint arXiv:2402.11846, 2024a. 6arxiv.org/abs/2402.11846