Question: Backpropagation We want to train a simple deep neural network f w ( x ) with w = ( w 1 , w 2 ,

Backpropagation We want to train a simple deep neural network fw(x) with w=(w1,w2,w3)TTinR3 and xinR, defined as:
fw(x):=w32(w21(w1x))
where 1(u)=2(u)=11+exp(-u), i.e., sigmoid activation. You may denote x1:=w1x and x2:=w21(x1) for notational convenience.
(a) Illustrate a directed acyclic graph corresponding to the computation of fw(x).
(b) Compute del1delu and provide the answer in two different forms: (i) an expression using only u and the exponential functions; and (ii) an expression using only 1(u).
(c) Describe briefly what is meant by a forward pass and a backward pass?
(d)2pt Compute delfwdelw3. Which result should we retain from the forward pass in order for efficiently computing this derivative?
(e) Compute delfwdelw2 using the second option in Problem (b). Which results should we retain from the forward pass in order for efficiently computing this derivative?
(f)[5pt] Compute delfwdelw1 using the second option in Problem (b). Which results should we retain from the forward pass in order for efficiently computing this derivative? In what order should we compute the derivatives delfwdelw1,delfwdelw2 and delfwdelw3 in order for maximizing computational efficiency? How is this order related to the forward pass?
 Backpropagation We want to train a simple deep neural network fw(x)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!