TL;DR
Image-generating models (like diffusion and flow matching) waste precious compute sculpting fine visual details and ultra-smooth gradients that the human eye literally cannot see. CSFlow connects the biology of human vision directly to the math of generative denoising, reallocating compute to the exact moments a model generates the spatial frequencies our eyes are most sensitive to. Best of all, it works as a drop-in upgrade—even purely at inference time without retraining—making generated images look noticeably less "cartoonish" and much more realistic.
What Problem Does This Paper Address?
When diffusion or flow matching models turn static noise into an image, they don't build everything at once. Because real-world images pack most of their energy into broad, low-frequency shapes (following a mathematical power law) while Gaussian noise spreads its energy evenly across all frequencies, denoising naturally happens coarse-to-fine. Big shapes emerge from the fog early on; crisp, high-frequency textures only resolve at the very end.
Meanwhile, millions of years of evolution have tuned the human eye to be a picky observer. According to the Contrast Sensitivity Function (CSF)—an established model of human vision—we are eagle-eyed when it comes to intermediate spatial frequencies, yet remarkably blind to very smooth gradients (ultra-low frequencies) and microscopic textures (ultra-high frequencies) unless the contrast is cranked way up.
Standard generative models don't know this. Given a fixed budget of neural network capacity and inference steps, they treat invisible cleanup work with the same urgency as the mid-range frequencies where human eyes immediately spot fake, "AI-looking" textures. Prior methods tried to tweak step schedules for training stability or via rough heuristics, but no one had mathematically wired the human eye's sensitivity curve directly into the denoising clock.
Methods
The authors introduce Contrast Sensitive Flow (CSFlow) through three neat, sequential steps:
- Tracking frequency birthrates: First, they derive a novel closed-form metric, $r_{\text{signal}}(f, t)$—essentially a normalized signal-to-noise ratio bounded between 0 and 1—that measures how much of a spatial frequency $f$ is recoverable at time $t$. By taking its derivative over time ($\partial_t r_{\text{signal}}$), they isolate the exact band of frequencies actively being generated during any tiny interval of the reverse flow.
- Weighting by human biology: Next, they convert digital image frequencies (cycles per pixel) into biological ones (cycles per degree of visual angle, assuming a standard screen size and a 50 cm viewing distance). They multiply the newly generated frequencies at each timestep by Barten's human Contrast Sensitivity Function, yielding a normalized importance curve, $w_{\text{CSFlow}}(t)$, across the entire denoising timeline.
- Drop-in deployment: Because $w_{\text{CSFlow}}(t)$ integrates to 1, it acts as a probability density function. By inverting its cumulative distribution (CDF), the authors apply it in two zero-architecture-change ways:
- At inference: Warping the ODE solver's step grid so the model takes smaller, more accurate steps during perceptually crucial early-to-middle stages, and larger leaps through invisible late-stage noise cleanup.
- During fine-tuning: Sampling training timesteps $t$ proportionally to $w_{\text{CSFlow}}(t)$ (or linearly interpolating with baseline schedules via a parameter $\alpha$) to focus model capacity where humans actually look.
Datasets
No new datasets are introduced. Instead, the authors use existing datasets both to compute average natural-image power spectra ($S_f$) for their closed-form weights and to fine-tune/evaluate models:
- ImageNet ($256 \times 256$): Used for spectral statistics, short fine-tuning, and class-to-image evaluation (FID and Inception Score).
- BLIP3o-60k: A high-quality $512 \times 512$ instruction-tuning dataset used to compute spectral statistics and fine-tune text-to-image models.
- GenEval: An object-focused benchmark suite used to evaluate text-to-image alignment and quality.
Key Insights and Ideas
- Denoising has a closed-form spectral clock: We already knew diffusion builds images coarse-to-fine, but $\partial_t r_{\text{signal}}(f, t)$ gives us an exact, analytical map of which frequencies crystallize at which timestep $t$—requiring nothing more than the dataset's average power spectrum and the noise schedule.
- Fixing "AI smoothness" without touching the loss: Baseline models often produce oversmoothed, plasticky, or cartoonish surfaces. Simply shifting compute toward CSF-sensitive mid-frequencies cuts log-space power spectrum errors by 33% to 51% in those mid-bands (compared to just 1%–6% at the extremes), restoring natural, lifelike textures.
- Free lunches at inference time: Just redistributing existing ODE solver steps at inference—zero retraining—allowed a smaller model (JiT-H/16) to beat its giant sibling (JiT-G/16, which has over 1 billion more parameters) in both FID and Inception Score.
Key Results
Tested across state-of-the-art pixel-space flow matching models (PixelGen, PixelREPA, and JiT):
- Quantitative boosts: Across inference-only and short fine-tuning setups, CSFlow lowers FID by up to 12.15% (improving PixelREPA-H from 1.81 down to 1.59 on ImageNet), boosts Inception Score by up to 3.2%, and improves GenEval text-to-image scores by up to 3.0% (pushing PixelGen-XXL from 0.789 to 0.813).
- Human preference: In a two-stage, blind forced-choice study (393 comparisons across 49 participants, after filtering out obvious anatomical glitches), humans preferred CSFlow images over the baseline 65% of the time, with nearly 70% of participants favoring CSFlow in the majority of pairs they judged.
Limitations and Future Work
- Pixel-space only (for now): CSFlow's math relies on noise being added directly to pixels so spatial frequencies map cleanly to human vision. In latent diffusion models (like Stable Diffusion), VAE encoders scramble spatial frequencies in nonlinear ways. Mapping image frequencies into VAE latent spaces is highlighted as a prime next step.
- Viewing assumptions: Converting pixels to visual angles requires assuming a typical pixel size (0.0114 cm) and viewing distance (50 cm). Extreme setups—like a VR headset or a billboard—would technically need recalibrated weights.
- Textures, not anatomy: While CSFlow makes surfaces, lighting, and textures look remarkably real, it doesn't change the rate of large geometric hallucinations (like missing legs on animals), proving those structural errors stem from something deeper than timestep scheduling.
Summary updated