Easing Training Process of Rectified Flow Models Via Lengthening Inter-Path Distance
Xu Shifeng Yanzhu Liu Adams Wai-Kin Kong
Recent research pinpoints that different diffusion methods and architectures 
trained on the same dataset produce similar results for the same input noise. 
This property suggests that they have some preferable noises for a given sample. 
By visualizing the noise-sample pairs of rectified flow models and stable diffusion models in two-dimensional spaces, 
we observe that the preferable paths, connecting preferable noises to the corresponding samples, 
are better organized with significant fewer crossings comparing with 
the random paths, connecting random noises to training samples. 
In high-dimensional space, paths rarely intersect. 
The path crossings in two-dimensional spaces indicate the shorter inter-path distance 
in the corresponding high-dimensional spaces. 
Inspired by this observation, we propose the Distance-Aware Noise-Sample Matching (DANSM) method 
to lengthen the inter-path distance for speeding up the model training. 
DANSM is derived from rectified flow models, which allow using a closed-form formula to calculate the inter-path distance. 
To further simplify the optimization, we derive the relationship between inter-path distance and path length, 
and use the latter in the optimization surrogate. 
DANSM is evaluated on both image and latent spaces by rectified flow models and diffusion models. 
The experimental results show that DANSM can significantly improve the training speed by 30\% $\sim$ 40\%
without sacrificing the generation quality.
Rectified Flow Models, Training, Easing, Distance-Aware Noise-Sample Matching, DANSM
easing the training process of rectified flow models by better noise-sample pairs in each training epoch