Skip to content

Random noise augmentation during diffusion training eliminates the need for CFG

Ostris (an open-source diffusion-tooling developer) reports an empirical recipe: fine-tuning Z-Image with a per-sample random augmentation of the training noise — small additive offset plus a log-normal scale, applied per channel — produces a model that no longer needs Classifier-Free Guidance at inference and avoids the oversaturated “AI look” that CFG induces. The claim is causal: CFG is a patch for a training-time miscalibration (the model has only ever seen perfectly normalized noise and so cannot self-correct small errors at each step), and noise augmentation directly cures that miscalibration. Demonstrated as a LoRA on Z-Image trained at batch size 2 for 3,000 steps; a longer fine-tune is planned.

  • Training on strictly N(0, I) noise teaches the model that each step’s input has a perfectly normalized error relative to the previous step, so the model never learns to correct off-distribution inputs and compounds errors during sampling [tweet body].
  • CFG is therefore best understood as a runtime patch for this training miscalibration — a two-pass amplification of the model’s correction signal — and it overcorrects, producing the saturated, contrasty “AI look” [tweet body].
  • A balanced random augmentation of the training noise teaches the model to recover from off-distribution states, removing the need for CFG and reportedly improving image quality at the same time [tweet body].
  • The exact augmentation reported is per-channel additive ± 0.2 followed by a per-channel log-normal multiplicative factor: noise = (noise + (torch.rand(b, c, 1, 1) * 0.4 - 0.2)) * torch.exp(torch.randn(b, c, 1, 1)) [Slack note; tweet body].
  • The behaviour can be installed into an existing checkpoint via short LoRA fine-tuning — samples come from a LoRA on Z-Image trained at batch size 2 for 3,000 steps [tweet body].

The recipe modifies only the noising step of an otherwise standard diffusion / flow-matching training loop. For each sample, instead of drawing the noise tensor ε ~ N(0, I) and using it directly, draw two per-channel scalars: an additive offset a_c ~ U(-0.2, 0.2) and a multiplicative log-normal s_c = exp(η_c) with η_c ~ N(0, 1). Form the augmented noise as ε' = (ε + a_c) * s_c, broadcast over spatial dimensions. Train as usual against ε'.

The mental model: at inference the partially-denoised state x_t produced by step t-1 will in general not be exactly x_clean + N(0, σ_t² I) — small prediction errors mean the effective noise has slightly different mean and variance than the model was trained on. By exposing the model to a distribution of noise statistics during training, it learns a denoising function that is robust to those statistics, so it can correct rather than compound step-to-step errors.

The demonstration is a LoRA fine-tune on Z-Image (an open T2I diffusion model), batch size 2, 3,000 optimizer steps, with no other change to the training pipeline. A longer fine-tune was announced.

No quantitative metrics yet — the artifact is a single tweet with sample images and the empirical claim that the resulting model produces better-looking outputs without CFG. The headline qualitative result is the absence of the “AI look” (oversaturation, over-contrast) that CFG sampling typically introduces, while preserving prompt adherence. A longer fine-tune over a weekend is planned and likely to follow up.

This is an unusually clean diagnosis of why CFG works and what it costs, framed as a training-time fix rather than a sampler trick. If the claim holds at scale it lines up with the same direction as SoFlow: Solution Flow Models for One-Step Generative Modeling (SoFlow, which folds CFG into the training objective for one-step generation) — both argue that CFG’s job belongs inside training, not at inference. For Luma the practical upside is large: dropping CFG halves per-step compute (one model pass instead of two) and removes the guidance-scale knob that complicates distillation, few-step sampling, and end-to-end finetuning. The recipe is also trivially ablatable — a one-line change in the noise sampler — and applicable to any existing checkpoint via LoRA. Worth a controlled internal reproduction on a real text-to-image or text-to-video stack before trusting the qualitative claim.