[Paper Review] Duality between density function and value function with applications in constrained optimal control and Markov Decision Process
This paper establishes a duality between the value function and density function in optimal control and Markov Decision Processes (MDPs), enabling constrained optimal control problems—such as safety and capacity constraints—to be reformulated as optimizations over the density function. By leveraging a primal-dual algorithm that alternates between solving the standard HJB PDE for the value function and evolving the density via the Liouville equation, the method efficiently enforces constraints while maintaining optimality, with demonstrated success in robot navigation, traffic control, and experimental Segway control under disturbances.
Density function describes the density of states in the state space of a dynamic system or a Markov Decision Process (MDP). Its evolution follows the Liouville equation. We show that the density function is the dual of the value function in the optimal control problems. By utilizing the duality, constraints that are hard to enforce in the primal value function optimization such as safety constraints in robot navigation, traffic capacity constraints in traffic flow control can be posed on the density function, and the constrained optimal control problem can be solved with a primal-dual algorithm that alternates between the primal and dual optimization. The primal optimization follows the standard optimal control algorithm with a perturbation term generated by the density constraint, and the dual problem solves the Liouville equation to get the density function under a fixed control strategy and updates the perturbation term. Moreover, the proposed method can be extended to the case with exogenous disturbance, and guarantee robust safety under the worst-case disturbance. We apply the proposed method to three examples, a robot navigation problem and a traffic control problem in sim, and a segway control problem with experiment.
Motivation & Objective
- To establish a theoretical duality between the value function and density function in optimal control and MDPs.
- To address constrained optimal control problems—such as safety and capacity constraints—that are difficult to enforce directly in the primal value function formulation.
- To develop a primal-dual algorithm that alternates between value function optimization (HJB PDE) and density function evolution (Liouville equation) under constraints.
- To extend the framework to systems with exogenous disturbances and multiple coupled MDPs.
- To validate the approach through simulation and experimental results in robot navigation, traffic control, and Segway stabilization.
Proposed method
- Proposes a duality framework where the density function is the dual of the value function in both continuous-time systems and discrete MDPs.
- Uses an ODE-based method to compute the density function by solving the Liouville equation forward in time under a fixed control policy.
- Introduces a primal-dual algorithm: the primal step solves the HJB PDE with a perturbation term derived from the density constraint, while the dual step evolves the density via the Liouville equation.
- Implements a fixed-point iteration to update the perturbation term based on the current density, ensuring constraint satisfaction.
- Extends the method to robust control by incorporating worst-case disturbances into the density evolution, ensuring robust safety.
- Applies kernel density estimation to approximate the density function when only a simulator is available, enabling integration with reinforcement learning.
Experimental results
Research questions
- RQ1Can the density function be formally established as the dual of the value function in both continuous optimal control and discrete MDPs?
- RQ2How can constraints such as safety and traffic capacity be naturally enforced through optimization over the density function?
- RQ3Can a primal-dual algorithm be designed that alternately optimizes the value function and evolves the density function to satisfy constraints?
- RQ4How does the method perform under exogenous disturbances, and can it guarantee robust safety?
- RQ5Can the framework be extended to multiple coupled MDPs and integrated with reinforcement learning?
Key findings
- The density function is shown to be the dual of the value function in both continuous systems and MDPs, with the duality rooted in the Liouville and HJB equations.
- The proposed primal-dual algorithm successfully enforces density constraints, such as limiting traffic density in region 7, with the constrained solution achieving a cost of 79.21 compared to 71.05 in the unconstrained case.
- In the constrained MDP case, the optimal policy becomes stochastic, with the density at the bottleneck region exactly at its maximum allowed value, confirming constraint satisfaction.
- The method enables robust safety under worst-case disturbances by incorporating disturbance dynamics into the Liouville equation for density evolution.
- The framework is experimentally validated on a Segway system, demonstrating real-world applicability and stability under control constraints.
- The approach is extendable to reinforcement learning via kernel density estimation, enabling density-based safety constraints in simulation-based learning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.