Manuscript Offprint

arXiv:2610.11362

Bernoulli Flow Models: Self-Consistent Generative Modeling for Binary Data

Hao Mo, Liying Yang, Shumin Yao, Xinxing Yu, Ajian Liu, Xudong Mao, Yanyan Liang

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

Abstract

Binary diffusion models typically require a massive number of function evaluations (NFEs) to generate high-quality samples, making practical inference computationally expensive. Reducing NFEs while preserving sample quality without relying on distillation or additional training remains a significant challenge. However, existing binary diffusion models sequentially define a discrete one-step forward path and subsequently derive the reverse posterior. In low-NFE scenarios that require cross-step sampling, these models incorrectly approximate the true multi-step likelihood using a single-step likelihood transition, which severely degrades sample quality. To address this fundamental limitation and completely decouple the generative dynamics from fixed discrete time steps, we propose Bernoulli Flow Models (BFM). Rather than building upon sequential one-step Markov diffusion chains, we predefine a unified continuous global Bernoulli probability flow path between data distributions and pure noise, from which we derive analytical closed-form posterior transitions over arbitrary time intervals. Consequently, reducing the inference NFE in BFM is no longer an approximation of skipped discrete steps; it simply requires re-evaluating the analytical posterior on the new time intervals. This eliminates the structural training-inference mismatch inherent to discrete chains, yielding strictly self-consistent low-NFE sampling. Experimental results show that BFM is highly robust to aggressive NFE reduction. On the LSUN Churches 256x256 dataset, a 256-step-trained BFM achieves an FID of 9.22 when sampled with only 16 steps, whereas the state-of-the-art discrete baseline severely degrades to 204.10. BFM also remains competitive with both continuous and discrete generative baselines under standard full-step inference. Ultimately, these results establish BFM as a theoretically rigorous, self-consistent, and practically effective framework for fast binary data generation.

1 Introduction

Generative modeling over binary variables is a fundamental problem in binary image modeling, binarized latent representation learning, and statistical physics systems with two-state configurations. Recent binary generative models have shown that diffusion-style methods can achieve strong sample quality in binary spaces, including bit-based continuous diffusion formulations [4], Binary Latent Diffusion (BLD) [32], and recent binary diffusion models [18, 34]. However, these models still typically require hundreds or even thousands of sequential function evaluations (NFEs) to generate high-fidelity samples, making practical inference computationally expensive.

Preprint.

A natural objective is to reduce the inference NFE while preserving sample quality without additional distillation, consistency training, or task-specific retraining. In continuous diffusion models, this problem has been extensively studied through training-based acceleration, such as progressive distillation [25] and consistency models [29], as well as training-free samplers, such as DDIM [28] and DPM-Solver [21], which evaluate the same continuous-time dynamics on a coarser inference grid [13, 30, 19]. In binary state spaces, however, such training-free acceleration is far less straightforward, because many binary diffusion models are defined through fixed one-step discrete Markov transitions rather than an arbitrary-interval continuous path.

The key difficulty is that low-NFE binary sampling is not merely a matter of skipping steps. Under the original full-step inference schedule, the reverse process remains aligned with the training-time Markov chain. Once the inference grid is coarsened, each reverse update must jump across multiple intermediate training intervals. For example, sampling a 256-step-trained binary model with only 16 steps requires each inference step to represent a large cross-step transition. A valid low-NFE sampler therefore needs a reverse posterior defined over arbitrary time intervals; reusing the original one-step posterior for such enlarged intervals no longer describes the same generative process.

This exposes a fundamental self-consistency issue in existing binary diffusion samplers. Although multi-step transitions may be derived in principle for a discrete Markov chain, practical binary diffusion samplers are often tied to the local transition rule used during training. When the sampling schedule changes after training, the required cross-step posterior is approximated by local one-step likelihood transitions, introducing a structural mismatch between the training-time process and the low-NFE inference-time process. As the step budget becomes smaller, this mismatch is amplified, leading to severe degradation in sample quality. Thus, the central obstacle to fast binary generation is not simply the lack of a faster numerical solver, but the lack of an analytical posterior mechanism that remains valid under changed inference grids.

Recent continuous-time discrete denoising and discrete flow-matching frameworks provide important foundations for discrete generative modeling [2, 31, 20, 3, 10, 6, 7]. Nevertheless, these general formulations do not directly resolve the Bernoulli-specific low-NFE problem considered here: deriving closed-form posterior transitions over arbitrary time intervals so that changing the inference NFE becomes a rigorous reparameterization of the same binary generative process, rather than an approximate cross-step sampler.

To address this limitation, we propose Bernoulli Flow Models (BFM), a self-consistent generative framework for binary data. Instead of defining generation through fixed one-step Markov transitions, BFM starts from a unified continuous Bernoulli probability path between data and pure noise. From this path, we derive closed-form marginal, transition, and posterior distributions over arbitrary time intervals. Consequently, reducing the number of inference steps only requires re-evaluating the same analytical posterior on the new time intervals, which decouples the generative dynamics from a fixed training-time discretization and makes low-NFE sampling self-consistent by construction. Our contributions are summarized as follows: Our contributions can be summarized as follows:

• A Closed-Form Bernoulli Generative Framework: We propose Bernoulli Flow Models (BFM), which predefine a continuous Bernoulli probability path and derive analytical closed-form marginal, transition, and posterior distributions from this path.

• Self-Consistent Low-NFE Inference: The resulting arbitrary-interval posterior enables principled cross-step updates when the inference NFE is reduced after training. Instead of approximating a large multi-step jump with local one-step rules, BFM recomputes the analytical posterior on the new time intervals, yielding self-consistent low-NFE sampling.

• Effective Training-Free Acceleration in Practice: Experiments show that BFM is highly robust to aggressive NFE reduction. From a single 256-step checkpoint on LSUN Churches (256 × 256), BFM maintains an FID of 9.22 with only 16 sampling steps, whereas the corresponding baseline degrades to 204.10. Additional results show that BFM remains competitive under the original full-step inference setting across diverse tasks.

References (30)