Research Article

A New Type of Eye Movement Model Based on Recurrent Neural Networks for Simulating the Gaze Behavior of Human Reading

Algorithm 1

The model training procedure.
(1) for epoch in epochs:
(2)   for batch in batchs:
(3)  (1) bi-LSTM model forward pass:
(4)     forward pass for forward state LSTM
(5)     forward pass for backward state LSTM
(6)  (2) CRF layer forward and backward pass
(7)  (3) bi-LSTM model backward pass:
(8)     backward pass for forward state LSTM
(9)     backward pass for backward state LSTM
(10)  (4) update parameters