Generating synthetic texture images with a diffusion model means turning random noise into a picture over dozens of denoising steps. Most of that work is thrown away. The largest public synthetic texture corpus, the Prompted Textures Dataset (PTD), generates every candidate to completion and only afterward discards images that turned into objects, came out flat and washed-out, or drifted from the prompt (On Synthetic Texture Datasets: Challenges, Creation, and Curation). We propose to make those same accept-or-reject decisions partway through generation. At each step a diffusion model already produces a running guess of the final image. We would apply PTD's own filters to that guess and stop the trajectory as soon as the verdict is reliably known.
The core claim is a testable hypothesis about when texture properties are settled during sampling. The failures that PTD's filters catch are mostly global and low-frequency: an object where a texture should be, a near-uniform canvas, or a wrong class. Because diffusion models settle coarse structure early and fine detail late, these failures should become predictable well before the last step, even though the fine grain of a good texture keeps changing until the end. If the hypothesis holds, a texture corpus can be curated for a fraction of the GPU time without changing which images are kept. If it fails for some filter, we learn which texture properties cannot be judged early, and that is useful in its own right.
What exists and what is missing
Three lines of work motivate the idea, and none of them does it. PTD supplies the curation recipe that we reuse and accelerate. It prompts Stable Diffusion with a structured template, generates 246,285 images across 56 classes at 50 steps, and then filters them with a Fourier frequency test, a local patch-variance test and a CLIP prompt-alignment score. PTD never looks inside the trajectory, and it never tests whether its data helps a downstream classifier.
Hallucination Early Detection in Diffusion Models (HEaD+) shows that early abort can pay off. It trains a predictor on intermediate predicted images and cross-attention maps, stops trajectories that will omit a requested object, and saves up to 32% of generation time. Its signal is attention localized to object tokens, and that signal does not exist for spatially spread-out textures. Early Semantic Commitment in Diffusion Sampling provides the mechanism. It shows that the model's clean-image estimate $\hat{x}_{0,t}$ amplifies small differences by $1/\sqrt{\bar{\alpha}_t}$, so class-level commitment shows up far earlier than pixel divergence. That work is purely diagnostic and limited to categorical flips under unconditional DDIM. It does not cover continuous statistics like spectral energy, and it does not cover guided text-to-image sampling.
One paper constrains the design. Diffusion Rejection Sampling also intervenes mid-trajectory, but it retries rejected steps to raise quality, so total compute goes up. Our goal is the opposite, so we abort and do not retry. Difficulty Controlled Diffusion Model for Synthesizing Effective Training Data cuts overhead differently: it generates fewer, harder images, saving 63.4 GPU hours on ImageNet. It still runs every trajectory to the end, and it addresses which samples to request, not whether to finish them. The two approaches compose.
Core Claim
Let $r$ be the fraction of candidates that the post-hoc pipeline rejects, $T$ the number of sampling steps, and $k$ the step at which a reject decision can be made. If rejections are caught perfectly at step $k$, the fraction of compute saved relative to finishing everything is
$$S = r\,(1 - k/T).$$
This follows from the fact that accepted samples still cost $T$ steps while rejected ones now cost $k$. The formula makes two things plain: savings are capped by the rejection rate, and early abort is worthless unless $k$ is substantially smaller than $T$. Our claim is that PTD-style rejections can be predicted at $k \le T/3$. The test is agreement with the final post-hoc verdict, with high recall on rejects and few false aborts of images that would have been kept. The resulting corpus should be statistically and downstream-equivalent to the post-hoc one.
Research Program
The first stage is measurement, and it is cheap. We regenerate a PTD-scale pool using PTD's template, Stable Diffusion and 50 steps. At every step we log $\hat{x}_{0,t}$ and compute each of PTD's three filter scores on it, along with the safety-checker output. For each filter we trace how well the step-$t$ score predicts the final accept or reject decision. We summarize this as a "commitment step": the earliest $t$ at which ranking accuracy reaches a fixed level. We analyze these curves per texture class, since amorphous classes like "blotchy" or "veined" may commit later than regular ones like "chequered". We also vary classifier-free guidance strength and the choice between deterministic and stochastic samplers, the two conditions the Early Semantic Commitment study left out.
The second stage builds the abort rule. The simplest rule uses the same three filters on $\hat{x}_{0,t}$ with thresholds recalibrated per step on a held-out pool, and it needs no training. A second rule is a small learned probe in the spirit of HEaD+, which predicts the final verdict from $\hat{x}_{0,t}$ and the latent. We expect the simple rule to do most of the work; the probe is there to show whether learning adds anything. The third stage asks whether early curation changes the data. We compare class balance, KID against the post-hoc corpus, and downstream classifier quality, which is the evaluation PTD never ran.
Baselines
The do-nothing reference is uncurated generation: every candidate is run to completion and kept. It shows whether curation matters downstream at all. If it does not, the whole exercise is moot for training, though not for dataset quality.
The main baseline is PTD's post-hoc pipeline, run on the same prompts, seeds, sampler and GPU type, at 50 steps, with its three filters. PTD reports 246,285 final images and a 3.4% human-rated quality gain over raw generations. The file contains no reported downstream accuracy for training on PTD, so we will produce one. The early-abort method beats this baseline if it produces a corpus whose DTD classifier accuracy falls within seed variance of post-hoc curation, while spending measurably less GPU time per accepted image.
The fewer-steps baseline runs the post-hoc pipeline with a faster sampler at reduced step counts. ACDMSR shows that a second-order ODE solver reaches perceptual convergence in 40 steps where SR3 used 1,000, so this is the obvious competitor. We match it on total GPU hours.
The strongest existing early-abort method is a HEaD+-style learned predictor. HEaD+ reports up to 32% time savings on multi-object prompts. We retrain it to predict texture filter outcomes, without the cross-attention input it relies on, using the same training budget as our probe.
Two ablations isolate the key ingredient. In the first, random abort removes the same number of trajectories at the same step without regard to their scores; it tests whether our selection matters beyond spending less. In the second, the filters are applied to the noisy latent instead of $\hat{x}_{0,t}$; it tests whether the clean-image estimate, the amplifier identified by Early Semantic Commitment, is what makes early decisions possible.
Why not just…?
Why not just use fewer sampling steps? Fewer steps cut the cost of every sample, accepted or rejected. Early abort cuts only the cost of rejects. The two are complementary, and the fewer-steps baseline could well match or beat early abort when the rejection rate $r$ is low. We therefore report both alone and combined at matched GPU hours. If step reduction alone matches the combination, we will say so and treat abort as useful only in high-rejection regimes.
Why not just improve the prompts so fewer images are rejected? If better prompts drive $r$ toward zero, $S$ vanishes. This is a real threat. PTD already invested in prompt engineering and still needed three filters, and its safety-checker results, with "paisley" flagged almost every time, show that some failures do not come from prompts. We measure $r$ per class after prompt tuning and report savings as a function of $r$.
Why not just generate at low resolution and filter there? Low-resolution previews are cheap, but the filters measure high-frequency content and patch variance, which change with resolution. A low-resolution preview is also a different sample, not an early view of the same trajectory. We include a low-resolution-preview baseline and measure how well its verdicts agree with full-resolution post-hoc verdicts.
Proposed Experiments
The decisive check is the commitment curve. For each of PTD's filters, at what fraction of the 50 steps does the score on $\hat{x}_{0,t}$ predict the final verdict at a fixed level, say area under the ROC curve of 0.95? We predict this happens by step 15 for the object-likeness and CLIP filters. We expect the patch-variance filter to commit later, and the hypothesis is falsified if it does not commit before step 35.
The second check is downstream. We train ResNet-50 classifiers on early-curated, post-hoc-curated and uncurated synthetic sets at matched GPU hours, then fine-tune and test on DTD and test transfer to FMD and KTH-TIPS-2b. The real-data reference from Describing Textures in the Wild is 64.5% mean average precision on DTD with improved Fisher vectors.
We report GPU hours per accepted image, the false-abort rate by class, and KID between corpora. The result counts as a success only if savings approach the bound $r(1-k/T)$ while downstream accuracy and class balance stay within seed variance of the post-hoc corpus.
References
- On Synthetic Texture Datasets: Challenges, Creation, and Curation
- Hallucination Early Detection in Diffusion Models
- Early Semantic Commitment in Diffusion Sampling
- Diffusion Rejection Sampling
- Difficulty Controlled Diffusion Model for Synthesizing Effective Training Data
- ACDMSR: Accelerated Conditional Diffusion Models for Single Image Super-Resolution
- Describing Textures in the Wild