NANov 30, 2015
Word series for dynamical systems and their numerical integratorsAnder Murua, J. M. Sanz-Serna
We study word series and extended word series, classes of formal series for the analysis of some dynamical systems and their discretizations. These series are similar to but more compact than B-series. They may be composed among themselves by means of a simple rule. While word series have appeared before in the literature, extended word series are introduced in this paper. We exemplify the use of extended word series by studying the reduction to normal form and averaging of some perturbed integrable problems. We also provide a detailed analysis of the behaviour of splitting numerical methods for those problems.
NAJun 7, 2016
Adaptive multi-stage integrators for optimal energy conservation in molecular simulationsMario Fernández-Pendás, Elena Akhmatskaya, J. M. Sanz-Serna
We introduce a new Adaptive Integration Approach (AIA) to be used in a wide range of molecular simulations. Given a simulation problem and a step size, the method automatically chooses the optimal scheme out of an available family of numerical integrators. Although we focus on two-stage splitting integrators, the idea may be used with more general families. In each instance, the system-specific integrating scheme identified by our approach is optimal in the sense that it provides the best conservation of energy for harmonic forces. The AIA method has been implemented in the BCAM-modified GROMACS software package. Numerical tests in molecular dynamics and hybrid Monte Carlo simulations of constrained and unconstrained physical systems show that the method successfully realises the fail-safe strategy. In all experiments, and for each of the criteria employed, the AIA is at least as good as, and often significantly outperforms the standard Verlet scheme, as well as fixed parameter, optimized two-stage integrators. In particular, the sampling efficiency found in simulations using the AIA is up to 5 times better than the one achieved with other tested schemes.
DSApr 5, 2016
Vibrational resonance: a study with high-order word-series averagingAnder Murua, J. M. Sanz-Serna
We study a model problem describing vibrational resonance by means of a high-order averaging technique based on so-called word series. With the tech- nique applied here, the tasks of constructing the averaged system and the associ- ated change of variables are divided into two parts. It is first necessary to build recursively a set of so-called word basis functions and, after that, all the required manipulations involve only scalar coefficients that are computed by means of sim- ple recursions. As distinct from the situation with other approaches, with word- series, high-order averaged systems may be derived without having to compute the associated change of variables. In the system considered here, the construction of high-order averaged systems makes it possible to obtain very precise approxima- tions to the true dynamics.
DSFeb 8, 2017
Averaging and computing normal forms with word series algorithmsA. Murua, J. M. Sanz-Serna
In the first part of the present work we consider periodically or quasiperiodically forced systems of the form $(d/dt)x = εf(x,t ω)$, where $ε\ll 1$, $ω\in\mathbb{R}^d$ is a nonresonant vector of frequencies and $f(x,θ)$ is $2π$-periodic in each of the $d$ components of $θ$ (i.e.\ $θ\in\mathbb{T}^d$). We describe in detail a technique for explicitly finding a change of variables $x = u(X,θ;ε)$ and an (autonomous) averaged system $(d/dt) X = εF(X;ε)$ so that, formally, the solutions of the given system may be expressed in terms of the solutions of the averaged system by means of the relation $x(t) = u(X(t),tω;ε)$. Here $u$ and $F$ are found as series whose terms consist of vector-valued maps weighted by suitable scalar coefficients. The maps are easily written down by combining the Fourier coefficients of $f$ and the coefficients are found with the help of simple recursions. Furthermore these coefficients are {\em universal} in the sense that they do not depend on the particular $f$ under consideration. In the second part of the contribution, we study problems of the form $(d/dt) x = g(x)+f(x)$, where one knows how to integrate the "unperturbed" problem $(d/dt)x = g(x)$ and $f$ is a perturbation satisfying appropriate hypotheses. It is shown how to explicitly rewrite the system in the "normal form" $(d/dt) x = \bar g(x)+\bar f(x)$, where $\bar g$ and $\bar f$ are {\em commuting} vector fields and the flow of $(d/dt) x = \bar g(x)$ is conjugate to that of the unperturbed $(d/dt)x = g(x)$. In Hamiltonian problems the normal form directly leads to the explicit construction of formal invariants of motion. Again, $\bar g$, $\bar f$ and the invariants are written as series consisting of known vector-valued maps and universal scalar coefficients that may be found recursively.
NAApr 26, 2018
Word combinatorics for stochastic differential equations: splitting integratorsA. Alamo, J. M. Sanz-Serna
We present an analysis based on word combinatorics of splitting integrators for Ito or Stratonovich systems of stochastic differential equations. In particular we present a technique to write down systematically the expansion of the local error; this makes it possible to easily formulate the conditions that guarantee that a given integrator achieves a prescribed strong or weak order. This approach bypasses the need to use the Baker-Campbell-Hausdorff (BCH) formula and shows the existence of an order barrier of two for the attainable weak order. The paper also provides a succinct introduction to the combinatorics of words.
NAMar 15, 2018
A stroboscopic averaging algorithm for highly oscillatory delay problemsJ. M. Sanz-Serna, Beibei Zhu
We propose and analyze a heterogenous multiscale method for the efficient integration of constant-delay differential equations subject to fast periodic forcing. The stroboscopic averaging method (SAM) suggested here may provide approximations with $\(\mathcal{O}(H^2+1/Ω^2)\)$ errors with a computational effort that grows like $\(H^{-1}\)$ (the inverse of the stepsize), uniformly in the forcing frequency Omega.
NANov 30, 2018
High-order stroboscopic averaging methods for highly oscillatory delay problemsM. P. Calvo, J. M. Sanz-Serna, Beibei Zhu
We introduce and analyze a family of heterogeneous multiscale methods for the numerical integration of highly oscillatory systems of delay differential equations with constant delays. The methodology suggested provides algorithms of arbitrarily high accuracy.
HOJul 10, 2018
La cuadratura gaussiana según GaussJ. M. Sanz-Serna
This article is an abridged and commented translation into Spanish of the 1815 memoir where Gauss introduced the quadrature rules now associated with his name. Gauss' work does not resemble at all the stardard text-book treatment of Gaussian quadrature. The original memoir is an example of mathematical virtuosity, based on a superb use of series, where the problem is reformulated as a problem in functional approximation that is solved by means of continued fractions.
MLApr 26, 2021
Wasserstein distance estimates for the distributions of numerical approximations to ergodic stochastic differential equationsJ. M. Sanz-Serna, Konstantinos C. Zygalakis
We present a framework that allows for the non-asymptotic study of the $2$-Wasserstein distance between the invariant distribution of an ergodic stochastic differential equation and the distribution of its numerical approximation in the strongly log-concave case. This allows us to study in a unified way a number of different integrators proposed in the literature for the overdamped and underdamped Langevin dynamics. In addition, we analyse a novel splitting method for the underdamped Langevin dynamics which only requires one gradient evaluation per time step. Under an additional smoothness assumption on a $d$--dimensional strongly log-concave distribution with condition number $κ$, the algorithm is shown to produce with an $\mathcal{O}\big(κ^{5/4} d^{1/4}ε^{-1/2} \big)$ complexity samples from a distribution that, in Wasserstein distance, is at most $ε>0$ away from the target distribution.
NASep 1, 2020
The connections between Lyapunov functions for some optimization algorithms and differential equationsJ. M. Sanz-Serna, Konstantinos C. Zygalakis
In this manuscript, we study the properties of a family of second-order differential equations with damping, its discretizations and their connections with accelerated optimization algorithms for $m$-strongly convex and $L$-smooth functions. In particular, using the Linear Matrix Inequality LMI framework developed by \emph{Fazlyab et. al. $(2018)$}, we derive analytically a (discrete) Lyapunov function for a two-parameter family of Nesterov optimization methods, which allows for the complete characterization of their convergence rate. In the appropriate limit, this family of methods may be seen as a discretization of a family of second-order ordinary differential equations for which we construct(continuous) Lyapunov functions by means of the LMI framework. The continuous Lyapunov functions may alternatively, be obtained by studying the limiting behaviour of their discrete counterparts. Finally, we show that the majority of typical discretizations of the family of ODEs, such as the Heavy ball method, do not possess Lyapunov functions with properties similar to those of the Lyapunov function constructed here for the Nesterov method.
DSAug 3, 2017
Hopf algebra techniques to handle dynamical systems and numerical integratorsA. Murua, J. M. Sanz-Serna
In a series of papers the present authors and their coworkers have developed a family of algebraic techniques to solve a number of problems in the theory of discrete or continuous dynamical systems and to analyze numerical integrators. Given a specific problem, those techniques construct an abstract, {\em universal} version of it which is solved algebraically; then, the results are tranferred to the original problem with the help of a suitable morphism. In earlier contributions, the abstract problem is formulated either in the dual of the shuffle Hopf algebra or in the dual of the Connes-Kreimer Hopf algebra. In the present contribution we extend these techniques to more general Hopf algebras, which in some cases lead to more efficient computations.
NAJun 28, 2017
Palindromic 3-stage splitting integrators, a roadmapCédric M. Campos, J. M. Sanz-Serna
The implementation of multi-stage splitting integrators is essentially the same as the implementation of the familiar Strang/Verlet method. Therefore multi-stage formulas may be easily incorporated into software that now uses the Strang/Verlet integrator. We study in detail the two-parameter family of palindromic, three-stage splitting formulas and identify choices of parameters that may outperform the Strang/Verlet method. One of these choices leads to a method of effective order four suitable to integrate in time some partial differential equations. Other choices may be seen as perturbations of the Strang method that increase efficiency in molecular dynamics simulations and in Hybrid Monte Carlo sampling.
NASep 8, 2016
A technique for studying strong and weak local errors of splitting stochastic integratorsA. Alamo, J. M. Sanz-Serna
We present a technique, based on so-called word series, to write down in a systematic way expansions of the strong and weak local errors of splitting algorithms for the integration of Stratonovich stochastic differential equations. Those expansions immediately lead to the corresponding order conditions. Word series are similar to, but simpler than, the B-series used to analyze Runge-Kutta and other one-step integrators. The suggested approach makes it unnecessary to use the Baker-Campbell-Hausdorff formula. As an application, we compare two splitting algorithms recently considered by Leimkuhler and Matthews to integrate the Langevin equations. The word series method bears out clearly reasons for the advantages of one algorithm over the other.
NAJun 19, 2015
Symplectic Runge-Kutta schemes for adjoint equations, automatic differentiation, optimal control and moreJ. M. Sanz-Serna
It is well known that symplectic Runge-Kutta and Partitioned Runge-Kutta methods exactly preserve {\em quadratic} first integrals (invariants of motion) of the system being integrated. While this property is often seen as a mere curiosity (it does not hold for arbitrary first integrals), it plays an important role in the computation of numerical sensitivities, optimal control theory and Lagrangian mechanics, as described in this paper, which, together with some new material, presents in a unified way a number of results now scattered or implicit in the literature. Some widely used procedures, such as the direct method in optimal control theory and the computation of sensitivities via reverse accumulation imply "hidden" integrations with symplectic Partitioned Runge-Kutta schemes.
PROct 28, 2014
Extra Chance Generalized Hybrid Monte CarloCédric M. Campos, J. M. Sanz-Serna
We study a method, Extra Chance Generalized Hybrid Monte Carlo, to avoid rejections in the Hybrid Monte Carlo method and related algorithms. In the spirit of delayed rejection, whenever a rejection would occur, extra work is done to find a fresh proposal that, hopefully, may be accepted. We present experiments that clearly indicate that the additional work per sample carried out in the extra chance approach clearly pays in terms of the quality of the samples generated.