aksg.vn logo

What is: Convolutional GRU?

SourceDelving Deeper into Convolutional Networks for Learning Video Representations
Year2000
Data SourceCC BY-SA - https://paperswithcode.com

A Convolutional Gated Recurrent Unit is a type of GRU that combines GRUs with the convolution operation. The update rule for input x_tx\_{t} and the previous output h_t−1h\_{t-1} is given by the following:

r=σ(W_r⋆_n[h_t−1;x_t]+b_r)r = \sigma\left(W\_{r} \star\_{n}\left[h\_{t-1};x\_{t}\right] + b\_{r}\right)

u=σ(W_u⋆_n[h_t−1;x_t]+b_u)u = \sigma\left(W\_{u} \star\_{n}\left[h\_{t-1};x\_{t}\right] + b\_{u} \right)

c=ρ(W_c⋆_n[x_t;r⊙h_t−1]+b_c)c = \rho\left(W\_{c} \star\_{n}\left[x\_{t}; r \odot h\_{t-1}\right] + b\_{c} \right)

h_t=u⊙h_t−1+(1−u)⊙ch\_{t} = u \odot h\_{t-1} + \left(1-u\right) \odot c

In these equations σ\sigma and ρ\rho are the elementwise sigmoid and ReLU functions respectively and the ⋆_n\star\_{n} represents a convolution with a kernel of size n×nn \times n. Brackets are used to represent a feature concatenation.