Machine Learning, Simulation, Physics.
This is a well-known artifact of backward Euler, but, at least for our purposes, is more acceptable than explosions. Energy behavior of backward Euler Optimization methods, again The expensive part of this formulation of backward Euler is minimizing g (any local minimum works), which we can do via