cs6501 deep learning for visual recognition
play

CS6501: Deep Learning for Visual Recognition Recurrent Neural - PowerPoint PPT Presentation

CS6501: Deep Learning for Visual Recognition Recurrent Neural Networks (RNNs) Todays Class Recurrent Neural Network Cell Recurrent Neural Networks (RNNs) Bi-Directional Recurrent Neural Networks (Bi-RNNs) Multiple-layer /


  1. CS6501: Deep Learning for Visual Recognition Recurrent Neural Networks (RNNs)

  2. Today’s Class • Recurrent Neural Network Cell • Recurrent Neural Networks (RNNs) • Bi-Directional Recurrent Neural Networks (Bi-RNNs) • Multiple-layer / Stacked / Deep Bi-Direction Recurrent Neural Networks • LSTMs and GRUs. • Applications in Vision: Caption Generation.

  3. ACM Turing Award 2019 Geoff Hinton Backpropagation Yann LeCun Yoshua Bengio CNNs GANs

  4. Recurrent Neural Network Cell ℎ & ℎ " #$$ ! "

  5. Recurrent Neural Network Cell ℎ " = tanh (. // ℎ & + . /1 ! " ) ℎ & ℎ " #$$ ! "

  6. Recurrent Neural Network Cell 3 " ℎ " ℎ & ℎ " #$$ ℎ " = tanh (. // ℎ & + . /1 ! " ) ! " 3 " = softmax (. /9 ℎ " )

  7. Recurrent Neural Network Cell ' " ℎ " ℎ & ℎ " #$$ ! "

  8. Recurrent Neural Network Cell e (0.7) - $ = [0.1, 0.05, 0.05, 0.1, 0.7] ℎ $ = [0.1 0.2 0 − 0.3 − 0.1 ] ℎ , = [0 0 0 0 0 0 0 ] ℎ $ = [0.1 0.2 0 − 0.3 − 0.1 ] !"" # $ = [0 0 1 0 0] a b c d e c

  9. Recurrent Neural Network Cell ' " ℎ " ℎ & ℎ " #$$ ! "

  10. Recurrent Neural Network Cell ℎ " ℎ & ℎ " #$$ ! "

  11. (Unrolled) Recurrent Neural Network a t <<space>> ) " ) ' ) ( ℎ " ℎ ' ℎ ( ℎ & ℎ " ℎ ' ℎ ( #$$ #$$ #$$ ! " ! ' ! ( c a t

  12. (Unrolled) Recurrent Neural Network cat likes eating ) " ) ' ) ( ℎ " ℎ ' ℎ ( ℎ & ℎ " ℎ ' ℎ ( #$$ #$$ #$$ ! " ! ' ! ( the cat likes

  13. (Unrolled) Recurrent Neural Network positive / negative sentiment rating ) ℎ ( ℎ & ℎ " ℎ ' ℎ ( #$$ #$$ #$$ ! " ! ' ! ( the cat likes

  14. Bidirectional Recurrent Neural Network comer gato quiere + " + ( + * ℎ " ℎ ( ℎ * ℎ ' ℎ " ℎ ( ℎ * #$%% B$%% #$%% ! " ! ( ! * wants the cat

  15. Stacked Recurrent Neural Network ) " ) ' ) ( ℎ " ℎ ' ℎ ( ℎ * ℎ " ℎ ' ℎ ( #$$ #$$ #$$ & " & ' & ( ℎ ℎ ℎ & " & * & ' & ( ℎ ℎ ℎ ℎ #$$ #$$ #$$ ! " ! ' ! ( c a t

  16. Stacked Bidirectional Recurrent Neural Network ) " ) ' ) ( ℎ " ℎ ' ℎ ( ℎ * ℎ " ℎ ' ℎ ( #$$ #$$ #$$ & " & ' & ( ℎ ℎ ℎ & " & * & ' & ( ℎ ℎ ℎ ℎ #$$ #$$ #$$ ! " ! ' ! ( c a t

  17. RNN in Pytorch

  18. LSTM Cell (Long Short-Term Memory) ℎ " ℎ ( #$%& ) ( ) " ! "

  19. LSTM in Pytorch

  20. GRU in Pytorch

  21. Questions? 21

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