Diffusion models train one network across all noise levels, although their training objective is pointwise in the noise level. If training on each pair of adjacent levels were an independent problem, separate networks with the same total parameter count would be expected to match one shared network. But in practice, on images, sharing weights across levels gives better results, which hints at an implicit dependence on their order. An order fixes both which levels are adjacent and the direction in which they run. In this paper, we show that, of the two, the benefit of sharing rests on adjacency in the noise-level embedding. The fitting error of a shared network is bounded below by the distances between neighbouring posterior means, minus the change the network can make between neighbouring embeddings. We first distinguish adjacency from direction: on a Gaussian mixture and CIFAR-10, reversing the embeddings keeps every neighbour and leaves the fitting error unchanged, whereas shuffling them raises it. Second, we rule out sharing between distant levels as the source of the benefit: separate networks on contiguous ranges match the shared network at its width, and with the parameters fixed, breaking adjacency at the same places costs less than 40% of a full shuffle. Dividing the levels at equal shares of these distances lowers the error of all but the smallest networks. We therefore show that the order of the noise levels enters a diffusion model through adjacency, with its direction being a design choice. Our code is available at https://github.com/TSUITUENYUE/Noise-Level-Adjacency-in-Diffusion-Training.
Figures & tables
Figure 1: Where the order enters. (a) Closed-form distances between posterior means of the Gaussian mixture on the pooled inputs of every level, from noisiest at bottom left to clean at top right (light: near; dark: far). (b) Distances between posterior means at consecutive embeddings under ordered, reversed and shuffled assignments, on the same scale. (c) Error by noise level for a width-256 network under those assignments, averaged over 5 seeds.
FID
Total
K=1
K=4
K=4 , every 4th
K=16
0.875M
19.82 (w16)
30.71 (w8, 0.89M)
–
57.30 (w4, 0.92M)
3.5M
9.45 (w32)
14.53 (w16)
–
30.91 (w8, 3.57M)
14M
4.68 (w64)
7.11 (w32)
9.59 (w32)
15.08 (w16)
56M
3.64 (w128)
4.65 (w64)
4.97 (w64)
7.81 (w32)
ImageNet-256
Table 1: FID ( Heusel et al., 2017 ) on 50k samples for K separate networks on contiguous ranges, or every 4th transition in the marked column, with equal training weight. Rows fix the total parameter count; cells give each network’s width and the actual count if it exceeds the target by over 2%. Dashes denote untrained models. CIFAR-10 ( Krizhevsky, 2009 ) uses one evaluator; ImageNet-256 ( Deng et al., 2009 ) uses SiT ( Ma et al., 2024 ) and the ADM evaluator ( Dhariwal and Nichol, 2021 ) .
Figure 2: Fitting with separate networks on the mixture experiments. Error is squared distance to the exact posterior mean in the preconditioned space, averaged over transitions. (a) Error versus the width of each network. (b) Error at the total parameter count of one network of the width on the horizontal axis. Solid lines: contiguous ranges; dashed lines: every K -th transition. (c) Error of 4 or 16 separate networks divided by one network’s error, all at width 256, calculated per transition and averaged over ranges by position within the range. Means over 3 seeds.
Figure 3: (a) FID on a logarithmic colour scale. Columns increase the width of each network; rows increase the number of separate networks. One column right or one row down multiplies total parameters by 4. Empty cells are unmeasured, and a gold rim marks the lowest FID at each total. (b) FID of K separate networks minus that of one network at matched total parameters, plotted against that count on log axes.
held-out denoising loss
Networks
transitions
count
1 network
K separate networks
change
4 of width 64
beside a boundary
6
0.1323
0.1334
+0.8%
the rest
122
0.4724
0.4593
−2.8%
16 of width 32
beside a boundary
30
0.1603
0.1583
−1.3%
the rest
98
0.5568
0.5313
−4.6%
Table 2: CIFAR-10, held-out denoising loss for K separate networks of one width and one network of that width, after 60k training steps. We evaluate the loss with its training weight on 10k held-out pairs per transition with fixed noise, averaging separately over transitions beside a boundary between networks and the remaining transitions. The last column gives the percentage change from the single-network loss to the K -network loss.
held-out denoising loss
Embedding
width 32
Embedding
width 32
continuous
0.4643
window 2
0.4641
ordered
0.4640 (0.4642)
window 8
0.4673
reversed
0.4633 (0.4638)
window 32
0.4732
learned
0.4654
shuffled
0.4761
Table 3: CIFAR-10, held-out denoising loss averaged over the 128 transitions, 10k pairs per transition with fixed noise, for one network trained for 60k steps. Left: width 32 under each noise-level embedding (continuous in σ , or one value per transition in noise-level order, reversed, learned, shuffled within windows of 2, 8 or 32 transitions, or fully shuffled); a second training with another seed in parentheses. The variation ∑idi2 from the training set’s exact class-conditional posterior means is 1,187 for the ordered embedding, 3,296, 14,286 and 156,669 for windows of 2, 8 and 32, and 345,087 for the full shuffle. Right: ordered and shuffled embeddings at 3 widths, and the shuffle’s rise. The last row replaces the U-Net with the transformer of Table 13 (SiT, depth 12, width 256); its reversed embedding gives 0.4634.
Figure 4: Noise-level embedding comparison on the mixture experiments: one network of the listed width fits 128 transitions. (a) Mean excess error per transition versus shuffle-window size (1: ordered; 128: full shuffle). Open circles: reversed order; dotted lines: learned embedding per transition; crosses: no embedding. (b) Error versus variation of the posterior means along the order of the embeddings, ∑idi2 . (c) Error increase from full shuffling over ordered embeddings on 32 and 128 transitions. Means over 5 seeds.
Figure 5: Learned noise-level embeddings. (a) Distances between the learned vectors of the 128 transitions of one mixture network of width 512, from the noisiest level at the bottom left. (b) The same for one CIFAR-10 network of width 32. Each panel is on its own scale, clipped at the 2nd and 98th percentiles of its distances (light: near; dark: far). (c) The share of levels whose nearest learned vectors include an adjacent level, against the number of nearest vectors: the mixture at widths 256, 512 and 1024 (lighter to darker, means over 5 seeds), CIFAR-10, and random vectors.
excess error ×100 , K networks
Width of 1 network
embedding
1
4
4, every 4th
16
16, every 16th
256
sinusoidal
1.71 ± 0.06
2.08 ± 0.03
6.12 ± 0.03
8.24 ± 0.02
16.83 ± 0.08
learned
1.71 ± 0.05
2.07 ± 0.08
5.54 ± 0.05
7.94 ± 0.03
16.68 ± 0.10
random
2.07 ± 0.00
2.23 ± 0.12
6.84 ± 0.66
7.94 ± 0.06
16.73 ± 0.12
512
sinusoidal
0.54 ± 0.01
0.50 ± 0.01
1.93 ± 0.04
1.87 ± 0.02
6.43 ± 0.03
learned
0.55 ± 0.01
0.50 ± 0.00
1.85 ± 0.06
1.78 ± 0.02
5.85 ± 0.02
Table 4: Excess error per transition on the mixture experiments, ×100 , mean ± standard deviation over 3 seeds. Rows fix the total parameter count by one network’s width, which the K separate networks share (Appendix B ); they hold contiguous ranges unless marked every 4th or 16th transition. The noise-level embedding is sinusoidal, learned (16 trained parameters per transition) or a fixed random vector.
Figure 6: CIFAR-10, loss change for 4 separate networks relative to one network of the same width, from noisiest to cleanest transition: separate networks’ loss minus single-network loss, divided by single-network loss, in percent. Separate networks hold contiguous ranges; shading marks the ranges of the second and fourth networks. (a) 14M, width 32; the dashed line shows 4 separate networks holding every 4th transition. (b) 56M, width 64. Loss uses training weights and 10k held-out pairs per transition with fixed noise.
Mixture, excess error ×100
CIFAR-10, 14M
Boundaries
256
512
1024
held-out loss
equal split
2.075 ± 0.030
0.503 ± 0.007
0.224 ± 0.006
0.4530
own posterior mean
2.114 ± 0.026
0.298 ± 0.004
0.117 ± 0.002
0.4414
other data set’s posterior mean
2.398 ± 0.048
0.333 ± 0.004
0.124 ± 0.000
0.4539
Table 5: Four separate networks on contiguous ranges, with the widths and training of the four-network models of Figure 2 b and Table 1 ; only the boundaries move. The equal split gives the mixture’s networks 32 transitions each and CIFAR-10’s equal shares of EDM’s training distribution (58, 10, 10 and 50 transitions). The other rows place the boundaries at 25%, 50% and 75% of the summed movement of the exact posterior mean, computed on the same or on the other data set. Mixture: mean excess error per transition ± standard deviation, ×100 , over 3 seeds, at the total parameter count of one network of width 256, 512 or 1024. CIFAR-10, 14M: held-out denoising loss averaged over the 128 transitions, 10k pairs per transition with fixed noise.
excess error ×100
ratio
Width
ordered
reversed
4 blocks
16 blocks
full shuffle
4 blocks
16 blocks
256
1.72 ± 0.10
1.69 ± 0.08
1.77 ± 0.07
1.96 ± 0.07
2.35 ± 0.29
9.5
2.8
512
0.56 ± 0.01
0.55 ± 0.02
0.59 ± 0.01
0.64 ± 0.02
0.80 ± 0.04
9.5
3.0
1024
0.37 ± 0.02
0.34 ± 0.01
0.43 ± 0.07
0.34 ± 0.08
0.69 ± 0.24
6.8
–
Table 6: Mixture, one network over 128 transitions: mean excess error per transition ± standard deviation, ×100 , over 5 seeds, with the embeddings in order, reversed, with 4 or 16 contiguous blocks moved and each block’s order kept (3 or 15 pairs of neighbours separated), or fully shuffled (127 pairs). The ratios divide the rise per transition where neighbours changed by the rise elsewhere; a dash marks a negative rise elsewhere.
16 networks of width 32
4 networks
as trained
one retrained, fresh seed
width 64
4 architectures
FID
7.81
7.79
4.65
5.43
Table 7: CIFAR-10, FID over 50k samples on one evaluator, for composed models whose networks are retrained or replaced. The 4 architectures are a transformer and 3 U-Nets, trained on different machines, in place of 4 U-Nets of width 64.
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 7: What order invariance separates. Each domino is one transition law between the marginals at two adjacent noise levels, fitted by its own network (frame colour), and each face is the density of a mixture of 8 Gaussians smoothed at that level. (a) The objective adds one term per law, computed from that law’s pairs alone, and gives the same sum in noise order (top) and in a shuffled order (bottom). (b) A sampler joins the laws where their marginals agree: each interior marginal ends one law (above) and starts the next (below).
Composed model
energy distance
16 separate networks
0.067 ± 0.009
16 separate networks, 1 retrained
0.065 ± 0.009
Appendix
Table 8: The mixture of Gaussian experiments. Energy distance of the composed 128-step sampler to the data under the DDPM step: 16 separate networks of width 128, and the same with one network retrained at a fresh seed, mean ± standard deviation over 3 sampling seeds.
per transition
reversed
shuffled
learned
second training
FID
loss per transition
×
×
×
×
×
9.46
0.4643
✓
×
×
×
×
9.11
0.4640
✓
×
×
×
✓
9.28
0.4642
✓
✓
×
×
×
9.57
0.4633
✓
✓
×
×
✓
9.26
0.4638
✓
×
✓
×
×
9.25
0.4761
Appendix
Table 9: CIFAR-10, one network of width 32 trained for 60k steps. Checkmarks identify the noise-level embedding variants and the second training run. ‘Per transition’ means one embedding value per transition. FID uses 50k samples; held-out denoising loss is averaged over 128 transitions.
Boundaries
FID
equal split
7.11
own posterior mean
7.50
other data set’s posterior mean
7.09
Appendix
Table 10: CIFAR-10 at 14M, FID over 50k samples on one evaluator, of the four separate networks of Table 5 under each set of boundaries.
1 network, width
24
32
40
64
FID
12.69
9.45
7.49
4.68
Network widths, noisier half : cleaner half
64:40
40:64
FID
5.07
4.95
Same width for both networks
64:64
FID
4.23
Appendix
Table 11: CIFAR-10 FID over 50k samples on one evaluator. The upper block varies the width of a single network. In the lower block, one network fits each half of the noise grid. The 64:40 and 40:64 allocations exchange the wider network between the noisier and cleaner halves at the same total parameter count. The 64:64 model has a larger total parameter count. Widths are listed as noisier half:cleaner half.
Transitions
count
4 separate networks
16 separate networks
16 lower on
all
128
0.4530
0.4439
100
interior to both
98
0.5431
0.5313
83
boundary of the 16 only
24
0.1643
0.1643
13
boundary of both
6
0.1348
0.1340
4
Appendix
Table 12: CIFAR-10, held-out denoising loss for 4 and 16 separate networks of width 32, averaged over the listed groups of transitions. We use the training loss weight and 10k held-out pairs per transition with fixed noise. The boundaries of the 4 separate networks are also boundaries of the 16. The last column counts the transitions at which the 16 separate networks have lower loss.
Network
parameters
transitions
excess
share
SiT, depth 12, width 256
14.5M
78–127
+3.9%
97.8%
U-Net, width 96, 1 block per resolution
14.0M
68–77
+1.3%
1.7%
U-Net, width 32, 6 blocks per resolution
14.1M
58–67
+0.5%
0.5%
U-Net, width 64
14.0M
0–57
0.0%
0.0%
6 transitions beside a boundary
+0.7%
0.6%
Appendix
Table 13: CIFAR-10, 4 separate networks with different architectures compared with 4 width-64 networks at the same total parameter count. Excess is the increase in held-out denoising loss for the mixed-architecture model relative to the width-64 model, averaged over each network’s transitions. Share is each network’s contribution to the excess summed over all 128 transitions. Transitions are numbered from the noisiest. The last row averages the 6 transitions beside boundaries between networks, which are also included in the network rows. Both compositions use the same width-64 network.
Data
width
distances
ordered error
input overlap
share of the rise
mixture
256
−0.02
0.35
−0.25
0.37, second quarter
mixture
512
−0.20
0.70
−0.17
0.49, second quarter
mixture
1024
−0.13
0.69
−0.08
0.65, second quarter
CIFAR-10
32
0.00
0.83
0.65
0.72, first quarter
Appendix
Table 14: Where a full shuffle raises the error, level by level. Spearman correlation across the noise levels between the rise and, at each level: the distances of Lemma 1 to the levels whose embeddings sit next to its own after the shuffle, minus those to its ordered neighbours; the error of the ordered network; and the overlap of its inputs with those of its ordered neighbours. The last column gives the largest share of the rise in one quarter of the grid, with quarters counted from the noisiest. Mixture: excess error, means over 5 seeds. CIFAR-10: held-out denoising loss of one network of width 32.
Width
ordered
spaced
lower on
change by quarter
256
1.72
1.78
1 of 5
−0.1%
−1.0%
−1.0%
+169.5%
512
0.56
0.61
0 of 5
−3.7%
−3.6%
−12.1%
+650.5%
1024
0.37
0.34
4 of 5
−21.5%
−15.4%
−44.2%
+186.9%
Appendix
Table 15: Mixture, one network over 128 transitions with the scalar embedding of logσ in noise-level order or spaced so that each step covers an equal share of the distances of Lemma 1 between consecutive posterior means, over the same range. Mean excess error per transition, ×100 , over 5 seeds; the number of seeds at which the spaced embedding has the lower error; and the change of the spaced embedding’s error in each quarter of the grid, from the noisiest.
4 blocks
16 blocks
Width
levels
ordered
reversed
inside
between blocks
inside
between blocks
full shuffle
256
trained
1.72 ± 0.10
1.69 ± 0.08
1.77 ± 0.07
1.96 ± 0.07
2.35 ± 0.29
unseen
1.73 ± 0.10
1.70 ± 0.08
1.74 ± 0.07
191 ± 76
1.94 ± 0.08
1699 ± 720
111 ± 120
512
trained
0.56 ± 0.01
0.55 ± 0.02
0.59 ± 0.01
0.64 ± 0.02
0.80 ± 0.04
unseen
0.57 ± 0.01
0.55 ± 0.02
0.58 ± 0.01
450 ± 76
0.65 ± 0.02
717 ± 76
56 ± 8
1024
trained
0.37 ± 0.02
0.34 ± 0.01
0.43 ± 0.07
0.34 ± 0.08
0.69 ± 0.24
Appendix
Table 16: Mixture, one network over 128 transitions, evaluated at its trained levels and at the 127 unseen levels between consecutive transitions, each through the midpoint of the 2 transitions’ embedding values: mean excess error ± standard deviation, ×100 , over 5 seeds, on the networks of Table 6 . For the moved blocks, the unseen levels are divided into those where 2 moved blocks meet and the rest.
ECE & CSL, University of Illinois Urbana-Champaign · Computer Science Department, Carnegie Mellon University · ECE, CSL & NCSA, University of Illinois Urbana-Champaign