Cited by 5Advanced Bandit Algorithms ResearchRecommender Systems and TechniquesReinforcement Learning in Robotics

A Sleeping, Recovering Bandit Algorithm for Optimizing Recurring Notifications

Open access
Yancey, Kevin P., Settles, Burr·2020·Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining

Abstract

Many online and mobile applications rely on daily emails and push notifications to increase and maintain user engagement. The multi-armed bandit approach provides a useful framework for optimizing the content of these notifications, but a number of complications (such as novelty effects and conditional eligibility) make conventional bandit algorithms unsuitable in practice. In this paper, we introduce the Recovering Difference Softmax Algorithm to address the particular challenges of this problem domain, and use it to successfully optimize millions of daily reminders for the online language-learning app Duolingo. This lead to a 0.5%. increase in total daily active users (DAUs) and a 2%, increase in new user retention over a strong baseline. We provide technical details of its design and deployment, and demonstrate its efficacy through both offline and online evaluation experiments.

AI snapshot

Written from the paper’s full text.

TL;DR

The paper introduces the Recovering Difference Softmax Algorithm, a multi-armed bandit variant for recurring notifications that handles conditional arm eligibility (“sleeping arms”) and novelty/recency effects (“recovering arms”). Deployed on millions of daily Duolingo reminders, it increased total daily active users by 0.5% and new-user retention by 2% over a strong baseline.

Key findings

  • In an online A/B test, the bandit produced +0.5% Daily Active Users and +0.4% Total Lessons Completed (both p < 0.05); new-user D1 retention rose +2.2% and new-user D7 retention +2.0% (both p < 0.05), while existing-user D1 retention rose +0.5% (p < 0.05) and existing-user D7 retention +0.2%.
  • Offline evaluation against a random baseline (average reward 0.1295) showed template-only bandit +1.2%, template+UI-language bandit +1.8%, and template+UI-language with recency penalty +1.9%; a policy that always reused the last template scored -0.5%.
  • Five months after launch, the 95% of rounds using the bandit’s optimized policy had 2.5% higher reward than a 5% random holdout set.
  • Relative-difference scoring controlled for eligibility confounding: for example, arm A had average reward 0.2672 when used vs 0.2682 when eligible (-0.37%), while arm G had 0.1372 vs 0.1352 (+1.48%).

Methods

  • Design: a bandit variant that scores arms by the relative difference between weighted-importance-sampling estimates of reward when an arm is used versus when it is eligible but not chosen; it adds empirical Bayes shrinkage for small samples, an exponential recency penalty, and softmax arm selection.
  • Data: offline experiments used 34 days of Duolingo legacy uniform-random notification data, split into 15 days/88M rows for training and 19 days/114M rows for testing; online evaluation was an A/B test on millions of daily practice reminders, with control using the legacy uniform-random policy and experimental using the bandit.
  • Analysis: offline off-policy evaluation via weighted importance sampling, grid search for recency hyperparameters (γ = 0.017, half-life h = 15), and online tracking of DAUs, lessons completed, and retention; production later used a 5% random holdout for ongoing monitoring.

Limitations

  • Stated: offline evaluation likely underestimates the recency penalty’s production gain because of an uncorrected feedback effect; the μ−a baseline depends on the behavior policy and tends to increase over time, causing arm scores to drift downward; batch daily score updates delay feedback; the parametric recovery function was chosen over Gaussian-process kernels due to data needs; and the model does not incorporate quantity of prior selections or other user properties, which the authors leave for future work.
  • Evident: the evaluation is limited to Duolingo’s notification setting, template pools, and UI languages, with no external replication reported; the online A/B results are summarized after two weeks, with longer-term evidence coming from a later 5% holdout rather than a full long-term controlled experiment.

Model-written summary. Check it against the paper before relying on it.

Integrity signals

Registry

Crossref · 10.1145/3394486.3403351

Cites

16 of 16 references verified0 citation errors · 0 not checkable

Statistics

Nothing to recompute.

Claims the paper makes

1 of 5 cited sources checked · 1 supported · 0 flagged

  • Findingown data

    The algorithm led to a 0.5% increase in total daily active users (DAUs) over a strong baseline.

    “This lead to a 0.5 % increase in total daily active users (DAUs) and a 2 % increase in new user retention over a strong baseline.”
    Quote in the paperSubstantial claim
    • Rests on an assumption: A substantial percentage of completed lessons are organic.
    • Rests on an assumption: It is not possible to reliably distinguish organic lessons from notification-driven lessons.
  • Findingown data

    The algorithm led to a 2% increase in new user retention over a strong baseline.

    “This lead to a 0.5 % increase in total daily active users (DAUs) and a 2 % increase in new user retention over a strong baseline.”
    Quote in the paperSubstantial claim
    • Rests on an assumption: A substantial percentage of completed lessons are organic.
    • Rests on an assumption: It is not possible to reliably distinguish organic lessons from notification-driven lessons.
  • Findingnone given

    Arm scores have high variance for arms with small sample sizes.

    “The estimated arm scores from the previous section will have high variance for arms with small sample sizes (i.e., small |H a |).”
    Quote in the paperSubstantial claim
    • Rests on an assumption: A substantial percentage of completed lessons are organic.
    • Rests on an assumption: It is not possible to reliably distinguish organic lessons from notification-driven lessons.
  • Findingown data

    Arms with small sample sizes tend to have higher magnitudes of scores.

    “We can easily see that arms with small sample sizes tend to have higher magnitudes.”
    Quote in the paperSubstantial claim
    • Rests on an assumption: A substantial percentage of completed lessons are organic.
    • Rests on an assumption: It is not possible to reliably distinguish organic lessons from notification-driven lessons.
  • Findingown data

    The threshold of 0.5% excludes an average of 3% of historical rounds.

    “In our case, we chose to set the threshold to 0.5 % 7 , which only excludes an average of 3 % of historical rounds.”
    Quote in the paperNot a substantial claim
  • Classified as probably not a substantial claim. 6
  • May combine two claims. 11
  • The quote only partly states this claim. 1
  • Classified as probably not a substantial claim.

    Premisecitation

    The multi-armed bandit problem provides a well-studied theoretical framework for optimizing the selection of notification templates.

    “The multi-armed bandit problem provides a well-studied theoretical framework for optimizing the selection of templates in this context.”
    • Also stated in: § 1.1 Related Work · plain
      “The multi-armed bandit problem [13] is an optimization problem in which an agent repeatedly chooses from among a fixed set of arms over some number of rounds.”
    Quote in the paperSubstantial claim1 of 1 sources checked
  • May combine two claims.

    Findingown data

    Only 50% of arms with smaller effective sample sizes come within ±3.4%, and 38% have scores outside ±5%.

    “However, only 50 % of arms with smaller effective sample sizes come within this range, and 38 % dubiously have scores outside ±5 %, which could cause highly degenerate behavior in the bandit, if used as-is.”
    Quote in the paperSubstantial claim
    • Rests on an assumption: A substantial percentage of completed lessons are organic.
    • Rests on an assumption: It is not possible to reliably distinguish organic lessons from notification-driven lessons.
  • Probably not a substantial claim: may not pass S4 (based).

    Findingnone given

    Deployment of the Recovering Difference Softmax Algorithm to select daily reminders for millions of users at Duolingo resulted in substantial lifts in user engagement metrics.

    “It has been deployed to select daily reminders for millions of users at Duolingo, resulting in substantial lifts in user engagement metrics.”
    Quote in the paperNot a substantial claim
    • Rests on an assumption: A substantial percentage of completed lessons are organic.
    • Rests on an assumption: It is not possible to reliably distinguish organic lessons from notification-driven lessons.
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Findingnone given

    The 5% random holdout set has a very small impact on the gains of the algorithm.

    “This small holdout set has a very small impact on the gains of the algorithm, while providing two advantages:”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Findingown data

    For some templates, arm scores differ by 1 percentage point or more across UI languages, which is substantial given most scores range only ±3.4%.

    “In some cases, the scores are different by 1 percentage point or more, which is substantial since the range of most of the scores is only ±3.4 %.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Findingown data

    In the online experiment, daily active users increased by 0.5% and lessons completed increased by 0.4%.

    “We do in fact see a gain in daily active users and lessons completed of 0.5 % and 0.4 %, respectively.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Findingown data

    Relative difference scoring and recency penalties each contribute to maximizing the reward.

    “Via offline evaluations, we demonstrated how the relative difference scoring and recency penalties -the latter of which was inspired by cognitively-motivated theories about novelty effects -each contribute to maximizing the reward.”
    Quote in the paperSubstantial claim
    • The authors state this as an assumption: The recency penalty should mostly decay within the span of a few weeks to a month.
  • May combine two claims.

    Findingown data

    Both variations of the bandit algorithm (one-template-per-arm and template+UI-language) beat the random baseline, gaining more than 1% lift in reward.

    “As expected, both variations of the bandit algorithm beat the random baseline, gaining more than 1 % lift in reward.”
    Quote in the paperSubstantial claim
  • The quote only partly states this claim.

    Findingown data

    Five months after launch, the 95% of rounds using the bandit's optimized policy had 2.5% higher reward than the 5% random holdout set.

    “The 95 % of rounds that used the bandit's optimized policy had 2.5 % higher reward than the holdout set”
    Quote in the paperSubstantial claim
  • Classified as probably not a substantial claim.

    Premiseown data

    Fresh templates that have not been recently seen tend to have higher impact on user behavior.

    “Prior A/B tests 5 at Duolingo that introduced new templates tended to boost notification conversion rates, even when the those new templates did not outperform existing templates in the long run.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Interpretationreasoning

    Gaussian process kernels require many more than two parameters and would need much more data to fit accurately than the parametric approach.

    “Gaussian process kernels require many more than two parameters, and hence would need much more data to fit accurately.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Study design and conductreasoning

    The offline experiment only estimates the short-term cost of exploration; its results do not imply argmax would yield the best reward in production in the long-run.

    “We should emphasize that, since the training dataset is fixed in this offline setup, this experiment only estimates the short-term cost of exploration.Hence, these results do not imply that argmax would yield the best the reward in production in the long-run.”
    Quote in the paperSubstantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing), S4 (based). May combine two claims.

    Interpretationreasoning

    This downward drift applies to all arms similarly, so it does not significantly affect the overall performance of the algorithm.

    “This downward drift applies to all arms similarly, so it does not significantly affect the overall performance of the algorithm.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Interpretationreasoning

    μ- tends to increase over time as the algorithm learns more optimal policies, causing template scores to drift downwards over time.

    “The drawback of this is that µ - a tends to increase over time as the algorithm learns more optimal policies, which causes the template scores to drift downwards over time.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Interpretationown data

    Based on Table 7, τ=0.0025 was estimated to allow a reasonable amount of exploration while retaining more than 90% of the potential gains.

    “Based on this, we selected a value of 0.0025, which we estimated would allow a reasonable amount of exploration while retaining more than 90 % of the potential gains.”
    Quote in the paperSubstantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.

    Interpretationreasoning

    The batch processing greatly simplifies the arm score update process and makes it more scalable.

    “The batch processing greatly simplifies the arm score update process and makes it more scalable.”
    Quote in the paperNot a substantial claim
16 of 16
  • The paper relies on this without support.

    A substantial percentage of completed lessons are organic.

    “However, a substantial percentage of our completed lessons are organic: many users will complete a lesson whether we send a notification or not.”
  • The paper relies on this without support.

    It is not possible to reliably distinguish organic lessons from notification-driven lessons.

    “It is not possible to reliably distinguish between organic lessons from notificationdriven lessons, which adds a degree of noise when evaluating the performance of different arms.”
  • The paper relies on this without support.

    Arms with new eligibility rules are introduced frequently.

    “Furthermore, arms with new eligibility rules are introduced frequently.”
  • The paper relies on this without support.

    The function being estimated is not complex.

    “there isn't much reason to suspect the function being estimated is complex, anyway.”
  • The authors state this as an assumption.

    The recency penalty should mostly decay within the span of a few weeks to a month.

    “Based upon previous A/B tests at Duolingo, we guessed that the recency penalty should mostly decay within the span of a few weeks to a month, and so we chose a half-life of 15 days.”
  • The paper relies on this without support.

    There is a significant amount of organic activity not originating from push notifications that would dilute the gains.

    “This is because there is a significant amount of organic activity not originating from push notifications that would dilute the gains.”
  • The paper relies on this without support.

    The pools of templates and other aspects of the notification system had already been optimized through years of A/B tests, providing a strong baseline.

    “Since the pools of templates and other aspects of the notification system had already been optimized through years of A/B tests, this provided a strong baseline to compare against.”
  • The paper relies on this without support.

    Most bandit algorithms assume instantaneous feedback.

    “Most bandit algorithms, in fact, assume instantaneous feedback.”
8 of 8

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

Each contradiction between two passages listed here was confirmed by an independent check.

  • Arm A is described as above average despite a negative lift

    Minor

    Table 2 gives arm A a relative difference of −0.37%, indicating a lower reward when used than its average reward when eligible. The text says it performs better than average.

  • Posterior formula conflicts with the stated beta prior

    Minor

    The stated beta prior has total prior weight 1/σ, but the posterior formula uses σ as that weight. The posterior does not follow from the stated prior.

2 of 2

Cites

Flagged first, then by citations

Research works printed but not linked: 2

  1. Wei Chu , Lihong Li , Lev Reyzin , and Robert Schapire . 2011 . Contextual bandits with linear payoff functions . In Proceedings of the Fourteenth International Conference on Artificial Intelligence and Statistics. 208--214 . Wei Chu, Lihong Li, Lev Reyzin, and Robert Schapire. 2011. Contextual bandits with linear payoff functions. In Proceedings of the Fourteenth International Conference on Artificial Intelligence and Statistics. 208--214.
  2. Leslie Kish. 1965. Survey Sampling.] ohn Wiley. New York (1965). Leslie Kish. 1965. Survey Sampling.] ohn Wiley. New York (1965).

Cited by

Sorted by citations

Authors
Yancey, K. P., & Settles, B.
Affiliations
Duolingo (United States)
Venue
Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining
Publisher
ACM
Published
2020-08-20
Pages
3008-3016
OpenAlex
W3081419666
Cited by
5
References
11
Citations by year
2026: 2 · 2025: 2 · 2023: 1
FWCI
0.35
Type
conference paper
Language
en
Open access
Locations
ACM SIGKDD International Conference on Knowledge Discovery & Data Mining (KDD) (publishedVersion, cc-by-nd)
Topics
  • Social Sciences › Decision Sciences › Management Science and Operations Research › Advanced Bandit Algorithms Research
  • Physical Sciences › Computer Science › Information Systems › Recommender Systems and Techniques
  • Physical Sciences › Computer Science › Artificial Intelligence › Reinforcement Learning in Robotics
Keywords
multi-armed bandits, push notifications, email notifications, novelty effect, user engagement, user retention, language learning apps, Duolingo

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Claims read by deepseek-v4.1-flash under definition version 3 (extract-v3) on 2026-10-12.

Classified by jev-1.13-20260917 (gold-guideline-v0.2) on 2026-10-12.

Cited sources are checked by gpt-6-sol.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review