Backprop as Functor: A Compositional Perspective on Supervised Learning. Fong, B., Spivak, D. I., & Tuyéras, R.
Paper abstract bibtex 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.
@article{fongBackpropFunctorCompositional2017,
archivePrefix = {arXiv},
eprinttype = {arxiv},
eprint = {1711.10455},
primaryClass = {cs, math},
title = {Backprop as {{Functor}}: {{A}} Compositional Perspective on Supervised Learning},
url = {http://arxiv.org/abs/1711.10455},
shorttitle = {Backprop as {{Functor}}},
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 = {2019-01-05},
date = {2017-11-28},
keywords = {Computer Science - Artificial Intelligence,Computer Science - Machine Learning,Mathematics - Category Theory},
author = {Fong, Brendan and Spivak, David I. and Tuyéras, Rémy},
file = {/home/dimitri/Nextcloud/Zotero/storage/2WBW6WCN/Fong et al. - 2017 - Backprop as Functor A compositional perspective o.pdf;/home/dimitri/Nextcloud/Zotero/storage/SSIRE6JS/1711.html}
}
Downloads: 0
{"_id":"gon9ErnCNfSyMpvck","bibbaseid":"fong-spivak-tuyras-backpropasfunctoracompositionalperspectiveonsupervisedlearning","authorIDs":[],"author_short":["Fong, B.","Spivak, D. I.","Tuyéras, R."],"bibdata":{"bibtype":"article","type":"article","archiveprefix":"arXiv","eprinttype":"arxiv","eprint":"1711.10455","primaryclass":"cs, math","title":"Backprop as Functor: A Compositional Perspective on Supervised Learning","url":"http://arxiv.org/abs/1711.10455","shorttitle":"Backprop as Functor","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":"2019-01-05","date":"2017-11-28","keywords":"Computer Science - Artificial Intelligence,Computer Science - Machine Learning,Mathematics - Category Theory","author":[{"propositions":[],"lastnames":["Fong"],"firstnames":["Brendan"],"suffixes":[]},{"propositions":[],"lastnames":["Spivak"],"firstnames":["David","I."],"suffixes":[]},{"propositions":[],"lastnames":["Tuyéras"],"firstnames":["Rémy"],"suffixes":[]}],"file":"/home/dimitri/Nextcloud/Zotero/storage/2WBW6WCN/Fong et al. - 2017 - Backprop as Functor A compositional perspective o.pdf;/home/dimitri/Nextcloud/Zotero/storage/SSIRE6JS/1711.html","bibtex":"@article{fongBackpropFunctorCompositional2017,\n archivePrefix = {arXiv},\n eprinttype = {arxiv},\n eprint = {1711.10455},\n primaryClass = {cs, math},\n title = {Backprop as {{Functor}}: {{A}} Compositional Perspective on Supervised Learning},\n url = {http://arxiv.org/abs/1711.10455},\n shorttitle = {Backprop as {{Functor}}},\n 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.},\n urldate = {2019-01-05},\n date = {2017-11-28},\n keywords = {Computer Science - Artificial Intelligence,Computer Science - Machine Learning,Mathematics - Category Theory},\n author = {Fong, Brendan and Spivak, David I. and Tuyéras, Rémy},\n file = {/home/dimitri/Nextcloud/Zotero/storage/2WBW6WCN/Fong et al. - 2017 - Backprop as Functor A compositional perspective o.pdf;/home/dimitri/Nextcloud/Zotero/storage/SSIRE6JS/1711.html}\n}\n\n","author_short":["Fong, B.","Spivak, D. I.","Tuyéras, R."],"key":"fongBackpropFunctorCompositional2017","id":"fongBackpropFunctorCompositional2017","bibbaseid":"fong-spivak-tuyras-backpropasfunctoracompositionalperspectiveonsupervisedlearning","role":"author","urls":{"Paper":"http://arxiv.org/abs/1711.10455"},"keyword":["Computer Science - Artificial Intelligence","Computer Science - Machine Learning","Mathematics - Category Theory"],"downloads":0},"bibtype":"article","biburl":"https://raw.githubusercontent.com/dlozeve/newblog/master/bib/all.bib","creationDate":"2020-01-08T20:39:39.213Z","downloads":0,"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":null,"dataSources":["3XqdvqRE7zuX4cm8m"]}