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
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
{"_id":"QM96tSoQKTfzZC9YX","bibbaseid":"fong-spivak-tuyras-backpropasfunctoracompositionalperspectiveonsupervisedlearning-2019","author_short":["Fong, B.","Spivak, D. I.","Tuyéras, R."],"bibdata":{"bibtype":"article","type":"article","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 {\\}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.","urldate":"2021-04-06","journal":"arXiv:1711.10455 [cs, math]","author":[{"propositions":[],"lastnames":["Fong"],"firstnames":["Brendan"],"suffixes":[]},{"propositions":[],"lastnames":["Spivak"],"firstnames":["David","I."],"suffixes":[]},{"propositions":[],"lastnames":["Tuyéras"],"firstnames":["Rémy"],"suffixes":[]}],"month":"May","year":"2019","note":"arXiv: 1711.10455","keywords":"Computer Science - Artificial Intelligence, Computer Science - Machine Learning, Mathematics - Category Theory","bibtex":"@article{BackpropFunctor,\n\ttitle = {Backprop as {Functor}: {A} compositional perspective on supervised learning},\n\tshorttitle = {Backprop as {Functor}},\n\turl = {http://arxiv.org/abs/1711.10455},\n\tabstract = {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.},\n\turldate = {2021-04-06},\n\tjournal = {arXiv:1711.10455 [cs, math]},\n\tauthor = {Fong, Brendan and Spivak, David I. and Tuyéras, Rémy},\n\tmonth = may,\n\tyear = {2019},\n\tnote = {arXiv: 1711.10455},\n\tkeywords = {Computer Science - Artificial Intelligence, Computer Science - Machine Learning, Mathematics - Category Theory},\n}\n\n","author_short":["Fong, B.","Spivak, D. I.","Tuyéras, R."],"key":"BackpropFunctor","id":"BackpropFunctor","bibbaseid":"fong-spivak-tuyras-backpropasfunctoracompositionalperspectiveonsupervisedlearning-2019","role":"author","urls":{"Paper":"http://arxiv.org/abs/1711.10455"},"keyword":["Computer Science - Artificial Intelligence","Computer Science - Machine Learning","Mathematics - Category Theory"],"metadata":{"authorlinks":{}},"html":""},"bibtype":"article","biburl":"https://bibbase.org/zotero/ValentinDRichard","dataSources":["nTukRxsNNmbKgjGgn"],"keywords":["computer science - artificial intelligence","computer science - machine learning","mathematics - category theory"],"search_terms":["backprop","functor","compositional","perspective","supervised","learning","fong","spivak","tuyéras"],"title":"Backprop as Functor: A compositional perspective on supervised learning","year":2019}