Carry state is the LSTM’s long-term memory pathway: a cell state moves information across time steps while gates selectively retain, add, or remove it. This nearly unchanged path helps preserve information and ease gradient flow over long sequences, unlike the hidden state, which responds more actively to current inputs. section 4.2
The conveyor belt
An LSTM cell can be pictured as a conveyor belt carrying information through a sequence. The forget gate scales old information, the input gate and candidate update add new information, and the output gate controls what becomes visible through the hidden state. section 4.2
Figure 4.2 A single LSTM cell. The inputs are the current vector Xt, the previous hidden state ht–1, and the previous cell state Ct–1. There are three learned gates: the forget ft, input it, and output Ot. They are all produced by sigmoid layers (“σ” blocks). A tanh layer forms a candidate update \(\tilde{C}\)t. Pointwise multiplications (“×”) and an addition (“+”) update the cell state on the top “conveyor” pathway. Arrows indicate vector flow; the legend marks pointwise operations, concatenation, and copies. This is the standard LSTM, emphasizing how gating enables selective memory retention and exposure. Used with permission granted by the author (Chris Olah), though it is slightly modified from its original form.
Trace the cell state’s top conveyor pathway as multiplication gates selectively preserve or modify information. section 4.2




