Immiscible Diffusion: Accelerating Diffusion Training with Noise Assignment

In this paper, we point out that suboptimal noise-data mapping leads to slow training of diffusion models. During diffusion training, current methods diffuse each image across the entire noise space, resulting in a mixture of all images at every point in the noise layer. We emphasize that this random mixture of noise-data mapping complicates the optimization of the denoising function in diffusion models. Drawing inspiration from the immiscibility phenomenon in physics, we propose Immiscible Diffusion, a simple and effective method to improve the random mixture of noise-data mapping. In physics, miscibility can vary according to various intermolecular forces. Thus, immiscibility means that the mixing of molecular sources is distinguishable. Inspired by this concept, we propose an assignment-then-diffusion training strategy to achieve Immiscible Diffusion. As one example, prior to diffusing the image data into noise, we assign diffusion target noise for the image data by minimizing the total image-noise pair distance in a mini-batch. The assignment functions analogously to external forces to expel the diffuse-able areas of images, thus mitigating the inherent difficulties in diffusion training. Our approach is remarkably simple, requiring only one line of code to restrict the diffuse-able area for each image while preserving the Gaussian distribution of noise. In this way, each image is preferably projected to nearby noise. Experiments demonstrate that our method can achieve up to 3x faster training for unconditional Consistency Models on the CIFAR dataset, as well as for DDIM and Stable Diffusion on CelebA and ImageNet dataset, and in class-conditional training and fine-tuning. In addition, we conducted a thorough analysis that sheds light on how it improves diffusion training speed while improving fidelity. The code is available at https://yhli123.github.io/immiscible-diffusion

Paper

References (48)

Scroll for more · 36 remaining

Similar papers

Peer review

Reviewer Da242/10 · confidence 5/52024-07-06

Summary

During training of Diffusion Models, images are corrupted with standard Gaussian noise and the Diffusion Model is tasked to denoise the corrupted images. The Gaussian noise used during training is often sampled independently of the clean image. This submission presents the following "Immiscible Diffusion" method: within each mini-batch, we should reassign the pairs of images and noise samples, so that each image is corrupted with a ‘closer’ noise sample. The submission claims "Immiscible Diffusion" is faster to train to reach the same FID threshold, with quantitative evaluation, and "can catch more details and more feature of objects" with some cherry-picked qualitative results.

Strengths

**S1/** The metaphor of “immiscible fluids” is creative. **S2/** The described method is simple. **S3/** L489: The authors say they will publish their code (although the paper claims it is only one line)

Weaknesses

The main weaknesses and reasons to reject the paper are the following: **W1/** The notations and mathematical derivations are imprecise, unnecessarily complex, and potentially incorrect. **W2/** Similar methods have already been presented in previous literature. The submission does not discuss these existing works, nor compare with them. **W3/** The presentation, including the figures quality and writing, needs to be improved. **W4/** The presented results are not convincing. **More details:** **W1/ The notations and mathematical derivations are imprecise, unnecessarily complex, and potentially incorrect.** * The Equations in the Section 3.3 are very hard to understand, and I am not sure they are necessary as they make understanding more difficult. The section could simply be rephrased as follows without the need to introduce complex and potentially incorrect equations: When the noise samples and data points are sampled independently, the optimal (in MSE sense) denoising prediction from a completely noisy observation is the mean of the data distribution. If we additionally know that data points are only corrupted with "close" noise, then the optimal denoising prediction from a completely noisy observation is, intuitively, the average of only "close" data points, which can allow to converge faster to a data point at generation time. * The notation "When $t → \infty $, $p(x_t|x_0) = N(0, I)$" in Equation 1 is not precise (equality? convergence?). * ​​L155 states that Equation 2 indicates "the distributions of the denoised images for any noise data-point are the same, which is equal to the distribution of the image data", but Equation 2 does not contain any "denoised images", only clean images $x_0$ and their corrupted versions $x_t$. * In Equation 3, the formulas for $a$ and for $b$ are inverted. Also the "minus" sign should be in front of $a$ and not $b$. The equation further does not really make sense according to the paper’s notations, since "p(x_0|x_t) = p(x_0)" only “when $t → \infty$”. It is not mathematically correct to replace only a few terms of an equation by their limit, but keeping dependencies in $t$ for other terms. $a$ and $b$ are said to be constant, but their formula clearly shows they depend on $t$ (or are $a$ and $b$ the limits “when $t → \infty$”). * L158 states that the average of a large number of images is a solid color. This is incorrect, see for instance Figure 1 in **[1]**. * In Equation 5, the notation ${\{ \}}_{\textnormal{batch}}$ is not introduced and it is not clear. It seems to contradict equation 6. * Equation 7 is not justified. Why would $f$ only depend on the difference between $x_t$ and $x_0$? **References:** **[1]** Torralba, Antonio, and Aude Oliva. "Statistics of natural image categories." Network: computation in neural systems 14.3 (2003): 391. **W2/ Similar methods have already been presented in previous literature. The submission does not discuss these existing works, nor compare with them.** * The notions of “coupling” and “optimal transport” between data points and noise samples have already been presented in the previous literature. See for instance **[2]** and **[3]**. * To understand the significance of this submission, it would be necessary to discuss these similar works and highlight the differences if any, and compare with such methods if possible. * As such, I do not see any novelty in this work (If I miss any, the authors fail to highlight the difference by discussing related work). **References:** **[2]** Tong, Alexander, et al. "Improving and generalizing flow-based generative models with minibatch optimal transport." arXiv Feb 2023 + TMLR + ICML Workshop **[3]** Pooladian, Aram-Alexandre, et al. "Multisample flow matching: Straightening flows with minibatch couplings." arXiv April 2023 + ICML **W3/ The presentation, including the figures quality and writing, needs to be improved.** * The parallel with “Immiscible Fluids” does not bring a better understanding of the method, no physics equations are given. What should we understand from Figure 2a? Even if this is schematic, where would the noise and data distribution be in this image? * The quality of Figure 3 is very bad. The images for predicted noise are completely saturated. * The authors fail to show any ablation on the “quantization method” they claim. It is not clear if this is really necessary and the choices of fp8 and fp16 appear rather arbitrary. * Many sentences do not make sense to me * L163: “T=20 means the layer of pure noise” * L160: what are “rich image classes”? * L162: “the predicted noises of different layers” * Many typos: * L89 “its” for diffusion models * text written in math font in equations * L422: “our method accelerate” * L471: “our immsicible diffusion work” (2 typos) * Caption Figure 5: “can catch more details and more feature” * Several incoherences: * L93: DDIM is 10 steps. <-> the authors experiment with DDIM but never take less than 20 steps. * linear_sum_assignment from Scipy (algorithm 1) <-> Hungarian matching (text) * Some generated images in Figures 8 and 9 are completely black. **W4/ The presented results are not convincing.** * All qualitative results presented in the main submission are cherry picked. The only non cherry picked results are shown in the appendix and the generated images, and the qualitative results seem very similar to me (no significant qualitative improvement). * The quantitative results are difficult to trust. There seems to be incoherences between the results: * The “-0.98” in the third row of Table 5 is not coherent with the two first rows. * The plots have different scales and are not clear (why does the plot for imagenet in Figure 4 starts at 20k steps and not 0?) * The quantitative results mix consistency models and diffusion models in an unorganized way (eg, the columns of table 1 alternate between them), making it difficult to understand the results. * It is not clear why some datasets use the diffusion approach and some use the consistency approach. Did the authors experiment with both for each dataset and only report the best results? * The datasets and evaluation settings are not clearly presented. How many images are there in each dataset? Was the dataset split into training, validation and test sets? Are the reported FID scores computed on training, validation or test set? The number of sampling steps is not reported for all experiments (eg table 2). Only part of the quantitative results are shown (thus potentially cherry picked too, eg not quantitative results for Stable Diffusion) ---- **Changes following the rebuttal and authors-reviewers discussion:** **Reduced soundness from 2 to 1**: The scope of the paper has been significantly expanded with the rebuttal (conditional generation, flipped dimension OT, decreased noise levels). Some arguments in the paper do not hold anymore (eg, average of all images). Revised mathematical proof remains imprecise and incorrect. **Reduced contribution from 2 to 1**: Discussions following the rebuttal made me dive more deeply in the Conditional Flow Matching paper (https://arxiv.org/abs/2302.00482). Most, if not all, findings of the reviewed submission seem to be already known and analyzed more deeply in the Conditional Flow Matching paper, which additionally uses Flow Matching formalism (generalization of diffusion to more prior distributions than Gaussian Noise) and contains sound proofs. I do not see any new meaningful contribution for the Neurips community in the reviewed submission. **W1** The authors did not address this concern correctly. To expand on the fact math assumption (Equation 7) is incorrect, suppose the target distribution is $P(x_0=0.1) = P(x_0=-0.1) = 0.5$. As $t \rightarrow +\infty$, it is clear that, if the batch size is large, $p(x_t|x_0=0.1)$ is approximately $2 \times N(x_t; 0, 1)$ if $x_t>0$ and approximately 0 if $x_t <0$. This is clearly not in the form of Equation 7. The ratio also does not decrease with the norm of $x_t – x_0$, as $p(x_t=-0.1|x_0=0.1) \approx 0$ while $p(x_t=1.1|x_0=0.1) \approx 0.4$. **W2** The authors did not address this concern correctly. They included new experiments to claim their method does not fit into “Conditional Flow Matching”, but it seems that it still does (Conditional Flow Matching also seems to allow to choose the coupling via the joint distribution $q(x_0, x_1)$). **W3** The authors did not address this concern. The quality of Figure 3 is extremely low (all images are either extremely blurry or extremely saturated. It is possible the authors forgot something (dividing by 255?) when saving the images of the predicted noise, and that they upscaled the other images with interpolation or something). The authors did not comment on the incoherences/typos/sentences that need clarifications. The parallel with physics appears decorative without supporting physics equations. **W4** is not addressed correctly. Qualitative results show marginal improvement on cherry picked results only. Quantitative results are presented weirdly (eg, axes of the plot) with incoherences. **W5** The new experiments introduced in the rebuttal significantly extend beyond the original scope of the paper (e.g., introducing OT with flipped dimensions, decreasing noise levels, and including conditional generation). Arguments made in the paper do not hold in this expanded scope. For instance, the paper's claim that the initial denoising direction points to the average of all images, and is thus not meaningful. This is not true in the conditional generation case, as the initial denoising direction points to the average of images of the desired class. Additionally, the authors seem to say that in immiscible diffusion, any noise sample can still lead to any class (so, is it miscible?), which needs to be discussed/explained/investigated more. **Reduced overall rating from 3 to 2** Due to the (important) remaining concerns, the extent of the changes proposed in the rebuttal and discussion (would need additional reviews after changes are made), as well as the conflicts of the proposed changes with arguments contained in the original submission. **Increased confidence from 3 to 5** I participated in the discussion and dived deeper into the CFM paper (which I was initially not very familiar with). I am certain about the need to reject the paper in its current state, with the possibility for the authors to address these issues in a future submission. ----

Questions

Here are my suggestions for this submission: **Q1/** Discussion and comparison of related works. By not discussing the related works, it is not possible for me to see the novelty in this submission, given that similar methods have been presented in existing literature. (see also **W2**) **Q2/** The presentation quality (figures, clarity) and mathematical explanations should be improved (see also **W1**, **W3** and **W4**). **Q3/** All qualitative and quantitative results need to be shown clearly, without mistake or cherry picking (see **W4**).

Rating

2

Confidence

5

Soundness

1

Presentation

1

Contribution

1

Limitations

**L1/** The authors apply some matching within each mini-batch. So there is now a dependence on batch size, it is not sure the method would work with other batch sizes. For instance on GPU with little memory and batch size of 1, the method actually doesn’t change training at all compared to normal diffusion. **L2/** Some theoretical results on diffusion may not hold anymore, e.g. that the ideal predicted denoising direction corresponds to the score (gradient of log likelihood) of the distribution of noisy data. **L3/** The method only works for unconditional generation, which is a severe limitation. (EDIT: the rebuttal contains 1 experiment on conditional generation, but discussion is missing (how come noising is immiscible but denoising is not [noise samples can still lead to any class]?) and arguments like “the average of images does not contain much meaningful information” do not hold anymore.) **L4/** Like any generative model, this work could be unethically used. It is crucial for researchers to consider designing safeguards to ensure the model can ignore inappropriate requests (eg, training or fine-tuning your Immiscible Diffusion model on inappropriate images). Can you provide a small discussion on existing safeguards and how follow-up work can address potential misuse of your method? **L5/** The authors did not communicate the details (incl. license and terms of use) of the datasets or the models that they used via structured templates. The checklist incorrectly answered “NA” for “12. Licenses for existing assets”

Reviewer y1v36/10 · confidence 5/52024-07-06

Summary

This paper is motivated by the miscible phenomenon of physics and transfers it into the diffusion training process, which is very interesting. The author proposes a noise-assigned strategy based on distance, which is simple but powerful for faster diffusion model training. The experiment and the theoretical analysis validate the core idea of the paper and show good results.

Strengths

1. The author provides a faster diffusion model training strategy while maintaining the generation quality. 2. The motivation is novel and interesting with good writing. 3. The experiments show the robustness and university of the proposed method and the efficiency of the projected module.

Weaknesses

1. In my view, grouping the proposed noise assignment method is similar to fixing and memorizing the relationship with noise and corresponding image, limiting the generation diversity of the diffusion model. However, the experiment shows that the FID could further be reduced, Hoping that the author can explain this phenomenon. 2. As shown in the experiment, the noise distance change is only 2%, why such a minimal change could bring remarkable training speed up? The author should do a theory analysis in depth. 3. To validate my concern, please provide two experiments i) providing the result generated by a noise and its minimal change variant (only 10 pixel value changes, etc). ii) providing the result generated by a certain noise with different seeds. 4. I’m curious about the scaling law phenomenon. As shown in stable diffusion, training the diffusion model with large image data could bring surprising topological ability. However, the way the author trains the diffusion model, the noise seems to connect with certain images (same class, etc.) which will limit the generation diversity for more data. I know this experiment requires more computational resources, the author could only provide the theory analysis of the scaling law ability of the proposed method.

Questions

See the weakness.

Rating

6

Confidence

5

Soundness

3

Presentation

3

Contribution

3

Limitations

Yes.

Reviewer nEkA5/10 · confidence 3/52024-07-06

Summary

The authors propose an approach to mitigate the random correspondence of noise-data mapping in vanilla diffusion models. They first assign target noise by minimizing the total image-noise pair distance within a mini-batch, and then diffuse the data into noise. Experimental results seem to demonstrate the potential of this approach. However, some of the arguments are mathematically sloppy and not well testified.

Strengths

The approach sounds novel and interesting. Also the implementation seems simple.

Weaknesses

1. The way of presentation is not reader friendly. I suggest to review DDIM and define its notations first, explain your motivation from DDIM, and show your algorithm/solution. 2. No strong evidence showing your claim that vanilla diffusion models are miscible. Any toy examples to support it? 3. The argument from L155-L161 is sloppy and hard to understand the argument. For instance, Eq. (2) holds in what sense (density? certain divergence?). Indeed, I believe it will not hold for most diffusion models. 4. More justification and rationale is needed to the assumption Eq. (7). Do authors suppose that should hold for all $t$? If so, I do not think it is a correct assumption.

Questions

1. Is the proposed method, which does in-batch reassignment, sensitive to batch size? 2. Is the proposed algorithm applied to all $t_b$? In theory, all the arguments that authors make may only hold for large timesteps. Thus, the proposed method should work effectively even if it is applied to large diffusion time. It will be nice to see experimental results related to this. 3. Does the proposed method work effectively with fine-tuning? 4. Even though authors propose to quantize to avoid computation bottleneck, by how much the batch-wise image-noise assignment increases the runtime of training?

Rating

5

Confidence

3

Soundness

2

Presentation

2

Contribution

3

Limitations

Yes, authors have discussed potential limitations.

Area Chair 3UKY2024-08-11

Reviewer `nEkA`: It is only one day away, please provide your feedback to the authors' rebuttal. AC

Reviewer nEkA2024-08-12

Thanks for the replies

I appreciate the reviewers' clarification and have decided to increase my score.

Authorsrebuttal2024-08-13

Thanks for the Response

We sincerely appreciate the reviewer's acknowledgement on our response, and we are grateful for all the time and efforts provided by the reviewer.

Reviewer h6mk6/10 · confidence 4/52024-07-12

Summary

This paper shows that the current diffusion training strategy diffuses each image into the entire noise space, making it difficult to optimize the model and thus slow to converge. Inspired by the fact that miscibility can be changed according to various intermolecular forces in physics, this paper proposes Immiscible Diffusion, a simple and effective method that accelerates diffusion training by pre-assigning noises in each mini-batch before standard training, which can be implemented in just one line code. This assignment operation can be accelerated by fp16/fp8, which greatly improves training efficiency while avoiding algorithm complexity and is applicable to various baselines, including Consistency models, DDIM and Stable Diffusion.

Strengths

1. This paper points out that existing diffusion training will map each image to all points in the Gaussian distribution, which means that each point can be denoised to any source image, leading to inherent difficulties in diffusion training. This is a new perspective on diffusion training acceleration, and it sounds reasonable. 2. The proposed assignment strategy is simple and effective, and one line of code achieves a significant performance improvement, without much computation complexity. 3. Immiscible Diffusion improves diffusion training speed while improving the FID metric, and it is orthogonal to existing diffusion training acceleration methods. 4. Clear and concise presentation, writing and diagrams.

Weaknesses

1. The noise assignment strategy proposed in this paper essentially introduces a priori assumption into the diffusion training process: different images should correspond to different points in the Gaussian distribution. This prior reduces the difficulty of diffusion training, but also brings concerns about practicality and generalization: - Practicality: The datasets for unconditioned generation used in this paper are all based on image classification (CIFAR/CelebA/ImagenNet), so these data distributions themselves already meet the above prior assumptions (each class is a kind of image distribution). However, for image datasets with more complex distributions, such as LAION, whether the proposed assignment strategy can still be used is an uncertain question, and this paper also lacks relevant experiments. You can demonstrate that this is not a problem by training unconditional generation experiments on a subset of LAION. - Generalization: Since images with the same data distribution are assigned to a specific noise interval during training, this may cause the model to lose the ability that denoising each point in the noise space into any source image during inference, thereby damaging the generalization of the generated images. However, the paper lacks experiments to evaluate the generalization of generated images. 2. Considering that all the unconditional generation results in the paper are trained on classification datasets, is the distribution of noise assigned by the proposed method strongly correlated with the category? Intuitively, after the proposed noise assignment, images of the same category should have closer noise in current batch.

Questions

Please refer to the Weaknesses

Rating

6

Confidence

4

Soundness

3

Presentation

4

Contribution

4

Limitations

NA

Reviewer h6mk2024-08-10

Thanks for your rebuttal, here is my reply to your rebuttal: **W1-Practicality** Your reply partially addresses my concerns about the effectiveness of this method on complex datasets (rather than simple classification distributions). However, the training data for this experiment is only 10k, and I think the data size should be at least about 10% ImageNet (the dataset used for conditional generation in the paper) to prove its effectiveness. In addition, could you provide the results of how much the improvement in FID on ImageNet is compared to the improvement on FID on LAION under the same training setting (10k data + 25k training steps)? It would be interesting to explore how much performance differences your method has on training sets with different data distributions. **W1-Generalization** The authors may have misunderstood my concerns. FID is good, but it is not an accurate measure of the quality and generalization of generated images. Lower FID does not mean your generative model is better in performance and generalization * For performance, you can also report CLIP-Score [1] and CMMD [2] for conditional generation (class name as the text prompt). * Regarding generalization, I am worried that after training with your method, the model will sample pictures with the same pattern for different random initialization noises, thereby damaging the diversity of generated images. To prove this, you can refer to this representation learning method [3] to see whether the features corresponding to the generated images of the same category are evenly distributed on the feature plane, and calculate their quantized values ​​to determine whether there is enough diversity between the generated images. [1] Learning Transferable Visual Models From Natural Language Supervision, ICML 2021 [2] Rethinking FID: Towards a Better Evaluation Metric for Image Generation, CVPR 2024 [3] Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere, ICML 2020 **W2-Image Correlation according to Classes** I am satisfied with the answers and have no further questions or doubts. **About Rating** I tend to keep my score as is so far and will adjust the final score based on further explanations from the authors.

Authorsrebuttal2024-08-13

Response to Reviewer h6mk's Comments on Our Rebuttal

We are sincerely grateful for the reviewer's time and efforts on reviewing our work! We hope to provide more information to clarify our findings on the reviewer's concerns: **W1 - Practicality** 1. Larger Complex Image Dataset We thank the reviewer for raising the concern. We are actively seeking to address this concern via training on large-scale LAION dataset. However, we found that the full LAION dataset has been removed due to the legal policy so we can not download it yet. We can only take the LAION-10K dataset which is legally available on Huggingface "wtcherr/LAION10K". To try our best to do reviewer h6mk a favor, we conduct experiments on the LAION-10K dataset, the results on LAION 10K show that we improve the baseline by 22.14 FID, demonstrating the effectiveness of our method. Despite the relatively small scale, we believe it still effectively shows the sign of life for our method on complex conditional generation. 2. Comparison Experiments on LAION-10k and on 10k Images in ImageNet We thank the reviewer for proposing the experiment. We perform an additional experiment on 10k ImageNet data + 25k training steps with vanilla and immiscible conditional SD. The results are nearly the same as the experiments on LAION-10k dataset: the FIDs for vanilla SD on ImageNet (10k images) and LAION are 148.90 and 146.69 respectively, and those for immiscible SD are 128.66 and 124.55 respectively. The FID improvements are 20.24 and 22.14 respectively. The improvement is even a little bit larger on LAION-10k than on ImageNet (10k images), supporting that immiscible diffusion does not lose practicality in complex datasets. **W1 - Generalization** We understand the concern on the FID, and hope to present some additional evaluations to address your concerns: For Performance: We appreciate the suggestions of providing CLIP-Score and CMMD as other evaluation metrics for evaluating the image-prompt correlation and the image quality, respectively. We evaluate these metrics on 50k images generated from conditional Stable Diffusion models trained for 20k steps, which corresponds to the settings reported in Fig. R2. The CLIP-Score for baseline and the immiscible model is both 28.55, with standard deviation of 0.02 and 0.01 respectively. We measured it for 3 times as the scores are so close, and our results further validate that there are no differences concerning the CLIP-Score, indicating that the image-prompt correlation is not damaged by immiscible diffusion. For CMMD, the value for baseline and immiscible model is 1.436 and 1.385 respectively (the lower the better). This also demonstrates that our immiscible diffusion outperforms the vanilla class-conditional SD. For generalization: We sincerely thank the reviewer for proposing the additional experiment to prove the diversity of images under the same class-condition. We carefully read the paper provided, and we actively try to design experiments to show the image diversity with representation learning methods. However, the previous representation learning is studied on top of the feedforward models, and we find it unclear how to investigate the visual representation for a multi-step diffusion models. Nevertheless, we have submitted new proofs in Fig. R10, which contains images generated with the same prompt on our immiscible class-conditional SD without cherry picking, to the ACs with anonymous links. It clearly shows that the images are diverse in each class. We hope the release of those additional images can address the reviewer’s concerns. **W2 - Image Correlation according to Classes** We thank the reviewer for acknowledging our response, and are sincerely grateful for the reviewer’s efforts in reviewing our work.

Reviewer h6mk2024-08-13

Thanks to the author for his efforts and reply. After reading the author's rebuttal carefully, I decided to increase my score to Weak Accept, but I hope the author can explain in detail the impact of the change on generalization in the subsequent version. Specifically, you can generate 100 images for each class, then test the image features corresponding to these 100 images, and measure the distance between these image features to determine whether these images are diverse. If the generated images are diverse, it means that there are differences between these image features, and the distance between them is not very close, and there will be no mode collapse phenomenon similar to that in GAN (the features of all images are very close and collapse to a point in the feature space), and I believe t-SNE or the mentioned paper can better help you verify this problem.

Authorsrebuttal2024-08-13

Response to Reviewer h6mk's Comments on Our Rebuttal - 2

We sincerely appreciate the reviewer's acknowledgement on our response, and we are grateful for all the time and efforts provided by the reviewer. We will implement the reviewer's interesting suggestion in our final version.

Reviewer Da242024-08-09

Answer to authors’ global rebuttal

Thank you for your rebuttal. Here is my answer to your global rebuttal: **Conditional Generation** The authors experimented on conditional generation by training a Stable Diffusion model to generate ImageNet images conditionally on their class. The authors show the FID score decreases faster with their method, which is encouraging. However, I have concerns related to this experiment: - The authors only show 5 images (potentially cherry-picked) as qualitative examples. This concern was already raised in the initial reviews (Related to reviewer Da24 W4.1 Cherry-picking) - It is possible that the model ignores the class name. The results shown in Figure R2 do not show that the generated images have the correct class. Furthermore, consider this thought experiment where you would have only two classes, “bright image” and “dark image”. With the proposed data-noise assignment pair, bright images will only be diffused to the brighter noise samples and dark images will only be diffused to the darker noise samples. Then the model will likely lose its ability to transform a “dark initial noise” (randomly sampled at inference time) into a “bright image” when conditioned on the class “dark image”. The results shown in the rebuttal do not address this concern. This concern was already raised in the initial reviews (reviewer h6mk W1-Generalization) - The main argument mentioned by the authors to support their method is that the first denoising direction predicted by the model (at timestep T) points to the average of the data distribution, which the authors say “does not provide any meaningful information” (L161). By “immiscibility” approach, the first denoising direction now points to the “average of nearby data-points” (L181). While this argument may hold for unconditional generation, it does not make sense anymore as (without immiscibly) it is a good thing to first predict a direction point to the average of images of the class. This average of images of the class is informative (see https://web.mit.edu/torralba/www/ne3302.pdf Figure 1, see also first column of Figure 5 of https://arxiv.org/pdf/2305.08891 ). Predicting this average in the first denoising step allows to guide the generation towards images of the desired class. **Comparison to OT-CFM and related works** The argument given by authors in the rebuttal are not convincing: - To differentiate from OT-CFM, the authors now propose to redefine immiscibility as “immiscibility of diffusion destinations without necessarily minimizing image-noise distance in a mini-batch”, in other words: coupling (CFM) but no optimal transport (OT-CFM). However, this new definition still makes the proposed method very similar to CFM. The explanation in **Theoretical Difference** only explains the difference between OT-CFM and normal CFM. This concern was already mentioned in the initial reviews (Da24, W2.1 Coupling). - **Additional Experiments Splitting Two Proposals/Domination of Immiscible Effect to OT in Noise Assignment**. The paper [1] (referenced in the rebuttal) already showed that CFM (new definition of “immiscibility”) can have better FID that standard FM. - **Immiscible Diffusion with Image Projection**: Multiplying all pixels by a factor of 2 or 4 in the training preprocessing is equivalent to reducing all noise levels by this factor. Some studies (https://arxiv.org/abs/2305.08891, https://www.crosslabs.org/blog/diffusion-with-offset-noise, https://arxiv.org/abs/2309.15842 ) showed however that the noise level used in Stable Diffusion (v1 and v2) are already too low, preventing the model to generate non-greyish images. The paper https://arxiv.org/pdf/2305.08891 showed (table 3) that increasing the noise levels fixes this issue and improve the FID score. I am very surprised that the authors here (Fig R6) find that decreasing all noise levels by a factor of 2 or 4 also improves the FID. Some discussion would be needed here, at least by showing qualitative examples.

Authorsrebuttal2024-08-11

Rebuttal to Reviewer Da24's comment on global responses

We thank reviewer Da24 for sharing valuable time with us and great efforts for reviewing and commenting on our rebuttals! Our further comments are attached below: 1. Conditional generation: 1) We emphasize that our quantitative results have already shown that immiscible diffusion improves 1.53 FID of conditional generation with SD (https://openreview.net/forum?id=kK23oMGe9g&noteId=8Wj7beyL9K). The qualitative results in Fig R2 are cherry-picked but given the quantitative improvement over vallina baseline, the visualization is used for supporting quantitative results and helps the audience understand better how our method improves the baseline method. Moreover, we refer the reviewer Da24 to check Fig 7 in our submission, the unconditional generation results on ImageNet are not cherry-picked. While there might be a few cases that do not show significant visual improvement, many examples like the 1st row 4th column, 2nd row 5th column, 3rd row 5th column etc. are apparently better than the baseline. Due to the fact that we have only 1 page for images, we were not able to put non-cherry-picked results during the rebuttal. We have now packed tens of classes of non cherry-picking images in an anonymous link that has been sent to the ACs for approval to show. 2) Thanks for the question from the reviewer Da24. We do not observe this phenomenon in our experiments. Our method does not hurt the conditional generation and results in the conjectures from the reviewer Da24. We randomly checked 4 classes, each with 5 images without cherry-picking, seeing that 1) these images correspond to their prompt class; 2) in each class, the images enjoy a sufficient diversity. We have concluded these results as Fig. R10, which has been sent to the ACs for approval to show. In the anonymous link we also include all ~50 images in each class checked for the reviewers’ information. 3) Thank the reviewer Da24 for the comment. In our experiments, immiscible conditional SD is indeed capable of performing better than vanilla one. Therefore, we still believe that immiscible diffusion works better in conditional generation cases. While the reviewer Da24 claims that “it is a good thing to first predict a direction point to the average of images of the class”, we kindly cannot find it excludes the possibility that our method is better. 2. Comparison to OT-CFM We sincerely appreciate the reviewer Da24 brings up flow-matching based methods during discussion. We emphasize that immiscible diffusion is a method upon diffusion models, and OT-CFM is built upon the framework of flow-matching method. Beyond it, we respond to the concern from Da24 as below. 1) We respectfully disagree that we are similar to coupling in I-CFM. To our knowledge, the random coupling in I-CFM in [1] does not qualify as an immiscible diffusion; also, our additional flip assignment design cannot be found in paper [1]. OT-CFM [1] makes the image-noise closer but our immiscible diffusion highlights they should be separated to each other, the flip assignment experiments demonstrate the effectiveness and the differences of our method. We believe this high-level motivation is different and novel. 2) We politely point out that we don’t see the effect claimed by the reviewer in paper [1]: We see that in the paper [1] Fig. 3 left, it clearly shows that only with OT the training efficiency be improved, the OT contributes to the majority of FID improvement. Furthermore, this is a work based on FM, which seems to be out of our scope in diffusion methods. 3) We very kindly suggest the reviewer noting that we are using DDIM, not SD, in this experiment.

Reviewer Da242024-08-14

**1.1.** I do not deny that the FID plot is improved in the reported results for this experiment, but FID alone might not be sufficient for evaluation. I do not agree that cherry picking “helps the audience understand better how our method improves the baseline method”, as it shows improvements better than one can expect in average. Figures 7 to 11: I do not agree with “there might be a few cases that do not show significant visual improvement”. From what I can see, most cases do not show **significant** visual differences. **1.2. / 1.3.** This would need to be explored in more details. I find it a bit weird that it is possible to claim that noising is immiscible (images are only noised locally) but that the model is able to do miscible denoising (model is still able to denoise any noise sample to any class). I suggest to look at the simple case I suggested with bright / dark images, and expand these explanations **2.1. / 2.2** I-CFM uses independent coupling, meaning the samples from prior (noise x_1) and target (data x_0) distributions are sampled independently, which does not qualify as “immiscible”. It seems that the CFM formulation allows to select the coupling by a joint distribution q(z) = q(x_0, x_1) which can be arbitrary (not necessarily independent or OT: for instance SB-CFM, EB-CFM). The CFM paper (Arxiv 2023.02 / ICML 2023 workshop / TMLR 2024) also showed better metrics for non-OT and non-independent couplings (training time Table D1, Wasserstein distance Figure D6, although, yes, no FID are reported for that case) **2.1 / 2.2** I disagree that “high-level motivation is different and novel”. Furthermore, it seems that the CFM paper also includes “objective variance” analysis (D.1), which seems to be a way to quantify immiscibility. **2.3** Thanks for the clarification. The update rule in the diffusion reverse process is designed such that the distributions of x_t in the reverse process and in the forward process match for every t. This implicitly assumes x_T is indistinguishable from noise during training. Decreasing the maximal noise level can hurt this assumption.

Reviewer Da242024-08-09

Answer to authors’ individual rebuttal

Thank you for your partial responses on my review. I have read the other reviews and the rebuttals (global one + individual ones). Unfortunately, the authors did not adress most of my concerns, many questions/weaknesses remain unanswered. Nevertheless, to answer to the authors: - **Mathematical proof in answer to nEkA W1**. This proof is still difficult to understand and unnecessary. When a denoising model is given pure noise as input, there is no doubt (classical derivations by setting gradient = 0) that the optimal denoising prediction (in MSE sense) is to predict the mean of the data distribution. In the case of immiscibility, similar derivations immediately show that the optimal denoising direction is to predicted a weighted mean of the data distribution, where the weights are the probabilities of each data-noise pair. Furthermore, to get equation 1, the authors assume that $a = \sqrt(1-\bar{\alpha_t})$ approaches 1, and $b = \sqrt(\bar{\alpha_t})$ approaches 0. It is unclear why the authors can use these limits for equation 1, but not in equations 3 and 8. - **Mathematical proof in answer to nEkA W1**. I have doubts regarding the assumption that $f$ only depends on the difference between $x_t$ and $x_0$. This assumption seems incorrect to me. - **average of the images on the ImageNet dataset**. It can be seen on Figure R1 that the average is not a constant, as the center looks browner. Also, the caption of Figure R1 is inconsistent with the text of the rebuttal (1k or 1M?). Furthermore, this assumption that the average is constant is destroyed when the authors experiment with conditional image generation (see the third bullet point in https://openreview.net/forum?id=kK23oMGe9g&noteId=eeBmFmG8tn ). - **W2**: See my answer in https://openreview.net/forum?id=kK23oMGe9g&noteId=eeBmFmG8tn - **L1**: The provided plot (Figure R9) is very weird, it is not clear why curves do not start from the same height (same initial FID before stating training) and from training step 0. The authors did not verify/comment the special case batch size = 1, and seem to claim that the batch size has little importance ("such influence does not vary significantly across selected BS" in rebuttal to review-neka-Q1) - **L3**: See my answer in https://openreview.net/forum?id=kK23oMGe9g&noteId=eeBmFmG8tn

Authorsrebuttal2024-08-14

Response to Reviewer Da24's Comments on Our Rebuttal

Thank the reviewer for your reading and additional writing. We would like to offer some clarifications to the reviewer’s reply. For those related to the global response, we have provided a reply on the global response thread. **Batch Size = 1 Problem** We found that a training with batch size of 1 is hard to work for training any diffusion models *from scratch*. For examples, DDPM [Ho et al., “Denoising Diffusion Probabilistic Models”] uses batch sizes of 128/64 for training CIFAR-10/CelebA-HQ respectively, Stable Diffusion uses a batch size of 1200 for ImageNet [Rombach et al., “High-Resolution Image Synthesis with Latent Diffusion Models”]. We kindly point out that even though we have to deal with GPU memory issues, we normally use gradient accumulation instead of barely using that batch size of 1. More importantly, we assume we have to deal with batch size with 1 for some extreme cases, an alternative way to our current assignment implementation is to generate a few noise points at the same time, assigning noises to images first and then perform diffusion on each image and its corresponding noise. **Fig. R9 Starting Point Problem** Firstly, we hope to kindly clarify that all reported curves in Fig. R9 start at the *same epochs*, with training step difference caused by batch size difference. For FIDs “from training step 0”, we hope to friendly address that at training step 0, the model is randomly initialized and contains no learned information. Therefore, per common practice, we empirically choose a start epoch for reporting FIDs when it reaches a reasonably low level, to save computational resources as well as to make plots readable. This is a common practice in many works (See Fig. 5 in Lipman et al., “Flow Matching for Generative Modeling” / Fig. 3 in Tong et al. "Improving and generalizing flow-based generative models with minibatch optimal transport."). Furthermore, it is quite clear in Fig. R9 that FIDs before the starting step would not change our claims about the influence of batch size on immiscible diffusion. **Influence of Batch Size** We respectfully disagree with the reviewer Da24 in the claim “The authors … seem to claim that the batch size has little importance”. In our response to reviewer neka, we wrote that “Results in Fig. R9 shows that larger BS enjoys better FID, but the influence of immiscibility significantly outweighs that of BS, and such influence does not vary significantly across selected BS.” We clearly state that batch sizes *have an influence* on diffusion performance, and our experiment shows that *comparing to the influence of immiscible diffusion*, the influence of BS is relatively minor, and *the influence of immiscibility* does not vary *significantly*, in *selected* BS (128-512 as shown in Fig. R9). We feel that our claim is significantly different from the reviewer’s comments, so we hope to provide a clarification to avoid misunderstanding. **For the Average of the Dataset** We kindly point out that in the word 1k in ImageNet-1k means 1k *classes*, and the name ImageNet-1k is the name of a popular version of ImageNet. We also kindly refer the reviewer to our revised math proof (https://openreview.net/forum?id=kK23oMGe9g&noteId=cgCNb4SgFk), where our claim that “When the number of images is large enough, $\overline{x_0}$ contains little meaningful information”, which corresponds to what Fig. R1 says. We also observe very blur average images similar to Fig. R1 for the average of images in each class of ImageNet. **For Mathematical Proofs** We believe that mathematical narrative is not “unnecessary” for the rigor of our proposed immiscible diffusion, and for readers outside the area to understand what we are doing as math can serve as the common language. We kindly propose that whether using the limit on $a$ and $b$ in Eqn. 3 and 8 doesn’t influence our main claim, so we do not explicitly discuss this in the proof. Also we hope to kindly point out that in the updated math proof, our $f$ is defined by $f(x_t-x_0, batch size, ...)$, so it *does not* depend only on the distance between $x_t$ and $x_0$.

Reviewer Da242024-08-14

**Batch Size = 1 Problem** The idea of the **alternative assignment**, assigning the image-noise pairs over a set larger than the batch seems interesting. It could also be extended to the cases of larger batch sizes, as it seems it allows to increase “immiscibility” without overly increasing gpu memory. **Gradient accumulation** seems unrelated to the batch size = 1 problem (in which image-noise assignments are the same as normal diffusion) **Fig. R9 Starting Point Problem** I see, thanks for the clarifications about that all evaluations start at the same epoch but the plot uses training steps. However, the end of the curves are not aligned even within each batch size. Also, in these specific figures in the references, all curves start at the same x-axis value. I think the choice of the x-axis to be training steps rather than epochs or number of examples processed is confusing, since it tends to flatten and pushed to the right the curves for low batch-size. **Influence of Batch Size** “has little importance” and “influence is relatively minor” are synonyms to me. Given that batch size = 1 does not provide any improvement compared to basic diffusion, batch size has to have an important influence. Analyzing the tradeoff between improvements provided by your method and the batch size (GPU memory, cost of the GPU) could be useful for user to choose the batch size for training with the proposed method. **1k / 1M** Completely agree with you on 1k classes, 1M images. Thanks for the clarification. **meaningful information at first denoising step** I already gave comments on that. Also, this does not hold for conditional generation as I already pointed out. **Mathematical Proofs** **Adding three dots** like this does not provide anything rigourous. If I am allowed to put anything in place of these three dots, then f can really be anything, and it does not prove that the first denoising step is more meaningful. **limit t -> + inf:** The authors did not justify why it is ok (nor needed) in that case to apply the limit t -> + inf (a->1, b->0) to only certain terms of the equations. Simply saying that “the optimal (in MSE sense) denoising prediction when x_T is independent of x_0 is to predict the mean of the data distribution”, giving equations/proof for that, and proving that the first denoising step is more meaningful with the proposed coupling would be much clearer in my opinion.

Reviewer y1v32024-08-12

I appreciate the reviewers' answer and it addresses some of my concern. The generalization ability and the motivation compared with OT and FM is definitely the most important problem of this paper. The visualization in Fig R8 confuses me as even DDIM will generate different images for different seed and I disagree with the results, and I agree with Reviewer h6mk that FID is not the all to evaluate the generalization and the experiment he/she metioned should be added but actually not. For the concern of Reviewer Da24, which is mainly about the theory, I am not the expert of this and I will remain this problem for AC. I will reduce my score to boardline accept (In current evaluation benchmark, it is truly hard to judge the generalization ability so I believe that this method has some contribution to the diffusion model training).

Authorsrebuttal2024-08-13

Response to Reviewer y1v3's Comments on Our Rebuttal

We thank the reviewer for reading and considering our responses. We hope to provide a few further clarifications on the problems addressed by the reviewer: **1. About the generalizability** Under the suggestion of reviewer h6mk, we have added additional metrics other than FID on images class-conditionally generated by immiscible SD trained on ImageNet. We provide CLIP-Score and CMMD for evaluating the image-prompt correlation and the image quality, respectively. We evaluate these metrics on 50k images generated from conditional Stable Diffusion models trained for 20k steps, which corresponds to the settings reported in Fig. R2. The CLIP-Score for baseline and the immiscible model is both 28.55, with stddev of 0.02 and 0.01 respectively. We measured it for 3 times as the scores are so close, and our results further validate that there are no differences concerning the CLIP-Score, indicating that the image-prompt correlation is not damaged by immiscible diffusion. For CMMD, the value for baseline and immiscible model is 1.436 and 1.385 respectively (the lower the better). This further confirms that our immiscible diffusion outperforms the vanilla class-conditional SD. **2. About Comparison to OT** In our Global Response (https://openreview.net/forum?id=kK23oMGe9g&noteId=8Wj7beyL9K), we have included a thorough discussion on our difference to OT-CFM, including theoretical analysis and additional experiments. We kindly can not agree that significant similarities exist between I-CFM and us, and make our comments in the last part of our latest comment (https://openreview.net/forum?id=kK23oMGe9g&noteId=rYMAwGEnzS) We hope the reviewer can consider our opinions. **3. About DDIM on different seeds** We thank the reviewer for the question, but we hope to kindly address that in the upper part of Fig. R8, just like what the reviewer believes, we indeed observe no differences between the images generated either by vanilla or by immiscible DDIMs with the same noise and different random seeds. In the bottom part, we additionally provide images generated from vanilla and immiscible *DDPMs*, with the same *initial* noise and different seeds. As random noises are added during each sampling step of DDPM, which are not hold the same and can be influenced by the random seeds, we see diverse images generated either with vanilla or with immiscible DDPM.

Program Chairsdecision2024-09-25

Decision

Accept (poster)

© 2026 NYSGPT2525 LLC