Abstract
A popular approach to solving large probabilistic systems relies on aggregating states based on a measure of similarity. Many approaches in the literature are heuristic. A number of recent methods rely instead on metrics based on the notion of bisimulation, or behavioral equivalence between states. An integral component of such metrics is the Kantorovich metric between probability distributions. However, while this metric enables many satisfying theoretical properties, it is costly to compute in practice. In this paper, we use techniques from network optimization and statistical sampling to overcome this problem. We obtain in this manner a variety of distance functions for MDP state aggregation, which differ in the tradeoff between time and space complexity, as well as the quality of the aggregation. We provide an empirical evaluation of these trade-offs.
Introduction
Markov Decision Processes (MDPs) are fundamental for modeling decision-making under uncertainty. However, the "curse of dimensionality" often renders standard algorithms like Value Iteration computationally infeasible as the state space grows. State aggregation offers a solution by grouping similar states to form a smaller, manageable MDP.
The ideal criterion for similarity is bisimulation, which identifies states with identical behavior. While theoretically robust, exact bisimulation is overly sensitive to minor perturbations in transition probabilities. To address this, bisimulation metrics provide a quantitative measure of similarity. The bottleneck in computing these metrics is the Kantorovich metric (also known as Earth Mover’s Distance), which requires solving a Minimum Cost Flow problem for every state pair at each iteration—a process that is computationally prohibitive for large systems.
Methodology
This study evaluates several distinct approaches to computing or approximating state similarity metrics:
- Exact Kantorovich: Direct solution of the linear program (LP) using specialized solvers.
- Cost Reoptimization: Leverages sensitivity analysis to accelerate the LP by starting from previous solutions when costs change incrementally.
- Fixed Point with Sampling: The proposed efficient alternative. It approximates probability distributions through $i$ samples, reducing the Kantorovich problem to a simpler assignment problem solvable via the Hungarian algorithm.
- Total Variation (TV): A fast but "loose" heuristic measuring absolute differences in transition probabilities.
- Bisimulation-based TV (Bisim): An intermediate heuristic that incorporates bisimulation equivalence classes into the TV calculation.
Experimental Results
The methods were tested on GridWorld navigation tasks (up to 196 states) and the Coffee Robot stochastic MDP.
Accuracy and Convergence
The sampling-based method demonstrates remarkable accuracy. As shown in Figure 3, the error (measured by the $L_\infty$ norm of the value function) for the sampling method is virtually identical to that of the exact Kantorovich and reoptimized methods. This empirical result is supported by the Strong Law of Large Numbers, which ensures convergence to the true metric as the number of samples increases.
Performance in Larger State Spaces
In larger environments, the advantages of the sampling method become even more pronounced. In a 7x7 GridWorld, the exact Kantorovich method failed to complete due to computational limits. In contrast, the sampling method remained efficient and maintained significantly lower error rates than the TV and Bisim heuristics.
Computational Efficiency
Beyond speed, memory usage is a critical differentiator. For a 5x5 grid, exact methods required approximately 1.8 GB of RAM, whereas the sampling and TV methods required less than 1 MB. This several-order-of-magnitude reduction in memory footprint enables the application of bisimulation-based aggregation to much larger problems than previously possible. In the 7x7 GridWorld, while exact methods timed out, the sampling method computed the metric in roughly 161 seconds.
Conclusion
The sampling-based approximation of bisimulation metrics provides a powerful trade-off, offering near-exact solution quality with significantly reduced time and memory requirements. Future work will focus on extending these metrics to factored state spaces and developing incremental versions for online reinforcement learning.
Summary updated