The FSRS algorithm
How Pomki knows when to show you a card again.
Behind every interval, there is FSRS, an open-source algorithm, and your own history. Three ideas are enough to understand it.
3-minute read
Active recall
Searching for the answer is already learning.
One week later, the people who had tested themselves remembered better than those who had reread (Roediger and Karpicke, 2006).
Emergency medicine
Anaphylactic shock: what is the first treatment?
Epinephrine, given intramuscularly.
The forgetting curve
Pomki shows you a card again just before you forget it.
Each successful review makes the next decline gentler: the card comes back later and later.
- 2 days
- 11 days
- 46 days
Chance of remembering
Days after learning it
- With Pomki's reviews
- Without the next review
- A review
- Target: 90%
Your answer
Your answer sets the next interval.
Answer according to how well you did, not according to how hard the card is: FSRS takes care of the rest.
- Forgot10 min
- Hard8 days
- Good11 days
- Easy19 days
And FSRS learns how you forget.
From 8 reviews
Pomki tunes FSRS to your history as soon as you have done 8 reviews on different days.
Only if it does better
The new settings are kept only if they predict your past answers better.
Your history, untouched
Nothing is rewritten: each card gets its new interval at its next review.
FSRS does the math,
you choose the target.
To go further
- Test-Enhanced Learning, the study by Henry Roediger and Jeffrey Karpicke (Psychological Science, 2006) on active recall.
- Improving Students' Learning With Effective Learning Techniques, the review by John Dunlosky and colleagues (Psychological Science in the Public Interest, 2013) of ten study techniques.
- FSRS, the algorithm, published under the MIT license by the Open Spaced Repetition community. It was created by Jarrett Ye, a research engineer at MaiMemo.
- Spaced Repetition Algorithm: A Three-Day Journey from Novice to Expert, the story of spaced repetition told by Jarrett Ye, with the forgetting curve diagram that the one on this page follows.
- ts-fsrs, the TypeScript implementation that Pomki uses, under the MIT license. Pomki uses version 5.4.1, which follows FSRS-6 and its 21 parameters.
- ABC of FSRS, stability, difficulty and the probability of remembering, and the origin of the default parameters: several hundred million reviews from about 10,000 people.
- A Stochastic Shortest Path Algorithm for Optimizing Spaced Repetition Scheduling, the paper by Junyao Ye, Jingyong Su and Yilong Cao (KDD 2022) that FSRS comes from.