d2l.ai
Recurrent Neural Network
Rachel Hu and Zhi Zhang
Amazon AI
Recurrent Neural Network Rachel Hu and Zhi Zhang Amazon AI d2l.ai - - PowerPoint PPT Presentation
Recurrent Neural Network Rachel Hu and Zhi Zhang Amazon AI d2l.ai Outline Dependent Random Variables Text Preprocessing Language Modeling Recurrent Neural Networks (RNN) LSTM Bidirectional RNN Deep RNN d2l.ai
d2l.ai
Rachel Hu and Zhi Zhang
Amazon AI
d2l.ai
d2l.ai
d2l.ai
Yehuda Koren, 2009
d2l.ai
Yehuda Koren, 2009
d2l.ai
Kahnemann & Krueger, 2006
d2l.ai
Kahnemann & Krueger, 2006
d2l.ai
prime day Christmas back to school Q2 earnings rate cuts
hair tweets rating agencies inventory Black Friday
d2l.ai
d2l.ai
d2l.ai
d2l.ai
d2l.ai
d2l.ai
d2l.ai
d2l.ai
d2l.ai
T
t=2
̂ p(learning|deep) = n(deep, learning) n(deep)
d2l.ai
d2l.ai
d2l.ai
d2l.ai
Ht = ϕ(WhxXt−1 + bh)
Ht = ϕ(WhhHt−1 + WhxXt−1 + bh)
d2l.ai
d2l.ai
d2l.ai
d2l.ai
d2l.ai
d2l.ai
d2l.ai
d2l.ai
d2l.ai
Rt = σ(XtWxr + Ht−1Whr + br), Zt = σ(XtWxz + Ht−1Whz + bz) ˜ Ht = tanh(XtWxh + (Rt ⊙ Ht−1) Whh + bh) Ht = Zt ⊙ Ht−1 + (1 − Zt) ⊙ ˜ Ht
Ht = ϕ(WhhHt−1 + WhxXt−1 + bh)
d2l.ai
d2l.ai
d2l.ai
d2l.ai
d2l.ai
d2l.ai
Rt = σ(XtWxr + Ht−1Whr + br), Zt = σ(XtWxz + Ht−1Whz + bz) ˜ Ht = tanh(XtWxh + (Rt ⊙ Ht−1) Whh + bh) Ht = Zt ⊙ Ht−1 + (1 − Zt) ⊙ ˜ Ht
It = σ(XtWxi + Ht−1Whi + bi) Ft = σ(XtWxf + Ht−1Whf + bf) Ot = σ(XtWxo + Ht−1Who + bo) ˜ Ct = tanh(XtWxc + Ht−1Whc + bc) Ct = Ft ⊙ Ct−1 + It ⊙ ˜ Ct Ht = Ot ⊙ tanh(Ct)
d2l.ai
Reset the memory cell values
Decide whether we should ignore the input data
Decide whether the hidden state is used for the output generated by the LSTM
d2l.ai
d2l.ai
d2l.ai
d2l.ai
d2l.ai
d2l.ai
d2l.ai
d2l.ai
d2l.ai
d2l.ai
d2l.ai
d2l.ai
(image courtesy of karpathy.github.io)
Poetry Generation Sentiment Analysis Document Classification Question Answering Machine Translation Named Entity Tagging
d2l.ai
d2l.ai
d2l.ai
t = f1(H1 t−1, Xt)
t = fj(Hj t−1, Hj−1 t
t )
d2l.ai
d2l.ai
Statistics Gradient Math
Basic models
Machine learning
ResNet CNN
CV
(RNN, GRU, LSTM) for language modeling
translation RNNs and
Basic
Performanc
Attention
RMSProp, Adam Optimizatio
Networks
GAN
More Contents in D2L.ai
covered
d2l.ai