Input gate in long short-term memory

ID: input-gate-in-long-short-term-memory

The input gate in long short-term memory controls how much proposed new information is written into the memory state of a long short-term memory recurrent neural network. In a common modern form,
Here is the candidate memory update, is the input-gate vector, and means componentwise multiplication. The sigmoid function places each gate component between zero and one. The forget gate in long short-term memory separately controls the existing memory: suppressing a new write does not by itself erase stored information.[ref]
For a scalar example, let , , and . Then . Increasing only to gives : a larger gate admits more of the negative candidate. The gate is a multiplier, not an instruction that the memory must increase.
The proposed write and its admission are learned separately. An input may suggest a strong candidate while the gate learns that this timestep should be ignored. This selective writing was part of the original memory-cell strategy for protecting information across long delays, together with gated reading through the output gate in long short-term memory.[ref]

New to topics? Read the docs here!