为了看得更远而走得更快:使用JAX实现易腐库存控制的GPU加速值迭代与仿真
Going faster to see further: GPU-accelerated value iteration and simulation for perishable inventory control using JAX
AI总结:
本研究使用JAX库实现了GPU加速的值迭代与仿真,以解决易腐库存控制中因状态空间庞大导致的计算难题,将值迭代扩展至此前不可行的大规模场景,并验证了启发式策略仅有2.49%的最优性差距。
摘要:
值迭代可以为易腐库存问题找到最优补货策略,但由于需要庞大的状态空间来表示库存的年龄分布,其计算需求很高。现代GPU的并行处理能力可以通过同时更新多个状态来减少运行值迭代所需的实际时间。与机器学习等其他领域相比,GPU加速方法在运筹学中的采用较为有限,而在这些领域中,新的软件框架已使GPU编程变得广泛普及。我们使用Python库JAX在高级API中实现了值迭代和底层Markov决策过程的模拟器,并依赖该库的函数转换和编译器来高效利用GPU硬件。我们的方法可以将值迭代的应用扩展到以前被认为不可行或不切实际的场景。我们在三项近期研究的示例场景中进行了演示,其中包括包含超过1600万个状态的问题,以及增加计算复杂度的额外问题特征(如产品间的替代性)。我们将最优补货策略的性能与启发式策略进行了比较,后者是使用JAX中的仿真优化拟合的,这允许在数千个仿真年上并行评估多个候选策略参数。启发式策略给出的最大最优性差距为2.49%。我们的通用方法可能适用于运筹学中各种能从消费级GPU硬件上的大规模并行计算中受益的问题。
英文摘要:
Value iteration can find the optimal replenishment policy for a perishable inventory problem, but is computationally demanding due to the large state spaces that are required to represent the age profile of stock. The parallel processing capabilities of modern GPUs can reduce the wall time required to run value iteration by updating many states simultaneously. The adoption of GPU-accelerated approaches has been limited in operational research relative to other fields like machine learning, in which new software frameworks have made GPU programming widely accessible. We used the Python library JAX to implement value iteration and simulators of the underlying Markov decision processes in a high-level API, and relied on this library's function transformations and compiler to efficiently utilize GPU hardware. Our method can extend use of value iteration to settings that were previously considered infeasible or impractical. We demonstrate this on example scenarios from three recent studies which include problems with over 16 million states and additional problem features, such as substitution between products, that increase computational complexity. We compare the performance of the optimal replenishment policies to heuristic policies, fitted using simulation optimization in JAX which allowed the parallel evaluation of multiple candidate policy parameters on thousands of simulated years. The heuristic policies gave a maximum optimality gap of 2.49%. Our general approach may be applicable to a wide range of problems in operational research that would benefit from large-scale parallel computation on consumer-grade GPU hardware.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。