Forgetting
A student memorizing the Quran recites verse 136 of Al-Baqarah, “Say, [O believers], "We have believed in Allāh and what has been revealed to us and what has been revealed to Abraham ” [Al-Baqarah 2:136], and without noticing slides into its sister verse in Al Imran: “Say, "We have believed in Allāh and in what was revealed to us and what was revealed to Abraham, ” [Ali 'Imran 3:84]. The two are almost identical. The student memorized the first three weeks ago and has reviewed it once.
So when should it have been reviewed? The next day? A week later? Every day? It isn't only a question for people memorizing the Quran. Anyone memorizing anything, the words of a new language, the names of drugs, the laws of physics, runs into it.
It sounds like a small question, and nobody has settled it. Psychologists, language teachers and a programming student have each tried, and each came away with a rule. Every one of those rules is an algorithm: steps we follow to make the decision ourselves, whether on paper or with an app on a phone. The algorithm doesn't decide for us. It helps us decide.
The question is as old as memorizing itself. Measuring forgetting with experiments and numbers began in Berlin in the 1880s, with a man memorizing words that mean nothing. Hermann Ebbinghaus built lists of short syllables from no language at all, so that meaning couldn't help him remember. He learned a list, waited, learned it again, and timed himself. A day later, relearning saved him about a third of the original work. A month later, about a fifth.1 Most of the forgetting happens in the first days, and what is left fades slowly.
A review changes the curve. Recall goes back to the top, and the fall after it is slower than the one before. Each review that holds pushes the next one further away.
Plate 1
Every method below is a rule for where to put the next review on this curve.
Review too soon and the review is wasted: reciting a verse you were sure to recall adds almost nothing to your memory of it. Review too late and the verse has slipped, and the review becomes memorizing it over. Psychologists call this the spacing effect. In 2008, Nicholas Cepeda and his colleagues ran a test online with 1,354 people. They learned 32 facts and came back for a second session after a gap of up to fifteen weeks. The best gap gave 64% more recall than studying twice in a row, and the best gap grew with how long the facts had to last.2 A gap a little too long cost much less than one a little too short.
Every way of reviewing tries to find that gap for each verse, and all it has to go on is the recitation: whether the verse came out right, and whether it came easily or after a pause.
Three verses
Follow three verses. The first is easy to memorize: “Say, "He is Allāh, [who is] One,” [Al-Ikhlas 112:1], the first verse of Al-Ikhlas, short and recited every day. The second is verse 136 of Al-Baqarah, so close to its sister in Al Imran that memorizers pass around a trick to keep them apart: in Arabic, Al Imran's "upon us", علينا, begins with the letter ain, like the name of the sura. The third is hard to memorize: verse 35 of Al-Ahzab, “Indeed, the Muslim men and Muslim women, the believing men and believing women, ” [Al-Ahzab 33:35], a long run of paired qualities where one pair is easily dropped or put in the wrong place.
Each method is a rule that runs after every recitation. It reads the grade and returns the day of the next review. The grade is a number for the recitation: 1 if the verse was forgotten, 3 if reciting it was hard, 4 if it went well, 5 if it was easy. Every method reviews a verse the day after it is memorized, and they part ways from there.
Turn on Example to follow the three through their first review, on day 1. Al-Ikhlas comes easily, Al-Baqarah 136 after a pause, and Al-Ahzab 35 not at all. Compare puts two methods side by side.
Every day reviews every verse every day. It is what most people do without a schedule, and what the night before an exam would feel like if it lasted three months. Nothing stays forgotten for long, but the method never listens to the recitation: Al-Ikhlas and Al-Ahzab 35 get the same attention.
Pimsleur. In 1967 the American language teacher Paul Pimsleur published a three-page paper proposing that every new word come back after gaps that each grow five times: five seconds, then twenty-five, then two minutes, and so on out to about four months.3 Here the gaps start at a day: 1, 5, 25, 125. The schedule is fixed. Al-Ahzab 35, forgotten on day 1, waits five days just like Al-Ikhlas.
Pimsleur
1procedure REVIEW-ON-FIXED-GAPS(verse, q, today)2step[verse] ← step[verse] + 13return today + GAPS[step[verse]]Leitner. In 1972 the German journalist Sebastian Leitner published So lernt man lernen, "How to learn to learn", and in it a box of paper cards split into compartments: a card answered right moves forward one, a card answered wrong goes back to the first.4 With verses the compartments become the rungs of a ladder that rates how well we hold each verse. A right recitation raises our rating of the verse by a rung, a mistake sets the rating back to the bottom, and the rungs are reviewed every day, every two days, then every 4, 8 and 16, as in the common version today. Duolingo started with a system like this.5 The method listens, but only to right and wrong.
Leitner
1procedure MOVE-ON-THE-LADDER(verse, q, today)2if q ≥ 3 then3rung[verse] ← MIN(rung[verse] + 1, 5)4else5rung[verse] ← 16return today + GAPS[rung[verse]]SM-2. In 1987 Piotr Woźniak, a student in Poland, wrote a program called SuperMemo to help him learn English words, and its second algorithm is the one known as SM-2. The first gap is a day, the second six, and from then on each gap is the last one times the verse's ease factor, which starts at 2.5. Easy recitations raise the ease and hard ones lower it, never below 1.3. A blank starts the gaps over and keeps the ease.6 Anki's usual scheduler is still a modified SM-2.
SM-2
1procedure STRETCH-BY-EASE(verse, q, today)2if q < 3 then3n[verse] ← 14I[verse] ← 15else6EF[verse] ← MAX(1.3, EF[verse] + 0.1 − (5 − q) · (0.08 + (5 − q) · 0.02))7if n[verse] = 1 then8I[verse] ← 69else10I[verse] ← CEIL(I[verse] · EF[verse])11n[verse] ← n[verse] + 112return today + I[verse]FSRS. Thirty-five years after SuperMemo, Jarrett Ye and his colleagues at MaiMemo, a Chinese vocabulary app, published a model of memory fitted to 220 million reviews. FSRS, the Free Spaced Repetition Scheduler, grew out of it and became Anki's second scheduler in October 2023.7 It keeps a guess at how stable our memory of each verse is and how hard it is to memorize, works out how fast we are forgetting it, and sets the next review for the day recall is predicted to fall to a target: 90% by default. Ours is a small version: the model of Algorithm 6, with its difficulty guessed from how surprising each recitation was.
FSRS
1procedure FORECAST-FORGETTING(verse, q, today)2R ← PREDICT-RECALL(today − last[verse], S[verse])3recalled ← q ≥ 34D[verse] ← CLAMP(D[verse] − 2 · (recalled − R), 1, 10)5if recalled then6S[verse] ← STRENGTHEN(S[verse], D[verse], R)7else8S[verse] ← WEAKEN(S[verse])9last[verse] ← today10return today + MAX(1, ROUND(9 · S[verse] · (1 / r − 1)))One verse, five calendars
Pick a verse. Al-Ahzab 35 is forgotten the day after it is memorized, in every lane. Every day draws a comb. Pimsleur stops after day 31 for these three, and our hold on the verse fades. The other three space their reviews out while our memory of the verse holds, and pull them in again when it slips.
Day by day
Try it
Each bar is a verse, tall while we hold it and shorter as our memory of it slips, and each method decides when to send it back to the top. Pick a verse, or tap any bar, to see its story under each lane. Watch the second month: one lane keeps every bar at the top by reviewing it every day, one goes quiet and its bars shrink, and three review a verse before its bar has fallen far.
Picture a learner who memorizes a hundred verses, ten a day for the first ten days, and then tries to keep them for three months. Give that learner five schedules and watch.
In the first days the schedules look alike: new verses every day and plenty of reviews for them. By the end of the second week they come apart. Every day asks for a hundred reviews a day, and never fewer. The others thin out: in the second month Leitner asks for about seven a day, SM-2 about three, and FSRS two or three.
On day 40 something odd happens in the Pimsleur lane. It goes quiet. Every verse has had its 25-day gap, and the next is 125 days away. The verses are left alone, their bars shrink day by day, and on the last day this learner holds only about two verses in three.
At the end, Every day keeps 99.8% of the verses, measured each morning of the last two months. FSRS keeps 95% for a seventeenth of the work: about five reviews a verse in ninety days, against eighty-five.
What remembering costs
One learner can be lucky. The chart brings thirty together, each with their own verses, and puts every method at two numbers: how many reviews it cost per verse, and how much was still held. FSRS is a curve rather than a point, because its target is a dial: every target from 70% to 97%.
Cost
Slide the target. Up to about 90%, a few more reviews buy a lot. Past it, each point of recall costs more than the one before.
From this chart we can draw three observations.
The first is that listening to the recitation is worth a lot. Pimsleur and FSRS at 70% both spend three reviews a verse; Pimsleur keeps 80%, FSRS 87%. The reason is simple. Where Pimsleur spends its third review on a verse we already held firmly, FSRS spends it on one whose memory was slipping.
The second is that the old rules still hold. Leitner and SM-2 sit on the curve FSRS draws: SM-2 keeps 95.4% for five reviews a verse, and FSRS at 90% keeps 95.1% for the same five. That says as much about our model as about the methods. Our learner forgets by one formula with one set of numbers, and SM-2's gaps of 1, 6 and about 15 days happen to suit it. People don't all forget by one formula. FSRS's real advantage is that it fits its numbers to each person's own history, and on ten thousand Anki collections it predicts recall far better than SM-2 does.8 Our version is handed the model's own formula, so this chart can't show that advantage.
The third is that the last points are expensive. Raising the target from 90% to 97% doubles the reviews, from five a verse to ten, for three more points. Every day spends seventeen times SM-2's reviews for four and a half. Anki's manual gives the same warning: above 90% the workload climbs quickly, and above 97% it can be overwhelming.9 At the other end, lowering the target below about 75% saves no work: more verses are forgotten, and memorizing them again costs reviews too.
The curve is jagged because days are whole. Ninety days hold only a handful of reviews for most verses, so a small turn of the dial can move a review across the end of a gap.
What it leaves out
In the model every verse stands alone, while in the Quran each verse pulls the next along. The model's learner never mixes one verse up with its sister, as happens with the verses of Al-Baqarah and Al Imran. Same-day repeats are folded into the review: in practice a forgotten verse is recited again within minutes, while the model only lets it start over. And ninety days is short. Memorizing is meant to last years, and the gaps that matter most are the long ones.
Two results should hold outside the model too. Reviewing more often than needed buys very little, and with a fixed schedule that ignores the recitation, we forget verses we would have kept had we reviewed them in time. A method that listens, whether it uses a ladder, an ease factor or a model of memory, gets most of the way there.
So when should that student have reviewed the verse of Al-Baqarah? Reviewing everything every day would have kept it, at a price paid every morning. Pimsleur would have left it alone for four months after day 31. The methods that listen to the recitation would have brought it back within a few days, spaced the reviews out while our memory of it held, and pulled it closer again at the first hesitation.
The article Why not review every day? shows where the ideas behind these methods are used in computing, and why reviewing every day isn't the best use of our time, even though it feels safest.
References
-
H. Ebbinghaus, Über das Gedächtnis, Leipzig, 1885. His savings, as tabulated in J. M. J. Murre and J. Dros, “Replication and analysis of Ebbinghaus’ forgetting curve,” PLOS ONE 10(7): e0120644, 2015. doi:10.1371/journal.pone.0120644 ↩
-
N. J. Cepeda, E. Vul, D. Rohrer, J. T. Wixted and H. Pashler, “Spacing effects in learning: a temporal ridgeline of optimal retention,” Psychological Science 19(11), 1095–1102, 2008. doi:10.1111/j.1467-9280.2008.02209.x ↩
-
P. Pimsleur, “A memory schedule,” The Modern Language Journal 51(2), 73–75, 1967. ERIC ED012150 ↩
-
S. Leitner, So lernt man lernen, Herder, Freiburg, 1972. ↩
-
B. Settles and B. Meeder, “A trainable spaced repetition model for language learning,” Proceedings of ACL 2016, 1848–1858. P16-1174 ↩
-
P. Woźniak, “Algorithm SM-2,” from Optimization of learning, master’s thesis, University of Technology in Poznań, 1990. ↩
-
J. Ye, J. Su and Y. Cao, “A stochastic shortest path algorithm for optimizing spaced repetition scheduling,” Proceedings of KDD 2022, 4381–4390. doi:10.1145/3534678.3539081. Anki 23.10, release notes, 31 October 2023. ↩
-
Open Spaced Repetition, “srs-benchmark.” In the last version to include it, SM-2 had a log loss of 0.72 against 0.36 for FSRS-5, lower being better. SM-2 was not built to predict recall, and the benchmark added formulas so it could. ↩
-
Anki Manual, “Deck options: desired retention.” ↩