Home Knowledge Base Lagrangian Mechanics Learning (LNN — Lagrangian Neural Networks)

Lagrangian Mechanics Learning (LNN — Lagrangian Neural Networks) is a physics-informed neural network approach that learns dynamical systems by approximating the Lagrangian function $mathcal{L} = T - V$ (kinetic energy minus potential energy) with a neural network, then deriving the equations of motion automatically through the Euler-Lagrange equations — embedding the principle of least action as an architectural prior that guarantees the learned dynamics respect the fundamental variational structure of classical mechanics.

What Is Lagrangian Mechanics Learning?

Why Lagrangian Mechanics Learning Matters

LNN Architecture

ComponentFunction
InputGeneralized coordinates $(q, dot{q})$ — positions and velocities
Neural NetworkMLP that outputs scalar $mathcal{L}(q, dot{q})$
Euler-Lagrange LayerComputes $frac{d}{dt}frac{partial mathcal{L}}{partial dot{q}} - frac{partial mathcal{L}}{partial q} = 0$ using automatic differentiation
OutputAccelerations $ddot{q}$ derived from the Euler-Lagrange equation
IntegrationSymplectic integrator advances system state to next timestep

Lagrangian Mechanics Learning is learning the energy landscape — deriving the motion equations purely from the principle of least action, enabling neural networks to discover dynamics that are guaranteed to respect the deep variational structure of classical physics.

lagrangian mechanics learningscientific ml

Explore 500+ Semiconductor & AI Topics

From EUV lithography to CUDA optimization — search the full knowledge base or chat with our AI assistant.