- Rating
- 5
- Clarity
- 3
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper presents a new method to generate multiple samples in a forward pass using diffusion models to increase the throughput. To that end, several models are trained for various noise levels that have an encoding (fusion of samples) and a decoding (unfusion) phase. The method is motivated by the manifold hypothesis, i.e. high dim data lies in low dim embedded ambient space. Experiments are conducted on standard datasets such as CIFAR, CelebA, ImageNet as well as combinations of other acceleration techniques such as caching. The proposed method called ManiFusion reaches much higher throughput with comparable generation quality.
Strengths and weaknesses
Strengths:
- The paper tackles an important but challenging problem, namely to push throughput, using a new axis (merge samples in forward).
- The paper is well written and structured.
- Extensive experiments are conducted on typical benchmark, with all common model families (unet, dit, ae, ...).
- The method can work on top of other acceleration techniques such as caching.
Weaknesses:
- The method requires training models from scratch.
- The paper does not include details and analysis on the computation and time comparisons. If I understand right, ManiFusion requires multiple models for various timestep ranges (and varios K factors). Training, syncing, and loading various models during inference present a slowdown that should be discussed more directly in the limitations sections and included in the main results.
- The results are highly sensitive to K.
Questions
- Im not sure I missed it, but are there any results combining ManiFusion with distillation techniques?
- Line 118: the paper states that fusion is done before encoding. Are there any experiments on applying it after encoding (in the latent space) or after parially a few encoding layers? Similar question on the decoding aspect.
- What happens if the to-be-fused samples are very similar vs very dissimilar?
- I am bit confused as to that "vanilla" means and how the throughput of vanilla baseline is increased? Is it a new, smaller model?
- Is it possible to let the model learn K based on t during training?
Limitations
Yes
Paper formatting concerns
No
Final justification
I thank the authors for the detailed response and the additional experiments. My concerns have been addressed and I have decided to keep my positive score and suggest accept.
Combination with Progressive Distillation
The original submission did not evaluate this combination. Following Progressive Distillation for Fast Sampling of Diffusion Models by Salimans and Ho, ICLR 2022, we progressively distilled the CIFAR-10 DiT baseline to one-step generation and applied ManiFusion with fusion factor K=2 to every distilled model. We used Ours (−TFS) without timestep-wise fusion scheduling to isolate sample fusion. The table reports throughput, multiply–accumulate operations (MAC), Inception Score (IS), Fréchet Inception Distance (FID), spatial FID (sFID), precision, and recall.
\begin{array}{lccccccc} \hline \text{Step} & \text{Thr.}\uparrow & \text{MAC}\downarrow & \text{IS}\uparrow & \text{FID}\downarrow & \text{sFID}\downarrow & \text{Prec.}\uparrow & \text{Rec.}\uparrow \\ \hline \text{Vanilla DiT} & & & & & & & \\ 16 & 48.20 & 69.44\text{G} & 10.35 & 20.96 & 12.58 & 0.640 & 0.342 \\ 8 & 96.24 & 34.72\text{G} & 10.28 & 17.94 & 11.41 & 0.654 & 0.365 \\ 4 & 192.13 & 17.36\text{G} & 10.06 & 17.03 & 10.55 & 0.662 & 0.369 \\ 2 & 384.34 & 8.68\text{G} & 9.55 & 18.62 & 10.75 & 0.638 & 0.367 \\ 1 & 765.76 & 4.34\text{G} & 8.33 & 28.48 & 15.63 & 0.563 & 0.356 \\ \hline \text{Ours }(-\text{TFS}),K=2 & & & & & & & \\ 16 & 97.28 & 36.56\text{G} & 9.53 & 19.79 & 10.47 & 0.666 & 0.345 \\ 8 & 194.22 & 18.28\text{G} & 9.33 & 18.16 & 9.56 & 0.679 & 0.348 \\ 4 & 388.57 & 9.14\text{G} & 9.10 & 18.72 & 9.35 & 0.685 & 0.341 \\ 2 & 772.80 & 4.57\text{G} & 8.84 & 20.82 & 9.47 & 0.670 & 0.331 \\ 1 & 1545.12 & 2.285\text{G} & 7.95 & 30.52 & 14.21 & 0.620 & 0.320 \\ \hline \end{array}
At nearly matched throughput, two-step ManiFusion obtains FID 20.83 at 772.80 images per second, while one-step vanilla DiT obtains 28.48 at 765.76 images per second. It also improves IS, sFID, and precision, with slightly lower recall. One-step ManiFusion reaches 1545.12 images per second, about twice the baseline. Further step reduction cannot reach this point because the baseline already uses one model evaluation. ManiFusion therefore complements distillation by reducing per-sample computation within the remaining evaluation. We will add these results to the revision.
Fusion after encoding or before decoding
We interpret the suggestion as fusion after latent encoding and unfusion before decoding. Appendix Table 8 already evaluates this setting. The autoencoder maps each image to latent space, ManiFusion fuses the latent inputs processed by the U-Net, and the outputs are unfused in latent space and decoded individually.
ManiFusion remains effective, although degradation is moderately larger than in image space. Let D be the ambient representation dimension and d the intrinsic data dimension. Autoencoder compression reduces D while preserving similar intrinsic information, narrowing the gap between D and d and leaving less redundancy for fusion.
We did not test every intermediate U-Net placement, which would require architecture-specific operators because spatial resolution, channel dimension, and skip connections vary. Appendix Table 8 nevertheless shows that ManiFusion is not restricted to image-space fusion.
Effect of Sample Similarity
We used 5,000 CIFAR-10 anchor images to isolate the effect of semantic similarity among fused samples. For each anchor, duplicate, nearest, random, and farthest partners were selected by cosine similarity in the normalized feature space of a pretrained ResNet-20 classifier. The anchor image, class label, timestep, and slot-wise Gaussian noise were fixed, so only partner content and label changed.
\begin{array}{lccc} \hline \text{Condition} & K=2 & K=4 & \text{Same class} \\ \hline \text{Duplicate} & 1.000 & 1.000 & 100\% \\ \text{Nearest} & 0.987 & 0.984 & \approx89\% \\ \text{Random} & 0.443 & 0.446 & \approx10\% \\ \text{Farthest} & 0.133 & 0.138 & 0\% \\ \hline \end{array}
At t=0.5, we used paired comparisons with 2,000 bootstrap resamples. MSE denotes mean squared error and CI denotes confidence interval. Positive differences mean that the first condition has higher anchor velocity MSE. Below, Dup, Near, and Far denote duplicate, nearest, and farthest.
\begin{array}{lllll} \hline \text{Model} & \text{Comparison} & \Delta\text{MSE} & \text{Rel.} & \text{95\% CI} \\ \hline K=2 & \text{Near}-\text{Far} & +0.00004435 & +0.0378\% & [-0.00000425,0.00009219] \\ K=4 & \text{Near}-\text{Far} & +0.00002407 & +0.0200\% & [-0.00003100,0.00007728] \\ K=2 & \text{Dup}-\text{Far} & +0.00037094 & +0.3159\% & [0.00031858,0.00042885] \\ K=4 & \text{Dup}-\text{Far} & +0.00132196 & +1.0971\% & [0.00125022,0.00139434] \\ \hline \end{array}
Farthest partners had slightly lower MSE than nearest partners, but both confidence intervals included zero. Exact duplicates increased MSE by 0.3159% for K=2 and 1.0971% for K=4, with confidence intervals excluding zero.
Averaging all nine timesteps t∈{0.1,0.2,…,0.9} again showed higher error for duplicates.
\begin{array}{lllll} \hline \text{Model} & \text{Comparison} & \Delta\text{MSE} & \text{Rel.} & \text{95\% CI} \\ \hline K=2 & \text{Dup}-\text{Near} & +0.000281 & +0.1905\% & [0.000253,0.000309] \\ K=4 & \text{Dup}-\text{Near} & +0.000810 & +0.5361\% & [0.000770,0.000848] \\ K=2 & \text{Dup}-\text{Far} & +0.000272 & +0.1845\% & [0.000236,0.000307] \\ K=4 & \text{Dup}-\text{Far} & +0.000721 & +0.4770\% & [0.000674,0.000767] \\ \hline \end{array}
Extreme content overlap therefore makes unfusion harder. With identical images in different slots, the model must distinguish them through slot-specific noise, conditioning, and velocity targets.
The nearest and farthest comparison was less consistent across timesteps.
\begin{array}{llll} \hline \text{Model} & \text{Comparison} & \Delta\text{MSE and Rel.} & \text{95\% CI} \\ \hline K=2 & \text{Far}-\text{Near} & +0.0000088,\ +0.00596\% & [-0.0000214,0.0000376] \\ K=4 & \text{Far}-\text{Near} & +0.0000888,\ +0.0588\% & [0.0000509,0.0001281] \\ \hline \end{array}
The K=2 difference was not significant, while the K=4 difference was detectable but negligible at below 0.06%. Semantic distance therefore has no monotonic effect.
We also compared every assignment between predicted outputs and ground-truth velocity targets.
\begin{array}{lccc} \hline \text{Model} & \text{Groups} & \text{Accuracy} & \text{Failures} \\ \hline K=2 & 180{,}000\ \text{pairs} & 100\% & 0 \\ K=4 & 180{,}000\ \text{groups} & 100\% & 0 \\ \hline \end{array}
No sample swap occurred under any condition or timestep. Overall, exact duplicates are slightly harder to unfuse, while nearest and farthest differences are small and timestep-dependent. Multi-class groups may benefit from distinctive slot cues and reduced overlap, but greater pairwise semantic distance does not uniformly reduce error.
Clarification of the Vanilla Baseline
“Vanilla” denotes the original DDPM, DDIM, and flow-matching models without ManiFusion. Their architecture and parameter count are unchanged.
All throughput measurements use standard batched inference. Here, N samples are stacked along the batch dimension and processed in one call. Hardware parallelism still requires separate activations and outputs for all N samples, so computation and memory generally increase with N. ManiFusion fuses samples into fewer network inputs.
In Figure 2, vanilla DDIM throughput increases only by reducing sampling steps. ManiFusion uses the same step-count variation. High-throughput vanilla points therefore use the same model with fewer evaluations, not a smaller or separately trained model. We will clarify this in the paper.
Computation and Memory Overhead
The reported throughput used three timestep-specific models resident on the GPU, avoiding loading latency but increasing parameter memory. We also tested on-demand TFS, which keeps only the current model on the GPU and switches models when the timestep range changes. Experiments used an RTX A6000, 25 steps, classifier-free guidance scale 2.5, one warm-up run, and three measurements.
\begin{array}{lcccc} \hline \text{Method} & \text{Batch time} & \text{Throughput} & \text{Resident memory} & \text{Peak memory} \\ \hline \text{Vanilla batch} & 30.255\pm0.142\text{s} & 16.923\text{ img/s} & 129.5\text{ MiB} & 4.367\text{ GiB} \\ \text{Resident TFS} & 17.761\pm0.122\text{s} & 28.827\text{ img/s} & 389.3\text{ MiB} & 4.613\text{ GiB} \\ \text{On-demand TFS} & 19.073\pm0.070\text{s} & 26.845\text{ img/s} & \le129.6\text{ MiB} & 4.363\text{ GiB} \\ \hline \end{array}
Resident TFS gives the highest throughput but uses about three times the parameter memory of vanilla inference. On-demand TFS keeps resident memory near vanilla and lowers peak memory from 4.613 GiB to 4.363 GiB. Model switching reduces throughput from 28.827 to 26.845 images per second, which remains above vanilla at 16.923.
ManiFusion therefore supports a throughput-oriented resident mode and a memory-oriented on-demand mode. Because three separate models must be trained, the training cost is unavoidably about three times that of a single-model baseline. Separate models for timestep ranges and fusion factors K also increase storage and checkpoint-management costs despite substantial inference acceleration.
Learning K from the Timestep
Learning K as a function of timestep t is promising future work. A single model could support multiple K values through timestep and fusion-factor conditioning. A lightweight controller could select K from the expected efficiency and prediction difficulty using reinforcement learning or another adaptive objective.
This could replace fixed timestep ranges with a learned schedule and reduce the need for multiple timestep- and K-specific models. We have not explored this setting, but agree that it is valuable.