Abstract
Model-based reinforcement learning (MBRL) relies on the accuracy of a learned "world model" to plan future actions. However, traditional training objectives like Maximum Likelihood Estimation (MLE) often suffer from an objective mismatch, where the model's statistical accuracy does not translate to high-quality policies. Value-Aware Model Learning (VAML) was proposed to mitigate this by focusing on errors that impact the Bellman equation. This paper provides a rigorous theoretical foundation for VAML by demonstrating its mathematical equivalence to the Wasserstein metric (Earth Mover's Distance). By leveraging Kantorovich-Rubinstein duality, the authors show that minimizing the worst-case value error is equivalent to minimizing the Wasserstein distance between the true and learned transition dynamics, provided the value functions are Lipschitz continuous.
Introduction
In model-based reinforcement learning, an agent learns a transition model $T$ to approximate the environment's true dynamics. This model is then used for planning or policy optimization. A persistent challenge in this paradigm is the compounding error phenomenon, where small inaccuracies in the model's one-step predictions accumulate over long horizons, leading to suboptimal or even catastrophic behavior.
Historically, these models have been trained using Maximum Likelihood Estimation (MLE), which is equivalent to minimizing the Kullback-Leibler (KL) divergence between the true and predicted distributions. A significant drawback of KL-divergence is that it is "value-agnostic": it treats all prediction errors with equal weight, regardless of their impact on the agent's expected return. To address this, Value-Aware Model Learning (VAML) was introduced to optimize models specifically for the task of value estimation. While VAML showed empirical success, its theoretical relationship to standard probability metrics remained an open question until this work.
Theoretical Framework
The authors bridge the gap between VAML and optimal transport theory through three primary analytical steps:
1. Lipschitz Continuity of Value Functions
The researchers first analyze Generalized Value Iteration (GVI), a framework encompassing various RL algorithms such as Q-learning and SARSA. They prove that if the reward function and the transition dynamics are Lipschitz continuous, and the backup operator (e.g., the max operator in Q-learning) is a non-expansion, then the resulting value function $V$ is also Lipschitz continuous. This property is crucial because it restricts the space of functions the model must satisfy.
2. Kantorovich-Rubinstein Duality
The proof relies heavily on a fundamental result from optimal transport theory. The Kantorovich-Rubinstein duality states that the $W_1$ Wasserstein distance between two probability distributions $P$ and $Q$ can be expressed as: $$W_1(P, Q) = \sup_{\|f\|_L \le 1} | \mathbb{E}_{x \sim P}[f(x)] - \mathbb{E}_{x \sim Q}[f(x)] |$$ This identity shows that the Wasserstein distance is the maximum difference in expectations over the set of all 1-Lipschitz functions.
3. The Equivalence Proof
By combining these insights, the authors demonstrate that the VAML objective—which seeks to minimize the worst-case error in the Bellman backup—is essentially a scaled version of the Wasserstein metric. Because the value functions are Lipschitz, the "worst-case" function sought by the VAML objective is exactly the type of function used to define the Wasserstein distance.
Key Results
The central contribution of the paper is a formal theorem establishing the equivalence between the VAML loss $L(T, \hat{T})$ for a given state-action pair $(s, a)$ and the Wasserstein distance:
$$L(T, \hat{T})(s, a) = (C \cdot W(T(\cdot|s, a), \hat{T}(\cdot|s, a)))^2$$
where $W$ is the Wasserstein metric and $C$ is a constant determined by the Lipschitz constants of the reward and transition functions.
This result provides a powerful justification for why Wasserstein-based losses are superior to KL-divergence in RL. Unlike KL-divergence, which can be infinite for non-overlapping distributions and ignores the underlying geometry of the state space, the Wasserstein metric incorporates the distance between states. If a model predicts an agent will land in state $A$ instead of state $B$, the Wasserstein distance accounts for how similar $A$ and $B$ are in terms of future value.
Discussion and Implications
This work moves the field of "value-aware" model learning from a heuristic-driven approach to one grounded in rigorous mathematical theory. It suggests that researchers can leverage the extensive literature on Wasserstein distances—including techniques used in Wasserstein GANs (WGANs) and entropic regularization—to develop more robust MBRL algorithms.
Limitations
While the theoretical equivalence is robust, several practical challenges remain:
- Lipschitz Assumptions: The proof assumes that transition dynamics and rewards are Lipschitz continuous. This may not hold in environments with discrete states, "cliffs" in the reward function, or discontinuous dynamics.
- Scalability: The paper does not provide a specific high-dimensional algorithm. Implementing Wasserstein-based losses in deep RL requires careful optimization, potentially using dual formulations or generative modeling.
Conclusion
By proving that VAML is equivalent to minimizing the Wasserstein distance, this paper provides a unifying perspective on model learning in RL. It confirms that optimizing a model to be "useful" for planning is equivalent to optimizing it under a metric that respects the geometry of the value function. Future work will likely focus on developing stable, scalable algorithms that implement these Wasserstein-based objectives in complex, high-dimensional environments.
Summary updated