Categorical Flow Maps

TL;DR

Proposes Categorical Flow Maps, leveraging continuous paths for rapid few-step categorical data generation with state-of-the-art results.

cs.LG 🔴 Advanced 2026-02-13 49 views
Daan Roos Oscar Davis Floor Eijkelboom Michael Bronstein Max Welling İsmail İlkan Ceylan Luca Ambrogioni Jan-Willem van de Meent
generative models flow matching categorical data self-distillation accelerated inference

Key Findings

Methodology

This work builds on variational flow matching (VFM), introducing endpoint-parameterized flow maps that transport probability mass along continuous trajectories within the probability simplex. The approach employs a novel cross-entropy loss combined with endpoint consistency constraints, enabling stable training of continuous paths in categorical spaces. During inference, the model reuses guidance and reweighting techniques, allowing direct steering of sampling towards downstream objectives. The method integrates self-distillation, learning the flow trajectories via a partial denoiser, which ensures the predictions remain within the simplex constraints. Empirical evaluations on molecular graphs, images, and text demonstrate high-quality few-step and single-step generation, outperforming existing baselines.

Key Results

  • On QM9 and ZINC datasets, the model achieves 95.8% and 93.5% valid molecular graphs with a single step, surpassing prior methods. In image generation, Binary MNIST's FID drops to 10.1, and in text, Text8's NLL is 5.33 with LM1B perplexity at 274.87. These results indicate superior sample efficiency and quality in few-step regimes. Ablation studies confirm the benefits of endpoint parameterization and the combined loss functions, demonstrating robustness across tasks.
  • The proposed framework enables target-guided sampling at test time, improving class-conditional accuracy and sample fidelity. The continuous path formulation ensures smooth probability transport, reducing the number of function evaluations needed for high-quality samples. Comparisons with baseline flow models show consistent advantages in validity, diversity, and computational efficiency, especially in high-dimensional settings.
  • The main innovation lies in the endpoint-parameterized flow map, which maintains the probability constraints and supports stable training via self-distillation. This approach bridges the gap between discrete data and continuous transport, opening new avenues for efficient, controllable generation in various modalities.

Significance

This research advances the field of generative modeling by enabling high-quality, few-step sampling for discrete data, a long-standing challenge. By integrating continuous paths within the probability simplex, it overcomes limitations of traditional discrete Markov chain approaches, offering a scalable and flexible framework. The ability to perform target-guided inference at test time enhances controllability, making the method highly applicable to real-world tasks such as drug discovery, image synthesis, and language modeling. The theoretical guarantees and empirical success demonstrate its potential to reshape how discrete data is generated efficiently, with broad implications for AI research and industry applications.

Technical Contribution

The paper introduces a novel endpoint-parameterized flow map that transports probability mass continuously within the categorical simplex, leveraging variational flow matching and self-distillation. The design ensures the flow respects probability constraints, supported by a new cross-entropy-based loss that bounds the Lagrangian residual. During training, the model learns a partial denoiser that guides the flow, enabling stable and efficient optimization. At inference, the model reuses guidance and reweighting techniques, facilitating target-directed sampling with minimal steps. These innovations collectively provide a new paradigm for discrete data generation, combining theoretical rigor with practical efficiency.

Novelty

This work is the first to incorporate continuous, endpoint-parameterized flow maps directly within the categorical probability simplex, enabling few-step generation without sacrificing accuracy. Unlike prior methods relying on discrete Markov chains or deterministic paths, this approach maintains probabilistic constraints throughout the transport process. The integration of variational flow matching with self-distillation and endpoint consistency is a key novelty, providing both theoretical guarantees and empirical robustness in high-dimensional, discrete settings.

Limitations

  • Despite its strengths, the method faces challenges in high-dimensional, complex discrete structures where training stability and path accuracy may degrade. The reliance on reward models for guidance can limit performance if rewards are poorly designed. Additionally, the current approach primarily targets moderate-sized datasets; scaling to very large or highly structured data remains an open problem. Future work should focus on improving stability, scalability, and robustness across diverse applications.

Future Work

Future directions include extending the framework to handle larger, more complex discrete structures such as graphs with intricate dependencies, integrating reinforcement learning for adaptive guidance, and exploring multi-scale path modeling. Enhancing training stability in high-dimensional spaces and developing more sophisticated reward-guided sampling strategies will further improve performance. Additionally, applying the approach to real-world tasks like drug discovery, language understanding, and multimodal generation could unlock broader industrial impact.

AI Executive Summary

In recent years, generative models such as diffusion and flow-based architectures have achieved remarkable success in producing high-quality images, text, and molecular structures. However, their reliance on multi-step sampling processes often results in high computational costs, limiting real-time applications. Addressing this challenge, the current study introduces Categorical Flow Maps (CFM), a novel framework that leverages continuous trajectories within the probability simplex to facilitate rapid, few-step generation of discrete categorical data.

Building upon the variational flow matching (VFM) paradigm, the authors propose an endpoint-parameterized flow map that transports probability mass smoothly from a prior distribution to a target categorical distribution. This approach employs a new cross-entropy loss combined with endpoint consistency constraints, ensuring stable training and accurate path approximation. During inference, the model can reuse guidance and reweighting techniques, enabling targeted sampling towards specific downstream objectives with minimal steps.

Empirical results across molecular graph datasets (QM9, ZINC), image datasets (Binary MNIST), and text corpora (Text8, LM1B) demonstrate the method’s efficacy. The model achieves over 95% valid molecules in a single step on QM9, with FID scores as low as 10.1 on MNIST, and perplexity of 274.87 on LM1B, outperforming existing baselines. These results highlight the potential of continuous, endpoint-parameterized flow maps to revolutionize discrete data generation, making it faster, more controllable, and scalable.

The significance of this work lies in its ability to bridge the gap between continuous transport methods and discrete data, providing a scalable solution for high-quality, few-step generation. Its implications extend to drug discovery, image synthesis, and language modeling, where efficiency and controllability are critical. Future research will focus on scaling to larger, more complex structures, improving training stability, and integrating reinforcement learning for adaptive guidance, promising a new era of efficient discrete data generation.

Deep Dive

Abstract

We introduce Categorical Flow Maps, a flow-matching method for accelerated few-step generation of categorical data via self-distillation. Building on recent variational formulations of flow matching and the broader trend towards accelerated inference in diffusion and flow-based models, we define a flow map towards the simplex that transports probability mass toward a predicted endpoint, yielding a parametrisation that naturally constrains model predictions. Since our trajectories are continuous rather than discrete, Categorical Flow Maps can be trained with existing distillation techniques, as well as a new objective based on endpoint consistency. This continuous formulation also automatically unlocks test-time inference: we can directly reuse existing guidance and reweighting techniques in the categorical setting to steer sampling toward downstream objectives. Empirically, we achieve state-of-the-art few-step results on images, molecular graphs, and text, with strong performance even in single-step generation.

cs.LG