Abstract
A recurrent neural network (RNN) is applied to inputs recurrently, with the network output from one time step sending an additional input to the next time step, augmenting the input for that time step. Inputs can be observations recorded at different time steps. Recurrent application of the network enables such networks to detect temporal relationships in input data that have a material impact in modeling output. The network’s output from one time step is passed as an input to the same network at the next time step, along with inputs for that time step. This enables RNNs to pass information learned from one time step to subsequent ones. This chapter illustrates the use of recurrent neural networks by focusing on gated recurrence unit (GRU), long-short-term memory (LSTM) cell, and customized recurrent neural network layers. RNNs are trained using backpropagation through time (BPTT), which involves unrolling the network through time and using backpropagation. Vanishing gradients pose a challenge to training RNNs, as the examples will demonstrate. A LSTM network was proposed by Hochreiter and Schmidhuber in 1997. In 2007, it was applied to speech recognition with outstanding results.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature
About this chapter
Cite this chapter
Ahlawat, S. (2023). Recurrent Neural Networks. In: Reinforcement Learning for Finance. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-8835-1_4
Download citation
DOI: https://doi.org/10.1007/978-1-4842-8835-1_4
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-8834-4
Online ISBN: 978-1-4842-8835-1
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)