Guide-linked quiz · Medium Level
Long Short-Term Memory Cells Quiz
Test LSTM gate roles, cell-state retention, input and output control, additive updates, gradient flow, and sequence limits.
Question 1 of 8
In a common modern three-gate LSTM variant, which gates regulate cell information and exposed output?
Preview every question8 questions
Answers and explanations appear as you take the quiz.
- In a common modern three-gate LSTM variant, which gates regulate cell information and exposed output?
- Read, write, and execute gates
- Start, stop, and pause gates
- Forget, input, and output gates
- Encode, decode, and attend gates
- What training difficulty was LSTM designed to mitigate?
- Too many parameters to store
- Vanishing gradients during learning over long sequences
- Inability to use a GPU
- Lack of an activation function
- Who introduced the LSTM, and in what year?
- Vaswani and colleagues in 2017
- Rumelhart and Hinton in 1986
- LeCun and Bengio in 2012
- Hochreiter and Schmidhuber in 1997
- In a common LSTM cell update, why can the additive cell-state path help gradient flow?
- It reduces reliance on repeated multiplicative transformations across time steps
- It multiplies the state by a large number each step
- It deletes the state every step
- It freezes all weights during training
- What activation function do LSTM gates typically use to act as soft on/off switches?
- ReLU, outputting 0 to infinity
- Softmax over the vocabulary
- A step function outputting exactly 0 or 1
- Sigmoid, outputting 0 to 1
- Why have Transformers largely replaced LSTMs for large-scale language modeling?
- Transformers cannot handle text at all
- LSTMs require no training
- Transformers parallelize across a sequence and capture long-range context via attention
- Transformers use far fewer numbers in total
- If an LSTM forget gate is near one and its input gate near zero, what happens to the cell state?
- It largely retains the previous state
- It is forced to zero
- It becomes the raw input token
- It must reverse the sequence
- Which gate controls how much of an LSTM cell’s stored state is exposed as output?
- The forget gate alone
- The output gate
- The optimizer momentum term
- The positional encoding gate
Keep testing yourself
More quizzes picked for your level.