By Team Edtoolkits · AI learning
Compare a small recurrent state with attention work counts and inspect what decaying memory forgets.
Use the guide alongside the working tool.
Open State-Space Models: A Rolling Note Instead of Attention →Explore the lesson
Watch attention compare every word with every word while a state carries one note.
Slide the text length and compare the work, then change how fast the note forgets.
Flip the memory card and answer the quick check.
A comparison to try
Send a note into the recurrence and vary the decay, watching how much remains after later steps. Separately increase sequence length and compare the lesson's attention-pair and state-update counts.
Read the result
A fixed-size state can update without retaining every past token, but earlier information may fade. The work-count comparison illustrates different growth patterns; the memory experiment exposes one cost of compressing history.
A mistake to avoid
These are simplified arithmetic counts and a scalar recurrence, not measured timings or a full state space architecture. Hardware, kernels, state size and task demands affect real throughput. Linear-looking work does not establish that all past information is preserved.
Teaching model and privacy
The counts are simplified: real costs depend on hardware and design details, and real state-space models learn what to keep. The fading note is a one-number teaching toy. Nothing leaves your browser.
Ready to apply this workflow?
Try State-Space Models: A Rolling Note Instead of Attention →Explore a related workflow
- Choose a course entry point and verify saved progress
Use prior knowledge to select a starting chapter while distinguishing local progress from an account or a qualification.
- AI Tokens: Inspect Pieces, Spaces and Stable Teaching IDs
Compare common words, rare words and numbers without using the playground as an exact provider counter.
- Inspect candidates before continuing text
Compare normalized next-word probabilities with the choices sampled from them.
- Choose complexity using held-out error
Compare training and test curves before calling a detailed fit an improvement.
Found unclear instructions or an unexpected result? Contact Team Edtoolkits.