Enhancing Diffusion-Based Quantitatively Controllable Image Generation via Matrix-Form EDM and Adaptive Vicinal Training

Xin Ding, Yun Chen, Sen Zhang, Kao Zhang, Nenglun Chen, Peibei Cao, Yongwei Wang, Fei WuarXiv 2026

TL;DR

The authors introduce iCCDM (improved Continuous Conditional Diffusion Model), a framework that adapts the advanced Elucidated Diffusion Model (EDM) to handle continuous regression labels (like ages or angles). By introducing a novel matrix-form noise formulation and an adaptive vicinal training strategy, iCCDM achieves state-of-the-art generation quality and a $4\times$ sampling speedup over previous continuous diffusion models, outperforming even massive text-to-image models like FLUX.1 and Stable Diffusion 3 in precise quantitative control.

What Problem Does This Paper Address?

While text-to-image diffusion models have taken the world by storm, they stumble when tasked with Continuous Conditional Generative Modeling (CCGM). CCGM requires generating images based on precise, continuous scalar variables—such as exact camera angles, human ages, or steering angles for autonomous driving.

Standard text-to-image models rely on text prompts (e.g., "a chair rotated at 35.9 degrees"), which lack the fine-grained numerical precision needed for engineering inverse design or scientific modeling. Previous attempts to build dedicated continuous diffusion models, like the original CCDM, suffered from three major flaws:

  1. Label Inconsistency: Generated images often failed to accurately reflect the target scalar condition on complex datasets.
  2. Low Efficiency: They relied on older DDPM architectures requiring long sampling trajectories (over 150 steps).
  3. High Memory Overhead: They used massive Multi-Layer Perceptron (MLP) networks to embed the continuous labels, leading to high GPU memory consumption.

Methods

To solve these limitations, the authors upgraded the underlying architecture from DDPM to the more modern Elucidated Diffusion Model (EDM) framework and introduced several key innovations:

  • Matrix-Form EDM Formulation: Instead of a standard condition-agnostic noise schedule, iCCDM injects condition-specific noise. The authors define a time- and condition-dependent noise covariance matrix $\Sigma(t, y)$ and derive the corresponding matrix-form forward/reverse Stochastic Differential Equations (SDEs) and Probability Flow ODEs.
  • Condition Weighting Coefficient ($\lambda_y$): A non-negative hyperparameter introduced to flexibly tune how strongly the continuous condition influences the diffusion process across different datasets.
  • Hard Adaptive Vicinity (Hard AV) Training: Regression datasets are notoriously sparse (often containing few or zero samples for a specific exact scalar value). Hard AV dynamically adjusts the label "vicinity" radius based on local sample density, allowing the model to effectively share data across nearby labels during training without losing precision.
  • Lightweight CNN Embedding: The heavyweight MLP covariance embedding network from CCDM was replaced with a compact 5-layer Convolutional Neural Network (CNN), drastically reducing parameter counts and memory usage.
  • Backbone Scaling: The model utilizes a standard UNet for lower resolutions ($64\times64$) and scales up to a Vision Transformer-based Diffusion Transformer (DiT) backbone for high-resolution ($256\times256$) tasks.

Datasets

The model was evaluated across four diverse benchmark datasets spanning multiple resolutions:

  • RC-49 ($64\times64$): 44,051 images of chairs annotated with continuous yaw angles from $0.1^\circ$ to $89.9^\circ$.
  • UTKFace ($64\times64$ to $256\times256$): 14,760 face images labeled by age ranging from 1 to 60 years.
  • Steering Angle ($64\times64$ to $256\times256$): 12,271 autonomous driving road scenes labeled with continuous steering angles from $-80^\circ$ to $80^\circ$.
  • Cell-200 ($64\times64$): 200,000 synthetic microscopy images depicting cell counts ranging from 1 to 200.

Key Insights and Ideas

  • Text Prompts are Poor Proxies for Math: Massive state-of-the-art text-to-image models (like FLUX.1 and Stable Diffusion 3) completely fail at precise geometric rotations on simple datasets like RC-49, despite their billions of parameters.
  • Condition-Specific Noise Schedules Matter: Explicitly tying the noise schedule to the continuous label via a matrix formulation provides the network with a much stronger gradient signal for quantitative accuracy.
  • SDE Solvers Win Over ODEs: Contrasting with standard EDM findings where deterministic ODE solvers are preferred, this matrix-form continuous setup benefits more from stochastic SDE solvers, achieving optimal results in just 32 steps.

Key Results

The performance was primarily measured using Sliding Fréchet Inception Distance (SFID), which evaluates image quality across continuous evaluation windows.

Fig. 1: Comparison of Sliding FID versus Sampling Speed Across Three Model Families on the Steering Angle Dataset (64 × 64). The size of each scatter point represents GPU memory usage during sampling. Arrows (↓or ↑) indicate whether lower or higher values are preferred. Text-to-image diffusion models are fine-tuned from officially released checkpoints using either full fine-tuning or LoRA [22], while all other methods are trained from scratch.
  • Speed and Memory: As shown in Figure 1, iCCDM (ours) achieves the lowest Sliding FID on the Steering Angle dataset while running $4\times$ faster than the original CCDM (12.82 vs 3.33 images/sec) and maintaining a low memory footprint (~2.5 GiB).
  • Quantitative Superiority: iCCDM outperformed prior diffusion models and GANs in 8 out of 9 experimental settings. For instance, on Steering Angle ($256\times256$), iCCDM achieved an SFID of 0.582, significantly beating CCDM (0.902) and the state-of-the-art GAN baseline CcGAN-AVAR (0.683).
Fig. 2: An Illustrative Example Highlighting the Superiority of iCCDM over State-of-the-Art Text-to-Image Models for Rotation- Angle Conditioning on RC-49.
  • Qualitative Precision: As illustrated in Figure 2, when conditioned on exact angles like $0.1^\circ$ or $89.9^\circ$, iCCDM generates highly realistic, perfectly oriented chairs, whereas SD 3 Medium and FLUX.1 suffer from severe mode collapse or completely ignore the requested angle.

Limitations and Future Work

  • Dataset Dependency: The optimal value for the conditioning weight $\lambda_y$ varies depending on the dataset characteristics and requires manual tuning during the experimental setup.
  • Anomalous Cases: On the synthetic Cell-200 dataset, the older CCDM achieved a slightly better SFID score than iCCDM, even though iCCDM demonstrated superior visual quality metrics (NIQE).
  • Future Directions: The authors suggest that future work could explore extending this matrix-form framework to multi-dimensional continuous conditions (e.g., controlling age, angle, and lighting simultaneously).

Summary updated

BibTeX
@misc{ding2026enhancing,
  author = {Xin Ding and Yun Chen and Sen Zhang and Kao Zhang and Nenglun Chen and Peibei Cao and Yongwei Wang and Fei Wu},
  title = {{Enhancing Diffusion-Based Quantitatively Controllable Image Generation via Matrix-Form EDM and Adaptive Vicinal Training}},
  year = {2026},
  eprint = {2602.02114},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.02114},
}
Figure