Stochastic Variational Integrators for System Propagation and Linearization

Gerardo De La Torre, Evangelos A. Theodorou2015 · DOI

Abstract

In this paper, we present a stochastic variational integrator and its linearization. To motivate the use of the proposed variational integrator, the Stochastic Differential Dynamical Programming (S-DDP) algorithm is considered as a benchmark for comparison. Specifically, we investigate if it is advantageous to utilize the variational integrator to propagate system trajectories and linearize system dynamics. Through numerical experiments, we show that the S-DDP algorithm becomes less dependent on the discretization time step and more predictable when it utilizes the proposed integrator. Furthermore, we show that a significant reduction in computational time can be achieved without sacrificing algorithm performance. Therefore, the proposed variational integrator can be used to enable real-time implementation of nonlinear optimal control algorithms.

Introduction

In robotics and aerospace engineering, systems are often governed by complex, noisy physics described by Stochastic Differential Equations (SDEs). To solve for optimal control paths, algorithms like Stochastic Differential Dynamical Programming (S-DDP) must repeatedly simulate (propagate) the system's trajectory and calculate how small changes in input affect that trajectory (linearization).

The standard tool for this discretization is the Euler-Maruyama method. While simple, it often ignores fundamental physical properties of the system, such as the conservation of energy or momentum. To maintain accuracy, Euler requires extremely small time steps ($\Delta t$), which makes the computation too slow for real-time applications. Furthermore, the linearization of a physically inconsistent discretized trajectory often leads to unpredictable behavior in the control algorithm.

Methods

We propose a Stochastic Variational Integrator (SVI). Unlike standard methods that discretize differential equations directly, variational integrators discretize the action integral (Hamilton’s Principle). This approach preserves the underlying physical structure of the system during discretization.

Key technical steps include:

  1. Discrete Lagrangian: Defining a discrete version of the system's Lagrangian ($L_d$) using a midpoint approximation.
  2. Stochastic Handling: Converting stochastic effects from the Stratonovich sense to the Ito representation for easier numerical approximation.
  3. Forced DEL Equations: Deriving "Discrete Euler-Lagrange" equations that incorporate both deterministic external forces and stochastic noise.
  4. Structured Linearization: Providing an analytical first-order linearization of these discrete dynamics. This structured linearization allows the S-DDP algorithm to understand system sensitivity accurately even with large time steps.

Experimental Setup

The method was evaluated using a simulated 3-link planar manipulator, modeled after a human finger, which serves as a benchmark for nonlinear control in robotics. The system was tested under three noise conditions: white noise, control-dependent noise, and state-dependent noise.

The 3-link manipulator model (a) and a comparison of trajectory propagation between the Euler method (b) and the Variational Integrator (c). Note the instability of the Euler method at larger time steps compared to the consistency of the SVI.

Key Insights

  • Physics-Preservation is Robust: Because the SVI respects the system's natural structure (like momentum conservation), the resulting discretized path remains much closer to the true continuous path than an Euler approximation, even when the time step is coarse.
  • Linearization Stability: S-DDP relies heavily on the quality of the system's linearization. Standard methods produce "noisy" or unstable linearizations at larger time steps. The SVI provides a structured linearization that remains stable and predictable.
  • Predictability: The number of iterations required for S-DDP to converge becomes much more consistent when using the SVI, whereas the Euler method's performance fluctuates wildly as the time step changes.

Key Results

Comparing the SVI against the standard Euler method across various time steps ($\Delta t$) yielded significant performance gains:

  • Computational Speedup: For a fine time step ($\Delta t = 0.0001$), the SVI-based S-DDP was approximately 3x faster than the Euler-based version (393s vs 1119s).
  • Step-Size Independence: The SVI maintained high accuracy and low cost even as the time step was increased by a factor of 10 or more. In contrast, the Euler method's optimized cost spiked significantly as the time step grew.
  • Real-Time Potential: By allowing for larger time steps without sacrificing performance, the SVI reduces the total CPU time to a level where nonlinear stochastic control can be implemented on robotic hardware in real-time.
Variational Integrator control inputs showing remarkable consistency across different discretization time steps, supporting the method's robustness for real-time control.

Conclusion and Future Work

This research demonstrates that stochastic variational integrators provide a more robust and efficient framework for propagating and linearizing stochastic systems compared to traditional methods. Future work will explore the impact of controller bandwidth at very large time steps, the effects of numerical precision on long-term integration, and the potential benefits of extending this framework to second-order linearization for even faster S-DDP convergence.

Summary updated

Abstract

In this paper we present a stochastic variational integrator and its linearization. In order to motivate the use of the proposed variational integrator the Stochastic Differential Dynamical Programming (S-DDP) algorithm is considered as a benchmark for comparison. Specifically, we are interested in investigating if it is advantageous to utilize the variational integrator to propagate system trajectories and linearize system dynamics. Through numerical experiments we show that the Stochastic Differential Dynamical Programming algorithm becomes less dependent on the discretization time step and more predictable when it utilizes the proposed integrator. Furthermore, we show that a significant reduction in computational time can be achieved without sacrificing algorithm performance. Therefore, the proposed variational integrator can be used to enable real-time implementation of nonlinear optimal control algorithms.
BibTeX
@misc{torre2015stochastic,
  author = {Gerardo De La Torre and Evangelos A. Theodorou},
  title = {{Stochastic Variational Integrators for System Propagation and Linearization}},
  year = {2015},
  doi = {10.19124/ima.2015.001.17},
}
Figure