English

The Pontryagin Maximum Principle for Training Convolutional Neural Networks

Optimization and Control 2025-08-26 v2

Abstract

A novel batch sequential quadratic Hamiltonian (bSQH) algorithm for training convolutional neural networks (CNNs) with L0L^0-based regularization is presented. This methodology is based on a discrete-time Pontryagin maximum principle (PMP). It uses forward and backward sweeps together with the layerwise approximate maximization of an augmented Hamiltonian function, where the augmentation parameter is chosen adaptively. A technique for determining this augmentation parameter is proposed, and the loss-reduction and convergence properties of the bSQH algorithm are analysed theoretically and validated numerically. Results of numerical experiments in the context of image classification with a sparsity enforcing L0L^0-based regularizer demonstrate the effectiveness of the proposed method in full-batch and mini-batch modes.

Keywords

Cite

@article{arxiv.2504.11647,
  title  = {The Pontryagin Maximum Principle for Training Convolutional Neural Networks},
  author = {Sebastian Hofmann and Alfio Borzì},
  journal= {arXiv preprint arXiv:2504.11647},
  year   = {2025}
}

Comments

To be released in 'SIAM Journal on Mathematics of Data Science'

R2 v1 2026-06-28T22:59:49.898Z