# Fine-tuning Stacked AEs

 Revision as of 00:25, 12 May 2011 (view source)Jngiam (Talk | contribs) (→Recap of the Backpropagation Algorithm)← Older edit Latest revision as of 04:04, 8 April 2013 (view source)Kandeng (Talk | contribs) Line 5: Line 5: Fortunately, we already have all the tools necessary to implement fine tuning for stacked autoencoders! In order to compute the gradients for all the layers of the stacked autoencoder in each iteration, we use the [[Backpropagation Algorithm]], as discussed in the sparse autoencoder section. As the backpropagation algorithm can be extended to apply for an arbitrary number of layers, we can actually use this algorithm on a stacked autoencoder of arbitrary depth. Fortunately, we already have all the tools necessary to implement fine tuning for stacked autoencoders! In order to compute the gradients for all the layers of the stacked autoencoder in each iteration, we use the [[Backpropagation Algorithm]], as discussed in the sparse autoencoder section. As the backpropagation algorithm can be extended to apply for an arbitrary number of layers, we can actually use this algorithm on a stacked autoencoder of arbitrary depth. - === Finetuning for Classification Error === + === Finetuning with Backpropagation === For your convenience, the summary of the backpropagation algorithm using element wise notation is below: For your convenience, the summary of the backpropagation algorithm using element wise notation is below: Line 34: Line 34: {{Quote| {{Quote| - Note: While one could consider the softmax classifier as an additional layer, the derivation above does not. Specifically, we consider the "last layer" of the network to be the features that goes into the softmax classifier. Therefore, the derivatives (in Step 2) are computed using $\delta^{(n_l)} = - (\nabla_{a^{n_l}}J) \bullet f'(z^{(n_l)})$. + Note: While one could consider the softmax classifier as an additional layer, the derivation above does not. Specifically, we consider the "last layer" of the network to be the features that goes into the softmax classifier. Therefore, the derivatives (in Step 2) are computed using $\delta^{(n_l)} = - (\nabla_{a^{n_l}}J) \bullet f'(z^{(n_l)})$, where  $\nabla J = \theta^T(I-P)$. }} }} + + + {{CNN}} + + + {{Languages|微调多层自编码算法|中文}}