Faster Approximate Dynamic Programming by Freezing Slow States

Yijia Wang, Daniel R. JiangarXiv 2023 · DOI

Abstract

Reinforcement learning in long-horizon tasks often suffers from slow convergence due to discount factors near unity. This paper introduces Frozen-State Value Iteration (FSVI), a hierarchical approach that exploits "fast-slow" state dynamics. By temporarily "freezing" slowly changing variables, FSVI decomposes complex Markov Decision Processes (MDPs) into parallelizable sub-problems with a more favorable effective discount factor. We provide theoretical regret bounds and demonstrate through experiments in inventory control and spatial navigation that FSVI achieves significant computational speedups and improved policy stability compared to standard flat reinforcement learning methods.

Introduction

Many real-world decision-making problems involve high-frequency actions over extended periods, such as inventory management or dynamic pricing. In the framework of Markov Decision Processes (MDPs), these long horizons necessitate a discount factor ($\gamma$) very close to 1. This creates a computational bottleneck: the convergence rate of standard algorithms like Value Iteration (VI) is determined by $\gamma$. When $\gamma \approx 1$, the number of iterations required to propagate value information across the horizon becomes prohibitively large. Furthermore, the "curse of dimensionality" makes flat state-space representations computationally intractable for complex environments.

The Fast-Slow MDP Framework

The proposed solution exploits the inherent temporal hierarchy in many systems. The state space $\mathcal{S}$ is decomposed into "slow" states $\mathcal{X}$ and "fast" states $\mathcal{Y}$. While fast states change at every time step, slow states remain relatively constant over short intervals.

Table 1: Frequently used notation in the fast-slow MDP framework.

Methodology: Frozen-State Value Iteration (FSVI)

The core innovation is a two-level planning strategy that simplifies the global problem:

  1. Lower-Level (Frozen Planning): For a horizon of $T$ periods, the algorithm assumes the slow state $x$ is constant. This turns the global MDP into a set of smaller, independent sub-problems that can be solved in parallel.
  2. Upper-Level (Slower Timescale): An auxiliary MDP is solved that evolves in jumps of $T$ steps. This upper-level problem utilizes an effective discount factor of $\gamma^T$. For instance, if $\gamma = 0.99$ and $T = 10$, the effective factor becomes $\approx 0.90$, leading to much faster convergence.

The authors also introduce Frozen-State Fitted Value Iteration (FSFVI) for reinforcement learning settings, utilizing function approximators like neural networks. In deep RL contexts, this decomposition acts as a natural regularizer, improving training stability by reducing the effective horizon.

Empirical Evaluation

The methodology was evaluated across three simulated domains:

  • Inventory Control: Managing stock with slowly shifting demand indicators.
  • Spatial-Task Gridworld: Navigation tasks where goals appear in different regions.
  • Dynamic Pricing: Setting prices against a gradually shifting consumer "reference price."

Key Results

  • Efficiency and Speed: In inventory control, FSVI reached near-optimal returns with significantly fewer evaluations than standard VI. In gridworld tasks, it achieved 75% optimality nearly 3x faster than flat baselines.
  • The Horizon Trade-off: There is a "sweet spot" for the freezing horizon $T$. While larger $T$ improves the discount factor, it increases the "freeze error" as the slow state eventually deviates from its initial value.
  • Necessity of Slow States: Baselines that ignored slow variables performed poorly, confirming that while these states change slowly, they remain critical for optimal long-term policy.

Conclusion and Limitations

FSVI offers a robust framework for accelerating dynamic programming by exploiting temporal multi-scales. While highly effective, the method requires careful tuning of the horizon $T$ and assumes a degree of smoothness (Lipschitz continuity) in the transition and reward functions. Future work includes extending this "freezing" logic to continuous action spaces and automating the discovery of optimal freezing horizons.

Summary updated

Abstract

We study infinite horizon Markov decision processes (MDPs) with "fast-slow" structure, where some state variables evolve rapidly ("fast states") while others change more gradually ("slow states"). This structure commonly arises in practice when decisions must be made at high frequencies over long horizons, and where slowly changing information still plays a critical role in determining optimal actions. Examples include inventory control under slowly changing demand indicators or dynamic pricing with gradually shifting consumer behavior. Modeling the problem at the natural decision frequency leads to MDPs with discount factors close to one, making them computationally challenging. We propose a novel approximation strategy that "freezes" slow states during phases of lower-level planning and subsequently applies value iteration to an auxiliary upper-level MDP that evolves on a slower timescale. Freezing states for short periods of time leads to easier-to-solve lower-level problems, while a slower upper-level timescale allows for a more favorable discount factor. On the theoretical side, we analyze the regret incurred by our frozen-state approach, which leads to simple insights on how to trade off regret versus computational cost. Empirically, we benchmark our new frozen-state methods on three domains, (i) inventory control with fixed order costs, (ii) a gridworld problem with spatial tasks, and (iii) dynamic pricing with reference-price effects. We demonstrate that the new methods produce high-quality policies with significantly less computation, and we show that simply omitting slow states is often a poor heuristic.
BibTeX
@misc{wang2023faster,
  author = {Yijia Wang and Daniel R. Jiang},
  title = {{Faster Approximate Dynamic Programming by Freezing Slow States}},
  year = {2023},
  eprint = {2301.00922},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2301.00922},
}
Figure