The hidden state at time-step t is updated via the GRU unit based on the previous hidden state and the input word.
: where e u ls and e i ls are the last hidden states of the user and item encoder outputê u andê i .