structural reinforcement for spaced repetition
Structural Recall
A spaced-repetition system in which failing a card resurfaces the related cards built on the same underlying ideas, so a lapse refreshes the surrounding structure rather than one isolated fact. The relationships form an explicit motif graph. Scheduling uses FSRS, the current state-of-the-art open-source scheduler; the structural layer is this system's contribution.
The idea
Ordinary spaced repetition schedules each card independently: a card is forgotten, it returns, alone. Structural Recall adds a second signal. Cards are tagged with motifs — coarse, reusable ideas that recur across many topics (log-likelihood,divide and conquer, orthogonality). Failing a card resurfaces other cards built on the same motifs, refreshing the related structure.
The two engines
FSRS is the scheduling algorithm, predicting per-card recall probability and deciding when a card returns. The motif graph enables structured retrieval, deciding what returns on a failure. They meet at a single point: when the graph ranks neighbors equally, recall breaks the tie toward the card you are closer to forgetting.
Explainable on the structural path
When cards are served by the motif graph, recommendations come from traversing explicit, weighted links between motifs. Because the rule is explicit, any recommendation can be traced back to the links that produced it, rather than to an opaque similarity score. The links are LLM-drafted and human-reviewed.
Theoretical grounding
Two core design choices correspond to established results in memory and learning research.
| Design element | Research it rests on | Reference |
|---|---|---|
| Rank rare shared motifs above common ones | The fan effect — retrieval efficiency declines with associative fan, so rare shared motifs carry greater diagnostic weight than common ones. | (Anderson, 1974) |
| Resurface structurally related cards | Retrieval-induced facilitation — retrieving one item can strengthen well-integrated related items after a delay. | (Chan et al., 2006) |
Populating the system
An LLM agent generates cards, motifs, and edges from source documents, constrained and reviewed by a surrounding pipeline. A human vets each proposed motif before it enters the vocabulary, resolves flagged duplicates, and reviews the edges.
Cards and motifs are generated, then reviewed
An automated pipeline reads source documents (lecture PDFs, notes) and produces draft cards with coarse concepts, typed kinds, and candidate motifs. Every proposed new motif passes through a human gate before it enters the vocabulary.
The graph is a separate, reviewed pass
Edges between motifs are generated in their own step once the vocabulary is stable, then reviewed. An edge is given full weight when two motifs are the same idea, half when they are merely related.
Architecture
Three layers, dependencies pointing downward.
What happens when you fail a card
// one failure, traced through the system
Failure signals structural decay
Motifs are reusable structures recurring across cards, so failing a card signals that the structure has decayed — not merely that one problem was hard. If you can no longer derive the OLS estimator, the underlying construction has likely faded wherever it appears. The system therefore resurfaces cards built on that structure: the ridge derivation carries the same motifs — normal equations, matrix inversion, squared-error loss — plus an L2 penalty, refreshing the decayed structure in a new setting. Kind-scope sets the search space — structural cards across topics, conceptual cards within one — and shared motifs select the neighbors.
Why reinforcement is deferred and capped
The day's plan is fixed once built: refreshes triggered by today's failures surface in the next session, under a hard cap of 18 cards (15 scheduled + 3 reinforcements). Reinforcements expire after 3 days if not surfaced — a deliberately short window. A related failure signals that the neighbor's shared structure may also be weakening; its reinforcement therefore acts as an early, short-horizon refresher, where optimal spacing runs on the order of days (Cepeda et al., 2008). Long-term scheduling is governed by FSRS.
The ranking score
On failure, each candidate neighbor c' is scored.
w(m) — reach weight of a matched motif
For a motif the card carries directly, w(m) = 1.0. For a motif reached one edge away, w(m) is the edge's weight, which is a two-tier classification: 1.0 if the link is constitutive (an identity, "X is Y"), 0.5 if the motifs are related but distinct.
ln(N/df) — the fan penalty
Each motif is down-weighted by how common it is (df = the number of cards carrying it) — the IDF weighting from information retrieval. Its functional form mirrors the ACT-R fan effect, where a cue linked to many items retrieves each less reliably: both impose a logarithmic penalty that grows with count.
p_recall — probability of recall
FSRS's estimate that a candidate is still recallable, subtracted from its summed motif weight. Because the motif term is unbounded and recall probability lies in [0,1], recall cannot overturn a structural lead — it breaks ties among comparably related candidates, preferring the one closer to being forgotten.
Results — the motif system vs. text similarity baselines
Each card's top-3 motif-neighbors are compared against those chosen by two independent text baselines — semantic (embedding cosine) and lexical (text-Jaccard) — over the same population. Low overlap with both, reproduced across two independently authored corpora, demonstrates that the motif system surfaces cards neither baseline recovers.
// corpus A — ML / statistics
// corpus B — NLP (independently authored: own vocabulary, own graph, no shared motifs)
Scope
References
Anderson, J. R. (1974). Retrieval of propositional information from long-term memory. Cognitive Psychology, 6(4), 451–474. https://doi.org/10.1016/0010-0285(74)90021-8
Cepeda, N. J., Vul, E., Rohrer, D., Wixted, J. T., & Pashler, H. (2008). Spacing effects in learning: A temporal ridgeline of optimal retention. Psychological Science, 19(11), 1095–1102. https://doi.org/10.1111/j.1467-9280.2008.02209.x
Chan, J. C. K., McDermott, K. B., & Roediger, H. L. III. (2006). Retrieval-induced facilitation: Initially nontested material can benefit from prior testing of related material. Journal of Experimental Psychology: General, 135(4), 553–571. https://doi.org/10.1037/0096-3445.135.4.553