paint-brush
How The Yak Tack Algorithm Helps You Remember Wordsby@yaktack
268 reads

How The Yak Tack Algorithm Helps You Remember Words

by Yak TackApril 30th, 2021
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

The Yak Tack app is a simple app that helps people remember words. It's based on the Fibonacci Sequence, which starts as 1, 2, 3, 5, 8, 13, 21, and 34. With each successful test, the repetition interval expands, and with each unsuccessful test, we tighten the interval. We reduced the tack duration from 34 to 13 days, and we test people more frequently than we used to. The algorithm is based on Sebastian Leitner’s system, which was developed in the 1970s. It gives us the adaptation we were looking for.

People Mentioned

Mention Thumbnail
featured image - How The Yak Tack Algorithm Helps You Remember Words
Yak Tack HackerNoon profile picture

First, some context

In the late 19th century, a psychologist named Hermann Ebbinghaus spent years understanding the behavior of human memory. He charted the rate of memory decay and summarized his research with something called the Forgetting Curve.

Ebbinghaus showed that, over time, our ability to retrieve memories decreases. Most scientists interpreted these results implying that memories simply fade away. But contemporary science suggests something different. Our ability to remember depends on two factors:

Storage Strength: If something is important, it remains in our brain past the forgetting curve’s endpoint.

Retrieval Strength: But access to certain memories does indeed fade over time, independent of the memory actually being stored in our brain.

One helpful analogy here is to imagine a large library. Books are kept on shelves throughout the building. That’s storage. One’s ability to locate a book, however, depends on the accuracy of the card catalogue (and one’s prowess at way-finding). That’s access.

Robert Bjork of UCLA shows that accessing a given memory improves our ability to access that memory later. Ironically, access improvement is inversely related to how much access decay has occurred. In other words, when a memory is accessed just before it’s forgotten, we see a stronger improvement in our ability to access that memory later on. And it’s the repetition of this activity — accessing just before forgetting — that gives strength to spaced repetition as a learning vehicle.

Repeated memory accesses and at expanding intervals have the effect of flattening the Forgetting Curve. And this process makes it much easier for us to retain new information.


How Yak Tack used to do things

Enter spaced repetition, an approach that borrows from this research. Spaced repetition is the center of Yak Tack. And we built our first algorithm on the Fibonacci Sequence, which starts as 1, 2, 3, 5, 8, 13, 21, and 34. We applied it statically, meaning we’d move each word through the sequence on schedule, no matter what.

While effective, there are myriad factors our Fibonacci algorithm ignored. What if someone doesn’t read their tack notifications in time, only to find a pile of notifications for intervals 1, 2, and 3 on their Tack Board? What if someone has a hard time remembering certain words?

We knew we needed to find a more adaptive algorithm that would tune itself according to these situations.

How we do it now; the Leitner system

We took the opportunity to build a new spaced-repetition algorithm based on the Leitner system. It was developed by Sebastian Leitner in the 1970’s. And while it’s a simple system, it gives us the adaptation we were looking for. We reduced the tack duration from 34 to 13 days. And we test people more frequently than we used to. With each successful test, the repetition interval expands. With each unsuccessful test, we tighten the interval.

Here’s how it works on Yak Tack for someone we’ll call “Ann”:


Ann tacks the word oligarchy. Yak Tack starts the word at proficiency level 1 for her. At this point, Anne’s ability to remember the word is decaying fast.

Ann reads her tack notification for oligarchy the next day. We promote her to proficiency level 2.

She reads her notification again on the second day. Now she’s promoted to level 3.

On the third day, we ask Ann to pick the right definition for oligarchy. She makes the right choice, now she’s promoted to level 5.

On the fifth day, we ask Ann once again to pick the right definition. This time, she chooses the definition for the word monarchy, not oligarchy. We demote her back to level 3 for oligarchy.

On the seventh day (5 - 3), we ask her to pick the definition again. She gets it right this time, and she’s once again promoted to level 5. She’ll receive the next test two days later.

This repeats until Ann reaches level 13, at which point her Forgetting Curve for the word oligarchy should be sufficiently flattened.

If words are remembered at every interval, one can flatten the Forgetting Curve in about 13 days. It’ll take a bit longer if mistakes are made along the way (which we expect!).

Interested? Give Yak Tack a spin.

Also published on: https://yaktack.substack.com/p/enter-leitner