Manuscript Offprint

arXiv:2611.26359

Learning from Context: Leave-One-Out Prediction in Jump Diffusions

Christian Wald

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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.

1 Introduction

Generating text and molecular graphs requires learning dependencies between discrete coordinates. Continuous (jump) diffusion models approach this task by corrupting token embeddings and learning to predict their endpoints (Li et al., 2022; Dieleman et al., 2022; Gulrajani and Hashimoto, 2023; Jutras-Dubé et al., 2026). Yet a coordinate’s own noisy embedding can reveal its target without requiring the model to learn the surrounding dependencies. A masked position in masked diffusion or flow matching provides no such local token evidence (Sahoo et al., 2024; Gat et al., 2024). For continuous models, increasing noise to remove this shortcut can also destroy useful context (Pynadath et al., 2026a). We ask whether excluding a coordinate from its own prediction, so called leave-one-out (LOO) prediction, encourages useful contextual learning, and how to do so while preserving the intended probability path.

We study LOO prediction in embedding-space jump diffusions, where continuous motion is combined with jumps to token embeddings. Let Y=(Y1,…,YL)Y=(Y_{1},\ldots,Y_{L}) be a token sequence, Xt=(X1,t,…,XL,t)X_{t}=(X_{1,t},\ldots,X_{L,t}) its corrupted embeddings in continuous space at time tt, and denote by X−i,tX_{-i,t} all coordinates except ii. For a token aa, the full and LOO posteriors are

pi,t(a∣x)=P(Yi=a∣Xt=x),\displaystyle p_{i,t}(a\mid x) \displaystyle=\mathbb{P}(Y_{i}=a\mid X_{t}=x), qi,t(a∣x−i)=P(Yi=a∣X−i,t=x−i).\displaystyle q_{i,t}(a\mid x_{-i}) \displaystyle=\mathbb{P}(Y_{i}=a\mid X_{-i,t}=x_{-i}).

Predicting qi,tq_{i,t} requires estimating YiY_{i} without access to Xi,tX_{i,t}. Our four-token parity experiment illustrates why this can matter: low full-state prediction loss can precede learning the dependence needed for joint generation (Table 1).

Excluding local inputs is established in blind-spot denoising (Batson and Royer, 2019; Laine et al., 2019) and discrete diffusion (Sun et al., 2023; Gourevitch et al., 2026; Casado Noguerales et al., 2026). For a broader overview of related work, see Appendix A. The gap we address is how to use these qi,t(a∣x−i)q_{i,t}(a\mid x_{-i}) predictions in processes with both a continuous drift and coordinate resets, i.e. jumps to the token embeddings. In this case the input of the network provides noisy contextual information before discrete decisions. Continuous motion resumes after each reset, and later resets can replace an earlier, possibly wrong, hypothesis. LOO makes the last point particularly meaningful: the learned reset distribution qθ,i,t(a∣x−i)q_{\theta,i,t}(a\mid x_{-i}) depends only on the surrounding state x−ix_{-i}, so an incorrect local state xix_{i} at time tt cannot directly influence this reset distribution.

The distinction between pi,tp_{i,t} and qi,tq_{i,t} is essential. Posterior averaging of conditional generators uses the full posterior pi,t(a∣x)p_{i,t}(a\mid x) (Holderrieth et al., 2025), whereas LOO training learns qi,t(a∣x−i)q_{i,t}(a\mid x_{-i}) without using xix_{i}. We show that substituting the latter into the drift can change the prescribed marginal path (Example C.2). For jump diffusion, however, exact LOO jump probabilities qi,t(a∣x−i)q_{i,t}(a\mid x_{-i}) preserve the correct probability curve when the drift retains the full posterior, under the assumptions of Proposition 3.2. Analytic likelihood completion combines LOO predictions with the local corruption likelihood to recover the full posterior. Thus one network can supply both prediction roles without additional network evaluations.

We compare unrestricted, raw LOO, and completed predictors on Text8, LM1B, and ZINC250k. LOO improves key generation metrics over matched unrestricted controls, while completion’s effect depends on the path and dataset. Local-state and subject–verb interventions test contextual information use, see Section 4.

Our contributions are:

  • A marginal-preservation result for complete coordinate resets using LOO destinations and full-posterior drift, with a counterexample for substituting LOO probabilities into the drift.
  • A repeated-reset Brownian bridge whose marginals converge to the data law, using one LOO network and analytic likelihood completion for the two prediction roles.
  • Matched-budget experiments on Text8, LM1B, and ZINC250k showing when LOO improves over unrestricted prediction and when raw LOO drift outperforms completion despite lacking a marginal-preservation guarantee.
  • We demonstrate empirically that LOO drift without analytic completion can help recover from wrong predictions at earlier time steps, offering a possible explanation for its better performance in some experiments despite lacking a marginal-preservation guarantee. Controlled LM1B interventions show that a token’s own noisy input can dominate unmasked predictions and final token choices, even when it conflicts with context. On LM1B, LOO improves subject tracking and the usefulness of older word order in generated text.

References (27)