A Bayesian Filtering Approach for Learning Lagrangian Dynamics from Noisy Measurements
Reviewed by Pith T0 review T1 audit T2 compute T3 formal T4 kernel 2026-07-01 06:55 UTCgrok-4.3pith:JQW6YHJ4record.jsonopen to challenge →
The pith
Bayesian filters jointly learn neural-network parameters and hidden states inside a Lagrangian dynamics model from partial noisy measurements.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
The neural network parameters and system states are jointly learned via a maximum-likelihood method using Gaussian-approximation-based Bayesian filters on the continuous-time stochastic state-space model obtained from the Lagrangian with neural-network energies and additive white Gaussian noise for external forces, and the resulting models are shown to work on pendulum and Duffing oscillator examples.
What carries the argument
Gaussian-approximation-based Bayesian filters operating on the stochastic state-space model produced by the Euler-Lagrange equations when kinetic and potential energies are parameterized by neural networks and unknown forces are white Gaussian noise.
If this is right
- The joint estimation of parameters and states improves handling of measurement noise and partial observations.
- The stochastic formulation accounts for model mismatch without requiring an explicit external-force model.
- The method produces usable dynamics models on the pendulum and Duffing oscillator that outperform conventional Lagrangian neural networks under the same noisy conditions.
- Maximum-likelihood training via the Bayesian filter yields both point estimates and uncertainty information about the learned energies.
Where Pith is reading between the lines
- The same filtering construction could be applied to other conservative systems once their Lagrangian is written in neural-network form.
- Because the filter already maintains a state estimate, the learned model could be used directly inside a real-time observer or controller without a separate estimation step.
- The white-noise assumption on forces suggests a route to robust learning when the true disturbance statistics are unknown but roughly Gaussian.
Load-bearing premise
Unknown external forces can be represented adequately as additive white Gaussian noise in the continuous-time equations of motion.
What would settle it
Train the model on noisy partial measurements of the pendulum or Duffing oscillator, then test whether its one-step-ahead state predictions on held-out noisy data have higher error than those of a standard Lagrangian neural network trained on identical data.
Figures
read the original abstract
This paper proposes a Bayesian filtering-based approach for learning the dynamics of a physical system from partial, noisy measurements. We model the system dynamics using a Lagrangian mechanics formulation. As in Lagrangian neural networks (LNNs), we parameterize the kinetic and potential energies with neural networks. The unknown external forces in the Lagrangian formulation are modeled as white Gaussian noise. The corresponding Euler--Lagrange equations then yield a continuous-time stochastic state-space model (SSM) that describes the system dynamics. The neural network parameters and system states are then jointly learned via a maximum-likelihood method using Gaussian-approximation-based Bayesian filters. The effectiveness of the proposed method is demonstrated on pendulum and Duffing oscillator examples, and its performance is compared with conventional LNNs and with approximate Bayesian filters using known system models.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper proposes a Bayesian filtering approach to learn Lagrangian dynamics from partial noisy measurements. Kinetic and potential energies are parameterized by neural networks as in LNNs; unknown external forces are modeled as white Gaussian noise, yielding a continuous-time stochastic SSM. Neural network parameters and latent states are jointly estimated by maximum-likelihood using Gaussian-approximation Bayesian filters. Effectiveness is shown via comparisons to conventional LNNs on pendulum and Duffing oscillator examples.
Significance. If the central claim holds, the method offers a principled way to perform joint state and parameter estimation for Lagrangian systems under noise, potentially improving robustness over standard LNN training. The use of established Gaussian filters for the joint MLE is a clear technical strength when the white-noise modeling assumption is appropriate.
major comments (1)
- [Abstract / modeling description] The modeling step (abstract) that treats unknown external forces as white Gaussian noise to obtain the continuous-time stochastic SSM is load-bearing for the central claim. When this assumption is violated (colored, state-dependent, or deterministic disturbances), the neural-network kinetic/potential energies can absorb the mismatch during optimization, so the recovered Lagrangian fits the assumed SSM rather than the underlying physics. The pendulum and Duffing demonstrations do not stress this assumption, leaving the reported gains over LNNs without evidence of generalization.
minor comments (1)
- The abstract reports no quantitative metrics, error bars, or implementation details (e.g., filter type, discretization scheme, or training procedure), which makes the magnitude of improvement difficult to assess from the high-level description alone.
Simulated Author's Rebuttal
We thank the referee for the constructive feedback. We address the major comment below and will incorporate clarifications into the revised manuscript.
read point-by-point responses
-
Referee: [Abstract / modeling description] The modeling step (abstract) that treats unknown external forces as white Gaussian noise to obtain the continuous-time stochastic SSM is load-bearing for the central claim. When this assumption is violated (colored, state-dependent, or deterministic disturbances), the neural-network kinetic/potential energies can absorb the mismatch during optimization, so the recovered Lagrangian fits the assumed SSM rather than the underlying physics. The pendulum and Duffing demonstrations do not stress this assumption, leaving the reported gains over LNNs without evidence of generalization.
Authors: We agree that the white-Gaussian-noise modeling of unknown external forces is central to the derivation of the continuous-time stochastic SSM and to the applicability of the Gaussian-approximation filters. This is an explicit modeling choice that separates the Lagrangian (parameterized by the neural networks) from the disturbance process; under the assumed SSM the joint MLE procedure recovers both. When the true disturbances deviate from white Gaussian (e.g., colored, state-dependent, or deterministic), the learned kinetic/potential networks can indeed compensate for the mismatch, so the recovered Lagrangian is the one consistent with the assumed model rather than the true underlying physics. The pendulum and Duffing examples are standard benchmarks used by prior LNN work and demonstrate improved robustness to measurement noise relative to conventional LNN training; they do not, however, probe robustness to misspecified disturbance spectra. We will revise the abstract and add a new subsection in the discussion that explicitly states the modeling assumption, its consequences when violated, and the intended scope of the method. No new experiments are added at this stage. revision: partial
Circularity Check
No significant circularity; derivation applies standard filters to constructed SSM
full rationale
The paper defines a continuous-time stochastic SSM by adding white Gaussian noise to the Euler-Lagrange equations of a Lagrangian parameterized by neural networks, then applies existing Gaussian-approximation Bayesian filters for joint maximum-likelihood estimation of network parameters and states. No quoted equations reduce any claimed performance metric to a quantity defined by the fitted parameters themselves, and the provided text contains no load-bearing self-citations or uniqueness theorems imported from the authors' prior work. The central construction remains independent of the target results.
Axiom & Free-Parameter Ledger
free parameters (1)
- Neural network weights for kinetic and potential energies
axioms (2)
- domain assumption System dynamics obey the Euler-Lagrange equations derived from a Lagrangian
- ad hoc to paper Unknown external forces are white Gaussian noise
Reference graph
Works this paper leans on
-
[1]
B. Siciliano, O. Khatib, and T. Kr ¨oger,Springer Handbook of Robotics. New York, NY , USA: Springer, 2008. 5
work page 2008
-
[2]
G. Rigatos,Modelling and Control for Intelligent Industrial Systems: Adaptive Algorithms in Robotics and Industrial Engineering. Springer Science & Business Media, 2011
work page 2011
-
[3]
M. S. Grewal, L. R. Weill, and A. P. Andrews,Global Positioning Systems, Inertial Navigation, and Integration. John Wiley & Sons, 2007
work page 2007
-
[4]
Dynamic retrospective filtering of physiological noise in BOLD fMRI: DRIFTER,
S. S ¨arkk¨a, A. Solin, A. Nummenmaa, A. Vehtari, T. Auranen, S. Vanni, and F. H. Lin, “Dynamic retrospective filtering of physiological noise in BOLD fMRI: DRIFTER,”NeuroImage, vol. 60, no. 2, pp. 1517–1527, 2012
work page 2012
-
[5]
S. S ¨arkk¨a and A. Solin,Applied Stochastic Differential Equations. Cambridge University Press, 2019
work page 2019
-
[6]
Survey of maneuvering target tracking. Part I: Dynamic models,
X. R. Li and V . P. Jilkov, “Survey of maneuvering target tracking. Part I: Dynamic models,”IEEE Transactions on Aerospace and Electronic Systems, vol. 39, no. 4, pp. 1333–1364, 2003
work page 2003
-
[7]
Identification and control of dynamical systems using neural networks,
K. S. Narendra and K. Parthasarathy, “Identification and control of dynamical systems using neural networks,”IEEE Transactions on Neural Networks, vol. 1, no. 1, pp. 4–27, 1990
work page 1990
-
[8]
Neural networks for system identification,
S. R. Chu, R. Shoureshi, and M. Tenorio, “Neural networks for system identification,”IEEE Control Systems Magazine, vol. 10, no. 3, pp. 31– 35, 2002
work page 2002
-
[9]
Nonlinear state space model identification using a regularized basis function expansion,
A. Svensson, T. B. Sch ¨on, A. Solin, and S. S ¨arkk¨a, “Nonlinear state space model identification using a regularized basis function expansion,” in2015 IEEE 6th International Workshop on Computational Advances in Multi-Sensor Adaptive Processing (CAMSAP). IEEE, 2015, pp. 481– 484
work page 2015
-
[10]
Computationally efficient Bayesian learning of Gaussian process state space models,
A. Svensson, A. Solin, S. S ¨arkk¨a, and T. Sch ¨on, “Computationally efficient Bayesian learning of Gaussian process state space models,” in Proceedings of Artificial Intelligence and Statistics, 2016, pp. 213–221
work page 2016
-
[11]
The use of Gaussian processes in system identification,
S. S ¨arkk¨a, “The use of Gaussian processes in system identification,” in Encyclopedia of Systems and Control. Springer, 2019, pp. 1–10
work page 2019
-
[12]
Physics-informed machine learning,
G. E. Karniadakis, I. G. Kevrekidis, L. Lu, P. Perdikaris, S. Wang, and L. Yang, “Physics-informed machine learning,”Nature Reviews Physics, vol. 3, no. 6, pp. 422–440, 2021
work page 2021
-
[13]
Physics- informed neural networks (PINNs) for fluid mechanics: A review,
S. Cai, Z. Mao, Z. Wang, M. Yin, and G. E. Karniadakis, “Physics- informed neural networks (PINNs) for fluid mechanics: A review,”Acta Mechanica Sinica, vol. 37, no. 12, pp. 1727–1738, 2021
work page 2021
-
[14]
Hamiltonian neural net- works,
S. Greydanus, M. Dzamba, and J. Yosinski, “Hamiltonian neural net- works,” inProceedings of the 33rd Conference on Neural Information Processing Systems, 2019, pp. 15 379–15 389
work page 2019
-
[15]
M. Cranmer, S. Greydanus, S. Hoyer, P. Battaglia, D. Spergel, and S. Ho, “Lagrangian neural networks,” inProceedings of the 8th International Conference on Learning Representations, 2020, pp. 1–7
work page 2020
-
[16]
Deep Lagrangian networks: Using physics as model prior for deep learning,
M. Lutter, C. Ritter, and J. Peters, “Deep Lagrangian networks: Using physics as model prior for deep learning,” inInternational Conference on Learning Representations, 2019, pp. 1–17
work page 2019
-
[17]
Deep Lagrangian networks for end-to-end learning of energy-based control for under-actuated systems,
M. Lutter, K. Listmann, and J. Peters, “Deep Lagrangian networks for end-to-end learning of energy-based control for under-actuated systems,” in2019 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 2019, pp. 7718–7725
work page 2019
-
[18]
Combining physics and deep learning to learn continuous-time dynamics models,
M. Lutter and J. Peters, “Combining physics and deep learning to learn continuous-time dynamics models,”The International Journal of Robotics Research, vol. 42, no. 3, pp. 83–107, 2023
work page 2023
-
[19]
Integrating Lagrangian neural networks into the Dyna framework for reinforcement learning,
S. Das, K. Kumar, M. Iqbal, O. Savolainen, D. Baumann, L. Ruot- salainen, and S. S¨arkk¨a, “Integrating Lagrangian neural networks into the Dyna framework for reinforcement learning,”to appear in Proceedings of 34th European Signal Processing Conference (EUSIPCO), 2026
work page 2026
-
[20]
K. E. Atkinson,An Introduction to Numerical Analysis. John Wiley & Sons, 2008
work page 2008
-
[21]
Y . Bar-Shalom, X. R. Li, and T. Kirubarajan,Estimation with applica- tions to tracking and navigation: Theory algorithms and software. John Wiley & Sons, 2001
work page 2001
-
[22]
S. S ¨arkk¨a and L. Svensson,Bayesian Filtering and Smoothing, 2nd ed. Cambridge University Press, 2023
work page 2023
-
[23]
I. Arasaratnam and S. Haykin, “Cubature Kalman filters,”IEEE Trans- actions on Automatic Control, vol. 54, no. 6, pp. 1254–1269, 2009
work page 2009
-
[24]
The unscented Kalman filter for nonlinear estimation,
E. A. Wan and R. Van Der Merwe, “The unscented Kalman filter for nonlinear estimation,” inProceedings of the IEEE 2000 Adaptive Sys- tems for Signal Processing, Communications, and Control Symposium (Cat. No. 00EX373). IEEE, 2000, pp. 153–158
work page 2000
-
[25]
Gaussian filters for nonlinear filtering problems,
K. Ito and K. Xiong, “Gaussian filters for nonlinear filtering problems,” IEEE Transactions on Automatic Control, vol. 45, no. 5, pp. 910–927, 2002
work page 2002
-
[26]
H. Goldstein, C. P. Poole, and J. Safko,Classical Mechanics. Addison- Wesley Reading, 1950
work page 1950
-
[27]
T. Lee, M. Leok, and N. H. McClamroch,Global Formulations of Lagrangian and Hamiltonian Dynamics on Manifolds. Springer, 2018
work page 2018
-
[28]
T. Lefebvre, H. Bruyninckx, and J. De Schuller, “Comment on “A new method for the nonlinear transformation of means and covariances in filters and estimators”[with authors’ reply],”IEEE Transactions on Automatic Control, vol. 47, no. 8, pp. 1406–1409, 2002
work page 2002
-
[29]
Posterior linearization filter: Principles and implementation using sigma points,
´A. F. Garc´ıa-Fern´andez, L. Svensson, M. R. Morelande, and S. S ¨arkk¨a, “Posterior linearization filter: Principles and implementation using sigma points,”IEEE Transactions on Signal Processing, vol. 63, no. 20, pp. 5561–5573, 2015
work page 2015
-
[30]
Iterative filtering and smoothing in nonlinear and non-Gaussian systems using conditional moments,
F. Tronarp, ´A. F. Garc ´ıa-Fern´andez, and S. S ¨arkk¨a, “Iterative filtering and smoothing in nonlinear and non-Gaussian systems using conditional moments,”IEEE Signal Processing Letters, vol. 25, no. 3, pp. 408–412, 2018
work page 2018
-
[31]
Discrete-time nonlinear filtering algorithms using Gauss–Hermite quadrature,
I. Arasaratnam, S. Haykin, and R. J. Elliott, “Discrete-time nonlinear filtering algorithms using Gauss–Hermite quadrature,”Proceedings of the IEEE, vol. 95, no. 5, pp. 953–977, 2007
work page 2007
-
[32]
Sigma-point filtering and smooth- ing based parameter estimation in nonlinear dynamic systems,
J. Kokkala, A. Solin, and S. S ¨arkk¨a, “Sigma-point filtering and smooth- ing based parameter estimation in nonlinear dynamic systems,”Journal of Advances in Information Fusion, vol. 11, no. 1, pp. 15–30, 2016
work page 2016
-
[33]
I. Goodfellow, Y . Bengio, and A. Courville,Deep Learning. MIT Press, 2016
work page 2016
-
[34]
State identification of Duffing oscillator based on extreme learning machine,
G. Li, L. Zeng, L. Zhang, and Q. J. Wu, “State identification of Duffing oscillator based on extreme learning machine,”IEEE Signal Processing Letters, vol. 25, no. 1, pp. 25–29, 2017
work page 2017
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.