Beyond Random Walks: Accelerating Discrete Sampling with Temporal Point Processes

Sampling on Discrete Spaces with Temporal Point Processes

2026-01-01
Cameron A. Stewart (Gatsby Computational Neuroscience Unit, University College London, London, U.K), Maneesh Sahani (Gatsby Computational Neuroscience Unit, University College London, London, U.K)
Summary
Problem
Method
Results
Takeaways
Abstract

This paper introduces a novel framework for sampling from multivariate discrete count distributions using multivariate temporal point processes. By modeling the sampler as a system of coupled infinite-server queues with deterministic service times (the sliding window mechanism), the authors prove that the event-count vector converges in distribution to the target, achieving superior efficiency over traditional birth-death and Zanella processes.

TL;DR

Sampling from complex discrete distributions is a cornerstone of Bayesian inference and stochastic modeling, yet it is often plagued by "random-walk" inefficiency. This paper proposes a radical shift: instead of jump-based Markov chains, it uses Temporal Point Processes. By counting events in a sliding window, the sampler introduces a form of "discrete momentum" that prevents the process from immediately backtracking, resulting in significantly higher Effective Sample Size (ESS) and computational speed.

Background: The Gap in Discrete Sampling

In the continuous domain, we have advanced tools like Hamiltonian Monte Carlo (HMC) that use gradient info to avoid random walks. In discrete spaces, we usually rely on Gibbs sampling or birth-death processes, which lack momentum. While recent works like Zanella processes have improved discrete sampling through better balancing functions, they remain inherently jump-based and often reversible, limiting their exploration speed.

The Core Insight: Memory as Momentum

The authors treat the sampler as a system of coupled queues.

  • Arrivals: New events occur according to a conditional intensity .
  • Service/Memory: Every event stays in "memory" for exactly time units and then disappears.
  • The State: The current sample is simply the number of active events for each dimension within the window .

Why is this better? In a standard birth-death process, a "death" (count decrease) can happen at any time, often immediately after a "birth" (count increase). In this point process sampler, a born event must stay for seconds. This creates a "forced forward motion" or discrete momentum.

System Architecture - Sliding Window Logic The fundamental intensity formula: combines the target density ratio with a base intensity .

Methodology: From Queues to Neural Networks

The authors prove a powerful Convergence Theorem: for any distribution with "downward-closed support," the point process will converge to the target distribution as .

One of the most exciting applications is in Theoretical Neuroscience. The authors derive a recurrent stochastic neural network where:

  1. Spikes are the events.
  2. Integration Windows (the parameter) represent the synaptic integration time.
  3. Refractory Periods emerge naturally from the dynamics.

This provides a rigorous mathematical bridge between biological spiking behavior and probabilistic inference (the "Sampling Brain" hypothesis).

Experimental Performance

The researchers tested the sampler against 63 target distributions, including Poisson, Sherrington-Kirkpatrick (Ising) models, and Stochastic Neural Nets.

Effectiveness Comparison Figure 1: Comparison of ESS and ESS/second. The Point Process Sampler (in orange) shows a clear advantage in computational efficiency (the right-hand plots).

Key Observations:

  • Superiority over Birth-Death: The point process sampler is mathematically a "parent" to the birth-death process. Increasing randomness in point locations "degenerates" the sampler back into a birth-death process, which always performs worse.
  • Computational Speed: Because it uses only conditional intensities (whereas Zanella processes might require evaluating possible transitions), the CPU efficiency is unmatched, often 3x faster per second.

Critical Perspective

While the sampler is a breakthrough, it has nuances:

  • The Weight Regime: The sampler performs best in "weak-coupling" scenarios. As interactions (weights) become extremely strong, its advantage over Zanella processes diminishes.
  • Memory Overhead: Maintaining a queue of event times is slightly more complex than a simple integer state, though the authors' Algorithm 1 shows this is manageable with standard data structures.

Conclusion

This paper elevates temporal point processes from a descriptive tool to a prescriptive sampling engine. By leveraging the physical intuition of "deterministic service times" in queues, it offers a robust, non-reversible alternative to classical MCMC for discrete spaces. For researchers in Bayesian ML and Computational Neuroscience, this provides a highly efficient and biologically plausible new tool for the toolkit.


Ref: Stewart & Sahani, "SAMPLING ON DISCRETE SPACES WITH TEMPORAL POINT PROCESSES", Gatsby Unit, UCL.

Find Similar Papers

Try Our Examples

  • Search for recent studies on non-reversible Markov Chain Monte Carlo (MCMC) methods specifically designed for high-dimensional discrete state spaces.
  • Which paper first established the "sliding window count" approach for neural sampling, and how does the current work generalize its target distribution support?
  • Explore if the "discrete momentum" concept from temporal point processes has been applied to accelerate training in Discrete Variational Autoencoders or Boltzmann Machines.
Contents
Beyond Random Walks: Accelerating Discrete Sampling with Temporal Point Processes
1. TL;DR
2. Background: The Gap in Discrete Sampling
3. The Core Insight: Memory as Momentum
4. Methodology: From Queues to Neural Networks
5. Experimental Performance
5.1. Key Observations:
6. Critical Perspective
7. Conclusion