An LSTM memory cell is the state-carrying unit of a long short-term memory recurrent neural network. It maintains an internal memory whose update is controlled by gates, while an exposed state communicates selected information to the rest of the network. The memory and exposed output are different quantities.[ref]
In a simplified modern form, omitting peepholes,
The LSTM forget gate regulates retention, the LSTM input gate regulates the candidate write , and the LSTM output gate regulates exposure. The componentwise product allows different memory coordinates to make different decisions.[ref]
For a scalar example, , , and give . If , the output is only . A small output can coexist with substantial stored state; it does not demonstrate memory erasure.
The additive state path was designed to help learning across long delays. The original 1997 architecture had input/output gating; adaptive forgetting was introduced later for continuing streams. Preserving a direct gradient path addresses an important learning difficulty but does not guarantee unlimited or perfectly reliable memory for every task.[ref][ref]

Articles by others on the same topic (0)

There are currently no matching articles.