In physics, Langevin dynamics is an approach to the mathematical modeling of the dynamics of molecular systems using the Langevin equation. It was originally developed by French physicist Paul Langevin. The approach is characterized by the use of simplified models while accounting for omitted degrees of freedom by the use of stochastic differential equations. Langevin dynamics simulations are a kind of Monte Carlo simulation.
Overview Real world molecular systems occur in air or solvents, rather than in isolation, in a vacuum. Jostling of solvent or air molecules causes friction, and the occasional high velocity collision will perturb the system. Langevin dynamics attempts to extend molecular dynamics to allow for these effects. Also, Langevin dynamics allows temperature to be controlled as with a thermostat, thus approximating the canonical ensemble. Langevin dynamics mimics the viscous aspect of a solvent. It does not fully model an implicit solvent; specifically, the model does not account for the electrostatic screening and also not for the hydrophobic effect. For denser solvents, hydrodynamic interactions are not captured via Langevin dynamics. For a system of N particles with masses M, with coordinates X=X(t) that constitute a time-dependent random variable, the resulting Langevin equation is M𝐗¨=−𝜵U(𝐗)−γM𝐗˙+2MγkBT𝐑(t), where U(𝐗) is the particle interaction potential; ∇ is the gradient operator such that −𝜵U(𝐗) is the force calculated from the particle interaction potentials; the dot is a time derivative such that 𝐗˙ is the velocity and 𝐗¨ is the acceleration; γ is the damping constant (units of reciprocal time), also known as the collision frequency; T is the temperature, kB is the Boltzmann constant; and 𝐑(t) is a delta-correlated stationary Gaussian process with zero-mean, called Gaussian white noise, satisfying ⟨𝐑(t)⟩=0 ⟨𝐑(t)⋅𝐑(t′)⟩=δ(t−t′) Here, δ is the Dirac delta.
Stochastic Differential Formulation Considering the covariance of standard Brownian motion or Wiener process Wt, we can find that 𝔼(WtWτ)=min(t,τ) Define the covariance matrix of the derivative as 𝔼(Wt˙Wτ˙)=∂∂t∂∂τ𝔼(WtWτ)=∂∂t∂∂τmin(t,τ)=δ(t−τ) So under the sense of covariance we can say that dWt=𝐑(t)dt Without loss of generality, let the mass M=1, σ=MγkBT, then the original SDE will become d𝐗˙=−∇U(𝐗)dt−γd𝐗+2σd𝐖(t)
Overdamped Langevin dynamics If the main objective is to control temperature, care should be exercised to use a small damping constant γ. As γ grows, it spans from the inertial all the way to the diffusive (Brownian) regime. The Langevin dynamics limit of non-inertia is commonly described as Brownian dynamics. Brownian dynamics can be considered as overdamped Langevin dynamics, i.e. Langevin dynamics where no average acceleration takes place. Under this limit we have dX˙=0, the original SDE then becomes d𝐗=−1γ∇U(𝐗)dt+2σγd𝐖(t). The translational Langevin equation can be solved using various numerical methods with differences in the sophistication of analytical solutions, the allowed time-steps, time-reversibility (symplectic methods), in the limit of zero friction, etc. The Langevin equation can be generalized to rotational dynamics of molecules, Brownian particles, etc. A standard (according to NIST) way to do it is to leverage a quaternion-based description of the stochastic rotational motion.
Applications
Langevin thermostat Langevin thermostat is a type of Thermostat algorithm in molecular dynamics, which is used to simulate a canonical ensemble (NVT) under a desired temperature. It integrates the following Langevin equation of motion: M𝐗¨=−∇U(𝐗)−γ𝐗˙+2γkBT𝐑(t) −∇U(𝐗) is the deterministic force term; γ is the friction coefficient and γX˙ is the friction or damping term; the last term is the random force term (kB: Boltzmann constant, T: temperature). This equation allows the system to couple with an imaginary "heat bath": the kinetic energy of the system dissipates from the friction/damping term, and gain from random force/fluctuation; the strength of coupling is controlled by γ. This equation can be simulated with SDE solvers such as Euler–Maruyama method, where the random force term is replaced by a Gaussian random number in every integration step (variance σ2=2γkBT/Δt, Δt: time step), or Langevin Leapfrog integration, etc. This method is also known as Langevin Integrator.
Langevin Monte Carlo The overdamped Langevin equation gives d𝐱t=−DkBT∇𝐱U(𝐱t)dt+2DdWt Here, D=kBT/γ is the diffusion coefficient from Einstein relation. As proven with Fokker-Planck equation, under appropriate conditions, the stationary distribution of 𝐱t is Boltzmann distribution p(𝐱)∝e−U(𝐱)/kBT. Since that ∇logp(𝐱)=−∇U(𝐱)/kBT, this equation is equivalent to the following form: d𝐱t=ϵ∇𝐱logp(𝐱t)dt+2ϵdWt And the distribution of 𝐱t(t→∞) follows p(𝐱). In other words, Langevin dynamics drives particles towards a stationary distribution p(𝐱) along a gradient flow, due to the ∇logp(𝐱) term, while still allowing for some random fluctuations. This provides a Markov Chain Monte Carlo method that can be used to sample data 𝐱 from a target distribution p(𝐱), known as Langevin Monte Carlo. In many applications, we have a desired distribution p(𝐱) from which we would like to sample 𝐱, but direct sampling might be challenging or inefficient. Langevin Monte Carlo offers another way to sample 𝐱∼p(𝐱) by sampling a Markov chain in accordance with the Langevin dynamics whose stationary state is p(𝐱). The Metropolis-adjusted Langevin algorithm (MALA) is an example : Given a current state 𝐱t, the MALA method proposes a new state x~t+1 using the Langevin dynamics above. The proposal is then accepted or rejected based on the Metropolis-Hastings algorithm. The incorporation of the Langevin dynamics in the choice of x~t+1 provides greater computational efficiency, since the dynamics drive the particles into regions of higher p(𝐱) probability and are thus more likely to be accepted. Read more in Metropolis-adjusted Langevin algorithm.
… excerpt ends here. Continue reading the full article.