Backprop as Functor: A compositional perspective on supervised learning. Fong, B., Spivak, D. I., & Tuyéras, R. arXiv:1711.10455 [cs, math], May, 2019. arXiv: 1711.10455
Backprop as Functor: A compositional perspective on supervised learning [link]Paper  abstract   bibtex   
A supervised learning algorithm searches over a set of functions $A {\}to B$ parametrised by a space $P$ to find the best approximation to some ideal function $f{\}colon A {\}to B$. It does this by taking examples $(a,f(a)) {\}in A{\}times B$, and updating the parameter according to some rule. We define a category where these update rules may be composed, and show that gradient descent—with respect to a fixed step size and an error function satisfying a certain property—defines a monoidal functor from a category of parametrised functions to this category of update rules. This provides a structural perspective on backpropagation, as well as a broad generalisation of neural networks.
@article{BackpropFunctor,
	title = {Backprop as {Functor}: {A} compositional perspective on supervised learning},
	shorttitle = {Backprop as {Functor}},
	url = {http://arxiv.org/abs/1711.10455},
	abstract = {A supervised learning algorithm searches over a set of functions \$A {\textbackslash}to B\$ parametrised by a space \$P\$ to find the best approximation to some ideal function \$f{\textbackslash}colon A {\textbackslash}to B\$. It does this by taking examples \$(a,f(a)) {\textbackslash}in A{\textbackslash}times B\$, and updating the parameter according to some rule. We define a category where these update rules may be composed, and show that gradient descent---with respect to a fixed step size and an error function satisfying a certain property---defines a monoidal functor from a category of parametrised functions to this category of update rules. This provides a structural perspective on backpropagation, as well as a broad generalisation of neural networks.},
	urldate = {2021-04-06},
	journal = {arXiv:1711.10455 [cs, math]},
	author = {Fong, Brendan and Spivak, David I. and Tuyéras, Rémy},
	month = may,
	year = {2019},
	note = {arXiv: 1711.10455},
	keywords = {Computer Science - Artificial Intelligence, Computer Science - Machine Learning, Mathematics - Category Theory},
}

Downloads: 0