Exact Fast Batch Simulation for Tabular Reinforcement Learning
Abstract
Simulation is a fundamental computational primitive in reinforcement learning (RL), yet conventional simulation explicitly generates individual trajectories even when downstream procedures use only aggregate statistics. To address this, we develop an exact fast-simulation framework for finite-horizon tabular Markov decision processes. Our framework has two complementary modes. In direct batch simulation, a batch is represented by its aggregate Markov flow. With sufficient parallel simulation resources, this flow can be obtained by trajectory aggregation; when such simulation is unavailable or costly but the initial state and transition distributions are directly accessible, we instead generate an identically distributed flow through forward Markov-flow sampling without materializing individual trajectories. The latter reduces the simulator-side computational dependence on batch size from to . In adaptive batch simulation, when batch length is determined by a data-dependent condition, exact multivariate-hypergeometric splitting recursively refines a candidate Markov flow while preserving the conditional law, reducing the cost dependence on from to . Together, these modes accelerate simulation by keeping trajectories aggregated whenever possible and refining flows only when required to locate data-dependent boundaries. The framework applies broadly across simulator-based, offline, and online batch or stage-based RL, as illustrated with representative algorithms from each setting.
Create a lesson
Related papers
Exact Bayesian layers via characteristic functions
Shared title terminology · William H. W. Thompson, Guillaume St-Onge, Laurent Hébert-Dufresne et al.
Compressed Simulation-Based Inference: Neural Posterior Estimation for Massive Data via Low-Dimensional Sketches
Shared title terminology · Michael Wieck-Sosa, Cosma Rohilla Shalizi
Uncertainty-Aware Continual Learning for 2D XRD Interpretation Using Simulated and Experimental Data
Shared title terminology · Zihan Wang, Hyun Sang Park, Ali Rachidi et al.
Simultaneous Near-Optimal Region Identification in Continuous Simulation Optimization: Minimax Complexity and Adaptive Sampling
Shared title terminology · Yilin Zheng, Haowei Wang, Wenjia Wang et al.
Group-Conditional Conformal Risk Control: Exact Guarantees, Limits, and Overlapping Extensions
Shared title terminology · Tareq Aldirawi, Wenge Guo
CorrFlow: Exact and Permutation-Equivariant Flow Matching on the Correlation Elliptope
Shared title terminology · Gautier Marti