Gradient-based Discrete Sampling with Automatic Cyclical Scheduling

Patrick Pynadath, Riddhiman Bhattacharya, Arun Hariharan, Ruqi Zhang
2/1/2024
11 citations

Official code: patrickpynadath1/automatic_cyclical_sampling (2 stars, Python, last commit 2025-08-07).

Abstract

Discrete distributions, particularly in high-dimensional deep models, are often highly multimodal due to inherent discontinuities. While gradient-based discrete sampling has proven effective, it is susceptible to becoming trapped in local modes due to the gradient information.

Show full abstract

To tackle this challenge, we propose an automatic cyclical scheduling, designed for efficient and accurate sampling in multimodal discrete distributions. Our method contains three key components: (1) a cyclical step size schedule where large steps discover new modes and small steps exploit each mode; (2) a cyclical balancing schedule, ensuring"balanced"proposals for given step sizes and high efficiency of the Markov chain; and (3) an automatic tuning scheme for adjusting the hyperparameters in the cyclical schedules, allowing adaptability across diverse datasets with minimal tuning. We prove the non-asymptotic convergence and inference guarantee for our method in general discrete distributions. Extensive experiments demonstrate the superiority of our method in sampling complex multimodal discrete distributions.

View on arXivView PDF

Code Implementations(1)

Repository for Automated Cyclical Sampling MCMC technique for discrete sample spaces.

20Python, ShellFeb 20, 20241 years ago

Similar Papers

Cite this paper

@article{pynadath2024gradientbased,
  title  = {Gradient-based Discrete Sampling with Automatic Cyclical Scheduling},
  author = {Patrick Pynadath and Riddhiman Bhattacharya and Arun Hariharan and Ruqi Zhang},
  year   = {2024},
  eprint = {2402.17699},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2402.17699},
  url    = {https://arxiv.org/abs/2402.17699},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.17699.svg)](https://codeofpaper.com/paper/2402.17699)

Discussion