Data-driven discovery of interpretable Lagrangian of stochastically excited dynamical systems

Tapas Tripura, Satyam Panda, Budhaditya Hazra, Souvik Chakraborty

Abstract

Exploring the intersection of deterministic and stochastic dynamics, this paper delves into Lagrangian discovery for conservative and non-conservative systems under stochastic excitation. Traditional Lagrangian frameworks, adept at capturing deterministic behavior, are extended to incorporate stochastic excitation. The study critically evaluates recent computational methodologies for learning Lagrangians from observed data, highlighting the limitations in interpretability and the exclusion of stochastic excitation. To address these gaps, an automated data-driven framework is proposed for the simultaneous yet uncoupled discovery of Lagrange densities and the volatility function of stochastic excitation by leveraging the sparse regression. This novel framework offers several advantages over existing approaches. Firstly, it provides an interpretable description of the underlying Lagrange density, allowing for a deeper understanding of system dynamics under stochastic excitations. Secondly, it identifies the interpretable form of the generalized stochastic force, addressing the limitations of existing deterministic approaches. Additionally, the framework demonstrates robustness and versatility through numerical case studies encompassing both stochastic differential equations (SDEs) and stochastic partial differential equations (SPDEs), with results showing almost exact approximations to true system behavior and minimal relative error in derived equations of motion.

Introduction

Modeling the fundamental "rules of the game" for dynamical systems typically relies on the elegant principles of Lagrangian or Hamiltonian mechanics. While traditional methods excel at deterministic systems where trajectories are predictable, real-world physical systems are often "stochastically excited." This means they are subject to inherent randomness, noise, and environmental fluctuations that complicate the discovery of their governing equations.

Recent machine learning advances, such as Lagrangian Neural Networks (LNNs), have attempted to model these systems. However, LNNs often function as "black boxes," providing predictive power without readable mathematical insights. Conversely, existing symbolic equation discovery methods often ignore stochastic components entirely. This research bridges the gap by introducing a framework that identifies both the underlying physics (the Lagrangian) and the structure of the noise (the volatility) in a human-readable, symbolic form.

The Lagrangian Discovery Framework

The proposed framework leverages Stochastic Euler-Lagrange equations combined with Sparse Regression to reconstruct system dynamics from noisy observations. The core innovation lies in an "uncoupled" discovery process that separates deterministic physics from stochastic excitation using statistical moments.

Algorithm for Lagrangian discovery in stochastically excited systems.

Methodology Steps:

  1. Ensemble Observation: Instead of relying on a single noisy trajectory, the method analyzes an ensemble of responses to capture statistical trends.
  2. Lagrangian Identification: By taking the expectation (statistical mean) of the stochastic Euler-Lagrange equation, the noise terms effectively vanish. This allows the use of Sequential Threshold Least-Squares (STLS) regression to select the most relevant terms from a symbolic library (e.g., polynomials, trigonometric functions) to define the deterministic Lagrangian functional.
  3. Volatility Discovery: Once the Lagrangian is established, the framework utilizes the second-order moment (variance) of the system's response to identify the volatility function—the mathematical description of how stochastic excitation impacts the system.
  4. Interpretability: By selecting from a library of candidate functions rather than training a deep neural network, the output is a clean, symbolic equation that a physicist can interpret and validate.

Experimental Benchmarks

The framework was validated using six synthetic "digital twin" benchmarks, covering both Stochastic Differential Equations (SDEs) and Stochastic Partial Differential Equations (SPDEs). These benchmarks represent a wide range of physical phenomena, from simple point-mass oscillators to continuous vibrating structures.

Summary of Lagrangian density functions and Wiener potentials for the tested systems.

Training data consisted of simulated state trajectories generated via high-order numerical schemes. The systems tested included:

  • SDEs: Harmonic oscillator, simple pendulum, Duffing oscillator, and a 3-degree-of-freedom (3DOF) structural system.
  • SPDEs: The stochastic wave equation and the stochastic Euler-Bernoulli beam.

Key Insights and Results

The research yielded several significant findings regarding the efficiency and accuracy of the uncoupled discovery approach:

  • Separation of Concerns: The realization that first-order moments isolate the Lagrangian while second-order moments isolate noise allows for a powerful "divide and conquer" strategy in equation discovery.
  • High Precision and Robustness: In most test cases, the relative error between the true system parameters and the discovered ones was less than 1%. The framework demonstrated it could approximate true system behavior almost exactly using as little as one second of measurement data.
  • Predictive Power: The discovered models accurately predicted system behavior in "future" time regions outside the training set, proving that the framework captures the underlying physics rather than just over-fitting the noise.
  • Physics-Preserving Discovery: Because the model is constrained to a Lagrangian form, the discovered equations automatically respect fundamental physical principles like the conservation of energy.

Limitations and Future Directions

While the framework is highly effective, it faces certain challenges. Like all symbolic regression methods, it is dependent on the quality of the candidate library; if a specific physical term is missing from the library, the model cannot discover it. Additionally, the method currently requires an ensemble of responses, which may be difficult to obtain in some experimental settings.

Future work will focus on expanding the framework to handle "colored" noise or non-Gaussian stochastic processes (such as Lévy flights) and testing its scalability on high-dimensional "many-body" systems. Despite these limitations, this framework represents a major step toward automated, interpretable physics discovery in the presence of real-world randomness.

Summary updated

BibTeX
@inproceedings{tripura2024data,
  author = {Tapas Tripura and Satyam Panda and Budhaditya Hazra and Souvik Chakraborty},
  title = {{Data-driven discovery of interpretable Lagrangian of stochastically excited dynamical systems}},
  booktitle = {Computer},
  year = {2024},
  doi = {10.1016/j.cma.2024.117032},
}
Figure