← All tools
EDTOOLKITS GUIDES

Trace forgetting, writing and reading as separate gates

By Team Edtoolkits · AI learning

Use the memory-belt exercise to see which operations preserve a fact through distracting input.

Use the guide alongside the working tool.

Open LSTM: Long Short-Term Memory →

Explore the lesson

Watch a memory ride a belt while gates block a distraction.

Set the three gates at every word and try to carry Meera to the end.

Flip the memory card and answer the quick check.

A comparison to try

Compare the Everything open, Fading like a plain RNN and A good plan presets. Follow Meera through the sequence, notice when Ravi is added and inspect what the output gate exposes at the end.

Read the result

The forget gate controls retained state, the input gate controls what is added, and the output gate controls what is read out. Keeping a fact and revealing it are therefore distinct operations.

A mistake to avoid

The gates are manually set to closed, half or open and the memory holds one number. Real LSTMs learn smooth gates over many values; the preset does not demonstrate learned reasoning about people or names.

Teaching model and privacy

A teaching version: gates are closed, half or open, and the belt holds one number. A real LSTM learns smooth gates from data and has many memory numbers. Everything runs in your browser.

Ready to apply this workflow?

Try LSTM: Long Short-Term Memory →

Explore a related workflow

All practical guides →

Found unclear instructions or an unexpected result? Contact Team Edtoolkits.

YOUR BROWSER, YOUR CHOICE