arXiv:2610.02754cs.LGOct 2026

Manuscript Offprint

arXiv:2610.02754

Jumping up and down: Denoiser diffusion models for discrete ordinal data

Yair Shenfeld, Ricardo Baptista, Stefano Peluchetti

Yair Shenfeld

Division of Applied Mathematics

Brown University

Providence, RI, USA 02912

yair_shenfeld@brown.edu

Ricardo Baptista

Department of Statistical Sciences

University of Toronto

Toronto, ON, Canada M5G 1X6

r.baptista@utoronto.ca

Stefano Peluchetti

Sakana AI

Tokyo, Japan

stepelu@sakana.ai

ABSTRACT

Diffusion models are highly developed in continuous spaces for image and video domains. Recently, major advances have been made for discrete diffusion models for categorical data, specifically in the language domain. In contrast, diffusion models for discrete integer-valued data are less developed, despite the prevalence of this modality, ranging from images and music to gene counts. We introduce Jumping Up and Down (JUD)—a new family of denoiser-based diffusion models for discrete ordinal data. This is the first family of diffusion models for ordinal data which centers around training denoisers, which at the same time allows for bidirectional (up and down) perturbations of the data. The simplicity of the training objective, combined with the flexibility of bi-directional perturbations, leads us to obtain competitive results across different data modalities.

1 INTRODUCTION

Diffusion models for discrete ordinal data. The success of diffusion models in continuous domains such as image and video is driving an explosion of activity in applying diffusion models for discrete data. The vast majority of diffusion models for discrete data focus on language where the data is categorical, that is, a data modality with no natural order. In contrast, in many applications the discrete data also contains a natural order, i.e., the data is ordinal as its distribution is over (subsets of) NDN^{D} or ZDZ^{D}. This modality naturally shows up in images (8-bit digital grayscale from 0 to 255), music (MIDI note numbers from 0 to 127), tabular data (amount in dollars of debt/credit), and in scientific applications ranging from biology (gene expression counts in cells) to chemistry (number of atoms in molecules). In addition to the aforementioned applications of discrete ordinal data, this modality is also interesting from the theoretical perspective as it lies in some sense between categorical and continuous data: On the one hand, the data is discrete as in categorical data, while on the other hand the data has an intrinsic order as in continuous data in RDR^{D}. Despite the importance of discrete ordinal data, the theory and practice of diffusion models for this modality are still developing. In this paper we contribute to both.

Denoisers. The essence of diffusion models is learning clean data from progressively noisy versions of the same data point. In continuous space, the noise is often taken to be Gaussian with the level of noise corresponding to the variance of the Gaussian. The choice of Gaussian noise is very convenient since it provides a clean relation between denoising and sampling. First, one learns the data denoiser,

mdata(x,t):=E[xdata∣CorruptData(xdata,t)=x],xdata∼pdata,(1)\mathbf{m}_{\mathrm{d a t a}}(\mathbf{x},t):=\mathbb{E}[\mathbf{x}_{\mathrm{d a t a}}\mid\mathrm{C o r r u p t D a t a}(\mathbf{x}_{\mathrm{d a t a}},t)=\mathbf{x}],\qquad\mathbf{x}_{\mathrm{d a t a}}\sim p_{\mathrm{d a t a}}, \tag{1}

where CorruptData( xdata,tx_{data}, t) can be, for example, adding to xdatax_{data} Gaussian noise with variance t. Second, the data denoiser mdatam_{data} can be directly used for sampling via Tweedie's formula, which connects the denoiser mdatam_{data} to the score ∇log⁡pt\nabla \log p_t, where ptp_t is the distribution of t-level corrupted data. The validity of Tweedie's formula is due to the use of Gaussian noise when corrupting the data. The advantages of formulating a training objective based on the denoiser were recently emphasized in Li & He (2026); Hu et al. (2026). In contrast to the continuous setting, the absence of the Gaussian distribution in the discrete setting necessitates the development of a different concept of “data corruption”. For categorical data, the two prevailing choices for noise are uniform (choosing a token uniformly at random) or masking (adding an extra graveyard token), and the level of noise corresponds to the rate at which a token is flipped to a random or masked token. The lack of ordinal structure in categorical data has led to deviation from training a denoiser as in Equation (1), since the notion of average (expectation) does not make sense in such generality 1^{1}. Instead, the common training objectives in diffusion models for categorical data are either discrete scores (Meng et al., 2022; Lou et al., 2024), which are the analogues of ∇log⁡pt\nabla \log p_t in the discrete setting, or the rates of the generative process (Campbell et al., 2022; Holderrieth et al., 2025). But for ordinal data, the definition of a denoiser analogous to (1) does make sense, and learning the denoiser has a number of advantages:

  • The denoiser can be trained with a large family of losses (Bregman divergences), including the simple mean-square error loss. Alternatively, the denoiser can be learned by training cross-entropy objectives for the marginal posteriors; see Section 2.

• Techniques from continuous diffusion models, which are denoiser-based, can in principle be adapted to the discrete ordinal setting: EDM scaling (Karras et al., 2022), Distillation via Moment Matching (Salimans et al., 2024), dual score matching (Guth et al., 2025), blind denoisers (Sun et al., 2025; Wang & Du, 2025; Kadkhodaie et al., 2026), etc. See Section 3 for our use of the EDM scaling.

In Figure 1 we compare various noising processes and methods for discrete diffusion models that are trained using the same set of 20,000 data samples from a bi-modal Negative Binomial Mixture distribution; see Section F for more details. As we will demonstrate in this work, these improvements show up not only on toy examples but on real-world datasets as well.

Jumping up and down In continuous spaces, the Gaussian noise blurs the data in all directions. For ordinal data, a data point in N or Z can be perturbed either up, or down, or both. As we will see below, uni-directional perturbations (either just up or just down) give rise to denoiser-based training and sampling (cf. Section D). That is, provided a suitable choice of up-perturbation, or down-perturbation, we can train an appropriate denoiser mdatam_{data} and then use it to sample from the data distribution. But perturbing the data in only one direction can lead to inaccurate samplers. This is because once the sampler over/undershoots, due to inevitable approximation errors, the process cannot “undo” prior mistakes and correct the trajectory evolution. This is evident in Figure 1 when comparing Binomial-Poisson (one of our up-and-down methods), Binomial (only down) and Poisson (only up). Hence, our goal is to find perturbations and samplers which allow for up and down jumps, while at the same time being denoiser-based. This is a non-trivial task, as the up and down perturbations can interact in arbitrarily complex ways, which was not accomplished in previous works; for space reasons, related works are discussed in Section I. This is precisely the goal that we will achieve in this paper.