highway networks and residual networks
play

Highway Networks and Residual Networks Renjie Liao University of - PowerPoint PPT Presentation

Highway Networks and Residual Networks Renjie Liao University of Toronto Jan 26, 2016 Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 1 / 23 Neural Network A network connecting numerous neurons Renjie Liao (UofT)


  1. Highway Networks and Residual Networks Renjie Liao University of Toronto Jan 26, 2016 Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 1 / 23

  2. Neural Network A network connecting numerous neurons Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 2 / 23

  3. Neural Network A network connecting numerous neurons Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 2 / 23

  4. Analogy Imagine a neural network as a map Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 3 / 23

  5. Analogy Imagine a neural network as a map Imagine a neuron as a place Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 3 / 23

  6. Analogy Imagine a neural network as a map Imagine a neuron as a place Imagine yourself as the information flow Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 3 / 23

  7. Analogy Imagine a neural network as a map Imagine a neuron as a place Imagine yourself as the information flow Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 3 / 23

  8. Analogy Suppose you (information flow) wants to reach Bakery (neuron B) from City Hall (neuron A), what will you do? Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 4 / 23

  9. Analogy Suppose you (information flow) wants to reach Bakery (neuron B) from City Hall (neuron A), what will you do? You have to follow the path of network! Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 4 / 23

  10. Analogy Suppose you (information flow) wants to reach Bakery (neuron B) from City Hall (neuron A), what will you do? You have to follow the path of network! What if there is a highway connecting Bakery and City Hall directly? Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 4 / 23

  11. Highway Networks Allowing direct pass (highway) between neurons in different layers. Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 5 / 23

  12. Highway Networks Allowing direct pass (highway) between neurons in different layers. Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 5 / 23

  13. Highway Networks Original network: �� � w 1 z 1 = σ n x n + b (1) n =1 Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 6 / 23

  14. Highway Networks Original network: �� � w 1 z 1 = σ n x n + b (1) n =1 Highway network: �� � w 1 z 1 = T σ n x n + b + (1 − T ) x 1 (2) n =1 Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 6 / 23

  15. Highway Networks Original network: �� � w 1 z 1 = σ n x n + b (1) n =1 Highway network: �� � w 1 z 1 = T σ n x n + b + (1 − T ) x 1 (2) n =1 Gating function: �� � T = σ w ′ n x n + b ′ (3) n =1 Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 6 / 23

  16. Highway Networks Remember the shape of sigmoid function. Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 7 / 23

  17. Highway Networks Remember the shape of sigmoid function. Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 7 / 23

  18. Highway Networks Remember the shape of sigmoid function. We can set bias b ′ to negative values such that gating value T → 0. Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 7 / 23

  19. Benefits of Highway networks Enable training of very deep neural networks (e.g., hundreds of layers) “Srivastava, R.K., Greff, K. and Schmidhuber, J., 2015. Highway Networks. arXiv preprint arXiv:1505.00387”. Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 8 / 23

  20. Benefits of Highway networks Enable training of very deep neural networks (e.g., hundreds of layers) “Srivastava, R.K., Greff, K. and Schmidhuber, J., 2015. Highway Networks. arXiv preprint arXiv:1505.00387”. Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 9 / 23

  21. Residual Networks Motivation: Does depth matter for deep learning? Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 10 / 23

  22. Residual Networks Motivation: Does depth matter for deep learning? “He, K., Zhang, X., Ren, S. and Sun, J., 2015. Deep Residual Learning for Image Recognition. arXiv preprint arXiv:1512.03385”. Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 10 / 23

  23. Residual Networks Motivation: Does depth matter for deep learning? “He, K., Zhang, X., Ren, S. and Sun, J., 2015. Deep Residual Learning for Image Recognition. arXiv preprint arXiv:1512.03385”. Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 11 / 23

  24. Residual Networks We need new architecture to make depth matter. Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 12 / 23

  25. Residual Networks We need new architecture to make depth matter. Suppose you have a plain 2-layer network H . “He, K., Zhang, X., Ren, S. and Sun, J., 2015. Deep Residual Learning for Image Recognition. arXiv preprint arXiv:1512.03385”. Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 12 / 23

  26. Residual Networks We need new architecture to make depth matter. Suppose you have a plain 2-layer network H . We use a new building block which forces the previous 2-layer F to learn the residual H − x . Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 13 / 23

  27. Residual Networks We need new architecture to make depth matter. Suppose you have a plain 2-layer network H . We use a new building block which forces the previous 2-layer F to learn the residual H − x . “He, K., Zhang, X., Ren, S. and Sun, J., 2015. Deep Residual Learning for Image Recognition. arXiv preprint arXiv:1512.03385”. Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 13 / 23

  28. Residual Networks What we have done? Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 14 / 23

  29. Residual Networks What we have done? Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 14 / 23

  30. Residual Networks What we have done? “He, K., Zhang, X., Ren, S. and Sun, J., 2015. Deep Residual Learning for Image Recognition. arXiv preprint arXiv:1512.03385”. Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 14 / 23

  31. Residual Networks Based on this building block, we can do some crazy things like... Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 15 / 23

  32. Residual Networks Based on this building block, we can do some crazy things like... “He, K., Zhang, X., Ren, S. and Sun, J., 2015. Deep Residual Learning for Image Recognition. arXiv preprint arXiv:1512.03385”. Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 15 / 23

  33. Image Net Challenge Results “He, K., Zhang, X., Ren, S. and Sun, J., 2015. Deep Residual Learning for Image Recognition. arXiv preprint arXiv:1512.03385”. Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 16 / 23

  34. PASCAL VOC Challenge Results “He, K., Zhang, X., Ren, S. and Sun, J., 2015. Deep Residual Learning for Image Recognition. arXiv preprint arXiv:1512.03385”. Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 17 / 23

  35. More Results “He, K., Zhang, X., Ren, S. and Sun, J., 2015. Deep Residual Learning for Image Recognition. arXiv preprint arXiv:1512.03385”. Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 18 / 23

  36. More Results “He, K., Zhang, X., Ren, S. and Sun, J., 2015. Deep Residual Learning for Image Recognition. arXiv preprint arXiv:1512.03385”. Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 19 / 23

  37. More Results “He, K., Zhang, X., Ren, S. and Sun, J., 2015. Deep Residual Learning for Image Recognition. arXiv preprint arXiv:1512.03385”. Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 20 / 23

  38. More Results “He, K., Zhang, X., Ren, S. and Sun, J., 2015. Deep Residual Learning for Image Recognition. arXiv preprint arXiv:1512.03385”. Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 21 / 23

  39. More Results “He, K., Zhang, X., Ren, S. and Sun, J., 2015. Deep Residual Learning for Image Recognition. arXiv preprint arXiv:1512.03385”. Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 22 / 23

  40. Thanks! Renjie Liao (UofT) Highway Networks and Residual Networks Jan 26, 2016 23 / 23

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend