Abstract
Perfect sampling allows for drawing samples guaranteed to be distributed exactly according to a Markov chain's stationary distribution. However, the standard Propp-Wilson algorithm's complexity is tied to the coupling time, which can explode in "stiff" systems with disparate time scales. This paper proposes a method to accelerate perfect sampling by identifying and skipping "passive" events—transitions that do not alter the system state. By jumping to the next state-changing event and employing a robust re-insertion logic, the algorithm decouples simulation runtime from theoretical coupling time, achieving speedups of up to 40x in complex network simulations.
Introduction
In stochastic modeling, obtaining a sample from the stationary distribution of a Markov chain is a fundamental task. The Propp-Wilson algorithm, utilizing "coupling from the past," is the gold standard for "perfect sampling." The algorithm works by simulating the chain backward in time until all possible starting states merge (couple) into a single state. The primary bottleneck is the coupling time ($\tau$); in systems where some events occur much more frequently than others without changing the state (e.g., a high-rate arrival process to a full queue), the computational cost of simulating every event becomes prohibitive.
Methodology: Event Skipping and Re-insertion
The authors treat the Markov chain as an automaton where transitions are "letters" in an alphabet. An event $a$ is considered "passive" if applying it to a state $X$ results in no change ($X \cdot a = X$).
Bounding Trajectories
To handle large state spaces, the method integrates with the Envelope Perfect Sampling Algorithm (EPSA). Instead of tracking every individual state, EPSA tracks an interval of states bounded by a maximum ($M$) and minimum ($m$) trajectory.
The Skipping Mechanism
The core innovation is drawing events from a conditional distribution that excludes currently passive events. This allows the simulation to "jump" over sequences of redundant transitions. However, because perfect sampling expands the simulation window backward into the past, an event that was passive in a shorter window might become "active" in a longer one.
To maintain "perfect" (unbiased) sampling, the authors developed a two-loop system:
- Generation Loop: Creates a new prefix of events while skipping repetitions of passive ones.
- Re-evaluation Loop: Checks the existing sequence. If a previously skipped event is no longer passive due to a change in the state trajectory, the algorithm "re-activates" it and re-inserts the missing repetitions.
Experimental Results
The algorithm was evaluated using synthetic benchmarks:
- Tandem Queues: In a two-server system, as the arrival rate $\lambda$ increased, the standard algorithm's runtime exploded. The skipping algorithm's runtime remained nearly constant, demonstrating a decoupling of runtime from coupling time.
- 8-Server Network: Using Join-the-Shortest-Queue (JSQ) routing, the authors observed speedups (Time Ratios) between 20x and 40x compared to standard Propp-Wilson.
The efficiency of the skipping method is inversely related to the entropy of the event distribution. The greatest gains are found in "predictable" systems where a highly frequent event is often passive.
Conclusion
By skipping passive events, this research provides a path to efficient perfect sampling in stiff Markovian systems. The method ensures that simulation effort is focused on events that actually drive state transitions, rather than the raw frequency of events in the underlying process. Future work includes optimizing the implementation overhead of alias tables and extending the logic to more granular, state-dependent skipping.
Summary updated