Learning from Context: Leave-One-Out Prediction in Jump Diffusions
Organizations: INSA Lyon, Centrale Lyon, Université Lyon 1, Université Jean Monnet, CNRS, ICJ UMR5208, 69621 Villeurbanne, France
Abstract
Continuous diffusion models generate discrete data through stochastic dynamics in an embedding space. We consider jump diffusions that additionally reset coordinates to embeddings of categorical values. A coordinate's own corrupted state can make prediction easy, potentially reducing the pressure to learn dependencies between coordinates. We study leave-one-out (LOO) prediction, in which each coordinate is predicted from the corrupted states of the other coordinates. We show that, under stated assumptions, jump diffusions with complete coordinate resets and state-independent clocks preserve the prescribed marginals when reset destinations use exact LOO probabilities and the drift uses the full endpoint posterior. We further show that this drift can be constructed from LOO probabilities by analytic likelihood completion without additional network evaluations. We evaluate unrestricted, LOO, and completed predictions on Text8 and LM1B text generation and ZINC250k molecular graph generation. LOO-based variants improve key generation metrics over matched unrestricted controls on all three datasets. Controlled interventions assess reliance on local inputs and context, and we analyze the effect of analytic likelihood completion.
Figures & tables
| Prediction target / method | Evaluation CE | Invalid strings |
|---|---|---|
| 0.0876 | ||
| 0.0876 | ||
| + analytic drift | 0.1677 | observed |
| Masked flow matching | 0.6286 |
| Method | (%) | |||
|---|---|---|---|---|
| Repeated resets: our variants and unrestricted control | ||||
| RJD | ||||
| RJD-LOO | ||||
| RJD-BC-D | ||||
| Pure diffusion: our variants and unrestricted control | ||||
| PD | ||||
| Method | Best | MAUVE |
|---|---|---|
| RJD | 0.7 | |
| RJD-SA | 0.7 | |
| RJD-LOO | 0.8 | |
| RJD-BC-D | 0.8 | |
| EPJ | 0.9 | |
| PD-LOO | 0.8 |
| Method | Raw valid (%) | Raw valid & connected (%) | Raw FCD | Corrected FCD | Raw NSPDK |
|---|---|---|---|---|---|
| EPJ | |||||
| PD | |||||
| PD-LOO | |||||
| PD-BC | |||||
| AJD | |||||
| AJD-LOO |
| Final token (%) | RJD-LOO | RJD | RJD-SA |
|---|---|---|---|
| Original , after replacement | 30.81 | 0.15 | 0.00 |
| Donor , after replacement | 6.01 | 99.71 | 99.61 |
| Original , without replacement | 50.88 | 100.00 | 100.00 |
| Outcome | PD-LOO | PD-BC | RJD-LOO | RJD-BC-D |
|---|---|---|---|---|
| Immediate argmax is | ||||
| Final character is | ||||
| Final local word check passes |
Appendix figures & tables31 assets
Supplementary material from the paper’s appendix.
Appendix
| Method | (%) | (%) | |||
|---|---|---|---|---|---|
| RJD | |||||
| RJD-LOO | |||||
| RJD-BC-D | |||||
| DFM | |||||
| EPJ | |||||
| PD |
| Outcome | PD-LOO | PD-BC | RJD-LOO | RJD-BC-D |
|---|---|---|---|---|
| Start | ||||
| Immediate argmax is | ||||
| Final character is | ||||
| Final local word check passes | ||||
| Start | ||||
| Immediate argmax is | ||||
| Method | (%) | (%) | ||
|---|---|---|---|---|
| AJD | ||||
| AJD-LOO | ||||
| AJD-BC-D | ||||
| AJD-BC |
| (%) | (%) | |||
|---|---|---|---|---|
| NFE | (%) | (%) | ||
|---|---|---|---|---|
| 32 | ||||
| 32 | ||||
| 32 | ||||
| 512 | ||||
| 512 | ||||
| 512 |
| Rule | (%) | (%) | |||
|---|---|---|---|---|---|
| 32 NFE, 3 seeds | |||||
| CAT | |||||
| TEMP | |||||
| TOPP | |||||
| MAX | |||||
| CONF | |||||
| Rule | (%) | (%) | |||
|---|---|---|---|---|---|
| 32 NFE, 3 seeds | |||||
| CAT | |||||
| TEMP | |||||
| TOPP | |||||
| MAX | |||||
| CONF | |||||
| Rule | (%) | (%) | |||
|---|---|---|---|---|---|
| 32 NFE, 3 seeds | |||||
| CAT | |||||
| TEMP | |||||
| TOPP | |||||
| MAX | |||||
| CONF | |||||
| NFE | Method | (%) | (%) | |
|---|---|---|---|---|
| 512 | DFM | |||
| 512 | EPJ | |||
| 512 | PD | |||
| 512 | PD-LOO | |||
| 512 | PD-BC | |||
| 512 | AJD |
| NFE | Sampler | (%) | |
|---|---|---|---|
| 128 | PD-LOO, uniform | ||
| 128 | EPJ, TOPP | ||
| 128 | AJD-LOO, , TOPP | ||
| 128 | AJD-LOO, , TOPP | ||
| 128 | AJD-LOO, , CONF + 16 updates | ||
| 512 | PD-LOO, uniform |
| NFE | Temp. | Model | (%) | (%) | |||
|---|---|---|---|---|---|---|---|
| 128 | 1.0 | LOO | 44.35 | 34.49 | 2135 | 1101.4 | 0.08215 |
| 128 | 1.0 | SA | 54.08 | 46.45 | 2266 | 1126.0 | 0.07284 |
| 128 | 0.7 | LOO | 64.67 | 52.91 | 2121 | 707.6 | 0.08250 |
| 128 | 0.7 | SA | 73.41 | 65.40 | 2162 | 726.5 | 0.07988 |
| 512 | 1.0 | LOO | 47.57 | 37.03 | 2145 | 1031.1 | 0.07773 |
| 512 | 1.0 | SA | 58.17 | 50.40 | 2367 | 1078.1 | 0.06881 |
| Rule | Predictor | (%) | (%) | |||
| Hard continuous endpoint | ||||||
| CAT | Control | 45.95 | 33.59 | 1316 | 417.2 | 0.10837 |
| CAT | LOO | 70.62 | 58.63 | 1865 | 379.5 | 0.12347 |
| TEMP | Control | 53.01 | 38.82 | 1346 | 336.8 | 0.11475 |
| TEMP | LOO | 79.55 | 66.52 | 1541 | 189.0 | 0.17239 |
| TOPP | Control | 49.58 | 37.71 | 1380 | 436.4 | 0.10492 |
| Rule | Predictor | (%) | (%) | |||
| Hard continuous endpoint | ||||||
| CAT | Control | 30.92 | 19.51 | 1089 | 366.2 | 0.11044 |
| CAT | LOO | 56.29 | 43.03 | 1849 | 467.4 | 0.10689 |
| TEMP | Control | 37.57 | 23.75 | 1105 | 294.8 | 0.11213 |
| TEMP | LOO | 67.52 | 51.60 | 1661 | 252.7 | 0.13686 |
| TOPP | Control | 33.65 | 22.15 | 1156 | 384.3 | 0.10560 |
| Rule | Predictor | (%) | (%) | |||
| Hard continuous endpoint | ||||||
| CAT | Control | 54.24 | 42.33 | 1450 | 425.9 | 0.11701 |
| CAT | LOO | 74.56 | 62.65 | 1701 | 286.1 | 0.13670 |
| TEMP | Control | 61.98 | 47.86 | 1343 | 304.6 | 0.12622 |
| TEMP | LOO | 83.25 | 72.33 | 1400 | 158.3 | 0.18997 |
| TOPP | Control | 58.74 | 46.96 | 1478 | 430.7 | 0.11372 |
| Endpoint | Rule | Top-three share (%) | Top-ten share (%) | |
|---|---|---|---|---|
| Hard | CAT | 28.24 | 32.57 | 379.5 |
| Hard | TEMP | 39.16 | 43.31 | 189.0 |
| Hard | TOPP | 29.65 | 34.41 | 334.6 |
| Hard | MAX | 86.92 | 89.23 | 7.7 |
| Hard | CONF | 72.61 | 75.27 | 20.9 |
| Soft | CAT | 16.58 | 21.37 | 761.8 |
| Method | ||||
|---|---|---|---|---|
| RJD | ||||
| RJD-SA | ||||
| RJD-LOO | ||||
| RJD-BC-D | ||||
| EPJ | ||||
| PD-LOO |
| Method | NFE | PPL | (nats) | MAUVE | |
|---|---|---|---|---|---|
| RJD-LOO | 0.8 | 32 | |||
| RJD-LOO | 0.8 | 64 | |||
| RJD-LOO | 0.8 | 128 | |||
| RJD-BC-D | 0.8 | 32 | |||
| RJD-BC-D | 0.8 | 64 | |||
| RJD-BC-D | 0.8 | 128 |
| Final token is original | Final token is donor | |||||
| Start | RJD-LOO | RJD | RJD-SA | RJD-LOO | RJD | RJD-SA |
| 0.25 | 18.99 | 5.66 | 7.86 | 4.83 | 34.47 | 30.03 |
| 0.50 | 30.81 | 0.15 | 0.00 | 6.01 | 99.71 | 99.61 |
| 0.80 | 31.35 | 0.00 | 0.00 | 6.25 | 100.00 | 100.00 |
| 0.95 | 33.30 | 0.00 | 0.00 | 7.03 | 100.00 | 100.00 |
| Condition | LOO | RJD | LOO | RJD | LOO | RJD | LOO | RJD |
|---|---|---|---|---|---|---|---|---|
| Correct local verb | 62.00 | 97.00 | 74.94 | 100.00 | 81.56 | 100.00 | 84.06 | 100.00 |
| Wrong local verb | 62.00 | 3.25 | 74.94 | 0.00 | 81.56 | 0.00 | 84.06 | 0.00 |
| Neither candidate locally | 62.00 | 50.31 | 74.94 | 50.44 | 81.56 | 51.31 | 84.06 | 49.81 |
| Both subject variants correct | 22.00 | 0.13 | 48.69 | 0.00 | 62.44 | 0.00 | 68.19 | 0.00 |
| Intervening nouns | Distance | M | O | M | O | M | O | M | O |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 4 | 50.00 | 49.22 | 82.03 | 87.50 | 90.63 | 93.75 | 98.44 | 95.31 |
| 1 | 6 | 29.69 | 32.81 | 75.78 | 71.09 | 85.16 | 91.41 | 96.09 | 92.97 |
| 1 | 9 | 6.25 | 14.84 | 41.41 | 36.72 | 57.03 | 61.72 | 70.31 | 65.63 |
| 2 | 7 | 18.75 | 21.09 | 46.09 | 46.88 | 67.97 | 60.94 | 72.66 | 72.66 |
| 2 | 11 | 10.94 | 4.69 | 28.13 | 31.25 | 42.19 | 51.56 | 48.44 | 50.78 |
| Corpus | Judge | Clarity | Consist. | Grammar | Repeat. | (%) | Accept. (%) |
|---|---|---|---|---|---|---|---|
| RJD-LOO | A | 0.3 | |||||
| B | 0.3 | ||||||
| RJD | A | 31.7 | |||||
| B | 57.7 | ||||||
| RJD-SA | A | 10.0 | |||||
| B | 24.3 |
| Comparison or reliability check | Judge A | Judge B |
|---|---|---|
| RJD-LOO minus EPJ: acceptance (pp) | ||
| Word shuffle: acceptance change (pp) | ||
| Block splice: acceptance change (pp) | ||
| Repetition: change in repetition score | ||
| Hidden repeats: all-score agreement (%) | 82.4 | 86.2 |
| Hidden repeats: full-response matches (count) | 0/159 | 106/159 |
| Corpus | Coverage (%) | Targets | |||
|---|---|---|---|---|---|
| RJD-LOO | 4 | 99.3 | 4,766 | ||
| 8 | 99.3 | 4,744 | |||
| 16 | 97.0 | 4,233 | |||
| RJD | 4 | 99.7 | 4,764 | ||
| 8 | 99.7 | 4,722 | |||
| 16 | 97.0 | 4,317 |
| Competitor | |||
|---|---|---|---|
| RJD | |||
| RJD-SA | |||
| EPJ |
| Method | Conditional path | Predictor | Drift | Jump probabilities |
|---|---|---|---|---|
| EPJ | Pure jump | Unrestricted | – | Unrestricted |
| PD | Diffusion | Unrestricted | Unrestricted | – |
| PD-LOO | Diffusion | LOO | Raw LOO | – |
| PD-BC | Diffusion | LOO | BC | – |
| AJD | Absorbing jump diffusion | Unrestricted | Unrestricted | Unrestricted |
| AJD-LOO | Absorbing jump diffusion | LOO | Raw LOO | Raw LOO |
| Raw | Corrected | ||||||
|---|---|---|---|---|---|---|---|
| Method | NFE | Valid (%) | Valid & conn. (%) | FCD | NSPDK | FCD | NSPDK |
| EPJ | 64 | ||||||
| PD | 64 | ||||||
| PD-LOO | 64 | ||||||
| PD-BC | 64 | ||||||
| AJD | 64 | ||||||
| Method | NFE | GDSS valence | Raw unique | Corrected unique | Component pruned | Seed 0 min. / GPU | Seed 1 min. / GPU |
|---|---|---|---|---|---|---|---|
| EPJ | 64 | H100 | H100 | ||||
| PD | 64 | H100 | H100 | ||||
| PD-LOO | 64 | V100 | H100 | ||||
| PD-BC | 64 | H100 | H100 | ||||
| AJD | 64 | H100 | H100 | ||||
| AJD-LOO | 64 | V100 | H100 |
| Raw | Corrected | ||||||
|---|---|---|---|---|---|---|---|
| Method | Rule | Valid (%) | Valid & conn. (%) | FCD | NSPDK | FCD | NSPDK |
| EPJ | CAT | ||||||
| EPJ | MAX | ||||||
| EPJ | TEMP | ||||||
| EPJ | TOPP | ||||||
| EPJ | CONF | ||||||
| Raw | Corrected | ||||||
|---|---|---|---|---|---|---|---|
| Method | Rule | Valid (%) | Valid & conn. (%) | FCD | NSPDK | FCD | NSPDK |
| EPJ | CAT | ||||||
| EPJ | MAX | ||||||
| EPJ | TEMP | ||||||
| EPJ | TOPP | ||||||
| EPJ | CONF | ||||||
Continuous Diffusion Language Models
Continuous diffusion language models generate text by gradually denoising continuous token embeddings or latent representations.
See all 56 papers