Optimal/Stable/...? discretization of second (higher) order ODEs
Imported on
The forum classified this question as unanswered when collected. This does not certify an open research problem; check the answers and revision history at the source.
Read the question with its definitions and background below. The source provides the full formulation and further discussion; the glossary and Wikipedia links offer additional reading aids.
Problem statement
I will phrase the question only for second order ODE's although the same question might come up for higher orders.
ODEs of the form
are usually converted to first order ODEs with the trick which then results in an equivalent formulation
But while discretizations of first order ODE's are well studied with arbitrary convergence order being achieved by the family of Runge Kutta methods, I am not aware of any theory on higher order ODE discretizations. And I believe that the conversion to first order ODE's probably sacrifices a lot of potential (I will explain this belief in my motivation).
Motivation
We will be looking at gradient decent with momentum on a loss function . Instead of setting the velocity of the decent equal to the steepest decent
we instead want to set the acceleration to be equal to the steepest decent and add some decelerating force ("friction") proportional to the current velocity
The trick above and euler discretization yields
with a bit of reparametrization (, , , ) this (almost) results in the well known heavy ball (momentum) method
In reality (e.g. https://distill.pub/2017/momentum/) people use the current momentum for the position update. Now taking the learning rate to zero (), this will likely result in the same ODE. But in the discrete case it makes a difference.
Substituting in into the first equation we would get
which means we are not using the gradient information from our previous position to calculate the current position but the one before that. This means our optimization algorithm will overshoot when a change in gradient occurs.
Nesterov's momentum goes one step further and first applies the current momentum and only then calculates the gradient
This is argued to perform even better (cf. https://stats.stackexchange.com/a/368179/265966)
Whatever jump comes first, my Momentum Jump would be the same. So I should consider the situation as if I have already made my Momentum Jump, and I am about to make my Slope Jump.
Concluding Thoughts
Now all these slight heuristic modifications make intuitive sense. But I wonder if there is some theory to put this on a solid foundation and maybe even find an "optimal" discretization.
What I find remarkable is, that higher order methods (like the Heun's method) also do some form of look ahead:
In our second order ODE we just did a skewed lookahead, where we used a newer momentum to update our position. So higher order ODE discretization might have to somehow incorporate that.
Statement and context adapted from MathOverflow · Felix Benning
CC BY-SA 4.0 · Formatting adapted; mathematical formulas preserved · Source history
Sources and original status
- MathOverflow Status in source : unanswered at collection
Last activity on the question :
Coverage, sources and method
This count measures imported entries, including distinct variants. It is not a count of all open mathematical questions worldwide. One entry may belong to several fields and sources.
This directory is neither exhaustive nor updated in real time. “Reported open” describes the source classification observed at import; imported entries have not each undergone independent mathematical verification. The 32 explained entries were reviewed separately.
Formal Conjectures: only “research open” statements with no reported formal proof are retained; their tag is checked in a pinned repository revision. Variants remain distinct. A “sorry” placeholder is not sufficient to establish open status.
Erdős: solved or independent problems and entries with a Lean solution are excluded, including “open (Lean)”. Exact matches to the main Formal Conjectures statements are merged.
Open Problem Garden: the open index is checked against the solved index; spam, identified clones and some outdated statuses are excluded. Statements and definition context are attributed to their original pages; formulas are preserved and the content remains under the GFDL. Recognized duplicates across sources are merged; this does not resolve every mathematical equivalence.
OEIS: direct extraction of conjectural comments and formulas, one entry per sequence, excluding mentioned resolutions. MathOverflow and Math Stack Exchange: questions classified as unanswered by their API, excluding closed posts and non-research categories. They remain distinct from problems reported open. This is a partial, dated collection; every entry credits its authors and license.
Documented exclusions account for recent announcements and conflicting statuses. A stronger variant or a special case can remain open after a different statement is settled.
Attribution: The Formal Conjectures Authors; teorth/erdosproblems and contributors; Open Problem Garden and contributors. Each source retains its license.
- Formal Conjectures · 1,924 · Apache-2.0 / CC-BY-4.0
- Erdős Problems (teorth) · 622 · Apache-2.0
- Open Problem Garden · 404 · GFDL (source content); only title/category/link metadata imported
- OEIS · 18,857 · CC BY-SA 4.0
- MathOverflow · 19,035 · CC BY-SA (version on each entry)
- Mathematics Stack Exchange · 35 · CC BY-SA (version on each entry)