{"id":1511,"date":"2021-10-13T10:00:52","date_gmt":"2021-10-13T08:00:52","guid":{"rendered":"https:\/\/maxfest.dk\/port\/?p=1511"},"modified":"2021-10-13T10:25:36","modified_gmt":"2021-10-13T08:25:36","slug":"deep-learning-noter-backpropagation-13-10-2021","status":"publish","type":"post","link":"https:\/\/maxfest.dk\/port\/skiftligt-materiale\/noter\/deep-learning-noter-backpropagation-13-10-2021\/","title":{"rendered":"Deep learning noter &#8211; Backpropagation &#8211; 13\/10 2021"},"content":{"rendered":"\r\n<h2 class=\"wp-block-heading\"><\/h2>\r\n<h2 class=\"wp-block-heading\">Chain Rule of Calculus<\/h2>\r\n<h2>\r\n\r\n<\/h2>\r\n<p class=\"wp-block-paragraph\">If is differentiable at and is differentiable at (), then the composite function = \u2218 defined by = is differentiable at and \u2032 is given by:<\/p>\r\n<h2>\r\n\r\n<\/h2>\r\n<figure class=\"wp-block-image size-full\">\r\n<figure id=\"attachment_1512\" aria-describedby=\"caption-attachment-1512\" style=\"width: 265px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1512\" src=\"https:\/\/maxfest.dk\/port\/wp-content\/uploads\/2021\/10\/image-13.png\" alt=\"\" width=\"265\" height=\"48\" \/><figcaption id=\"caption-attachment-1512\" class=\"wp-caption-text\">Source: SDU<\/figcaption><\/figure>\r\n\r\n<\/figure>\r\n<h2>\r\n\r\n<\/h2>\r\n<figure class=\"wp-block-image size-full\">\r\n<figure id=\"attachment_1513\" aria-describedby=\"caption-attachment-1513\" style=\"width: 168px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1513\" src=\"https:\/\/maxfest.dk\/port\/wp-content\/uploads\/2021\/10\/image-14.png\" alt=\"\" width=\"168\" height=\"90\" \/><figcaption id=\"caption-attachment-1513\" class=\"wp-caption-text\">if = () and = () &#8211; Source: SDU<\/figcaption><\/figure>\r\n<\/figure>\r\n<h2>\r\n\r\n<\/h2>\r\n<h2 class=\"wp-block-heading\">Accumulation<\/h2>\r\n<h2>\r\n\r\n<\/h2>\r\n<ul class=\"wp-block-list\">\r\n<li>Forward Accumulation<\/li>\r\n<li>Backward Accumulation (backdrop)<\/li>\r\n<\/ul>\r\n<h2>\r\n\r\n<\/h2>\r\n<p class=\"wp-block-paragraph\">Two different ways to do calculations.<\/p>\r\n<h2>\r\n\r\n<\/h2>\r\n<p class=\"wp-block-paragraph\">Forwards has more steps. Backward only requires the lost functions of the direvatives to get the results.<\/p>\r\n<p>We only care about the node, and not the entire network for accumulations during the calculation.<\/p>\r\n<p>Accumulation is not learning.<\/p>\r\n<p>xx udklip 3 &#8211; backward propogation visualization<\/p>\r\n<h3>Generalization to Vectors<\/h3>\r\n<p>xx udklip<\/p>\r\n<p>xx udklip 1<\/p>\r\n<p>Vectors follows the same logic.<\/p>\r\n<h3>Backpropropagation methods<\/h3>\r\n<ol>\r\n<li>Symbol to number differentation &#8211; takes computentioal graph and a set of numerical values (for the inputs to the graph) and returns a set of numerical values that descrie gradient at the input values. Relevant libs: Torch and Caffe.<\/li>\r\n<li>Symbol to symbol differentation &#8211; takes computentioal graph and returns graph with\u00a0 additional nodes that provides a symbolic description of desired derivatives. Relevant libs: Theano and Tensorflow<\/li>\r\n<\/ol>\r\n<p>Disabling eager excecution in tensorflow makes it use symbl to symbol.<\/p>\r\n<p>&nbsp;<\/p>\r\n<p>&nbsp;<\/p>\r\n<h2><\/h2>\r\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":715,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[33,30],"class_list":["post-1511","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-noter","tag-deep-learning","tag-sdu"],"_links":{"self":[{"href":"https:\/\/maxfest.dk\/port\/wp-json\/wp\/v2\/posts\/1511","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/maxfest.dk\/port\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/maxfest.dk\/port\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/maxfest.dk\/port\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/maxfest.dk\/port\/wp-json\/wp\/v2\/comments?post=1511"}],"version-history":[{"count":9,"href":"https:\/\/maxfest.dk\/port\/wp-json\/wp\/v2\/posts\/1511\/revisions"}],"predecessor-version":[{"id":1529,"href":"https:\/\/maxfest.dk\/port\/wp-json\/wp\/v2\/posts\/1511\/revisions\/1529"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/maxfest.dk\/port\/wp-json\/wp\/v2\/media\/715"}],"wp:attachment":[{"href":"https:\/\/maxfest.dk\/port\/wp-json\/wp\/v2\/media?parent=1511"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/maxfest.dk\/port\/wp-json\/wp\/v2\/categories?post=1511"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/maxfest.dk\/port\/wp-json\/wp\/v2\/tags?post=1511"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}