Introduction
The "spacing effect"—the psychological principle that information is better retained when practice is spread out over time—has been a cornerstone of cognitive science since the late 19th century. In the context of computer-assisted language learning (CALL), implementing this effect effectively is crucial for long-term vocabulary and grammar acquisition. Traditional spaced repetition systems (SRS) have historically relied on hand-crafted heuristics, such as the Leitner System or the Pimsleur Method, which apply rigid scheduling rules regardless of the specific content or the individual learner's history.
Duolingo researchers sought to modernize this approach by developing Half-Life Regression (HLR). This model moves beyond static rules to a data-driven statistical framework capable of predicting when a learner is likely to forget a specific word. By training on millions of user interactions, HLR optimizes the "strength" of skills displayed in the app's interface.
The Half-Life Regression (HLR) Model
The core of HLR is rooted in the Ebbinghaus forgetting curve, which models memory decay exponentially. The probability $p$ that a user will successfully recall a word after a time interval $\Delta$ is defined as: $$p = 2^{-\Delta/h}$$ where $h$ represents the half-life, or the time it takes for the recall probability to drop to 50%.
The innovation of HLR lies in treating $h$ as a trainable latent variable. The model estimates the half-life as a function of the student’s interaction history: $h = 2^{\Theta \cdot x}$. Here, $x$ is a feature vector capturing the student's past performance (e.g., total correct and incorrect attempts), and $\Theta$ represents the learned weights.
Feature Engineering and Lexeme Tags
To capture the nuances of language, the model utilizes "lexeme tags." These tags provide specific identifiers for every word along with its grammatical properties, such as part of speech, tense, and person. For example, the French word étant is tagged as être.V.GER (the verb être in the gerund form).
By incorporating these tags, the model can theoretically learn that certain grammatical forms (like irregular verbs) are harder to remember than others. However, researchers found that over-relying on these specific tags in production could lead to "pessimistic" predictions for rare words, potentially frustrating users by marking skills as "failing" too frequently.
Results and Real-World Impact
The HLR model was evaluated against traditional SRS baselines using a massive dataset of 12.9 million student-word practice traces across multiple languages. The results demonstrated a significant improvement in predictive power:
- Accuracy: HLR reduced the Mean Absolute Error (MAE) by over 45% compared to Leitner and Pimsleur baselines.
- User Engagement: In a large-scale A/B test involving 3 million users, a version of HLR focused on interaction features increased daily student retention by 12%.
The model's weights ($\Theta$) also provided linguistic insights. Positive weights, indicating longer half-lives, were frequently associated with "cognates"—words that are similar across languages (e.g., camera in English and Spanish). Conversely, negative weights were linked to complex tenses and irregular verb conjugations.
Conclusion and Future Directions
Half-Life Regression represents a significant step forward in personalized education technology. By combining classical cognitive theory with modern machine learning, Duolingo has created a system that adapts to the inherent difficulty of linguistic concepts and the unique learning curves of millions of individuals.
Future work aims to address the "cold-start" problem for new words and languages by decomposing lexemes into shared components (e.g., sharing knowledge about the "future tense" across different verbs). Additionally, researchers are exploring alternative decay functions, such as the power law, to further refine the model's accuracy in predicting long-term retention.
Summary updated