Discrete Neural Flow Samplers with Locally Equivariant Transformer

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Ou, Zijing, Zhang, Ruixiang, Li, Yingzhen
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914107118059520
author Ou, Zijing
Zhang, Ruixiang
Li, Yingzhen
author_facet Ou, Zijing
Zhang, Ruixiang
Li, Yingzhen
contents Sampling from unnormalised discrete distributions is a fundamental problem across various domains. While Markov chain Monte Carlo offers a principled approach, it often suffers from slow mixing and poor convergence. In this paper, we propose Discrete Neural Flow Samplers (DNFS), a trainable and efficient framework for discrete sampling. DNFS learns the rate matrix of a continuous-time Markov chain such that the resulting dynamics satisfy the Kolmogorov equation. As this objective involves the intractable partition function, we then employ control variates to reduce the variance of its Monte Carlo estimation, leading to a coordinate descent learning algorithm. To further facilitate computational efficiency, we propose locally equivaraint Transformer, a novel parameterisation of the rate matrix that significantly improves training efficiency while preserving powerful network expressiveness. Empirically, we demonstrate the efficacy of DNFS in a wide range of applications, including sampling from unnormalised distributions, training discrete energy-based models, and solving combinatorial optimisation problems.
format Preprint
id arxiv_https___arxiv_org_abs_2505_17741
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Discrete Neural Flow Samplers with Locally Equivariant Transformer
Ou, Zijing
Zhang, Ruixiang
Li, Yingzhen
Machine Learning
Sampling from unnormalised discrete distributions is a fundamental problem across various domains. While Markov chain Monte Carlo offers a principled approach, it often suffers from slow mixing and poor convergence. In this paper, we propose Discrete Neural Flow Samplers (DNFS), a trainable and efficient framework for discrete sampling. DNFS learns the rate matrix of a continuous-time Markov chain such that the resulting dynamics satisfy the Kolmogorov equation. As this objective involves the intractable partition function, we then employ control variates to reduce the variance of its Monte Carlo estimation, leading to a coordinate descent learning algorithm. To further facilitate computational efficiency, we propose locally equivaraint Transformer, a novel parameterisation of the rate matrix that significantly improves training efficiency while preserving powerful network expressiveness. Empirically, we demonstrate the efficacy of DNFS in a wide range of applications, including sampling from unnormalised distributions, training discrete energy-based models, and solving combinatorial optimisation problems.
title Discrete Neural Flow Samplers with Locally Equivariant Transformer
topic Machine Learning
url https://arxiv.org/abs/2505.17741