English

A Derivation of Feedforward Neural Network Gradients Using Fr\'echet Calculus

Machine Learning 2022-09-28 v1

Abstract

We present a derivation of the gradients of feedforward neural networks using Fr\'echet calculus which is arguably more compact than the ones usually presented in the literature. We first derive the gradients for ordinary neural networks working on vectorial data and show how these derived formulas can be used to derive a simple and efficient algorithm for calculating a neural networks gradients. Subsequently we show how our analysis generalizes to more general neural network architectures including, but not limited to, convolutional networks.

Cite

@article{arxiv.2209.13234,
  title  = {A Derivation of Feedforward Neural Network Gradients Using Fr\'echet Calculus},
  author = {Thomas Hamm},
  journal= {arXiv preprint arXiv:2209.13234},
  year   = {2022}
}
R2 v1 2026-06-28T02:10:42.445Z