Speeding up Policy Simulation in Supply Chain RL
Vivek Farias, Joren Gijsbrechts, Aryan Khojandi, Tianyi Peng, Andrew Zheng
TL;DR
This work tackles the bottleneck of policy evaluation in policy-optimization for large-scale supply chain RL by introducing Picard Iteration, an iterative, GPU-friendly scheme that partitions the horizon into multiple tasks and uses a cached action sequence to enable batched policy evaluation. The authors prove convergence with a small number of iterations in a broad class of SCO problems and demonstrate substantial practical speedups (up to ~400x on a single GPU) for Fulfillment Optimization, significantly accelerating end-to-end RL pipelines. Beyond SCO, they show promising results in OpenAI Gym MuJoCo environments, indicating potential generalization to other RL domains. The work also provides a strong empirical and theoretical comparison to Time Warp, showing order-of-magnitude advantages for the proposed approach. Overall, Picard Iteration offers a scalable, provably efficient path to faster policy evaluation and optimization in large-scale RL problems with long horizons.
Abstract
Simulating a single trajectory of a dynamical system under some state-dependent policy is a core bottleneck in policy optimization (PO) algorithms. The many inherently serial policy evaluations that must be performed in a single simulation constitute the bulk of this bottleneck. In applying PO to supply chain optimization (SCO) problems, simulating a single sample path corresponding to one month of a supply chain can take several hours. We present an iterative algorithm to accelerate policy simulation, dubbed Picard Iteration. This scheme carefully assigns policy evaluation tasks to independent processes. Within an iteration, any given process evaluates the policy only on its assigned tasks while assuming a certain "cached" evaluation for other tasks; the cache is updated at the end of the iteration. Implemented on GPUs, this scheme admits batched evaluation of the policy across a single trajectory. We prove that the structure afforded by many SCO problems allows convergence in a small number of iterations independent of the horizon. We demonstrate practical speedups of 400x on large-scale SCO problems even with a single GPU, and also demonstrate practical efficacy in other RL environments.
