Interaction Retention and Output-Likelihood Training in Parallel Sampling
Authors: Da Li, Bo Jin, Xiaopeng Wei, Hui Wang
Organizations: School of Computer Science and Technology Dalian University of Technology Dalian, Liaoning, China · Dalian Institute of Chemical Physics Chinese Academy of Sciences Dalian, Liaoning, China
Parallel samplers such as masked diffusion language models generate several coordinates per step from conditional marginals and randomize which coordinates are generated together, so even exact conditionals return a distorted distribution. We give an exact local account of this distortion. Around any full-support product law, the Gram operator of the sampler's response is diagonal in the interaction decomposition, and its eigenvalues are retention probabilities: the probability that an interaction has a unique latest-revealed coordinate. This retention spectrum determines the exact frontier between output accuracy and conditional calibration, its regularization path, and the population response of finite-mixture likelihood training. For pairwise interactions it yields a sharp dichotomy. Under homogeneous retention, output-likelihood training is equivalent to a single context gain; heterogeneous retention opens correction directions beyond any scalar, with an advantage bounded by an explicit heterogeneity gap. On binarized digits and MNIST, output-likelihood training within a heterogeneous schedule library lowers calibrated test negative log-likelihood in all twelve paired comparisons, and the gain survives pair-specific recalibration and a stronger path optimizer. For a frozen 169.6-million-parameter masked diffusion language model, serially normalized context gains are 1.070 and 1.056 at 8 and 16 rounds, against the predicted values 1.134 and 1.058.
Figures & tables
Figure 1: Retention of a three-way interaction A={i,j,k} under one schedule; columns are rounds and arrows show conditioning. (a) The last coordinate k is drawn from a conditional that sees xi and xj , so its kernel can carry fA . (b) The last two coordinates are drawn independently given the past, so fA is absent from the output at first order. The retention cA is the probability of case (a) under the schedule law π .
Figure 2: The output–calibration frontier of Theorem 2 (iii) for the biased four-coordinate binary example of Appendix D . Circles are the minimizers of the regularized objective at λ∈{0.01,0.1,1,10} , computed by direct linear solves; the curve is the spectral frontier ( 12 ). Both axes are doubled local KL coefficients.
Frozen 169.6M-parameter MDLM, two banks and two serial orders
1.070/1.056 at T=8/16 , against 1/c2=1.134/1.058 .
Table 1: Predictions of the theory and their tests. Predictions concern the local population optimum. Differences are in nats/image, with training-seed standard deviations.
Data
Model
Path
Output
Δ
Caps
Digits
MLP
18.091±0.052
17.771±0.039
−0.319±0.027
0/0
Digits
Pair
20.194±0.025
19.755±0.004
−0.439±0.029
0/0
MNIST
MLP
110.402±0.164
108.331±0.365
−2.071±0.468
0/0
MNIST
Pair
119.294±0.104
114.446±0.275
−4.848±0.341
0/3
Table 2: Heterogeneous-library output NLL after validation-selected two-parameter correction, nats/image. Mean ± sample SD over three seeds; Δ is output minus path. Each run is stopped by its own validation criterion; Caps counts the path/output runs that reached the 12,000-update limit.
Data
Full path
Sampled path
Output
Digits
18.091±0.052
18.097±0.079
17.771±0.039
MNIST
110.402±0.164
111.398±0.076
108.331±0.365
Table 3: Stronger MLP controls in the same heterogeneous library after validation-selected two-parameter correction, nats/image (three-seed mean ± sample SD).
Data / K
Library
R
ERK
B
H
Path NLL
Output NLL
Digits / 10
Two-block
0.231
–
0.872
0.199
18.091
17.771
Digits / 10
Uniform
0.078
0.075
0.129
0.030
17.078
–
MNIST / 18
Two-block
0.274
–
1.185
0.219
110.402
108.331
MNIST / 18
Uniform
0.073
0.072
0.110
0.018
97.704
–
MNIST / 128
Uniform
0.063
0.063
0.086
0.003
94.786
–
MNIST / 512
Uniform
0.062
0.062
0.084
0.001
93.150
–
Table 4: Pair-energy proxies computed from training data only, and test NLL of the evaluated banks. R,B,H are normalized proxies of the residual, correction cost and heterogeneity gap; ERK is ( 40 ). NLL is nats/image after two-parameter correction. Uniform rows average two separate banks; their M=1 models are held fixed across K and differ from the two-block models. A dash marks a measurement not made.
T
Identity
Gain 1/c2
Tuned gain
Temperature
Two parameters
8
591.085
597.005
591.031
590.404
590.532
16
572.375
574.793
571.761
571.243
571.084
Table 5: Frozen MDLM NLL after correction selected on the same bank, nats per 128-token window. Entries average scores from two separate K=64 banks, with independent validation selection. The column 1/c2 applies the predicted gain for uniform fixed-quota batching.
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
Symbol
Meaning
Defined in
s , Bs,t , Cs,t , T
schedule, its batches, coordinates revealed before round t , round budget
Section 2
π , qs,K , qπ,K
schedule weights, component law, output law
( 1 )
Kj(⋅∣xC,C) , Kor
shared scalar kernel; exact target conditionals
Section 2
Cp , Lpath , Lout , LM
calibration loss; path, output and M -sample objectives
Table 7: Full-state checks. Density derivatives are central differences at ϵ=10−5 using normalized shared kernels.
Graph
Exact conditionals
Best global temperature
Inverse retention
Path
1.9999
2.0004
3.9974
Cycle
1.9999
2.0000
3.9974
2×4 grid
2.0000
2.0047
3.9958
Appendix
Table 8: Slopes of log KL against log coupling over the four smallest couplings. The predicted orders are two, two, and four.
Data
Training
Identity
Gain 1/c2
Temperature
Tuned gain
Digits
M=1
16.673±0.051
16.379±0.041
16.561±0.037
16.313±0.039
Digits
M=4
16.458±0.080
16.293±0.071
16.419±0.075
16.306±0.044
MNIST
M=1
94.756±0.294
92.407±0.345
92.165±0.294
92.407±0.345
MNIST
M=4
94.261±0.541
93.103±0.595
92.967±0.508
93.263±0.567
Appendix
Table 9: Exact finite-library output NLL in nats/image, mean ± training-seed SD. The column Gain 1/c2 applies the predicted gain to both training objectives. Calibration parameters are selected on validation with independently drawn uniform schedules (Appendix L.1 ) and are not refitted to these libraries.
Figure 3: Changes in output NLL and path NLL relative to the M=1 model with identity calibration, on the same two K=512 libraries. Marker shape gives the training objective and color the calibration; small markers are the five training seeds and open markers their mean ± sample SD. On MNIST, validation selects the gain 1/c2 for every M=1 seed, so the two calibrated M=1 markers coincide. These are empirical loss differences, not a fitted frontier.
Data
Training
Gain
Temperature
Two parameters
Digits
M=1
16.304±0.037
16.559±0.041
16.296±0.038
Digits
M=4
16.287±0.070
16.428±0.079
16.295±0.071
MNIST
M=1
92.387±0.356
92.138±0.303
91.357±0.339
MNIST
M=4
93.012±0.587
92.750±0.494
92.392±0.537
Appendix
Table 10: Recalibration on the two K=512 libraries, nats/image, five-seed mean ± sample SD on the 128 test images of Table 9 . Corrections are selected on validation for each library (step 0.025 for gain and temperature, 0.05 for two parameters), and test NLL is averaged across the two libraries.
Data
Calibration
Randomized M=1
Fixed random
Diagonal residue
Digits
Tuned gain
16.313±0.039
18.120±0.102
17.996±0.086
MNIST
Temperature
92.165±0.294
96.836±0.400
95.669±0.426
Appendix
Table 11: Trained controls, nats/image on the same 128 test images, five-seed mean ± sample SD. The M=1 column averages exact NLLs of the two K=512 libraries; the fixed columns use the exact law of one random permutation cut into four equal rounds, or of round (r+c)mod4 for the pixel in row r and column c (diagonal residue).
Data
Model
Path
Output
Paired difference
Digits
MLP
18.091±0.052
17.771±0.039
−0.319±0.027
Digits
Pair
20.194±0.025
19.764±0.010
−0.430±0.032
MNIST
MLP
110.402±0.164
108.590±0.388
−1.813±0.300
MNIST
Pair
119.294±0.104
115.117±0.312
−4.177±0.220
Appendix
Table S1: Matched training-context budgets in the heterogeneous library, with validation-selected two-parameter correction. Exact finite-library test NLL in nats/image, mean ± sample SD across three training seeds. Both objectives evaluate the full library at every update.
Data / K
Bank
cˉE
R
ERK
B
H
hKmom
Digits / 10
Uniform 0
0.76131
0.07475
0.07483
0.12430
0.02976
0.03030
Digits / 10
Uniform 1
0.74916
0.08045
0.07483
0.13416
0.03029
0.03030
Digits / 128
Uniform 0
0.76238
0.05791
0.05811
0.07737
0.00247
0.00244
Digits / 128
Uniform 1
0.75961
0.05919
0.05811
0.07927
0.00242
0.00244
Digits / 512
Uniform 0
0.76297
0.05656
0.05704
0.07449
0.00065
0.00061
Digits / 512
Uniform 1
0.75987
0.05806
0.05704
0.07679
0.00068
0.00061
Appendix
Table S2: Per-bank diagnostics. All selected pairs with positive energy are covered. The last column is a ratio-of-moments reference, not the expected or realized gap.
Data / K
H0
H1
Δ Id.
Δ Gain
Δ Temp.
Δ Two
Seeds
Digits / 10
0.029756
0.030293
+0.1038
+0.1259
+0.1125
+0.1304
3/3; 3/3
MNIST / 18
0.018131
0.017830
−1.4440
−1.5372
−1.5301
−1.5510
3/3; 3/3
MNIST / 128
0.002625
0.002528
−0.3361
−0.4264
−0.4010
−0.4398
3/3; 3/3
MNIST / 512
0.000661
0.000655
−0.0422
−0.0551
−0.0416
−0.0635
2/3; 3/3
Appendix
Table S3: Post hoc comparison of two banks with the same model. H0,H1 use normalized pair-energy proxies computed from training data. The four Δ columns give bank 1 minus bank 0 test NLL, averaged over three initialization seeds; negative values favor bank 1. Units are nats/image. The last column counts seeds whose NLL ordering agrees with H , for gain-only and two-parameter correction respectively. The oracle residual R favors bank 0 in every row; its values are in Table S2 . Digits banks with K=128 and 512 were not scored on test images.
Data
Model
Objective
Seed 11
Seed 22
Seed 33
Digits
Pair
Path
1.100/1.300
1.100/1.300
1.100/1.300
Digits
Pair
Output
1.025/1.025
1.050/1.050
1.050/1.050
Digits
MLP
Path
1.050/1.100
1.000/0.950
1.050/1.050
Digits
MLP
Output
0.950/0.800
0.900/0.700
0.950/0.850
MNIST
Pair
Path
1.150/1.200
1.150/1.200
1.150/1.200
MNIST
Pair
Output
1.050/1.050
1.075/1.075
1.050/1.050
Appendix
Table S4: Two-parameter corrections selected on validation for all 24 heterogeneous-library checkpoints. Each cell gives α/γ ; no additional training is performed.
Data
Model
Objective
Seed 11
Seed 22
Seed 33
Digits
Pair
Path
1.225
1.225
1.225
Digits
Pair
Output
1.000
1.025
1.000
Digits
MLP
Path
1.100
0.950
1.050
Digits
MLP
Output
0.800
0.725
0.875
MNIST
Pair
Path
1.100
1.100
1.100
MNIST
Pair
Output
1.025
1.025
1.025
Appendix
Table S5: Context gains selected on validation for the same checkpoints with the marginal coefficient fixed at α=1 , which separates the context gain from a change of the marginal logits.