Layerwise goal-oriented adaptivity for neural ODEs: an optimal control perspective

Michael Hintermüller, Michael Hinze, Denis Korolev

arXiv:2601.07397·math.OC·Published 2026-01-12

In this work, we propose a novel layerwise adaptive construction method for neural network architectures. Our approach is based on a goal--oriented dual-weighted residual technique for the optimal control of neural differential equations. This leads to an ordinary differential equation constrained optimization problem with controls acting as coefficients and a specific loss function. We implement our approach on the basis of a DG(0) Galerkin discretization of the neural ODE, leading to an explicit Euler time marching scheme. For the optimization we use steepest descent. Finally, we apply our method to the construction of neural networks for the classification of data sets, where we present results for a selection of well known examples from the literature.

TopicsScientific Machine Learning & PINNs

Tagsneural-differential-equations

arXiv categoriesmath.OC, cs.AI

arXiv abstract pagePDF