A Novel Control Method for Solving High-Dimensional Hamiltonian Systems Through Deep Neural Networks

Shaolin Ji, Shige Peng, Ying Peng, Xichuan ZhangSIAM J. Sci. Comput 2025 · OpenReview

TL;DR

This paper introduces a novel deep learning approach to solve high-dimensional Hamiltonian systems, which are notoriously difficult to handle with traditional numerical methods. By reformulating the problem as a stochastic optimal control problem, their proposed algorithms demonstrate faster convergence and more stable performance compared to existing deep learning methods for similar problems.

What Problem Does This Paper Address?

Hamiltonian systems are fundamental in physics and economics for describing dynamic phenomena. However, when these systems become high-dimensional and incorporate stochasticity, they transform into complex Forward Backward Stochastic Differential Equations (FBSDEs). Solving these high-dimensional, fully coupled FBSDEs is a significant challenge for existing numerical methods, which often struggle with scalability and stability. While deep learning has shown promise in tackling high-dimensional PDEs and BSDEs by framing them as optimal control problems, applying these techniques to fully coupled Hamiltonian systems (and thus FBSDEs) requires a tailored approach. This paper aims to bridge this gap by proposing new deep learning algorithms specifically designed for these challenging systems.

Methods

The core idea of this paper is to reframe the problem of solving a stochastic Hamiltonian system as a stochastic optimal control problem. Instead of directly approximating the solution of the FBSDE, the authors first construct an equivalent optimal control problem. They then leverage deep neural networks to approximate the optimal control strategies.

Two distinct algorithms are proposed:

  • Algorithm 1: This algorithm is designed for cases where the function $f(t, x, u, v)$, derived from the Hamiltonian, has an explicit analytical form.
  • Algorithm 2: This algorithm handles cases where $f(t, x, u, v)$ does not have an explicit form. It involves constructing additional neural networks to approximate intermediate functions related to the Hamiltonian system's structure.

Both algorithms utilize feedforward neural networks and employ the Adam optimizer. The approximation of controls ($u, v$) and, in Algorithm 2, intermediate state variables ($y, z$), is achieved through these networks. The numerical solutions are then derived from the learned optimal controls.

Datasets

Not discussed in the paper. The paper focuses on numerical methods and theoretical formulations, using synthetic examples for evaluation rather than real-world datasets.

Key Insights and Ideas

  • Reformulation as Optimal Control: The key insight is that solving a stochastic Hamiltonian system can be elegantly transformed into solving an equivalent stochastic optimal control problem. This shift in perspective opens the door to powerful deep learning optimization techniques.
  • Algorithm Specialization: The development of two distinct algorithms (one for explicit $f$, one for implicit $f$) highlights the practical need to adapt deep learning strategies to the specific analytical properties of the problem.
  • Improved Stability and Convergence: The proposed methods demonstrate a significant improvement in convergence speed and stability compared to existing deep learning approaches (like the "Deep FBSDE method"). This is crucial for high-dimensional problems where training can be computationally intensive and prone to divergence.
  • Connection to Hamiltonian Systems: The paper explicitly links the solutions of the optimal control problem back to the original Hamiltonian system, providing a rigorous theoretical foundation for their approach.

Key Results

The paper presents numerical results from three examples: a linear Hamiltonian system, a nonlinear Hamiltonian system, and a Hamiltonian system with exponents in the drift term. In all cases, the proposed algorithms (Algorithm 1 and 2) are compared against the "Deep FBSDE" method.

  • Faster Convergence: Algorithms 1 and 2 consistently require fewer training steps to achieve convergence compared to the Deep FBSDE method.
  • More Stable Performance: The proposed methods exhibit more stable convergence, especially when dealing with different terminal conditions or parameters that can cause the Deep FBSDE method to diverge.
  • Higher Accuracy (in some cases): While not universally true for all metrics, in some instances, the novel algorithms demonstrated higher accuracy.
  • Reduced Variance: The variation scope of the approximated solutions for the proposed algorithms is generally smaller than that of the Deep FBSDE method, indicating more consistent results across multiple runs.

Limitations and Future Work

  • Assumptions: The theoretical guarantees for existence and uniqueness of solutions (Theorem 1 and 2) rely on certain monotonicity conditions for the Hamiltonian and its derivatives. While the numerical methods are shown to work even when these conditions are relaxed, the theoretical underpinnings are stronger under these assumptions.
  • Computational Cost: While faster and more stable, deep learning methods still involve significant computational resources for training, especially in high dimensions.
  • Generalization: The paper focuses on specific types of Hamiltonian systems and their corresponding FBSDE formulations. Further research could explore the applicability of these methods to a broader class of stochastic differential equations.
  • Algorithm 1 Applicability: Algorithm 1 is limited to cases where the function $f(t, x, u, v)$ has an explicit form. Extending this to more complex scenarios where $f$ is implicitly defined would be valuable.
  • Future Work: The authors suggest exploring other forms of state equations and diffusion terms in the optimal control formulation and investigating the solvability of Hamiltonian systems under looser conditions.

Summary updated

BibTeX
@article{ji2025novel,
  author = {Shaolin Ji and Shige Peng and Ying Peng and Xichuan Zhang},
  title = {{A Novel Control Method for Solving High-Dimensional Hamiltonian Systems Through Deep Neural Networks}},
  journal = {SIAM J. Sci. Comput.},
  year = {2025},
  url = {https://openreview.net/forum?id=ahctwLURzQ},
}

Loading related content...

Figure