Analysis updated 2026-05-18
Run the card shuffle demo to see a model predict deck order after 1000 shuffles, trained in under two seconds.
Explore a backprop-free learning approach where the system generalizes from short examples to longer sequences.
Test whether the forgetting-resistance demo shows genuine generalization or memorization in a 60-line engine.
| edrtech/working-memory-depth-recurrence | 0marildo/imago | agentlexi/agent-lexi | |
|---|---|---|---|
| Stars | 3 | 3 | 3 |
| Language | Python | Python | Python |
| Setup difficulty | easy | easy | moderate |
| Complexity | 2/5 | 2/5 | 4/5 |
| Audience | researcher | general | vibe coder |
Figures from each repo's GitHub metadata at analysis time.
This repository contains a small Python demonstration of an alternative approach to building AI systems. The author, who describes themselves as not being a data scientist or ML engineer, built it out of frustration with how large language models work. The core engine is about 60 lines of Python and requires no third-party libraries to run. The underlying idea is called working memory depth recurrence. Instead of using backpropagation, gradients, or any global learning signal, the system learns using only local rules operating on a single shared graph. The author argues this setup more closely mirrors how biological brains actually process information. The repository includes three small demos. The first teaches the system to understand numbers by counting piles of objects (characters, words, or anything countable), after which it can perform addition even though no addition examples were ever shown. The second learns what each type of card shuffle does to a 52-card deck and can then predict the final order of any deck after any number of shuffles, training in under two seconds from scratch. The third first trains the system on bad examples so it only memorizes, then trains it properly on top of the same memory, resulting in real generalization without any forgetting. The author is transparent about possibly being over-confident in the significance of this work, and explicitly invites people with genuine ML expertise to check whether it holds up. The code is intentionally short and readable so anyone can verify each demo's results by hand in a few minutes. This is a research-stage prototype and a personal project, not a production library. There are no external dependencies. You clone the repository and run it directly.
A tiny 60-line Python engine that learns using local rules instead of backpropagation, with three demos showing number counting, card shuffle prediction, and resistance to forgetting.
Mainly Python. The stack also includes Python.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly researcher.
This repo across BitVibe Labs
Verify against the repo before relying on details.