In this work, nonconvex nonsmooth problems of dynamic optimization, optimal control in discrete time (including feedback control), and machine learning are considered from a common point of view. An analogy is observed between tasks of controlling discrete dynamic systems and training multilayer neural networks with nonsmooth target function and connections. Methods for calculating generalized gradients for such systems based on Hamilton-Pontryagin functions are substantiated. Stochastic generalized gradient algorithms are extended for optimal controlling and learning nonconvex nonsmooth dynamic systems.
V.M. Glushkov Institute of Cybernetics of the National Academy of Sciences of Ukraine, Kiev, 18 September, 2019. To appear in "Cybernatics and Systems Analysis".