betaFeedback

WorksComputer Science

Debias Anything: Fairness with Diversity without Supervision in Diffusion Models

Abstract

Although diffusion models produce high-quality images, they also reproduce and amplify demographic imbalances in their training data. Debiasing their generation process post-training w.r.t. some sensitive attribute usually relies on classifier guidance or explicit text extra-conditioning, but this reduces methods' applicability and output diversity. Conversely, methods promoting diversity alone do not ensure fair attribute representation. In this paper, we propose a method tackling fairness and diversity jointly that is generally applicable to any diffusion model and any sensitive attribute. To this end, an adapter connects the frozen diffusion model to a pretrained vision-language embedding space, enabling fairness and diversity guidance without sensitive-attribute annotations. For fairness, pairs of text prompts define attribute directions which guide batch composition towards specific proportions. For diversity, we introduce a score measuring disagreement between the semantic estimates derived from this representation. The formulation supports unconditional and text-conditional diffusion models, while requiring no prior knowledge or data of sensitive attribute. Experiments confirm that our method improves quality and diversity scores at comparable fairness levels.

Introduction

Diffusion ([20] (Song et al. 2021b)), and equivalently flow matching (Lipman et al., [34]), models are the standard unconditional generation models or text-to-image systems deployed at scale ((Rombach et al., 2022; Podell et al., 2024; Wu et al., 2025). They inherit imbalances of their training data and often exaggerate them ([4, 37] (Perera & Patel 2023)), and the guidance they sample with amplifies the imbalance further as its scale grows (Kim et al. [27]).

Debiasing them includes choosing how often a given property, the sensitive attribute, should appear in the generated images, and making the model comply ((Choi et al., 2020; Teo et al., 2023)). Two problems make debiasing diffusion models a hard problem. Firstly, existing methods have limited applicability with various restrictions: either they must rely on sensitive attribute supervision ((Parihar et al., 2024; Shi et al., 2025; Zaleska et al., 2026)), require model finetuning (Shen et al. (2024)), are not adaptable to arbitrary attributes ((Vardhana et al., 2026)), or are restricted to text-to-image models ([15] (Zhang et al. 2023)). Secondly, guidance, used to steer a diffusion model towards fair representation as predicted by an attribute classifier, harms output diversity: the stronger the push, the more the samples cluster around a few typical images and the rarer ones vanish ([19] (Sadat et al. 2024; Sehweg et al. 2022)). Methods that restore diversity exist ([11] (Um & Ye 2024)), but they do not aim for specific attribute fairness.

We propose Debias Anything, a guidance that sets the proportion of any multi-class attribute one can describe in words, with no labels and no generator retraining, and keeps the diversity of the model. The attribute is described independently of the diffusion model or prompt as short sentences, for instance a person with eyeglasses and a person without eyeglasses. An image-text encoder places sentences and images in one shared space, so sentences pairs define a fairness direction which can be used to steer generated images towards fairness. To follow that direction while images are still noisy, we train a small adapter, once per model and for no attribute in particular, that predicts the encoder’s expected embedding of the final image from the inner activations of the frozen generator. Each sampling step then moves every image along a direction towards an assigned attribute class. A second term, computed from the same adapter, pushes the images back towards the rare regions the first term empties.

We compare Debias Anything with published baselines on unconditional face models and a text-to-image model, demonstrating its versatility. Despite the strong assumptions made by the baselines, especially regarding attribute supervision, Debias Anything is better than or comparable to them. On CelebA-HQ, it reaches the best or near-best fairness score on every considered attribute, with an improved image quality. On Stable Diffusion 1.5, it substantially improves fairness across all considered attributes, with an image quality among the best. Finally, we show it can also target attributes for which no label exists, confirming its attribute independence

Related work

Debiasing diffusion models. Table 1 compares existing methods. Almost all of them share at least one restriction among four. First, many need attribute supervision like reference images for ITI-GEN (Zhang et al., 2023) and labeled images for DiffLens (Shi et al., 2025) and ICM (Zaleska et al., 2026). Second, some cannot debias towards arbitrary attribute proportions (Vardhana et al., 2026). Third, most rely on text conditioning in the base model, which restricts them to text-to-image models [15, 33, 22]. Fourth, a few of them necessitate retraining or fine-tuning the base model (Shen et al., 2024). Our method is free from all these assumptions.

Table 1: Positioning among debiasing methods for diffusion models. A method may need attribute supervision (e.g. labels, reference images), may not accept an arbitrary target proportion, may not have been applied to both unconditional and text-conditioned models, and may retrain the generator. (∗) Score Guidance also presents an alternate supervision-free version, but with significantly diminished performance compared to the supervised version, which is the one we compare with.

Methodno attribute supervisionarbitrary proportionarbitrary conditioningno retrainingattribute
Fair Diffusion (Friedrich et al., [15])✓✓✗✓text
ITI-GEN (Zhang et al., 2023)✗✓✗✓ref. images
Self-debiasing (Vardhana et al., 2026)✓✗✓✓discovered
Latent editing (Kwon et al., [31])✓✗✓✓text, training per attribute
Latent direction (Li et al., [33])✓✓✗✓text, training per attribute
FairGen (Jiang et al., [22])✓✓✗✗text, training per attribute
Fine-tuning (Shen et al., 2024)✗✓✗✗attribute-trained classifier
Balancing Act (Parihar et al., 2024)✗✓✓✓labels
Inference-time alignment (Luan et al., [36])✗✓✗✓attribute-trained classifier
Jeffrey guidance (Razafindralambo et al., 2026)✗✓✗✓attribute-trained classifier
DiffLens (Shi et al., 2025)✗✓✓✓labeled probes
ICM (Zaleska et al., 2026)✗✓✗✓labeled probes
Score Guidance (Tiwary et al., 2026)✗/✓∗✓✓✓ref. images / free text
Debias Anything (Ours)✓✓✓✓free text

Table 1.

The closest methods to ours steer a whole batch towards a target distribution at sampling time. Balancing Act (Parihar et al., 2024) does so through a predictor trained on labeled U-Net activations, and every image receives the gradient of a batch-level distance, but remains a supervised method. Score Guidance (Tiwary et al., 2026) needs exemplar images of each value, except in a text version that needs no supervision but is less effective in most of the reported experiments. Both versions score the attribute in pixel space, whereas our score is read in the encoder’s embedding space (Section 4.1), and both adopt a greedy assignment of images to values early in sampling, whereas ours is optimally recomputed at every step (Proposition 1).

Restoring diversity. Guidance narrows the distribution it samples [19] and amplifies attribute imbalance as its scale grows [27]. Sampling-time methods recover the tail by pushing towards low-density regions of a feature space (Sehwag et al., 2022), repelling the samples of a batch in pixel or feature space [11, 3], maximising their kernel entropy [21], boosting the initial noise (Um et al., 2025), annealing the conditioning (Sadat et al., 2024), measuring rarity against a prior independent of the generator (Park & Um, 2026), or scoring rarity by how much re-denoising deforms the Tweedie estimate, with a trained classifier (Um et al., 2024) or without one (SGMS; Um & Ye, 2024). None of them constrains a sensitive attribute. Our rarity term transposes SGMS into the encoder’s space through the same adapter for efficiency purposes, and it is added to the fairness term so that the tail is recovered at the target proportion.

Inferring the attribute during sampling. Classifier guidance [12] trains a classifier on noisy images for each attribute; training-free guidance [10, 1] (Yu et al. 2023; Ye et al. 2024), like the text version of Score Guidance, applies an off-the-shelf model to the denoised image, a blurred average, early in sampling; readout guidance [38] trains light heads on inner features with task labels. Instead, our method is unsupervised and only applies an encoder on clean, non-blurry images.

The closest method to ours is that of unsupervised self-debiasing (Vardhana et al., 2026), the only debiasing method that is given no attribute at all. For each prompt, it trains a projector from the hh-space of Kwon et al. [31] to an embedding of the image that the sampler produces, then clusters the projections and steers each batch towards balanced clusters. The attribute is therefore discovered rather than named, and a target can only be set over the clusters found. Our adapter is instead trained once per generator rather than per prompt, and is simulation-free: it regresses the embedding of a clean image from noised versions of that image rather than from the sampling trajectory that produced it (Section 4.1). Sentences then name the attribute, and our batch assignment can set any proportion.

Preliminaries

Generative model. We focus in this paper on diffusion models, even though our method can easily be adapted to standard flow matching methods. We follow the EDM parameterisation [26] without loss of generality; other diffusion models such as DDPM [20] and VP/VE SDEs (Song et al., 2021b) may be written in the same framework.

A noisy image is xσ=x0+σϵ∼pσx_{\sigma}=x_0+\sigma\epsilon\sim p_{\sigma} with x0∼pdatax_0\sim p_{\mathrm{data}} and ϵ∼N(0,I)\epsilon\sim\mathcal{N}(0,I), and a network Dθ(x;σ)D_{\theta}(x;\sigma) is pre-trained to approximate the posterior mean E[x0∣xσ=x]\mathbb{E}[x_0\mid x_{\sigma}=x]. We write x^0(x)=Dθ(x;σ)\hat{x}_0(x)=D_{\theta}(x;\sigma) and call it the Tweedie estimate, the model’s approximation (as an average) of the denoised image given the current noisy state. Tweedie’s identity Efron, [13], ∇xlog⁡pσ(x)=(Dθ(x;σ)−x)/σ2\nabla_x \log p_\sigma(x) = (D_\theta(x;\sigma)-x)/\sigma^2, turns the denoiser into the score of pσp_\sigma, and sampling integrates from σmax⁡\sigma_{\max} down to σ=0\sigma= 0, for any β>0\beta> 0:

dxσ=−(1+β)σ∇log⁡pσ(xσ) dσ+2βσ dWσ=(1+β)x−Dθ(xσ;σ)σ dσ+2βσ dWσ.(1)\mathrm{d}x_\sigma= -(1+\beta)\sigma\nabla\log p_\sigma(x_\sigma)\,\mathrm{d}\sigma+ \sqrt{2\beta\sigma}\,\mathrm{d}W_\sigma= (1+\beta)\frac{x-D_\theta(x_\sigma;\sigma)}{\sigma}\,\mathrm{d}\sigma+ \sqrt{2\beta\sigma}\,\mathrm{d}W_\sigma. \tag*{(1)}

Guidance may be used to steer the sampler towards images with a desired property without retraining the model. One chooses a scalar function ff of the image and of the noise level, the guidance term, and a weight ww, and samples from pσ(x)ewf(x;σ)p_\sigma(x)e^{wf(x;\sigma)} instead of pσp_\sigma. By Tweedie’s identity this only changes the denoiser [12, 10]:

D~(x;σ)=Dθ(x;σ)+wσ2∇xf(x;σ).(2)\widetilde{D}(x;\sigma) = D_\theta(x;\sigma) + w\sigma^2\nabla_x f(x;\sigma). \tag*{(2)}

Classifier guidance [12] is the case f=log⁡pσ(y∣x)f = \log p_\sigma(y \mid x) for a class yy, estimated with a classifier trained on noisy images, and classifier-free guidance [19] obtains that classifier from a conditional model by Bayes’ rule. The solver is untouched, and several guidance terms add inside one gradient.

Image-text embeddings. We will use a frozen image-text encoder Eϑimg/EϑtxtE_\vartheta^{\mathrm{img}} / E_\vartheta^{\mathrm{txt}} mapping respectively images and texts to a shared embedding space on the unit sphere Sd−1S^{d-1}, so that matching pairs are close. Any choice of image-text encoder, such as CLIP (Radford et al., 2021) and its successors, is admissible. In this paper, we choose SigLIP 2 (Zhai et al., 2023; Tschannen et al., 2025).

Method

We describe here our guidance method for debiasing a pre-trained diffusion model DθD_\theta of any kind w.r.t. any sensitive attribute, expressed in free text, with arbitrary proportions and preserved output quality & diversity, while requiring no extra annotated data and no diffusion model fine-tuning.

For this, we combine two guidance terms, one for fairness and one for diversity, and compute both from a single semantic representation of the image being generated. The proposed method therefore contains three pieces (Figure 2): an adapter that makes a clean and easy-to-use embedding space of a pre-trained image-text encoder available at every noise level of a frozen generator (Section 4.1), attribute guidance directions from pairs of prompts with the batch-level fairness term (Section 4.2), and a diversity term defined in that space (Section 4.3).

A clean simulation-free semantic embedding of the noisy image

To build guidance terms without labeled data, we use the pre-trained image-text encoder Eϑimg/EϑtxtE_\vartheta^{\mathrm{img}} / E_\vartheta^{\mathrm{txt}}, which turns any property described in words into a direction for guidance in image space. However, a guidance term ff needs to be evaluated on noisy images xσx_\sigma (cf. Section 3), on which the image-text encoder was never trained on. This raises the question of how to obtain the encoder’s embedding m(xσ;σ)m(x_\sigma;\sigma) of the final image from the noisy one.

Choice of encoder input. Two options have been considered in the literature.

The simplest option, used by training-free guidance [10, 1] (Yu et al. 2023), is to denoise xσx_\sigma in one step to the Tweedie estimate x^0≈E[x0∣xσ]\hat{x}_0 \approx\mathbb{E}[x_0 \mid x_\sigma] and to embed that image to m(xσ;σ)=Eϑimg(x^0)m(x_\sigma;\sigma) = E_\vartheta^{\mathrm{img}}(\hat{x}_0). In this case, EϑimgE_\vartheta^{\mathrm{img}} is applied to an average of images, necessarily blurry for high σ\sigmas and therefore out of distribution (OOD) for EϑimgE_\vartheta^{\mathrm{img}}, making it unreliable. This distribution shift is particularly strong in the first phases of the trajectory when the coarse content of a sample, and with it an attribute such as gender, is decided [5, 16] (Raya & Ambrogioni 2023), i.e. when guidance needs to act. We refer to Section D.1 for more details.

Another option explored by Vardhana et al. (2026) is to embed the generated sample obtained after integrating Equation (1). To avoid the simulation cost at each guidance step, this necessitates the training of an adapter network trained to map xσx_\sigma or some proxy like internal activations of Dθ(x;σ)D_\theta(x;\sigma) to the true embedding m(xσ;σ)=Eϑimg(xσ+∫0σ[Equation (1)])m(x_\sigma;\sigma) = E_\vartheta^{\mathrm{img}}\left(x_\sigma+ \int_0^\sigma[\text{Equation (1)}]\right). This solves the issue of blurry OOD inputs for the encoder, but ties guidance to the choice of generating process, including discretization errors and other guidance terms.

Instead, we propose to embed x0=xσ−σϵx_0 = x_\sigma- \sigma\epsilon. When learning an adapter to regress this target, then:

m(xσ;σ)=E[Eϑimg(x0)∣xσ].(3)m(x_\sigma;\sigma) = \mathbb{E}\left[E_\vartheta^{\mathrm{img}}(x_0) \mid x_\sigma\right]. \tag*{(3)}

It combines the advantages of the two previous methods, being simulation-free and computed in-distribution, at the cost of averaging in the embedding space. As shown in § 4.2, this is a mild approximation as, due to its semantic nature, averaging in the embedding space better preserves attribute information than in the pixel space.

Our adapter. To approximate mm, we also use an adapter taking as input the denoiser bottleneck activation h(xσ)h(x_\sigma), which Kwon et al. [31] identified as a semantic latent space (the hh-space), and which the denoiser computes in any case during the generation process. In a U-Net (Ronneberger et al., 2015), hh can be the output of the mid-block; in a diffusion transformer (Peebles & Xie, 2023) hh can then be the tokens of an intermediate block (Yu et al., 2025). The adapter network φψ\varphi_\psi, with parameters ψ\psi, maps this activation to a unit vector φψ(h(xσ);σ)∈Sd−1\varphi_\psi(h(x_\sigma);\sigma) \in\mathbb{S}^{d-1} and is trained with a cosine loss on pairs (xσ,Eϑimg(x0))(x_\sigma,E_\vartheta^{\mathrm{img}}(x_0)) at random noise levels, whose minimizer is the direction of mm:

L(ψ)=1−Ex0,σ,ϵ[⟨φψ(h(xσ);σ),Eϑimg(x0)⟩](4)\mathcal{L}(\psi) = 1 - \mathbb{E}_{x_0,\sigma,\epsilon}\left[\left\langle\varphi_\psi(h(x_\sigma);\sigma), E_\vartheta^{\mathrm{img}}(x_0)\right\rangle\right] \tag*{(4)}

Only ψ\psi is trained; the denoiser and the encoder stay frozen and no attribute label enters. The adapter is trained once per generator and serves every attribute afterwards (Section C).

Fairness guidance from text prompts

For a KK-valued sensitive attribute, we are provided with a description of each value k∈[1,K]k \in[1,K] by a sentence tkt_k, and a neutral sentence t0t_0: for age, for instance, t0=a photo of a persont_0 = a\ photo\ of\ a\ person, t1=a photo of a young persont_1 = a\ photo\ of\ a\ young\ person, t2=a photo of a middle-aged persont_2 = a\ photo\ of\ a\ middle\text{-}aged\ person, t3=a photo of an old persont_3 = a\ photo\ of\ an\ old\ person. We will build a fairness guidance term using only these as information about the attribute.

Zero-shot classifier. Thanks to the image-text encoder, a zero-shot classifier (Radford et al., 2021) can be built by comparing each attribute to the neutral prompt. Each value kk defines a direction Δk\Delta_k in the joint embedding space, and projecting an image embedding from § 4.1 on Δk\Delta_k gives a logit SkS_k that increases the closer the image is to tkt_k than to t0t_0 (Figure 2, top right):

One guided sampling step

Figure 2. One guided sampling step. The prompts tkt_k are set once and encoded into directions Δk\Delta_k. At each step, the adapter φ\varphi maps an inner layer h(xσ)h(x_\sigma) of the frozen denoiser to m(xσ;σ)m(x_\sigma;\sigma) for every image of the batch, where the fairness and diversity terms are computed.

Δk=Eϑtxt(tk)−Eϑtxt(t0)∥Eϑtxt(tk)−Eϑtxt(t0)∥,Sk(xσ;σ)=⟨m(xσ;σ),Δk⟩∈[−1,1].(5)\Delta_k = \frac{E_\vartheta^{\mathrm{txt}}(t_k) - E_\vartheta^{\mathrm{txt}}(t_0)}{\left\lVert E_\vartheta^{\mathrm{txt}}(t_k) - E_\vartheta^{\mathrm{txt}}(t_0) \right\rVert}, \qquad S_k(x_\sigma;\sigma) = \left\langle m(x_\sigma;\sigma), \Delta_k \right\rangle\in[-1,1]. \tag*{(5)}

Directions are computed once before sampling. The difference of embeddings keeps what distinguishes the two sentences and cancels what they share [6, 39]. In practice, we compute the logits with the adapter output φψ(h(xσ);σ)\varphi_\psi(h(x_\sigma);\sigma) in place of m(xσ;σ)m(x_\sigma;\sigma). Note that the same adapter serves every attribute.

At σ=0\sigma= 0, m(x0;0)=Eϑimg(x0)m(x_0;0) = E_{\vartheta}^{\mathrm{img}}(x_0) so it is the true embedding of the clean image. This defines a clean-image one-versus-rest classifier as p(Yk=1∣x0)∝ewSk(x0;0)p(Y_k = 1 \mid x_0) \propto e^{wS_k(x_0;0)}, with w>0w > 0 the guidance strength and Yk=δy=kY_k = \delta_{y=k}. By linearity, Sk(xσ;σ)=E[Sk(x0;0)∣xσ]S_k(x_\sigma;\sigma) = \mathbb{E}[S_k(x_0;0) \mid x_\sigma]: the logit of the noisy image is the expected logit of the clean one. Our classifier thus averages the log of the clean classifier:

pˉσ(Yk=1∣xσ)=exp⁡E[log⁡p(Yk=1∣x0)∣xσ]∝ewSk(xσ;σ).(6)\bar{p}_\sigma(Y_k = 1 \mid x_\sigma) = \exp\mathbb{E}[\log p(Y_k = 1 \mid x_0) \mid x_\sigma] \propto e^{wS_k(x_\sigma;\sigma)}. \tag*{(6)}

It is not the ideal such classifier, which is the average of the clean classifier (§ 3):

pσ(Yk=1∣xσ)=E[p(Yk=1∣x0)∣xσ]∝E[ewSk(x0;0)∣xσ],(7)p_\sigma(Y_k = 1 \mid x_\sigma) = \mathbb{E}[p(Y_k = 1 \mid x_0) \mid x_\sigma] \propto\mathbb{E}[e^{wS_k(x_0;0)} \mid x_\sigma], \tag*{(7)}

but which is intractable in a zero-shot, attribute-independent setting. The gap is as follows.

Lemma 1 (expected logit). With Vk(x)=Var⁡[Sk(x0;0)∣xσ]V_k(x) = \operatorname{Var}[S_k(x_0;0) \mid x_\sigma],

e−2ww22Vk(x)≤log⁡pσ(Yk=1∣xσ)−log⁡pˉσ(Yk=1∣xσ)≤e2ww22Vk(x).(8)e^{-2w}\frac{w^2}{2}V_k(x) \le\log p_\sigma(Y_k = 1 \mid x_\sigma) - \log\bar{p}_\sigma(Y_k = 1 \mid x_\sigma) \le e^{2w}\frac{w^2}{2}V_k(x). \tag*{(8)}

The proof is in Section A.1. The gap between the ideal classifier and ours therefore vanishes when VkV_k approaches 0, that is, once the model has decided the attribute.

Guidance. Given target proportions α1,…,αK≥0\alpha_1,\ldots,\alpha_K \ge0 summing to one and a batch of BB images, the objective is that a fraction αk\alpha_k of the batch carries attribute value kk. The objective is enforced by batch-wise assignment: each image ii is assigned a value π(i)\pi(i) and guided towards it with our classifier of Equation (6). With integer quotas Bk≈αkBB_k \approx\alpha_k B summing to BB, let Π\Pi be the set of maps π:{1,…,B}→{1,…,K}\pi: \{1,\ldots,B\} \to\{1,\ldots,K\} that assign exactly BkB_k images to value kk. The assignment, solved exactly by the Hungarian algorithm Kuhn [30], maximises the total logit of the batch, so that each image is pushed, as far as the quotas allow, towards the value it is already closest to.

π⋆=arg⁡max⁡π∈Π∑i=1Baiπ(i),ffair(x1:B)=∑i=1Baiπ⋆(i),aik=Sk(xi;σ).(9)\pi^\star= \underset{\pi\in\Pi}{\arg\max}\sum_{i=1}^{B}a_{i\pi(i)},\qquad f_{\mathrm{fair}}(x^{1:B}) = \sum_{i=1}^{B}a_{i\pi^\star(i)},\qquad a_{ik} = S_k(x_i;\sigma). \tag*{(9)}

Up to a constant, wffair=∑ilog⁡pˉσ(y=π⋆(i)∣xi)w f_{\mathrm{fair}} = \sum_i \log\bar{p}_\sigma(y = \pi^\star(i) \mid x_i) is the log of our classifier summed over the batch, so guiding with ffairf_{\mathrm{fair}} is guiding each image towards its assigned value.

Proposition 1. Let A=(aik)∈RB×KA = (a_{ik}) \in\mathbb{R}^{B \times K}. Then (i) ffair=max⁡π∈Π∑iaiπ(i)f_{\mathrm{fair}} = \max_{\pi\in\Pi}\sum_i a_{i\pi(i)} is convex and piecewise linear in AA, and wherever the maximiser π⋆\pi^\star is unique it is differentiable with ∂ffair/∂aik=1[π⋆(i)=k]\partial f_{\mathrm{fair}}/\partial a_{ik} = 1[\pi^\star(i) = k]; (ii) the guided denoiser of Equation (2) with f=ffairf = f_{\mathrm{fair}} is then:

D~(xi;σ)=Dθ(xi;σ)+wfairσ2∇xiffair(x1:B)=Dθ(xi;σ)+wfairσ2∇xiaiπ⋆(i),(10)\widetilde{D}(x_i;\sigma) = D_\theta(x_i;\sigma) + w_{\mathrm{fair}}\sigma^2\nabla_{x_i}f_{\mathrm{fair}}(x^{1:B}) = D_\theta(x_i;\sigma) + w_{\mathrm{fair}}\sigma^2\nabla_{x_i}a_{i\pi^\star(i)}, \tag*{(10)}

so each image is pushed towards the value it is assigned to.

The proof is in Section A.1. By Equation (10), pushing each image towards its assigned value is guidance with ffairf_{\mathrm{fair}}, and recomputing the assignment at every step recomputes its gradient. Because the assignment couples the BB trajectories, Equation (9) is a joint guidance term over the batch in the sense of Corso et al. [11]. Still, unlike Parihar et al. (2024), where every image receives the gradient of a single batch-level distance between the predicted and the target attribute distributions, each image is guided by its own logit, towards the value it is assigned to and therefore compatible with.

Binary vs multi-class. A multi-class zero-shot classifier on the same scores would lead to the same method with fewer guarantees: the assignment is unchanged, and the guidance term gains the normalisation −log⁡∑jewSj(x0;0)-\log\sum_j e^{wS_j(x_0;0)}; this term is not linear in the embedding, so Lemma 1 would no longer hold exactly. For a binary attribute, the neutral sentence is not needed and the assignment may be reduced to ranking the batch along a single direction (Section A.2).

The diversity term and combined guidance

Diversity guidance. We start from SGMS Um & Ye (2024) and move its construction into the encoder’s space, available from the adapter at no extra cost. SGMS scores diversity by re-noising the Tweedie estimate to σs\sigma_s, denoising it again, and measuring how far the image moved:

x^s=sg⁡[x^0(x)]+σsϵ,fSGMS(x)=dpix(x^0(x),Dθ(x^s;σs)),(11)\hat{x}_s = \operatorname{sg}[\hat{x}_0(x)] + \sigma_s\epsilon,\qquad f_{\mathrm{SGMS}}(x) = d_{\mathrm{pix}}(\hat{x}_0(x), D_\theta(\hat{x}_s;\sigma_s)), \tag*{(11)}

with dpixd_{\mathrm{pix}} an LPIPS (Zhang et al., 2018) or ℓ2\ell^2 distance and sg⁡[⋅]\operatorname{sg}[\cdot] a stop-gradient.

Re-denoising pulls an image towards the modes of the model, so an image already on a mode barely moves while an image in the tail does. Measured in pixel space, however, the displacement counts pose, background and lighting rather than semantics. We propose instead a score that measures the disagreement between two estimates of the embedding of the image being generated:

fdiv(x)=1−⟨m(xσ;σ),m(x^s;σs)⟩≈1−⟨ϕψ(h(xσ);σ),ϕψ(h(x^s);σs)⟩(12)f_{\mathrm{div}}(x) = 1 - \left\langle m(x_\sigma; \sigma), m(\hat{x}_s; \sigma_s) \right\rangle\approx1 - \left\langle\phi_\psi(h(x_\sigma); \sigma), \phi_\psi(h(\hat{x}_s); \sigma_s) \right\rangle \tag*{(12)}

Section A.3 describes a variant that takes the second estimate from the encoder instead.

Combined guidance. The diversity term is added to the fairness guidance of Equation (10):

D~(x;σ)=Dθ(x;σ)+σ2∇x[wfairffair(x)+wdivfdiv(x)].(13)\widetilde{D}(x; \sigma) = D_\theta(x; \sigma) + \sigma^2 \nabla_x \left[ w_{\mathrm{fair}} f_{\mathrm{fair}}(x) + w_{\mathrm{div}} f_{\mathrm{div}}(x) \right]. \tag*{(13)}

Compatibility with any conditioning and other guidance The presented method is independent of how the model is conditioned, applies to unconditional and text-conditional models alike, and composes with any other guidance already in use, since Equation (13) would simply gain a term. When classifier-free guidance (Ho & Salimans, [19]) is used, the adapter only reads from prompt-conditioned branch.

Experiments

We compare in this section the proposed method, Debias Anything, with published, more restrictive (Table 1), baselines at matched fairness, on unconditional and a text-to-image models.

Setup. We test Debias Anything on three generators: an EDM (Karras et al., [26]) trained on CelebA (Liu et al., [35]) at 64×6464 \times64 (deferred to Section D), the P2 model of Choi et al. [7] trained on CelebA-HQ (Karras et al., [24]) at 256×256256 \times256, and Stable Diffusion 1.5 (Rombach et al., 2022). On CelebA the attributes are: gender and eyeglasses, binary with a target of one half; on CelebA-HQ: gender, race and eyeglasses; on Stable Diffusion: gender, age and race, on occupation prompts that do not mention these attributes. The target proportion is uniform for each of these attribute possible values. Fairness is measured by the discrepancy FD between the achieved and target proportions.

CLEAM-corrected where possible (Teo et al., 2023). Quality is assessed w.r.t. a debiased reference set with FID (Heusel et al., [18]) (and also MIND from Berthet et al. [2] in the appendix), by precision and recall (Kynkäänniemi et al., [32]), and diversity with the Vendi score (Friedman & Dieng, [14]), a diversity measure counting the effective number of distinct images without a reference set. CelebA-HQ and Stable Diffusion comparisons follow the protocols of Balancing Act (Parihar et al., 2024) and DiffLens (Shi et al., 2025), so that their published numbers can be reused. Prompts, baselines, metric definitions, weights, and other details are included in Section B.

Comparison with baselines

CelebA-HQ. Every number in Table 2 comes from our own runs of the three methods under the protocol of Balancing Act (Parihar et al., 2024). For Score Guidance (Tiwary et al., 2026), the numbers we obtain differ from those reported in the original paper. We reproduced its attribute classifier, and we believe the gap comes from the reference set behind FID, which might not be the same as Balancing Act; the Score Guidance version we run is the stronger of the two suggested in the paper. Table 2 reports our method at two weights, fairness setting and quality setting, since fairness guidance might reduce generation quality.

MethodGender FD↓\downarrowGender FID↓\downarrowRace FD↓\downarrowRace FID↓\downarrowEyeglasses FD↓\downarrowEyeglasses FID↓\downarrow
Original0.25754.90.60662.80.66673.9
Score Guidance (Tiwary et al., 2026)0.00164.70.01265.40.07566.8
Balancing Act (Parihar et al., 2024)0.04350.10.18252.00.18750.5
Debias Anything, quality setting0.05750.70.15954.20.18345.4
+ diversity term0.05048.70.14752.70.18445.2
Debias Anything, fairness setting0.00850.70.00858.20.06559.8
+ diversity term0.00850.00.00858.00.06559.8

Table 2. CelebA-HQ, P2 backbone, protocol of Balancing Act (10 000 images, one seed); all rows are our runs. FD is CLEAM-corrected except on race, which has no label to correct against. Guided rows are shaded from best (dark, bold) to worst (light); the bracket marks the rows matched on discrepancy.

At the fairness setting weight the discrepancy is the lowest in race and eyeglasses and, in gender, second best behind Score Guidance, which compensates for its low discrepancy with worse FID: at similar discrepancy, our FID is 7 to 14 points below the best version of the concurrent method. At the quality setting weight, we set the discrepancy to approach Balancing Act’s by tweaking wfairw_{\mathrm{fair}}, so that only FID differs between the two bracketed rows: it is five points lower for us on eyeglasses, and 2.2 and 0.6 points higher on race and gender. Adding the diversity term at the same weight lowers discrepancy and FID together on gender and race, and takes FID below Balancing Act on gender and eyeglasses. So the diversity term closes the FID gap that the fairness term leaves, still without any label. Figure 3 shows additional advantage of the proposed method: the same model steered towards a target red-hair woman that CelebA-HQ does not have a label for. Thus, Debias Anything generates the image proportion closer to the target than a classifier trained on labeled images, and with the diversity term it gives a lower or comparable FID at comparable discrepancy.

CelebA-HQ samples comparing unguided, Balancing Act, and Debias Anything

Figure 3. CelebA-HQ, P2 backbone, six shared seeds per column. Top: unguided samples. Second row: Balancing Act steered towards a dark-skinned woman with its labelled predictor. Third row: Debias Anything on the same target, given as two sentences. Bottom: Debias Anything on a second attribute with no CelebA-HQ label, red hair, from the same seeds.

Stable Diffusion. The baseline rows of Table 3 are the numbers the DiffLens and ICM papers report under the setting of Shi et al. (2025) and Zaleska et al. (2026). We re-ran the unguided model under the same setup and evaluation and recovered the corresponding numbers reported by DiffLens, so we directly report all their published numbers. Every baseline knows the attribute in advance, through labels, a classifier or a training run for that attribute. Ours does not: the adapter is trained once, on prompts about jobs that say nothing about gender, age or race, and the attribute enters only at sampling, as two sentences, with one weight for all three attributes. Figure 11 shows doctors and firefighters before and after guidance on shared seeds.

MethodGender FD↓Gender FID↓Age FD↓Age FID↓Race FD↓Race FID↓
Original0.564120.10.752120.10.558120.1
Attribute-specific
Latent editing (Kwon et al. [31])0.408166.10.682200.90.524153.1
h-distribution (Parihar et al. (2024))0.222151.70.506147.70.544126.9
Latent direction (Li et al. [33])0.305129.40.052113.80.175128.3
Fine-tuning (Shen et al. (2024))0.050161.50.746161.50.198161.5
DiffLens (Shi et al. (2025))0.046112.80.04999.20.401119.9
ICM (Zaleska et al. (2026))0.087122.10.133114.90.266116.9
Attribute-unsupervised
Debias Anything0.200113.80.206110.60.195114.7

Table 3. Stable Diffusion 1.5, protocol of Shi et al. (2025), whose reported numbers fill the baseline rows bar ICM. All baselines incorporate attribute knowledge (labeled data, attribute-specific training); ours only gets two sentences. Guided rows are shaded from best (dark, bold) to worst (light).

Stable Diffusion 1.5 generations for doctor and firefighter prompts

Figure 11. Stable Diffusion 1.5, prompts A face of a doctor (top pair) and A face of a firefighter (bottom pair), six shared seeds each: the unguided model and Debias Anything at a gender target of one half. Two doctor columns and three firefighter columns change gender; clothing, pose, background and expression stay.

With much less information about the attributes, our method brings the discrepancy from 0.56–0.75 down to 0.20 on all three attributes, and image quality stays close to the unguided model’s: FID is second on gender and age, behind DiffLens, and first on race. Section E reports the detailed explanation on the residual discrepancy. Some methods go lower on one attribute, always with attribute-specific training or supervision, and none holds across the three; only ours is below 0.21 on all three. Where DiffLens is ahead, on gender and age, it is advantaged by attribute knowledge: labeled images locate the features that carry the attribute inside the network, and it edits those features directly. Thus, in the setting of Shi et al. (2025), our unsupervised results are better than or comparable to those of methods that leverage labeled data.

Ablations on CelebA

Results are included in Section D; selected findings are the following. Reading the score through the adapter is what makes the rare attribute reachable. At equal weights on eyeglasses it drives the discrepancy from 0.573 to 0.32 while lowering MIND from 20.51 to 8.9, whereas the same score read from the encoder on the denoised image never passes 0.489 and raises MIND (Table 5 and Figure 6). Every baseline diversity term improves on the fairness term alone, but ours lowers the discrepancy most (Table 8). On gender all four lower MIND from 2.52 to about 2.0, and our term lowers the discrepancy from 0.031 to 0.006; on eyeglasses they lower the discrepancy and raise Vendi, while MIND moves within one standard deviation and FID rises by up to 1.2. Our method is resilient to changing the wording of attribute reference sentences, as shown in Figure 10.

Samples generated using adapter, pixel same budget, and pixel 2× budget guidance

Figure 6. Same compound target, dark-skinned female with sunglasses, three ways of reading the guidance term. Top: from ϕ(h(xσ);σ)\phi(h(x_\sigma); \sigma). Middle: from Eϑimg(x^0)E^{\mathrm{img}}_{\vartheta}(\hat{x}_0) at the same sampling budget. Bottom: from Eϑimg(x^0)E^{\mathrm{img}}_{\vartheta}(\hat{x}_0) with more than twice the budget. Eight samples per row.

h-space guidancepixel guidance
wwMINDFDFIDMINDFDFID
Eyeglasses attribute (FD = 0.614 unguided)
019.130.61416.2319.130.61416.23
5015.140.53413.8119.690.61116.92
10011.810.44112.1419.880.59817.66
1509.970.37711.6020.380.58718.56
2008.920.32011.6320.510.57319.15
40010.640.19815.5120.860.53420.81
60015.120.15621.1720.950.48922.07
Gender attribute (FD = 0.0963 unguided)
02.490.09636.312.490.09636.31
22.310.06446.242.210.03956.19
52.260.03026.252.210.02016.22
102.410.00946.442.340.00976.39
202.850.00216.872.640.00766.70
403.830.00107.693.490.00277.47
504.300.00108.083.810.00187.79

Table 5. hh-space against pixel-space fairness term at equal weight ww; FD on the steered attribute; both share the w=0w = 0 run, 5000 images, one seed. Bold: the better MIND of the two on each row.

time (s)FD↓FID↓MIND↓Vendi↑
Gender, wfair=5w_{\mathrm{fair}} = 5
Debias Anything1613 ± 6650.031 ± 0.0046.59 ± 0.042.52 ± 0.136.26 ± 0.03
+ SGMS1380 ± 50.023 ± 0.0056.46 ± 0.052.05 ± 0.146.46 ± 0.02
+ avgKNN1635 ± 7130.021 ± 0.0036.40 ± 0.112.06 ± 0.156.42 ± 0.03
+ SigLIPMS2179 ± 9620.011 ± 0.0046.48 ± 0.072.13 ± 0.176.41 ± 0.04
+ PerturbProj1476 ± 5920.006 ± 0.0036.44 ± 0.102.03 ± 0.156.43 ± 0.04
Eyeglasses, wfair=200w_{\mathrm{fair}} = 200
Debias Anything1619 ± 6620.304 ± 0.00411.47 ± 0.129.06 ± 0.486.62 ± 0.02
+ SGMS1418 ± 510.300 ± 0.00211.87 ± 0.108.81 ± 0.446.80 ± 0.01
+ avgKNN1599 ± 6780.300 ± 0.00311.46 ± 0.098.64 ± 0.416.73 ± 0.03
+ SigLIPMS2162 ± 9360.270 ± 0.00512.65 ± 0.299.14 ± 0.837.03 ± 0.04
+ PerturbProj1703 ± 7550.288 ± 0.00412.38 ± 0.168.82 ± 0.566.91 ± 0.03

Table 8. Diversity terms on top of the fairness term at the selected weights, 5000 images, 5 seeds; time is wall-clock generation of one run and is not ranked.

Sensitivity to the prompt pair, gender on CelebA-HQ

Figure 10. Sensitivity to the prompt pair, gender on CelebA-HQ, wfair=20w_{\mathrm{fair}} = 20, six shared seeds. Top: unguided. Then, one pair per row: a photo of a woman / a photo of a man; a female person / a male person; a girl’s portrait / a boy’s portrait; a photo of a lady / a photo of a gentleman; a woman’s close-up photo / a man’s close-up photo.

Conclusion

We introduce Debias Anything, a generative model guidance that sets the proportions of a sensitive attribute described in words, in unconditional and text-to-image diffusion models, with no labels and no generator retraining. A generic adapter gives access to the embedding space of an image-text encoder; from it, a batch-level fairness term enforces the target proportions and a diversity term counteracts the loss of diversity that guidance causes. Although it receives very little attribute information, Debias Anything is better than or comparable to methods that rely on attribute supervision.

Limitations. The method has the limits of its parts. The reconstituted attribute relies on the image-text embedding, with the encoder’s own biases. Guidance can only push towards images the model can produce: on Stable Diffusion, male nurses are rare and remain hard to reach. Steering one attribute moves others, as eyeglasses moved gender on CelebA, so attribute combinations should be considered. The proportion is enforced on a batch and not at sample level. The two guidance weights have a narrow useful range that we select by sweeps as detailed in the appendix. Our evidence is on human faces only, at uniform target proportions, with single seeds on CelebA-HQ and Stable Diffusion.

Future work. We believe that the work has several future directions. The adapter itself could serve to audit a model’s biases at a fraction of the cost of generating and classifying its samples, or to stop a biased trajectory early. The same recipe, one adapter from an inner layer to an embedding shared with text, carries over to video and audio diffusion models, whose encoders exist. Finally, the proportions we enforce are measured by classifiers; putting the correction of their errors inside the loop, rather than after it, would let the sampler aim at the true proportion instead of the counted one.

Ethics Statement

This work makes a generator represent groups of people in proportions an operator chooses, and the mechanism that sets a proportion to one half can set it to zero. Any method that controls an attribute offers the same lever, including the label-based methods we compare with. Furthermore, the method makes a chosen distribution enforceable and says nothing about which distribution is fair.

The attributes we steer (gender, race, age, skin tone and eyeglasses) are named in text and assessed by classifiers we trained and external tools like FairFace or FID, that carry biases of their own and may impose fixed categories, binary gender and four races among some of them. Our discrepancy numbers are only as good as the used classifiers.

Reproducibility Statement

Section B lists the generators, attributes and prompts, the baselines and what each is given, the metric definitions, and the protocol of every comparison. Section C gives the adapter’s layers, loss, and training data, Section D every ablation table with seeds and standard deviations, and Section A.1 the proofs. Our code is available at https://github.com/theaudaudiffret/Debias_anything.

Acknowledgments

This project was provided with computing AI and storage resources by GENCI at IDRIS thanks to the grant 2025-A0191015707 on the supercomputer Jean Zay’s A100 partition.

Additional method details

Proofs of theoretical results

Proof of Lemma 1. Fix kk, σ\sigma and xσx_\sigma. Write p(Yk=1∣x0)=cewSk(x0;0)p(Y_k = 1 \mid x_0) = c e^{wS_k(x_0;0)}, with cc independent of x0x_0, and S=Sk(x0;0)∈[−1,1]S = S_k(x_0;0) \in[-1,1] for the logit of the clean image, a function of x0x_0 under the posterior given xσx_\sigma. Let Λ(t)=log⁡E[etS∣xσ]\Lambda(t) = \log\mathbb{E}[e^{tS} \mid x_\sigma]. Then log⁡pσ(Yk=1∣xσ)=log⁡c+Λ(w)\log p_\sigma(Y_k = 1 \mid x_\sigma) = \log c + \Lambda(w) by Equation (7). By linearity, Λ′(0)=E[S∣xσ]=Sk(xσ;σ)\Lambda'(0) = \mathbb{E}[S \mid x_\sigma] = S_k(x_\sigma;\sigma), so log⁡pˉσ(Yk=1∣xσ)=log⁡c+wSk(xσ;σ)=log⁡c+wΛ′(0)\log\bar{p}_\sigma(Y_k = 1 \mid x_\sigma) = \log c + wS_k(x_\sigma;\sigma) = \log c + w\Lambda'(0) by Equation (5) and Equation (6), and the gap is Λ(w)−Λ(0)−wΛ′(0)\Lambda(w) - \Lambda(0) - w\Lambda'(0). Since SS is bounded, Λ\Lambda is smooth and Λ′′(t)=Var⁡t[S]\Lambda''(t) = \operatorname{Var}_t[S], the variance under the posterior tilted by etSe^{tS}. Taylor’s formula with integral remainder gives:

Λ(w)−Λ(0)−wΛ′(0)=∫0w(w−t)Var⁡t[S] dt.(14)\Lambda(w) - \Lambda(0) - w\Lambda'(0) = \int_0^w (w-t)\operatorname{Var}_t[S]\,\mathrm{d}t. \tag*{(14)}

Since S∈[−1,1]S \in[-1,1], the density of the tilted posterior with respect to the posterior, etS/E[etS∣xσ]e^{tS}/\mathbb{E}[e^{tS} \mid x_\sigma], lies in [e−2t,e2t][e^{-2t},e^{2t}]. Hence, for every b∈Rb \in\mathbb{R}, Et[(S−b)2]\mathbb{E}_t[(S-b)^2] lies between e−2te^{-2t} and e2te^{2t} times E[(S−b)2∣xσ]\mathbb{E}[(S-b)^2 \mid x_\sigma]; taking the minimum over bb gives e−2tVk(x)≤Var⁡t[S]≤e2tVk(x)e^{-2t}V_k(x) \le\operatorname{Var}_t[S] \le e^{2t}V_k(x). Bounding e±2te^{\pm2t} by e±2te^{\pm2t} on [0,w][0,w] and using ∫0w(w−t) dt=w2/2\int_0^w (w-t)\,\mathrm{d}t = w^2/2 gives Equation (8).

Proof of Proposition 1. (i) ffairf_{\mathrm{fair}} is the maximum of the finitely many linear functions A↦∑iaπ(i)A \mapsto\sum_i a_{\pi(i)}, π∈Π\pi\in\Pi, hence convex and piecewise linear. Where the maximiser π∗\pi^* is unique, the inequalities that make the maximiser are strict and remain so on a neighbourhood of AA, where ffairf_{\mathrm{fair}} therefore coincides with ∑iaπ∗(i)\sum_i a_{\pi^*(i)}; its partial derivatives are 1[π∗(i)=k]\mathbf{1}[\pi^*(i) = k]. (ii) Since aika_{ik} depends on xix_i only, ∇xiffair=∑k1[π⋆(i)=k]∇xiaik=∇xiaiπ⋆(i)\nabla_{x_i}f_{\mathrm{fair}}=\sum_k \mathbb{1}[\pi^\star(i)=k]\nabla_{x_i}a_{ik}=\nabla_{x_i}a_{i\pi^\star(i)} wherever (i) applies, and substituting into Equation (2) gives Equation (10).

Binary attributes

For a binary attribute, each value is described against the other instead of against a neutral sentence. With t+t_+ and t−t_- the two sentences, for gender a photo of a woman and a photo of a man,

Δ=Eϑtxt(t+)−Eϑtxt(t−)∥Eϑtxt(t+)−Eϑtxt(t−)∥,Δ1=Δ,Δ2=−Δ.(15)\Delta=\frac{E_\vartheta^{\mathrm{txt}}(t_+)-E_\vartheta^{\mathrm{txt}}(t_-)}{\lVert E_\vartheta^{\mathrm{txt}}(t_+)-E_\vartheta^{\mathrm{txt}}(t_-)\rVert},\qquad\Delta_1=\Delta,\qquad\Delta_2=-\Delta. \tag*{(15)}

The clean logit S(x0;0)=⟨Eϑimg(x0),Δ⟩S(x_0;0)=\langle E_\vartheta^{\mathrm{img}}(x_0),\Delta\rangle is positive when the image is closer to t+t_+ than to t−t_-, and its sign is the zero-shot classifier of § 3. With ai=S(xi;σ)a_i=S(x_i;\sigma), the noisy logit of Equation (5) along Δ\Delta, the scores of Equation (9) are ai1=aia_{i1}=a_i and ai2=−aia_{i2}=-a_i. Writing si=+1s_i=+1 if π(i)=1\pi(i)=1 and si=−1s_i=-1 otherwise, the total score of an assignment is ∑isiai\sum_i s_i a_i, with exactly B+=B1B_+=B_1 positive signs. Moving a +1+1 from a smaller score to a larger one cannot decrease this sum, so it is maximised by giving the positive signs to the B+B_+ largest scores (the rearrangement inequality). The assignment of Equation (9) thus reduces to ranking the batch along Δ\Delta,

si={+1if ai is among the B+ largest scores of the batch,−1otherwise,ffair(x1:B)=∑i=1Bsiai,(16)s_i=\begin{cases}+1 & \text{if }a_i\text{ is among the }B_+\text{ largest scores of the batch},\\-1 & \text{otherwise},\end{cases} \qquad f_{\mathrm{fair}}(x^{1:B})=\sum_{i=1}^{B}s_i a_i, \tag*{(16)}

and Equation (10) becomes D~(xi;σ)=Dθ(xi;σ)+wfairσ2si∇xiai\widetilde{D}(x_i;\sigma)=D_\theta(x_i;\sigma)+w_{\mathrm{fair}}\sigma^2s_i\nabla_{x_i}a_i: each image is pushed so that its score moves towards the pole it is assigned to. The maximiser is unique wherever the B+B_+-th and (B++1)(B_++1)-th largest scores differ. The CelebA experiments of § 5 use this case.

Alternative diversity term

A second diversity term, which we name SigLIPMS, takes the second estimate of Equation (12) from the frozen image encoder applied to the Tweedie estimate:

fdiv(x)=1−⟨m(xσ;σ),sg⁡[Eϑimg(x^0(x))]⟩≈1−⟨φψ(h(xσ);σ),sg⁡[Eϑimg(x^0(x))]⟩.(17)f_{\mathrm{div}}(x)=1-\left\langle m(x_\sigma;\sigma),\operatorname{sg}\left[E_\vartheta^{\mathrm{img}}(\hat{x}_0(x))\right]\right\rangle\approx1-\left\langle\varphi_\psi(h(x_\sigma);\sigma),\operatorname{sg}\left[E_\vartheta^{\mathrm{img}}(\hat{x}_0(x))\right]\right\rangle. \tag*{(17)}

The term uses the very discrepancy that motivated the adapter: m(xσ;σ)=E[Eϑimg(x0)∣xσ]m(x_\sigma;\sigma)=\mathbb{E}[E_\vartheta^{\mathrm{img}}(x_0)\mid x_\sigma] takes the expectation in embedding space and Eϑimg(x^0(x))E_\vartheta^{\mathrm{img}}(\hat{x}_0(x)) in pixel space; the two coincide when the posterior is concentrated on one image, and they differ when it spreads over several. The term is thus small where the model already knows what it is generating, on the modes, and large in the tail. The two terms are the two natural ways to obtain a second estimate, one external and one internal, and they fail differently: SigLIPMS inherits the encoder’s behaviour on blurred images, while our original diversity term inherits the adapter’s own errors. Section D compares them per attribute.

Density baseline

The diversity terms of Sections A.3 and 4.3 compare two estimates of the same image. A second family, after Sehwag et al. (2022), compares m(xσ;σ)m(x_\sigma;\sigma) with a fixed reference set R\mathcal{R} of 10,000 embeddings Eϑimg(x0)E_\vartheta^{\mathrm{img}}(x_0) of real images and measures rarity relative to the data. We use the mean distance to the κ\kappa nearest neighbours (avgkNN),

fdiv(x)=1κ∑r∈Nκ(x)∥m(xσ;σ)−r∥,(18)f_{\mathrm{div}}(x)=\frac{1}{\kappa}\sum_{r\in\mathcal{N}_\kappa(x)}\lVert m(x_\sigma;\sigma)-r\rVert, \tag*{(18)}

with Nκ(x)\mathcal{N}_\kappa(x) the κ\kappa nearest neighbours of m(xσ;σ)m(x_\sigma;\sigma) in R\mathcal{R}, computed, as in § 4.2, with the adapter output in place of m(xσ;σ)m(x_\sigma;\sigma); both lie on the unit sphere, so this is a function of the inner products ⟨φψ(h(xσ);σ),r⟩\langle\varphi_\psi(h(x_\sigma);\sigma),r\rangle, r∈Rr\in\mathcal{R}. The two families measure different quantities, rarity relative to the data against the posterior spread of the model. They are compared in Section D. In every case, wdiv>0w_{\mathrm{div}}>0 increases the term and therefore pushes towards low-density regions.

Experimental details

This section contains all details needed to reproduce § 5, except for adapters which are described in Section C. Implementation details. We implemented our method using PyTorch (Paszke et al., 2019) with the help of SciPy (Virtanen et al., 2020) for the matching algorithm. Our code is available at https://github.com/theaudaudiffret/Debias_anything. Every run uses one NVIDIA A100 (40 GB) GPU.

Generators

On CelebA (Liu et al., [35]) we train an EDM model (Karras et al., [26]) at 64×6464 \times64: a U-Net (Ronneberger et al., 2015) of 19.4 M parameters (base width 96, multipliers (1,2,2,2)(1, 2, 2, 2), two residual blocks per level in the encoder and three in the decoder, self-attention at 16216^{2}, 828^{2} and in the middle block, dropout 0.1), trained with the EDM loss and preconditioning on the 162,770 training images (centre crop 140, no flip) with Adam (Kingma & Ba, [29]), batch 256, EMA 0.9999 and a learning rate of 2⋅10−42 \cdot10^{-4} divided by 2, 10 and 10 at plateaus of the validation loss; the EMA weights of lowest validation loss are reached after 1,487 epochs (9.5⋅1059.5 \cdot10^{5} steps, 8.5 days). On CelebA-HQ (Karras et al., [24]) we use the released P2 model (Choi et al., [7]), an ADM U-Net (Dhariwal & Nichol, [12]) of 93.6 M parameters at 256×256256 \times256 (width 128, multipliers (1,1,2,2,4,4)(1, 1, 2, 2, 4, 4), attention at 16216^{2}) with a linear β\beta schedule over 1,000 steps. The text-to-image model is the released Stable Diffusion 1.5 from Rombach et al. (2022) (860 M-parameter U-Net, 512×512512 \times512).

Attributes, prompts and sample sizes

On CelebA (Liu et al., [35]) the attributes are gender (a photo of a man / a photo of a woman) and eyeglasses (a person with eyeglasses or sunglasses / a person without eyeglasses or sunglasses). On CelebA-HQ (Karras et al., [24]), following Balancing Act (Parihar et al., 2024), gender keeps the CelebA pair, race adds a photo of a black person / a photo of a white person, and eyeglasses is a photo of a person with eyeglasses / a photo of a person without eyeglasses. All these attributes are binary and use the form of Section A.2. On Stable Diffusion (Rombach et al., 2022), following DiffLens (Shi et al., 2025), images are generated from A face of a {doctor, firefighter, nurse, receptionist}. Gender is binary (a photo of a woman / a photo of a man); age and race use the KK-valued form of § 4.2 with t0=aphotoofapersont_0 = a photo of a person, and t1,t2,t3=aphotoofayoung/middle−aged/oldpersont_1, t_2, t_3 = a photo of a young / middle-aged / old person for age, t1,…,t4=aphotoofawhite/black/asian/indianpersont_1, \ldots, t_4 = a photo of a white / black / asian / indian person for race, the four FairFace groups of the DiffLens protocol. The assignment of Equation (9) is solved with the Hungarian algorithm (Kuhn, [30]) on a cost matrix in which the column of value kk is repeated BkB_k times, so that the quotas are met exactly. The targets are uniform, αk=1/K\alpha_k = 1/K. Each configuration is sampled with five seeds of 5,000 images on CelebA, one seed of 10,000 images per attribute on CelebA-HQ, and one seed of 500 images per prompt on Stable Diffusion.

Sampling

CelebA: deterministic Heun solver (Karras et al., [26]), 100 steps on σ∈[0.002,80]\sigma\in[0.002, 80] (ρ=7\rho= 7), EMA weights, guidance for σ≤σmax⁡=10\sigma\le\sigma_{\max} = 10 (67 steps), batch size B=100B = 100; SGMS (Um & Ye, 2024) and our diversity term of Equation (12) act at every fifth network evaluation and re-noise at the fixed level σs=0.96\sigma_s = 0.96 of Equation (11). S_gLIPTMS (Section A.3) at every evaluation. CelebA-HQ: DDIM (Song et al., 2021a), 50 steps, η=1\eta= 1, guidance at every step, batch size B=50B = 50; the unguided model and Balancing Act (Parihar et al., 2024) are sampled with the released code on the same schedule with batch size $B = 100. Stable Diffusion: Euler with trailing timesteps, 30 steps, classifier-free guidance (Ho & Salimans, [19]) at scale 7.5, guidance for σ∈[0.2,4]\sigma\in[0.2, 4] (21 steps), batch size B=100B = 100 images of a single prompt. A run takes 18–25 min per 5,000 images on CelebA, 2.1–2.9 h per 10,000 on CelebA-HQ and 37 min per 2,000 on Stable Diffusion.

Baselines

On CelebA-HQ we rerun Balancing Act (Parihar et al., 2024), a predictor trained on labelled attributes from the same U-Net activations, at its published setting (scale 1,500, batch size 100), and the exemplar variant of Score Guidance (Tiwary et al., 2026), which steers a share of each batch towards the DDIM-inverted scores of eight exemplar images per class, with the authors’ code and gender preset on all three attributes. Every method is then evaluated in the same way, under the protocol of Balancing Act: the same reference sets and our own attribute classifiers (Section B.5). On Stable Diffusion we evaluate with the released code of DiffLens (Shi et al., 2025) and reproduce its unguided row (FD 0.565, 0.747 and 0.560 on gender, age and race against 0.564, 0.752 and 0.558 reported; FID 117.1 against 120.1), so that our numbers are comparable with those it reports for latent editing [31], hh-space distribution guidance (Parihar et al., 2024), discovered latent directions [33], fine-tuning (Shen et al., 2024) and DiffLens itself; ICM (Zaleska et al., 2026), which locates the attribute with labeled probes, is added under the same protocol. On CelebA our two diversity terms are compared with SGMS (Um & Ye, 2024), the pixel-space score they transpose.

For Figure 3, Balancing Act is run in its per-sample mode, in which every image is guided towards a fixed attribute value, here the combination of its gender and race predictors set to female and Black, at the same scale as the single-attribute runs. Its batch-level distribution mode, which matches a target proportion over the batch, did not reach the compound target in our runs.

Metrics

Reference sets. On CelebA [35] the reference has the size of the generated set, drawn for the diversity experiments from the minority set of SGMS (Um & Ye, 2024), the 10,000 training images of highest AvgkNN (Sehwag et al., 2022) (5 nearest neighbours, ResNet-50 features [17]), and for the fairness experiments with replacement from the training set by a sampler balanced on the attribute. On CelebA-HQ [24], as in Balancing Act (Parihar et al., 2024), it is 5,000 images balanced with the attribute labels for gender and eyeglasses (2,500 per class; the 1,468 images with eyeglasses are drawn with replacement), and for race, which has no label, the 2,500 images most and the 2,500 least similar to a black person under CLIP ViT-B/32 (Radford et al., 2021). On Stable Diffusion we follow DiffLens (Shi et al., 2025), which takes FFHQ [25] as the real reference for text-to-image models and computes FID on the 2,000 images of the four prompts at once.

Quality and diversity. FID [18] is computed on Inception-V3 features (Szegedy et al., 2016) on CelebA and CelebA-HQ, and with Clean-FID (Parmar et al., 2022) on Stable Diffusion. On CelebA we add MIND [2], an optimal-transport distance on the same features (1,000 random projections, equal set sizes) that drops the Gaussian assumption of FID, known to misrank diffusion models (Stein et al., 2023) and to bias the estimate with sample size [9]; precision and recall [32], all with five nearest neighbours, and density and coverage [40], which separate fidelity from coverage; and the Vendi score [14] with a cosine kernel, which needs no reference. On Stable Diffusion, CLIP-T and CLIP-I (Radford et al., 2021; Shi et al., 2025) are the similarity of a sample to its prompt and to the unguided sample of the same prompt; like FD, they are computed per occupation and averaged over the four.

Fairness. On CelebA and CelebA-HQ, FD is computed from hard predictions: FD=∥(p,1−p)−(12,12)∥2=2∣p−12∣\mathrm{FD} = \lVert(p,1-p) - (\frac{1}{2},\frac{1}{2})\rVert_2 = \sqrt{2}\lvert p - \frac{1}{2}\rvert, with pp the proportion of class 0 among hard predictions. For gender and eyeglasses, pp is the CLEAM-corrected proportion p∗p^* (Teo et al., 2023) of class 0 (female, no eyeglasses). On CelebA the attribute is counted by two CNNs trained on the training split with class-balanced sampling, at 98.8% (gender) and 99.5% (eyeglasses) validation accuracy, with per-class accuracies (α0,α1)=(0.987,0.989)(\alpha_0,\alpha_1) = (0.987,0.989) and (0.997,0.981)(0.997,0.981). On CelebA-HQ, as in Balancing Act (Parihar et al., 2024), gender and eyeglasses are counted by ResNet-18s [17] pretrained on ImageNet and fine-tuned on 80% of CelebA-HQ (97.9% and 98.2% balanced test accuracy), with per-class recalls (0.989, 0.968) and (0.998, 0.966). Race, which has no label, is counted by FairFace [23] restricted to its White and Black outputs; since the lack of labels prevents a proper evaluation of this classifier, race is not CLEAM-corrected and pp is the raw proportion of White predictions. On Stable Diffusion, as in DiffLens (Shi et al., 2025), faces are cropped with dlib [28] and classified by FairFace [23] into two genders, three ages (0–19, 20–59, 60+) and four races (White, Black, East and Southeast Asian, Indian, not renormalised), and FD is the distance of the mean softmax output to the uniform target, without CLEAM correction, averaged over the four occupations.

Protocols

On CelebA we keep the wfairw_{\mathrm{fair}} of lowest MIND in the sweep of Section D.2 (5 on gender, 200 on eyeglasses) and, for each diversity term, the wdivw_{\mathrm{div}} of best diversity in the ablation of Section D.3; entries are means over five seeds, with standard deviations in Section D.4. On CelebA-HQ the fairness setting of Table 2 uses wfair=20/100/500w_{\mathrm{fair}} = 20 / 100 / 500 on gender / race / eyeglasses, and the quality setting 5 / 30 / 180. With the diversity term in the fairness setting, we choose wdiv=40w_{\mathrm{div}} = 40, re-noising at σs=0.5 σ\sigma_s = 0.5\,\sigma every second step for t≤800t \le800, with the race weight lowered to 75. On Stable Diffusion wfair=3,000w_{\mathrm{fair}} = 3{,}000 on every attribute.

Adapter architecture and training

The adapter φψ\varphi_\psi of § 4.1 is learned from clean images only. Each training image x0x_0 is noised at two independent levels, xσ=x0+σϵx_\sigma= x_0 + \sigma\epsilon (on P2 (Choi et al., [7]), xt=αˉt x0+1−αˉt ϵx_t = \sqrt{\bar{\alpha}_t}\,x_0 + \sqrt{1-\bar{\alpha}_t}\,\epsilon), passed through the frozen backbone, and φψ(h(xσ);σ)\varphi_\psi(h(x_\sigma);\sigma) is regressed onto the image embedding Eimg(x0)E^{\mathrm{img}}(x_0) of the clean image, given by SigLIP 2 ViT-B/16 (Tschannen et al., 2025) (768 dimensions), under the cosine loss of Equation (4). No sampler trajectory is used. The targets are fixed, one per image and precomputed once, so a contrastive loss would have nothing to discriminate that this regression does not already do.

Unconditional backbones. On EDM (Karras et al., [26]) and P2 (Choi et al., [7]), hh is the output of the U-Net (Ronneberger et al., 2015) middle block (192 and 512 channels at 8×88 \times8), read as 64 tokens with a learned position embedding, pooled by attention with a learned query and a residual MLP, normalised, modulated by FiLM (Perez et al., 2018) on a sinusoidal embedding of the noise level (14ln⁡σ\frac{1}{4}\ln\sigma on EDM, t/999t/999 on P2) initialised at zero, and mapped to 768 dimensions by a two-layer MLP followed by ℓ2\ell^2 normalisation (0.79 M and 2.42 M parameters).

Text-conditional backbone. The adapter reads the prompt-conditioned branch Dθ(x;σ,c)D_\theta(x;\sigma,c) of classifier-free guidance (Ho & Salimans, [19]):

Dθγ(x;σ)=Dθ(x;σ,∅)+γ(Dθ(x;σ,c)−Dθ(x;σ,∅)),(19)D^\gamma_\theta(x;\sigma)=D_\theta(x;\sigma,\varnothing)+\gamma\left(D_\theta(x;\sigma,c)-D_\theta(x;\sigma,\varnothing)\right), \tag*{(19)}

with cc the prompt, ∅\varnothing the empty prompt and γ\gamma the guidance scale. Its input combines the mid-block and the four decoder blocks of that branch:

h(xσ)=∑ℓ=15βℓ πℓ(hℓ(xσ)),β=softmax⁡(b),(20)h(x_\sigma)=\sum_{\ell=1}^{5}\beta_\ell\,\pi_\ell\left(h_\ell(x_\sigma)\right),\qquad\beta=\operatorname{softmax}(b), \tag*{(20)}

where hℓh_\ell are the block activations (1280×821280 \times8^2 to 320×642320 \times64^2), πℓ\pi_\ell timestep-conditioned bottlenecks to 512×8×8512 \times8 \times8 and bb learned logits; a six-layer transformer (width 512) with attention pooling maps the 64 tokens to the embedding space (21.2 M parameters in all). Since the logits are read before the combination Equation (19), they do not depend on γ\gamma. A readout of the middle block alone reaches the gender target as well, but not eyeglasses, which it tends to paint as a bright mask on the lower face.

Data for text-to-image. The adapter must read the hh-space of this model, so its training images are generated by Stable Diffusion 1.5 (Rombach et al., 2022) itself: 50,000 images at 512×512512 \times512 (Euler with trailing timesteps, 30 steps, classifier-free guidance (Ho & Salimans, [19]) at scale 7.5), in 6.2 h.

Each sample stores the clean latent x0x_0, its prompt and the target EϑimgE^{\mathrm{img}}_\vartheta of the decoded image; at every training step x0x_0 is noised and passed through the frozen U-Net. Four templates (a photo of, a portrait photo of, a realistic centered portrait of, a face of) crossed with a person and the four evaluation occupations are used (20 prompts). None name any attribute, so the attribute in each image comes from the model’s own bias, not from the text conditioning.

Training. Table 4 lists the data, noise levels and cost of each adapter. The noise levels cover the range where guidance acts: log-uniform over the full EDM range on CelebA, the 49 guided DDIM steps on P2, and uniform over the Stable Diffusion schedule (Rombach et al., 2022). On CelebA-HQ and Stable Diffusion the kept epoch is the one of best validation retrieval (R@1 among the validation targets). Figure 4 shows what the CelebA adapter retains of the attribute as the noise grows.

BackboneDataNoise levelsOptimisationEpochsTime
EDM, CelebA162,770 training imagesσ\sigma log-uniform on [0.002,80][0.002, 80]AdamW, batch 512, lr 10−310^{-3}502.9 h
P2, CelebA-HQ28,000 (+2,000 val.)tt uniform on the 49 guided stepsAdamW, batch 32, lr 10−310^{-3}, wd 10−410^{-4}47 of 604.2 h
SD 1.549,000 generated (+1,000 val.)σ\sigma uniform on [0.03,14.6][0.03, 14.6]AdamW, batch 64, lr 5⋅10−45 \cdot10^{-4}, wd 0.05, warm-up and cosine47 of 5011 h

Table 4. Adapter training, on one A100 GPU.

AUC of the CelebA adapter output for gender and eyeglasses as noise grows

Figure 4. What the CelebA adapter reads of the attribute as the noise grows. AUC of the logit S(xσ;σ)S(x_\sigma;\sigma) along the direction Δ\Delta of Equation (15), against the CelebA label, on 500 images per class of the test split, for gender (a photo of a man / a photo of a woman, left) and eyeglasses (a photo of a person wearing eyeglasses / a photo of a person, right). Circles use the adapter output φψ(h(xσ);σ)\varphi_\psi(h(x_\sigma);\sigma), squares the encoder on the Tweedie estimate, Eϑimg(x^0)E^{\mathrm{img}}_\vartheta(\hat{x}_0); the dotted line is the encoder on the clean image, Eϑimg(x0)E^{\mathrm{img}}_\vartheta(x_0). Over the guidance window σ≤10\sigma\le10 the adapter matches the Tweedie estimate on gender and exceeds it on eyeglasses, at no decoding cost.

Ablations on CelebA

We test the following design choices: where the score is read, the fairness weight, the diversity weight, and the choice of diversity term; a last section runs each diversity term on its own, without the fairness term. The chosen diversity term is then used in CelebA-HQ and Stable Diffusion experiments.

The following properties are shared between all runs: the EDM backbone of Section B, the deterministic Heun sampler, guidance active for σ<σmax⁡=10\sigma< \sigma_{\max}=10, and the fairness term of § 4.2 read in the hh-space through the adapter. Unless a section says otherwise, FID, MIND, precision, recall, density and coverage are computed against real CelebA images resampled to be balanced on the attribute being steered, as many as the generated images, and every FD is CLEAM-corrected. In every table each column is shaded from its best value (dark, bold) to its worst (light), within each block where a table has several; in the sweep tables the shading orders the settings of one method.

Where the score is computed: h-space against pixel space

“Pixel” here denotes the fairness term computed from SigLIP applied to the Tweedie estimate x^0\hat{x}_0, the readout that § 4.1 argued moves the expectation through a nonlinearity evaluated off the support of clean images, whereas the hh-space estimate moves it through a linear functional. Figure 6 is the visible counterpart on the compound target of Figure 5, and Table 5 and Figure 7 the quantitative one on the two binary attributes, at equal guidance weights.

Eight original and guided samples, with the guided samples steered towards dark-skinned female with sunglasses

Figure 5. Steering an attribute that has no label. Top: unguided samples from a diffusion model trained on CelebA. Bottom: the same eight initial noises, guided towards dark-skinned female with sunglasses. The attribute is handed to the sampler as this sentence and a contrasting one describing its absence. CelebA has no label for it, and neither the generator nor any classifier was trained.

FD–MIND trade-off plots for eyeglasses and gender, comparing h-space and pixel guidance

Figure 7. FD–MIND trade-off, hh-space versus pixel-space fairness term; each polyline follows its own sweep in order of increasing guidance weight ww, and the white square is the shared unguided model. Left: on eyeglasses the two curves do not overlap, pixel guidance stays pinned in the top-right corner, drifting rightwards as ww grows, while hh-space sweeps down and to the left, then turns back up past w=200w = 200 as fidelity starts to cost, so no pixel setting matches any hh-space setting on both axes. Right: on gender the two sweeps trace the same short hook, pixel running marginally inside hh-space; both bottom out in MIND around w=5w = 5 and then climb steeply as FD is driven to zero.

Every sample of the top row of Figure 6 carries both attributes. At an equal budget the pixel-space score reaches the target for part of the batch only, and more than doubling the number of steps does not close the gap: several samples still miss the sunglasses, the skin tone, or both. The failure is not uniform across the batch, which is what an uncontrolled, off-support evaluation produces: at the noise levels where the guidance acts, x^0\hat{x}_0 is an average across modes and its embedding points at no single one of them.

On the strongly skewed eyeglasses attribute the two estimates are not comparable in effect. The hh-space score drives the discrepancy from 0.614 to 0.156 and improves MIND and FID until w=200w = 200 (MIND 8.9, FID 11.6); the pixel-space score stalls at a discrepancy of 0.489, never entering the range the hh-space covers, and pays for that small gain with a rising MIND (19.1 →\to 21.0) and a rising FID (16.2 →\to 22.1). On the nearly balanced gender attribute the ranking reverses but the margin collapses: the pixel-space score takes MIND on every guided row, by 2% at the selected weight w=5w = 5 and 13% at w=50w = 50, against a seed-to-seed standard deviation of 5 to 10% of MIND measured on the same configuration, so the two are indistinguishable there. The hh-space score is also cheaper, its gradient stopping at the mid-block instead of traversing the full denoiser and the encoder.

Fairness weight

Table 5 doubles as the fairness-weight sweep. On both attributes the discrepancy falls monotonically with wfairw_{\mathrm{fair}}, but quality does not: MIND and FID first improve, as the guidance corrects the imbalance, reach a minimum, and then degrade. On eyeglasses the minimum is at wfair=200w_{\mathrm{fair}} = 200; between it and wfair=600w_{\mathrm{fair}} = 600, MIND rises from 8.9 to 15.1 and FID from 11.6 to 21.2 while the discrepancy gains

only its last 0.16. On gender the minimum is at wfair≈5w_{\mathrm{fair}} \approx5 and the climb past it is steep, MIND reaching 4.3 at wfair=50w_{\mathrm{fair}} = 50 for a discrepancy already at 0.001. The setting that maximises quality is therefore not the setting that maximises parity, and the useful operating range ends well before parity is reached. Steering eyeglasses also moves the gender balance: the gender discrepancy rises from 0.096 to 0.343 at wfair=600w_{\mathrm{fair}} = 600, a collateral shift that a multi-attribute target would have to control.

Diversity weight

Four diversity terms are compared from here on: PerturbProj, the term of Equation (12); SigLIPMS, its variant of Section A.3; and the two baselines of Section B.4, SGMS and avgKNN. With the fairness weight fixed at the value selected above, each term is swept over its own weight; wdiv=0w_{\mathrm{div}} = 0 reproduces the fairness-only run in every block, which serves as a consistency check, and ⋆ marks the setting carried forward to Section D.4.

Table 6 and Table 7 use 2000 images per setting, so their FID and MIND are inflated relative to Table 5 and Table 8 and comparable only within a sweep; the selected settings are re-evaluated at 5,000 images and five seeds in Table 8.

Methodwdivw_{\mathrm{div}}MIND↓FD↓FID↓Vendi↑Prec.↑Rec.↑Cov.↑Dens.↑
avgKNN010.760.33619.216.470.8140.6790.8931.218
210.560.33219.216.520.8120.6890.8931.208
5⋆10.440.33019.396.580.8050.6900.8931.190
1010.460.33019.786.690.7950.6970.8801.159
2011.240.31720.776.880.7780.6920.8701.131
4014.720.30923.807.310.7650.6960.8351.035
SGMS010.750.33619.186.480.8150.6830.8921.217
1010.640.33219.526.570.8070.6950.8871.186
20⋆10.680.32719.936.630.7970.6940.8811.171
4010.840.32720.726.780.7780.6960.8671.120
6011.290.32321.756.970.7660.7040.8601.085
8012.080.31622.917.120.7560.7140.8521.047
SigLIPMS010.770.33619.216.470.8130.6820.8941.215
209.890.32719.026.540.8100.6850.8971.210
409.430.31718.926.590.8060.6720.8891.200
809.070.29819.216.720.8060.6750.8861.180
120⋆9.490.28719.996.850.8070.6780.8791.165
16010.260.28320.726.940.8000.6570.8751.153
20011.210.28021.567.070.7950.6690.8631.168
24012.580.27722.577.150.7900.6680.8551.135
30015.050.26724.317.260.7940.6550.8301.094
PerturbProj010.770.33619.216.470.8130.6820.8941.215
2010.600.33419.196.500.8120.6800.8891.212
4010.480.33219.216.520.8110.6820.8861.209
8010.310.32619.296.550.8040.6880.8861.201
12010.270.32319.426.570.8020.6840.8891.198
16010.220.32019.496.590.8060.6780.8901.196
20010.180.31719.586.610.8050.6770.8921.200
24010.090.31319.626.650.8020.6690.8951.187
300⋆10.050.30919.876.720.7870.6730.8811.185
35010.080.30720.096.770.7900.6720.8831.177

Table 6. Diversity-weight sweep on eyeglasses, fairness weight fixed at 200. wdiv=0w_{\mathrm{div}} = 0 is the fairness-only baseline, 2000 images, one seed; ⋆ marks the setting carried to Table 8.

Methodwdivw_{\mathrm{div}}MIND↓\downarrowFD↓\downarrowFID↓\downarrowVendi↑\uparrowPrec.↑\uparrowRec.↑\uparrowCov.↑\uparrowDens.↑\uparrow
avgKNN02.760.010412.416.180.8290.7230.9701.133
22.650.007512.406.240.8280.7230.9691.124
5⋆2.540.003912.396.320.8320.7320.9731.113
102.560.001712.546.450.8200.7340.9631.094
203.420.001913.286.720.8240.7320.9671.060
408.340.012116.817.260.7920.7490.9020.936
SGMS02.770.010412.416.180.8300.7240.9691.135
52.660.007512.426.220.8280.7180.9711.117
102.600.006812.466.270.8260.7220.9731.106
20⋆2.510.001012.546.380.8240.7380.9701.076
402.720.003912.886.520.8080.7530.9641.035
603.290.001713.476.680.7860.7500.9600.985
804.470.001214.586.900.7710.7560.9600.949
SigLIPMS02.760.010412.416.180.8290.7230.9701.133
20⋆2.540.001712.426.280.8360.7240.9721.136
402.580.003112.596.390.8270.7230.9711.111
803.710.012813.606.650.8210.7260.9661.085
1205.810.018614.996.830.8190.7070.9451.071
1609.390.036017.117.010.8180.7140.9391.038
PerturbProj02.770.010412.416.180.8300.7260.9701.134
102.740.008212.406.190.8300.7250.9711.134
202.700.006812.396.210.8340.7250.9721.133
402.660.005312.386.230.8320.7230.9731.130
802.580.003912.396.260.8340.7280.9751.124
120⋆2.560.003112.476.310.8330.7190.9741.107
1602.550.003912.546.360.8330.7320.9731.107
2002.600.001712.636.420.8280.7240.9711.095

Table 7. Diversity-weight sweep, on gender, fairness weight fixed at 10. wdiv=0w_{\mathrm{div}} = 0 is the fairness-only baseline, 2000 images, one seed; ⋆ marks the setting carried to Table 8.

The columns disagree, so no setting dominates. On eyeglasses (Table 6) FID and density are best at or near wdiv=0w_{\mathrm{div}} = 0 while discrepancy and Vendi keep improving to the end of every sweep; the retained value is a compromise, and for SGMS and SigLIPMS it is deliberately past the MIND minimum, buying discrepancy and Vendi at a small MIND cost. Only SigLIPMS improves MIND, discrepancy and FID together over its own baseline, at wdivw_{\mathrm{div}} between 40 and 80; the other three buy discrepancy

and Vendi while giving up FID, precision, coverage and density, the four moving as one. On gender (Table 7) all four terms improve MIND and discrepancy over their baseline, and coverage holds or rises while density falls only slightly, which is why the final table shows no fidelity penalty there. Every sweep is unimodal in MIND and turns sharply past its optimum (avgKNN reaches 8.34 at wdiv=40w_{\mathrm{div}} = 40, SigLIPMS 9.39 at 160), so the useful range is narrow.

Diversity on top of the fairness term at the selected setting

Table 8 compares the four diversity terms at the fairness weight of Section D.2 and the diversity weight of Section D.3, as means and standard deviations over five sampling seeds of 5,000 images; it is the table behind the diversity findings of § 5.2. Table 9 repeats the comparison with 50,000 images per configuration and a single seed.

time (s)FD↓FID↓MIND↓Vendi↑
Gender, wfair=5w_{\mathrm{fair}} = 5
Debias Anything110650.0242.482.146.33
+ SGMS157470.0182.241.616.55
+ avgKNN109420.0152.221.636.50
+ SigLIPMS155600.0082.291.726.48
+ PerturbProj114170.0022.231.596.52
Eyeglasses, wfair=200w_{\mathrm{fair}} = 200
Debias Anything111200.3117.508.786.69
+ SGMS138290.3077.848.426.88
+ avgKNN109230.3077.478.326.81
+ SigLIPMS147120.2728.458.797.08
+ PerturbProj124310.2938.138.287.00

Table 9. As Table 8, with 50 000 images per configuration and one seed.

On gender the gains are unambiguous. All four terms lower MIND from 2.52 to 2.03–2.13, two to three standard deviations, and improve the discrepancy, FID and Vendi at the same time. PerturbProj reaches the best discrepancy, 0.006 against 0.031, and the best MIND; the four terms are within one standard deviation of each other on MIND, so the choice between them is driven by the discrepancy. On eyeglasses the terms buy discrepancy (0.304 → 0.270 for SigLIPMS, 0.288 for PerturbProj; both many standard deviations) and Vendi (6.62 → 7.03), while the five MIND means, 8.64 to 9.14, all lie within one standard deviation (0.4 to 0.8) of one another: on this attribute the diversity terms cannot be ranked on MIND, and the two semantic terms do not improve it. FID rises from 11.47 to 12.4–12.7 for the two semantic terms and stays put for avgKNN. Since the reference is balanced on the attribute, a lower discrepancy alone would lower FID, so the rise is a genuine departure from the reference manifold: the semantic terms leave it, which is the price of the coverage they recover, whereas the density term, measured against real embeddings, stays on it.

Vendi, which needs no reference, moves the other way, from 6.62 to 7.03, and that recovered spread is the quantity the fairness term had taken away. The 50 000-sample run reproduces every one of these orderings; FID falls by a factor of two to three with the larger sample, as expected from its bias at small sample size [9], MIND falls by 0.3 to 0.6 and Vendi barely moves. Generation time is dominated by the sampler; in the 50,000-image runs, the diversity terms add up to approximately 43% overhead, with the largest increases for SGMS and SigLIPMS.

Diversity terms alone

The earliest runs measure each diversity term without the fairness term, against the 10 000 CelebA training images with the highest average distance to their five nearest neighbours in ResNet-50 feature space, following Sehwag et al. (2022): against this set a term scores well only if it reaches the rare part of the data. These runs predate the protocol of the rest of this appendix: σmax⁡=20\sigma_{\max} = 20, 1000 images per setting, prompt “a photo of a man”, and every metric below, MIND included, is against this rare subset and not against the balanced reference of the other sections.

Selecting each term at its lowest MIND would be a mistake. SGMS reaches MIND = 27.6 at σs=0.4\sigma_s = 0.4, wdiv=200w_{\mathrm{div}} = 200 (Table 14), but its precision has fallen from 0.97 to 0.77 by then and the images at that setting carry visible artefacts: the term has left the model’s manifold, and the metric, which only asks how close the samples are to the rare reference images, does not tell that apart from reaching the tail of the data. Table 10 therefore keeps, for each term, the setting with the lowest MIND among those whose precision stays at or above 0.95, a floor 0.02 below the unguided model. Under that floor avgKNN reaches the lowest MIND, 62.7, with the best coverage and Vendi; SigLIPMS comes second at 71.2 with the best density, PerturbProj third, and SGMS, the term with the largest recall gain, last at 101.0, because its recall is bought with precision, which the floor forbids.

MethodSettingMIND↓\downarrowPrec.↑\uparrowRec.↑\uparrowCov.↑\uparrowDens.↑\uparrowVendi↑\uparrow
Original—124.100.9720.3890.8093.0105.94
avgKNNκ=50\kappa= 50, wdiv=30w_{\mathrm{div}} = 3062.710.9540.4250.8742.8757.33
SGMSσs=0.8\sigma_s = 0.8, wdiv=40w_{\mathrm{div}} = 40100.960.9550.4680.8412.7836.63
PerturbProjσs=0.4\sigma_s = 0.4, wdiv=250w_{\mathrm{div}} = 25092.340.9580.3860.8372.9096.56
SigLIPMSwdiv=250w_{\mathrm{div}} = 25071.170.9530.3320.8653.0766.96

Table 10. Each diversity term alone, at its lowest-MIND setting with precision ≥0.95\ge0.95 in Table 11 to Table 14.

κ\kappawdivw_{\mathrm{div}}Precision↑\uparrowRecall↑\uparrowMIND↓\downarrow
150.9710.383109.19
1100.9640.39298.36
1200.9550.41280.95
1300.9460.43567.28
350.9690.394109.65
3100.9630.40398.21
3200.9640.38180.46
3300.9440.43365.19
550.9690.391109.53
5100.9670.40497.88
5200.9600.39779.73
5300.9490.44164.91
1050.9700.389109.76
10100.9650.40398.07
10200.9610.40779.26
10300.9490.44964.53
2050.9690.386109.71
20100.9690.39897.72
20200.9600.41278.91
20300.9510.42464.04
5050.9700.384109.42
50100.9650.40797.72
50200.9660.40879.30
50300.9540.42562.71

Table 11. avgKNN alone, 1,000 images: precision, recall and MIND per (κ,wdiv)(\kappa, w_{\mathrm{div}}).

σs\sigma_swdivw_{\mathrm{div}}Precision↑\uparrowRecall↑\uparrowMIND↓\downarrow
0.2400.9720.390113.38
0.2800.9600.420102.23
0.21200.9390.41091.43
0.21600.9330.41186.16
0.22000.9210.42577.67
0.23000.8970.43664.90
0.4400.9470.47590.88
0.4800.9160.50864.45
0.41200.8560.49944.96
0.41600.8200.48133.61
0.42000.7660.51927.57
0.6400.9460.47595.00
0.6800.9230.53072.89
0.61200.8970.52857.84
0.61600.8590.54045.02
0.62000.8490.56735.70
0.8400.9550.468100.96
0.8800.9380.46083.45
0.81200.9070.49571.76
0.81600.8740.52962.30
0.82000.8550.53154.99

Table 14. SGMS alone, 1,000 images: precision, recall and MIND per (σs,wdiv)(\sigma_s, w_{\mathrm{div}}).

Two things qualify this ranking. The measurement favours avgKNN: its score is a distance to a bank of SigLIP embeddings of real CelebA images (Section A.4), and the reference set is the rarest part of the same data, so the term is pushed towards the region it is then evaluated on, while the two semantic terms measure the model’s own posterior spread and are given no such hint. And the ranking does not survive the fairness term. Once wfair>0w_{\mathrm{fair}} > 0 (Table 8) PerturbProj and SigLIPMS reach the lowest discrepancy on both attributes, PerturbProj the lowest MIND on gender and SigLIPMS the highest Vendi on eyeglasses, and avgKNN keeps only FID on eyeglasses. The single-term table selects a diversity score; the combined tables select a debiasing method, and the two disagree.

Three regularities hold across the four terms. avgKNN is nearly insensitive to its neighbourhood size: at its strongest weight, MIND varies by 4.6 across seven values of kk from 1 to 100, against a 46-point swing driven by the weight alone. For SGMS and PerturbProj the re-noising level is non-monotone, σs=0.2\sigma_s = 0.2 being markedly worse than 0.4, so the useful range is σs∈[0.4,0.6]\sigma_s \in[0.4, 0.6] for SGMS, while PerturbProj barely leaves the model’s manifold at any setting (precision never below 0.956) and only σs=0.8\sigma_s = 0.8 gains recall. SGMS is the only term that converts precision into recall at scale in this setting, which is also why it is the one term whose low-MIND settings fail the precision floor of Table 10; SigLIPMS has a turning point: MIND bottoms out at wdiv=250w_{\mathrm{div}} = 250 and rises beyond it while recall falls from its peak at 150, so weights above 250 are harmful.

Four-panel plot of MIND against diversity guidance weight for AvgkNN, PerturbProj, SGMS, and SigLIPMS

Figure 8. MIND against the diversity guidance weight wdivw_{\mathrm{div}}, one curve per hyperparameter configuration. All four panels share the MIND axis. avgKNN is nearly insensitive to κ\kappa over two orders of magnitude (seven superimposed curves, κ=1\kappa= 1 to κ=100\kappa= 100). For SGMS and PerturbProj the perturbation scale is non-monotone: σs=0.2\sigma_s = 0.2 is markedly worse than 0.4, so the useful range is σs∈[0.4,0.6]\sigma_s \in[0.4, 0.6]. SGMS is the only method reaching MIND below 60, and it does so at a precision below 0.9 (Table 14). SigLIPMS turns around: MIND bottoms out at wdiv=250w_{\mathrm{div}} = 250 and rises again beyond it.

wdivw_{\mathrm{div}}Precision↑\uparrowRecall↑\uparrowMIND↓\downarrow
500.9650.34298.28
1000.9570.38278.76
1500.9540.40573.87
2000.9520.34971.96
2500.9530.33271.17
3000.9440.34574.46
3500.9480.31675.89
4000.9410.29976.56

Table 12. SigLIPMS alone, 1,000 images: precision, recall and MIND per wdivw_{\mathrm{div}}.

σs\sigma_swdivw_{\mathrm{div}}Precision↑\uparrowRecall↑\uparrowMIND↓\downarrow
0.2500.9700.364116.85
0.21000.9730.354112.19
0.21500.9670.336106.24
0.22000.9590.322101.33
0.22500.9650.33096.56
0.23000.9630.33093.03
0.4500.9710.358115.97
0.41000.9700.379109.52
0.41500.9640.398103.25
0.42000.9560.37498.26
0.42500.9580.38692.34
0.6500.9740.351120.74
0.61000.9720.350117.26
0.61500.9710.356114.93
0.62000.9720.374112.46
0.62500.9720.365109.68
0.8500.9740.365120.34
0.81000.9740.389117.60
0.81500.9710.406115.28
0.82000.9680.416112.77
0.82500.9710.421109.73

Table 13. PerturbProj alone, 1,000 images: precision, recall and MIND per (σs,wdiv)(\sigma_s, w_{\mathrm{div}}).

Qualitative results

Every figure of this section shares its seeds across rows, so a column is one starting noise under several regimes and the panels can be read image by image. Together with Figure 1 they show three things: the guidance acts on individual images and leaves what it does not name, our method changes a face more cleanly than a labelled predictor, and the wording of the sentences matters little.

Generations examples on CelebA-HQ showing original generations, fairness guidance, and fairness plus diversity guidance

Figure 1. Generations examples on CelebA-HQ. Top: the original model, 6 random draws of women; two of them appear with artifacts, the third looking away from the camera and the fourth turning her head. Middle: guidance with the fairness term. Three columns turn into men and the faces sharpen, but the pose collapses, every face now frontal and centered. Bottom: guidance with the fairness and diversity terms. The woman in the second column looks older, the man in the fourth turns his head away and gains a mustache.

CelebA-HQ against Balancing Act (Figure 9). Six seeds, three of them women in the unguided row, under Balancing Act and under Debias Anything at matched discrepancy. Both methods turn the same two columns, the fifth and sixth, into men, and both leave the first three women and the man in the fourth column as they are, so the two batches end at the same proportion by the same choice of images. The difference is in the faces they produce: the man Balancing Act makes in the fifth column carries a blurred, uneven skin and a distorted mouth, while ours is a clean face with the seed’s hair and lighting, and the sixth column shows the same gap in a milder form. That is the visible side of the FID difference in Table 2: at equal discrepancy, guidance through a labelled predictor pays in image quality where guidance through the adapter does not.

Gender on CelebA-HQ, showing Original, Balancing Act, and Debias Anything rows across six shared seeds

Figure 9. Gender on CelebA-HQ, six shared seeds: the unguided model, Balancing Act, and Debias Anything at matched discrepancy.

Sensitivity to the sentences (Figure 10). The same six seeds and the same weight wfair=20w_{\mathrm{fair}} = 20, with five different pairs of sentences naming gender: woman and man, female and male person, girl’s and boy’s portrait, lady and gentleman, and close-up photos of a woman and of a man. All five pairs turn the same two columns, the fifth and sixth, and leave the four others untouched; the five men in the fifth column differ only in fine detail, a lock of hair or the shape of the smile. The attribute the guidance reads is the direction between the two sentences, and that direction hardly moves with the wording, so an operator need not search for the right words.

Stable Diffusion (Figure 11). Six seeds each for A face of a doctor and A face of a firefighter, unguided and under Debias Anything at a gender target of one half. The unguided model draws five men and one woman for the doctor and six men for the firefighter, the skew of Table 3. Guidance turns two doctor columns and three firefighter columns into women, reaching three of six in each, and takes the images whose logit was already closest: the woman of the sixth doctor column is left alone. White coats and stethoscopes, helmets and turnout gear, the framing and the expression of each seed stay; only the face changes, and with it hair and, on two firefighters, a hood under the helmet. These are the samples behind the gender row of Table 3.

Full comparison under the DiffLens protocol

Table 16 completes Table 3 with the two CLIP scores of Section B.5, and the last paragraph of this section traces our residual discrepancy to its sources. CLIP-T lies within 0.01 of the unguided model for every method on every attribute, so none of them, ours included, trades prompt adherence for the attribute. CLIP-I separates the methods into two groups: the label-located methods (Shi et al. (2025); Zaleska et al. (2026)) and fine-tuning (Shen et al. (2024)) keep 0.85 to 0.92 of the original, the latent-space editors (Kwon et al. [31]; Li et al. [33]) 0.81 to 0.88, and ours sits at 0.84 to 0.85, the level of the hh-space distribution guidance (Parihar et al. (2024)). Race is the attribute on which DiffLens and ICM keep the most of the original image, above 0.90, and also the one on which they move the discrepancy least.

MethodAttributeGender FD↓\downarrowGender FID↓\downarrowGender CLIP-I↑\uparrowGender CLIP-T↑\uparrowAge FD↓\downarrowAge FID↓\downarrowAge CLIP-I↑\uparrowAge CLIP-T↑\uparrowRace FD↓\downarrowRace FID↓\downarrowRace CLIP-I↑\uparrowRace CLIP-T↑\uparrow
Original—0.564120.06–0.61550.752120.06–0.61550.558120.06–0.6155
Feature or weight editing
Latent editing (Kwon et al., [31])text, training per attribute0.408166.110.82530.60050.682200.900.85270.61220.524153.050.88040.6086
Latent direction (Li et al., [33])text, training per attribute0.305129.370.80580.60910.052113.810.81510.60670.175128.300.82110.6132
Fine-tuning (Shen et al., 2024)attribute classifier0.050161.470.87790.60950.746161.470.87790.60950.198161.470.87790.6095
DiffLens (Shi et al., 2025)labels0.046112.830.85010.60900.04999.170.87780.60570.401119.860.90960.6149
ICM (Zaleska et al., 2026)labels0.087122.080.85010.60900.133114.870.91950.61500.266116.880.90990.6172
Guidance on the model’s distribution
h-distribution (Parihar et al., 2024)labels0.222151.680.84750.60870.506147.710.83450.60980.544126.900.82550.6100
Debias Anythingtext0.200113.850.83810.60900.206110.550.84090.60600.195114.710.85270.6111

Table 16. Stable Diffusion 1.5 (Rombach et al., 2022) under the protocol of DiffLens (Shi et al., 2025), all four metrics. Baseline rows other than ICM (Zaleska et al., 2026) are as reported by Shi et al. (2025), which gives fine-tuning (Shen et al., 2024) a single FID, CLIP-I and CLIP-T for the three attributes. Guided rows are shaded from best (dark, bold) to worst (light); equal values share a shade. The unguided row has no CLIP-I by definition.

Where the residual discrepancy comes from. The FD of Table 3 is an average over the four occupations of the protocol, and Table 15 gives the four terms. On gender they are far apart: doctors reach 0.021 and firefighters 0.104, nurses stay at 0.296 and receptionists at 0.378. For a binary attribute FD=2∣p−12∣\mathrm{FD} = \sqrt{2}\lvert p - \frac{1}{2}\rvert (Section B.5), so these are 51%, 57%, 71% and 77% women. The unguided model explains the split. Seshadri et al. (2024) measured the share of women that Stable Diffusion 1.4 draws for each occupation under four prompt templates: 100% for nurse under every template and 99.8 to 100% for receptionist, against 1 to 16% for firefighter and 4 to 58% for doctor. These shares account for the unguided row of Table 3: an all-female or all-male batch scores 0.71, and averaging the four templates gives per-occupation discrepancies of 0.71, 0.71, 0.63 and 0.32, whose mean of 0.59 is close to the 0.56 we measure on Stable Diffusion 1.5 with the prompt of the protocol. Reaching one half means creating male nurses and receptionists that the model never draws on its own, whereas female firefighters and doctors exist in its output already; the adapter, trained on the model’s own images of these jobs, has seen just as few. Guidance moves nurses and receptionists from all women to three quarters, and stops there. The other guidance method of Table 3, the hh-distribution guidance of Parihar et al. (2024), is trained on gender labels and stops at 0.222, above ours; the editing methods pass this point because they change what the model computes, whereas guidance reweights what it draws.

OccupationFD gender↓\downarrowFD age↓\downarrowFD race↓\downarrow
doctor0.0210.0920.208
firefighter0.1040.2760.193
nurse0.2960.0770.206
receptionist0.3780.3810.174
mean (Table 3)0.2000.2060.195

Table 15. Debias Anything on Stable Diffusion 1.5, discrepancy per occupation. Each entry is the distance of the mean FairFace output to the uniform target on the 500 images of one prompt; the last row is their average, the FD of Table 3.

On age the residual is concentrated in the same way. Doctors and nurses reach 0.092 and 0.077, firefighters and receptionists stay at 0.276 and 0.381. The unguided model puts nearly every face in one bin, its age discrepancy of 0.752 being close to the 0.82 of a single-bin batch, and its firefighters and receptionists are, as far as its samples show, middle-aged men and young women; a third of either at 60+ is far from what it draws on its own. A second effect may add a floor: FairFace counts 0–19, 20–59 and 60+, while the guidance is given a young, a middle-aged and an old person, and a face the encoder moves towards young is most likely in its twenties, which the counter files under 20–59. The two low values on doctor and nurse show that the sentences do reach the counted bins where the model can follow. On race the residual is even across occupations, 0.17 to 0.21, so it belongs to the attribute and not to any job; the four sentences name the four groups the counter uses, and ours is the lowest race discrepancy in Table 3.

References

  1. [1]Arpit Bansal, Hong-Min Chu, Avi Schwarzschild, Soumyadip Sengupta, Micah Goldblum, Jonas Geiping, and Tom Goldstein. Universal guidance for diffusion models. In International Conference on Learning Representations, 2024.
  2. [2]Quentin Berthet, Yu-Han Wu, Clément Crepy, Romuald Elie, Klaus Greff, and Michaël E. Sander. MIND: Monge Inception distance for generative models evaluation. arXiv preprint arXiv:2605.06797, 2026.arxiv.org/abs/2605.06797
  3. [3]Pradhaan S. Bhat, Rishubh Parihar, Abhijnya Bhat, and R. Venkatesh Babu. Don’t settle at the mode! Mitigating diversity collapse in pretrained flow models via feature self-guidance. In Paolo Favaro, Zuzana Kukelova, Atsuto Maki, Anna Rohrbach, Konrad Schindler, and Federico Tombari (eds.), The European Conference on Computer Vision (ECCV), pp. 334–352, Cham, Switzerland, September 2026. Springer Nature Switzerland.arxiv.org/abs/2606.27371
  4. [4]Federico Bianchi, Pratyusha Kalluri, Esin Durmus, Faisal Ladhak, Myra Cheng, Debora Nozza, Tatsunori Hashimoto, Dan Jurafsky, James Zou, and Aylin Caliskan. Easily accessible text-to-image generation amplifies demographic stereotypes at large scale. In Proceedings of the 2023 ACM Conference on Fairness, Accountability, and Transparency, pp. 1493–1504, New York, New York, United States of America, 2023. Association for Computing Machinery.DOI
  5. [5]Giulio Biroli, Tony Bonnaire, Valentin de Bortoli, and Marc Mézard. Dynamical regimes of diffusion models. Nature Communications, 15(1):9957, 2024.DOI
  6. [6]Tolga Bolukbasi, Kai-Wei Chang, James Zou, Venkatesh Saligrama, and Adam Kalai. Man is to computer programmer as woman is to homemaker? Debiasing word embeddings. In Daniel D. Lee, Masashi Sugiyama, Ulrike von Luxburg, Isabelle Guyon, and Roman Garnett (eds.), Advances in Neural Information Processing Systems, volume 29, pp. 4349–4357. Curran Associates, Inc., 2016.arxiv.org/abs/1607.06520
  7. [7]Jooyoung Choi, Jungbeom Lee, Chaehun Shin, Sungwon Kim, Hyunwoo Kim, and Sunghoh Yoon. Perception prioritized training of diffusion models. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 11472–11481, June 2022.arxiv.org/abs/2204.00227
  8. [9]Min Jin Chong and David Forsyth. Effectively unbiased FID and Inception score and where to find them. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 6069–6078, June 2020.arxiv.org/abs/1911.07023
  9. [10]Hyungjin Chung, Jeongsol Kim, Michael T. Mccann, Marc L. Klasky, and Jong Chul Ye. Diffusion posterior sampling for general noisy inverse problems. In International Conference on Learning Representations, 2023.arxiv.org/abs/2209.14687
  10. [11]Gabriele Corso, Yilun Xu, Valentin de Bortoli, Regina Barzilay, and Tommi Jaakkola. Particle guidance: non-I.I.D. diverse sampling with diffusion models. In International Conference on Learning Representations, 2024.arxiv.org/abs/2310.13102
  11. [12]Prafulla Dhariwal and Alexander Nichol. Diffusion models beat GANs on image synthesis. In Marc’Aurelio Ranzato, Alina Beygelzimer, Yann Dauphin, Percy S. Liang, and Jennifer Wortman Vaughan (eds.), Advances in Neural Information Processing Systems, volume 34, pp. 8780–8794. Curran Associates, Inc., 2021.
  12. [13]Bradley Efron. Tweedie’s formula and selection bias. Journal of the American Statistical Association, 106(496):1602–1614, 2011.pubmed.ncbi.nlm.nih.gov/22505788
  13. [14]Dan Friedman and Adji Bousso Dieng. The Vendi score: A diversity evaluation metric for machine learning. Transactions on Machine Learning Research, 2023.
  14. [15]Felix Friedrich, Manuel Brack, Lukas Struppek, Dominik Hintersdorf, Patrick Schramowski, Sasha Luccioni, and Kristian Kersting. Auditing and instructing text-to-image generation models on fairness. AI and Ethics, 5(3):2103–2123, 2025.DOI
  15. [16]Anne Gagneux, Ségolène Martin, Rémi Gribonval, and Mathurin Massias. The generation phases of flow matching: a denoising perspective. arXiv preprint arXiv:2510.24830, 2025.arxiv.org/abs/2510.24830
  16. [17]Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 770–778, June 2016.arxiv.org/abs/1512.03385
  17. [18]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 Isabelle Guyon, Ulrike von Luxburg, Samy Bengio, Hanna Wallach, Rob Fergus, Swamathan Venkatara Narayana Vishwanathan, and Roman Garnett (eds.), Advances in Neural Information Processing Systems, volume 30, pp. 6626–6637. Curran Associates, Inc., 2017.
  18. [19]Jonathan Ho and Tim Salimans. Classifier-free diffusion guidance. arXiv preprint arXiv:2207.12598, 2022.arxiv.org/abs/2207.12598
  19. [20]Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. In Hugo Larochelle, Marc’Aurelio Ranzato, Raia Hadsell, Maria-Florina Balcan, and Hsuan-Tien Lin (eds.), Advances in Neural Information Processing Systems, volume 33, pp. 6840–6851. Curran Associates, Inc., 2020.arxiv.org/abs/2006.11239
  20. [21]Mohammad Jalali, Haoyu Lei, Amin Gohari, and Farzan Farnia. SPARKE: Scalable prompt-aware diversity and novelty guidance in diffusion models via RKE score. In Danielle Belgrave, Cheng Zhang, Hsuan-Tien Lin, Razvan Pascanu, Piotr Koniusz, Marzyeh Ghassemi, and Nancy Chen (eds.), Advances in Neural Information Processing Systems, volume 38, pp. 119943–119980. Curran Associates, Inc., 2025.
  21. [22]Yilei Jiang, Wei-Hong Li, Yiyuan Zhang, Minghong Cai, and Xiangyu Yue. FairGen: Enhancing fairness in text-to-image diffusion models via self-discovering latent directions. In IEEE/CVF International Conference on Computer Vision (ICCV), pp. 18411–18420, October 2025.arxiv.org/abs/2412.18810
  22. [23]Kimmo Kärkkäinen and Jungseock Joo. FairFace: Face attribute dataset for balanced race, gender, and age for bias measurement and mitigation. In IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), pp. 1548–1558, January 2021. Preprint.
  23. [24]Tero Karras, Timo Aila, Samuli Laine, and Jaakko Lehtinen. Progressive growing of GANs for improved quality, stability, and variation. In International Conference on Learning Representations, 2018.arxiv.org/abs/1710.10196
  24. [25]Tero Karras, Samuli Laine, and Timo Aila. A style-based generator architecture for generative adversarial networks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 4401–4410, June 2019.DOI
  25. [26]Tero Karras, Miika Aittala, Timo Aila, and Samuli Laine. Elucidating the design space of diffusion-based generative models. In Sami Koyejо, Shakir Mohamed, Alekh Agarwal, Danielle Belgrave, Kyunghyun Cho, Alice Oh (eds.), Advances in Neural Information Processing Systems, volume 35, pp. 26565–26577. Curran Associates, Inc., 2022.arxiv.org/abs/2206.00364
  26. [27]Myeongsoo Kim, Eunji Kim, Minwoo Chae, and Sangwoo Mo. Stay fair! Ensuring group fairness in diffusion models across guidance scales. arXiv preprint arXiv:2605.28036, 2026.arxiv.org/abs/2605.28036
  27. [28]Davis E. King. Dlib-ml: A machine learning toolkit. Journal of Machine Learning Research, 10(60): 1755–1758, 2009.DOI
  28. [29]Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In International Conference on Learning Representations, 2015.arxiv.org/abs/1412.6980
  29. [30]Harold W. Kuhn. The Hungarian method for the assignment problem. Naval Research Logistics Quarterly, 2(1–2):83–97, 1955.
  30. [31]Mingi Kwon, Jaeseok Jeong, and Youngjung Uh. Diffusion models already have a semantic latent space. In International Conference on Learning Representations, 2023.arxiv.org/abs/2210.10960
  31. [32]Tuomas Kynkäänniemi, Tero Karras, Samuli Laine, Jaakko Lehtinen, and Timo Aila. Improved precision and recall metric for assessing generative models. In Hanna Wallach, Hugo Larochelle, Alina Beygelzimer, Florence d’Alché Buc, Emily Fox, and Roman Garnett (eds.), Advances in Neural Information Processing Systems, volume 32, pp. 3927–3936. Curran Associates, Inc., 2019.arxiv.org/abs/1904.06991
  32. [33]Hang Li, Chengzhi Shen, Philip Torr, Volker Tresp, and Jindong Gu. Self-discovering interpretable diffusion latent directions for responsible text-to-image generation. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 12006–12016, June 2024.arxiv.org/abs/2311.17216
  33. [34]Yaron Lipman, Ricky T. Q. Chen, Heli Ben-Hamu, Maximilian Nickel, and Matthew Le. Flow matching for generative modeling. In International Conference on Learning Representations, 2023.arxiv.org/abs/2210.02747
  34. [35]Ziwei Liu, Ping Luo, Xiaogang Wang, and Xiaoou Tang. Deep learning face attributes in the wild. In IEEE International Conference on Computer Vision (ICCV), pp. 3730–3738, December 2015.arxiv.org/abs/1411.7766
  35. [36]Hao Luan, See-Kiong Ng, and Chun Kai Ling. Inference-time attribute distribution alignment for unconditional diffusion. arXiv preprint arXiv:2605.07456, 2026.arxiv.org/abs/2605.07456
  36. [37]Alexandra Sasha Luccioni, Christopher Akiki, Margaret Mitchell, and Yacine Jernite. Stable bias: Evaluating societal representations in diffusion models. In Alice Oh, Tristan Naumann, Amir Globerson, Kate Saenko, Moritz Hardt, and Sergey Levine (eds.), Advances in Neural Information Processing Systems, volume 36, pp. 56338–56351. Curran Associates, Inc., 2023.DOI
  37. [38]Grace Luo, Trevor Darrell, Oliver Wang, Dan B. Goldman, and Aleksander Holynski. Readout guidance: Learning control from diffusion features. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 8217–8227, June 2024.arxiv.org/abs/2312.02150
  38. [39]Yueming Lyu, Tianwei Lin, Fu Li, Dongliang He, Jing Dong, and Tieniu Tan. DeltaEdit: Exploring text-free training for text-driven image manipulation. arXiv preprint arXiv:2303.06285, 2023.arxiv.org/abs/2303.06285
  39. [40]Muhammad Ferjad Naeem, Seong Joon Oh, Youngjung Uh, Yunjey Choi, and Jaejun Yoo. Reliable fidelity and diversity metrics for generative models. In Hal Daumé, III and Aarti Singh (eds.), Proceedings of the 37th International Conference on Machine Learning, volume 119 of Proceedings of Machine Learning Research, pp. 7176–7185. PMLR, July 2020.arxiv.org/abs/2002.09797

Paper details

vlnc:W_2zt8a223
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents