When a diffusion model (a generator that turns random noise into images by denoising it step by step) produces training data for a smaller classifier, most of what it makes is easy. These typical images teach the classifier little it could not learn from the real set. Difficulty Controlled Diffusion Model for Synthesizing Effective Training Data attacks this waste by conditioning the generator on a difficulty score $s = 1 - c$, where $c$ is a pretrained classifier's probability for the true class. It reaches peak accuracy with only 10% extra synthetic data and saves 63.4 GPU hours on ImageNet. It also hits a ceiling. Pushing $s$ toward 1 yields noisy, off-distribution images that hurt training, so the method has to stay in a "Goldilocks" band of roughly 0.5–0.75.
We argue the ceiling comes from what the score can see. A softmax probability depends only on differences between class logits, so it is unchanged when the same constant is added to every logit. An image that sits genuinely between two classes and an image that lies far from every class can therefore receive the same $c$. One is the boundary example we want; the other is a broken artifact. Directional feature modeling fits class distributions on the unit sphere where normalized embeddings live, and it gives a natural second number that softmax throws away: how well the feature fits any class at all. The proposal is to condition and filter generation on two signals at once, hardness (where the feature sits between classes) and validity (whether it lies on the data at all). The bet is that this lets the generator aim at harder samples without crossing into noise, and that the same small model can discard broken generations in one forward pass, replacing heavier verification stages.
Core Claim
Fit one von Mises–Fisher (vMF) distribution per class to the normalized features $z \in \mathbb{S}^{d-1}$ of a frozen encoder. A vMF distribution is the sphere's analogue of an isotropic Gaussian: it has a mean direction $\mu_c$ and a scalar concentration $\kappa_c$, and its density is proportional to $\exp(\kappa_c \mu_c^\top z)$. For a sample intended to have label $y$, define two scores. The first is hardness, the concentration-weighted angular margin
$$h(z) = \kappa_y \mu_y^\top z - \max_{c \neq y} \kappa_c \mu_c^\top z.$$
The second is validity, the log-likelihood under the full class mixture
$$v(z) = \log \sum_c \pi_c\, C_d(\kappa_c) \exp(\kappa_c \mu_c^\top z).$$
Here $\pi_c$ are class priors and $C_d(\kappa_c)$ is the vMF normalizing constant. The class posterior, and with it the existing difficulty score, depends on the logits only through differences like $h$. The validity score $v$ keeps exactly the absolute "how far from every class" information the posterior discards.
The claim is that generation conditioned on high-but-moderate $h$ and gated on $v$ moves the accuracy peak to harder samples than the 1-D score allows. It should also cut the generated images needed per unit of accuracy gain. The specifically new part is this hardness/validity decomposition used as both a generator condition and a single-pass filter. Using a vMF in place of softmax for the same 1-D difficulty would not by itself be new.
Relation to Prior Work
The difficulty-controlled diffusion paper supplies the generator, the Difficulty Encoder, its benchmarks, and the negative result about extreme hardness that motivates us. We keep its LoRA-tuned diffusion setup and change only the conditioning signal and the post-generation gate.
Three directional-modeling papers supply the scoring method:
- SIREN shapes detector features into vMF clusters with learnable per-class $\kappa_c$ and uses them for out-of-distribution scoring. We reuse this class-specific dispersion but apply it to generated data rather than test-time inputs.
- von Mises-Fisher Loss shows that vMF-trained embeddings are far better calibrated than a Euclidean softmax on FashionMNIST (expected calibration error 4.2% vs 12.4%). That is evidence that the scale-free logit information is informative.
- AsymVLM fits vMF and Power Spherical heads post hoc on frozen CLIP. Its rejection accuracy is about 58% against about 1% for base CLIP, which suggests a frozen-encoder vMF head can recognize "none of these" inputs. It never uses that ability to curate synthetic data.
DINO as a von Mises-Fisher mixture model contributes two things. Its asymptotic treatment of the Bessel-function normalizer makes $C_d(\kappa)$ usable in high dimension. Its observation that low-concentration prototypes collect ambiguous samples is the self-supervised hint that concentration tracks difficulty.
SimProF is the closest existing bridge. It samples class vMFs to create synthetic features for domain adaptation, but it never touches an input-space generator and never uses vMF statistics to reject generations. We differ on both counts.
DISCO and Promptagator motivate the filtering half of the proposal:
- DISCO needs a DeBERTa-v2 teacher to verify label flips.
- Promptagator's round-trip filter needs an auxiliary retriever and over-prunes on small corpora such as NFCorpus.
Both show that verification is a real cost in generation pipelines. Our gate is a dot product against $K$ class means on a feature the pipeline already computes.
Research Program
The work starts with a diagnostic that could kill the idea cheaply. We train the 1-D difficulty-controlled generator on Imagenette and EuroSAT and sample at a grid of target $s$ from 0.25 to 1.0. For every sample we compute $h$, $v$, and the realized $1-c$. If the high-$s$ failures the original paper reports are mostly low-$v$ (off every class), the decomposition has something to fix. If they are mostly confidently wrong-class images with normal $v$, the failure is label drift, which $v$ cannot detect, and the proposal should be redirected toward label verification instead.
Assuming the diagnostic is positive, we build the scorer on a frozen CLIP image encoder and on the target classifier's own penultimate layer, comparing the two. We fit $\mu_c$ in closed form as normalized class means. We fit $\kappa_c$ by maximum likelihood with the asymptotic normalizer from DINO-vMF and check it against exact Bessel evaluation in float64 on a subset.
We then replace the scalar input to the Difficulty Encoder with the pair $(h, v)$ and retrain the LoRA adapter. At sampling time we sweep target $h$ while holding $v$ at or above the validity of real training images in the same class. After generation, a single forward pass rejects samples whose realized $v$ falls below a per-class quantile of real-data validity, with the quantile tuned on held-out real data.
Cost is tracked end to end. We count diffusion GPU hours, scorer FLOPs, the number of images generated per image retained, and classifier accuracy per generation GPU hour.
Baselines
The naive reference is the classifier trained on real data only. Next to it we train on the same real data plus an equal budget of unconditioned class-conditional diffusion samples, which shows what blind generation buys.
The strongest existing method is the difficulty-controlled diffusion model with its own $1-c$ score, run in its recommended 0.5–0.75 band using the authors' recipe. The paper reports "only 10% additional synthetic data" and 63.4 GPU hours saved on ImageNet relative to the previous best. On Stanford Cars it reports accuracy over 1.2% above Real-Fake. No absolute top-1 accuracy for this method was found on Lacuna, so we will reproduce it and report our own number alongside the paper's relative claims. Beating it means one of two results on at least three of the four benchmarks:
- higher accuracy at the same synthetic budget, or
- equal accuracy at a smaller generation budget, with the improvement outside seed variance over five seeds.
The baseline most likely to match us is a Euclidean two-axis competitor. It uses temperature-scaled $1-c$ for hardness and a separate validity signal for the gate. The validity signal is either an energy score (the log-sum-exp of logits) or a shrinkage-regularized Mahalanobis distance; shrinkage gives the Gaussian a fair chance against the covariance problems SIREN reports.
All methods get the same diffusion backbone, LoRA rank, generation budget in images and GPU hours, classifier architecture and schedule, and an equal hyperparameter search of 20 trials each on a held-out real validation split.
Two ablations isolate our ingredients:
- vMF hardness $h$ alone, with no validity gate, tests whether the second axis matters.
- Fixed-norm cosine scores with a single shared $\kappa$, in the style of ArcFace, test whether per-class concentration matters.
Why not just…?
Why not just calibrate the classifier with temperature scaling and keep $1-c$? Temperature scaling rescales all logits together, so the class posterior still depends only on logit differences. It cannot separate a sample between two classes from a sample far from all of them. It may shift where the Goldilocks band sits, so we include it in every Euclidean baseline. But if the diagnostic shows high-$s$ failures are low-validity images, no monotone recalibration of $c$ can remove them.
Why not just pair softmax hardness with an off-the-shelf out-of-distribution score? This is the real threat. If energy-score or Mahalanobis gating matches $v$, the contribution shrinks to the decomposition itself, with no special role for spherical modeling. The Euclidean two-axis baseline exists to test this directly, and we will report the result either way. Two pieces of evidence suggest the vMF version should do at least as well on normalized features. SIREN reports that Mahalanobis-style scoring degrades in high-dimensional multi-object features and gains 22.53% AUROC over OW-DETR with vMF shaping. AsymVLM's rejection results show that density-aware spherical heads recognize "none of these" where raw CLIP fails.
Why not just stay inside the 0.5–0.75 band and accept the ceiling? That is the existing method, and it is our main baseline. The question is whether the ceiling is fundamental or an artifact of the score. If the two-axis generator shows no gain above $s = 0.75$-equivalent hardness, the ceiling is fundamental and our cost savings must come from filtering alone. That would be a smaller but still measurable result.
Why not just filter with a large verifier, such as CLIP image–text agreement or a big teacher? DISCO and Promptagator show these verifiers work but cost a forward pass of an auxiliary model per candidate, and Promptagator's filter starved small corpora. We will run a CLIP-agreement filter at matched retention rate and compare both accuracy and verifier FLOPs. Our gate reuses a feature the conditioning step already computes, so a tie in accuracy would still be a cost win.
Proposed Experiments
The decisive experiment is the difficulty sweep on Imagenette and EuroSAT, where the original paper located its peak. We plot downstream accuracy against target hardness for the 1-D score, the Euclidean two-axis score, and the vMF two-axis score. The prediction is that the 1-D curve drops beyond about 0.75, as already reported. The gated curves should peak later or plateau instead of collapsing, with the vMF curve at or above the Euclidean one. As a check that $v$ removes artifacts rather than diversity, we measure Fréchet distance between rejected samples and real data, and run a small human audit of 200 rejected and 200 retained images per method, labeling each as off-class artifact, wrong-class, or valid.
Stanford Cars then tests fine-grained classes, where per-class $\kappa_c$ should matter most because class spreads differ. ImageNet tests whether the gate's savings hold at the scale where 63.4 GPU hours were reported, using accuracy per generation GPU hour as the headline cost metric.
A final check measures how well $h$ and $v$ predict the training value of individual samples. For a held-out pool we compute the change in validation loss when each sample is added, and correlate it with $h$, $v$, and $1-c$. This tells us whether the decomposition explains which synthetic images help, beyond simply improving an aggregate number.
References
- Difficulty Controlled Diffusion Model for Synthesizing Effective Training Data
- SIREN: Shaping Representations for Detecting Out-of-Distribution Objects
- von Mises-Fisher Loss: An Exploration of Embedding Geometries for Supervised Learning
- Exploiting the Asymmetric Uncertainty Structure of Pre-trained VLMs on the Unit Hypersphere
- DINO as a von Mises-Fisher mixture model
- SimProF: A Simple Probabilistic Framework for Unsupervised Domain Adaptation
- DISCO: Distilling Counterfactuals with Large Language Models
- Promptagator: Few-shot Dense Retrieval From 8 Examples