Abstract
In this paper we propose a new methodology for decision-making under uncertainty using recent advancements in the areas of nonlinear stochastic optimal control theory, applied mathematics, and machine learning. Grounded on the fundamental relation between certain nonlinear partial differential equations and forward-backward stochastic differential equations, we develop a control framework that is scalable and applicable to general classes of stochastic systems and decision-making problem formulations in robotics and autonomy. The proposed deep neural network architectures for stochastic control consist of recurrent and fully connected layers. The performance and scalability of the aforementioned algorithm are investigated in three non-linear systems in simulation with and without control constraints. We conclude with a discussion on future directions and their implications to robotics.
Introduction
Decision-making under uncertainty is a cornerstone of robotics and autonomous systems. Traditionally, this involves solving the Hamilton-Jacobi-Bellman (HJB) equation. However, the HJB equation is plagued by the "curse of dimensionality," where computational costs grow exponentially with the number of system states. While methods like Path Integral control exist, they often rely on restrictive assumptions regarding noise and control authority. This work leverages the nonlinear Feynman-Kac lemma to transform the HJB equation into a system of Forward-Backward Stochastic Differential Equations (FBSDEs), providing a more general and scalable solution.
Methodology
The proposed framework, the Deep FBSDE Controller, addresses the challenges of solving the backward component of FBSDEs, which typically suffers from compounding approximation errors.
FBSDE Reformulation and Importance Sampling
The initial value of the value function is treated as a trainable parameter. The BSDE is propagated forward in time, and the network is trained by minimizing the difference between the predicted terminal state value and the actual terminal cost. To ensure effective exploration of the state space, especially in unstable systems, the authors employ Importance Sampling via Girsanov’s Theorem. This modifies the drift of the forward SDE to guide the system toward goal states during training without invalidating the underlying mathematics.
LSTM Architecture
A key innovation in this work is the transition from independent Fully Connected (FC) networks at each time step to a Long Short-Term Memory (LSTM) architecture. LSTMs are uniquely suited for this task as they share weights across time steps and can effectively model temporal dependencies in the evolution of the value function's gradient.
Results and Discussion
The methodology was validated on three simulated systems: a 2D Pendulum, a 4D Cart-Pole, and a 12D Quadcopter.
Efficiency and Scalability
The LSTM-based approach demonstrated significant improvements in both training efficiency and parameter scaling. As shown in the comparison below, the LSTM architecture consistently required less training time and orders of magnitude fewer parameters as the state dimensionality increased.
Specifically, for the 12D Quadcopter task, the LSTM architecture saved over 20% in training time compared to the FC approach. While the FC method required 100 separate networks, making it difficult to tune, the LSTM handled the high-dimensional space with a single, more compact model.
Performance and Constraints
Beyond efficiency, the LSTM architecture produced smoother control trajectories. In contrast, the independent nature of FC networks often led to "spiky" control signals. The framework also successfully incorporated control constraints (e.g., motor torque limits) using a sigmoid-based soft constraint in the cost functional, allowing for analytical derivation of optimal control under box constraints.
Conclusion
This work presents a scalable deep learning framework for stochastic optimal control. By combining FBSDEs with LSTM architectures and importance sampling, the authors mitigate the curse of dimensionality and improve control performance. Future work will focus on bridging the sim-to-real gap, extending the framework to non-affine dynamics, and incorporating risk-sensitive control objectives.
Summary updated