Repeat before Forgetting: Spaced Repetition for Efficient and Effective Training of Neural Networks
Paper · 2017 · Hadi Amiri, Timothy Miller and Guergana Savova
Summary
A neural network can learn to answer a training example correctly and then give the wrong answer after training on other examples. If that change is predictable, a training procedure can revisit an example before it becomes difficult to answer again. Repeat before Forgetting, or RbF, turns that idea into a schedule. Every example is available at the start. As training proceeds, the scheduler decides which examples need another review soon and how long the others can wait. The aim is to spend less time repeating material the network can still handle while keeping enough practice to learn the task.
The authors first test whether a network’s ability to recall an example is related to factors studied in human memory. Recall here means that the network gives the correct answer for a previously seen example. In controlled runs on image classification and arithmetic addition, recall was worse after longer gaps and for examples that had higher loss when last reviewed. It was better when the network performed better on separate validation data. RbF uses these relationships to schedule each example. It takes the example’s current loss as a measure of difficulty, uses validation performance as a measure of the network’s strength, and estimates how far into the future a review can be placed.
The authors then test the schedule on IMDb sentiment classification, CIFAR10 image classification, and generated arithmetic addition. With the usual confidence setting of 0.5, the RbF variants use 34-50% of the training data per epoch and run 2.90-4.78 times faster than training on the full set every epoch. The full-set baseline still has the highest average test accuracy, at 0.887. A cosine schedule with higher recall confidence reaches 0.880, uses an average fraction of 0.76 of the training examples per epoch, and runs 2.36 times faster than the full-set baseline. The fastest variant is linear, while the cosine and quadratic variants are more successful at predicting whether deferred examples will still be answered correctly.
The experiments therefore give several ways to judge a schedule. A policy can save training time, predict recall accurately, or preserve test accuracy, and its standing can differ across those measures. The paper also follows training beyond the usual stopping point on IMDb. Spaced review fares better during part of that extended run, although the advantage has limits as training continues.
Deep dive: Repeat before Forgetting: Spaced Repetition for Efficient and Effective Training of Neural Networks
Repeat before Forgetting schedules when neural networks revisit training examples and tests how much training time this can save. · about 35 minutes to read
The problem and its context
How often should a network see the same example?
The paper treats repetition as a decision about allocating training work. Standard training, which the authors call rote training, makes a complete pass over the training set in each epoch. An epoch is a round of training. Under rote training, it includes every example. Under a selective schedule, it can include only the examples due for review. This distinction matters because a method that takes fewer examples per epoch can change the cost of an epoch even when the planned number of epochs stays the same.
The cost motivates the scheduling question. The paper points to a deep machine translation system that took three weeks to train on 100 graphics processing units. It also cites sequence-to-sequence learning as part of the background for expensive neural training. These examples establish why the authors want a training procedure that can put existing data to work more selectively. Machine translation serves as motivation. The actual evaluation asks whether the approach works for sentiment classification, image classification, and arithmetic addition. Sequence to Sequence Learning with Neural Networks
A full pass gives each example another turn regardless of what has happened since the previous one. Two examples can produce very different levels of error even when the network gets both answers right. An example that currently produces little error in a network that is doing well overall might remain easy to answer through several intervening rounds. An example that still produces substantial error might need to return sooner. The central question is whether a scheduler can recognize enough of these differences to cut training work while preserving performance on separate data.
For a schedule to help, it has to act before the outcome it cares about can be observed. After an example has been omitted for a while, checking it can tell the experimenter whether the network still recalls it. At the time the review is scheduled, that check lies in the future. A scheduler has to work from measurements available during training and make a prediction about a network that will continue changing. Every intervening update can affect how the network answers the deferred example.
Starting with easier material
The paper discusses curriculum learning and self-paced learning as earlier attempts to control which examples appear when. They draw on the idea that learning can proceed more effectively when simple material comes first and more difficult material enters gradually. The authors describe earlier approaches that use heuristics or optimization to decide what counts as easy, since datasets generally come without a ready-made ordering by difficulty.
A curriculum makes difficulty relevant to admission. An example judged easy can enter early, while a harder example may have to wait for a later stage. The curriculum baseline in this paper uses the network’s current loss for that decision. It keeps the easy examples and admits a growing share of the hard ones, starting with those closest to the easy side of the threshold. Difficulty is assessed again as training advances, because the current network supplies the losses used to divide the data.
Spaced repetition makes difficulty relevant to the interval before the next encounter. Its question arises once the network has worked on an item. If the network appears likely to retain the ability to answer it, the next training exposure can be deferred. If the example remains difficult, the schedule can bring it back soon. Both approaches use changing information about the learner, with different implications for what happens to an easy example. The curriculum continues to include it while it qualifies as easy. A spaced schedule can take it out of the current round precisely because it has become easy.
Returning to material before recall fails
The other line of work comes from research on human memory. In the studies discussed by the authors, recall improves with practice and becomes less likely as time passes after a review. The literature they cite treats the difficulty of the material as relevant as well. In the account that motivates RbF, a stronger learner can wait longer, whereas a difficult item loses its chance of successful recall more quickly. A familiar application is a flashcard schedule that increases the interval between reviews of a card the learner can still answer. The paper brings that account of learning and memory into an experiment on neural training. Psycholinguistics
The Leitner system gives the paper an existing way to translate that principle into a schedule. Cards or examples occupy queues associated with review frequencies. A correct response can move an example into a queue that comes up less often. A failure can return it to a queue with frequent review. The authors adapt a Leitner scheduler previously developed for human learners and use it as a spaced-review baseline. Its discrete queues make it possible to run spaced repetition without estimating a separate recall curve for each example.
The distinction between these precursors matters to the experiment. Rote training tests whether selection is worth doing. Curriculum learning tests an alternative use of measured difficulty. Leitner tests whether a simple promotion-and-demotion rule already captures much of the benefit of review spacing. RbF adds a more specific claim to investigate. A schedule can use current loss, overall performance, and the proposed delay together to choose a return date for an individual example.
There are two empirical questions behind that claim. The first concerns the behavior of trained networks. Do examples become harder to recall over a gap in training, and does that relationship vary with difficulty or network strength? The second concerns what happens when those observations guide the training procedure itself. A schedule changes the stream of examples the network receives, so it can affect the very recall it is trying to predict. The paper uses a controlled exposure experiment for the first question and a comparison of complete training procedures for the second.
The method, step by step
Measuring what survives a break in practice
The authors first arrange a period in which a network trains without seeing a particular subset of its training examples. The examples in this subset had been used for training before the break. The experiment asks whether the network can still answer them after continuing to train on other data. By choosing when the subset appears and when it is tested, the authors can vary the gap between the final training exposure and the recall check.
The training data is split uniformly at random into disjoint sets. The base set A holds 80% of the data. The review set B holds 10%, and the replacement set C holds 10%. The network trains on A during every epoch. It begins with A and C, switches to A and B during the review window, and goes back to A and C after the window closes. B and C occupy the same share of training data, so the switch changes which examples are used while keeping the amount of data fixed. The review window lasts 5 epochs.
For an example in B, the first review point, called fRev, is the first epoch in which the network trains on it. The last review point, lRev, is the final epoch in the window. The recall point, Rec, is the epoch when the authors measure accuracy on B. The gap of interest starts at the last review. The first review tells the experimenter when exposure began, while the window length fixes how many rounds of exposure take place within the window.
delay = Rec − lRev
The quantity delay measures intervening time in epochs. Rec is the epoch of the recall check, lRev is the final training epoch for the examples in B, and − takes the difference between those epoch positions. The subtraction uses training time as its clock.
The preliminary studies use the Addition and CIFAR10 networks. For the delay analysis, the authors fix the recall epoch and shift the entire exposure window. This allows them to test different gaps once the network has trained for the same total number of epochs. The paper examines a recall point tied to the best performance under rote training and another tied to half of that best performance. For the difficulty analysis, the authors use each B example’s loss at the last review. They normalize the losses to unit vectors for comparison across the networks. For the strength analysis, they hold the gap fixed and move the recall point, measuring accuracy on B alongside accuracy on validation data.
The human recall equation supplies a direction for these comparisons. Difficulty and elapsed time enter in a way that reduces recall. Strength can moderate the effect of either.
Pr(recall) = exp(−difficulty × delay / strength)
Here Pr(recall) is the probability of recalling a previously seen item. difficulty describes how hard that item is for the learner, delay is the time since its last review, and strength is the learner’s memory strength. × multiplies difficulty by delay, / scales that product by the inverse of strength, and exp is the exponential function. The leading − makes a larger positive difficulty–delay product correspond to lower recall when strength is held fixed. This is the form cited for human memory. RbF borrows the arrangement of its inputs and tests several functions for converting their combination into a scheduling score.
What the queue system does
The authors’ Leitner scheduler starts with every training example in the first queue. An epoch draws from the queues whose review dates fall on that epoch. The first queue is active every epoch, and each successive queue has a review period twice as long as the preceding one. A reviewed example that the network answers correctly advances towards a less frequently reviewed queue. An example that it answers incorrectly returns to the first queue.
e mod 2ⁱ = 0
Here e is the current epoch, i is the queue index, and 2ⁱ is the review period for that queue. The first queue has index 0. The operation mod gives the remainder after dividing e by the review period. A remainder of 0 makes the queue due for review. The algorithm uses n queues, denoted q₀ through qₙ₋₁, where q names a queue and the subscript gives its position from 0 through n − 1.
Under this rule, a queue’s review dates are set by the overall epoch count. What changes for an example is its queue membership. That membership reflects the answers it has produced when reviewed. An example can advance through a series of successful reviews, while an error can make it immediately eligible for regular practice again. In the human-learning version the paper cites, an error sends an example down by a single queue. The authors report that returning it directly to the first queue improved their adaptation.
The queue system already gives hard examples more frequent opportunities to train the network. Its timetable also constrains the available choices. A successful answer triggers a discrete move, and all items waiting in a given queue share its review dates. RbF makes a different use of each example’s current state. It scores potential delays using the size of the example’s loss and the strength of the network at the time of the decision.
Turning difficulty and strength into a review date
RbF begins with all training examples due. After a round of training, the scheduler gets a difficulty measurement for each example used in that round and a strength measurement from validation data. Loss gives a graded measure of how far the network’s output is from the training target. Validation accuracy indicates how well the network currently performs on examples set aside for assessment. The scheduler then assigns a delay to each example it has just reviewed. Examples already waiting get closer to their scheduled return as the epoch count advances.
How Repeat before Forgetting schedules training reviews
The steps in order.
The key input to the recall function combines the local measurement for an example with the broader measurement for the network. A proposed interval is put into the formula alongside those measurements. The result is a quantity that grows when the item is harder or the proposed wait is longer, and shrinks when the network is stronger.
xᵢ = dᵢ × tᵢ / sₑ
Here i indexes a training example, xᵢ is its input to the recall function, and dᵢ is its current loss. The quantity tᵢ gives an interval in epochs until the next review. The subscript e refers to the current epoch, and sₑ is the network’s performance on validation data at that epoch. The × and / operations multiply the example’s difficulty by the interval and divide by the network’s strength. The score is item-specific even though the same strength value is available for all examples considered at that epoch.
Consider two examples reviewed in the same round. Their strength measurement comes from the same validation run. If one has higher loss, the same proposed wait produces a larger input for that example. A decreasing recall function then gives it a lower score over that wait. This is how the schedule can bring back the harder example sooner. When the network is stronger at a later review, the same loss and proposed delay would yield a smaller input. The scheduler can therefore make a different decision for the same example after a subsequent review.
The recall curves
The paper calls the functions that turn this input into a recall score kernels. A kernel is used here as a decreasing curve that expresses how the score falls as the combined input grows. All the candidates use a parameter that determines the shape or rate of decrease. The choice of curve matters because examples with similar scores at a short interval can get different scores at a longer interval. The paper compares six choices, with the following functional forms.
f_gau(x, τ) = exp(−τx²)
Here f_gau is the Gaussian recall function. The input x is the combined difficulty, delay, and strength quantity for an example. The parameter τ is fitted during training. The function exp raises the exponential base to the exponent shown, x² is x squared, and the leading − makes the exponent negative for a positive product of τ and x². The squared input shapes how quickly this curve declines over longer delays.
f_lap(x, τ) = exp(−τx)
Here f_lap is the Laplace recall function, x is the same combined input, and τ is its fitted parameter. The function exp converts the negative product −τx into the recall score. The exponent uses x directly. That gives the scheduler a different decline in confidence as the interval grows.
f_lin(x, τ) = { 1 − τx if x < 1/τ
{ 0 otherwise
Here f_lin is the linear recall function, x is the combined input, and τ is the fitted parameter. The first branch subtracts τx from 1 while x is less than the reciprocal 1/τ. The symbol < denotes that strict comparison. At or beyond the cutoff, the function returns 0. Its positive part decreases at a constant rate as x grows.
f_cos(x, τ) = { (cos(τπx) + 1)/2 if x < 1/τ
{ 0 otherwise
Here f_cos is the cosine recall function, x is the combined input, and τ is the fitted parameter. The function cos is the trigonometric cosine and π is the constant pi. The formula shifts the cosine by adding 1 and then divides by 2 to put the result on the score scale. The branch with that curve applies while x is below 1/τ, written with <. The value at or above the cutoff is 0.
f_qua(x, τ) = { 1 − τx² if x² < 1/τ
{ 0 otherwise
Here f_qua is the quadratic recall function, x is the combined input, and τ is the fitted parameter. The first branch subtracts τ times the squared input x² from 1. It applies when the squared input is strictly below the reciprocal 1/τ, as indicated by <. The score is 0 when that condition fails. The cutoff is expressed in terms of the square, so the input reaches it differently from the input of the linear function.
f_sec(x, τ) = 2 / (exp(−τx²) + exp(τx²))
Here f_sec is the function the paper labels Secant. Its inputs are the combined quantity x and the fitted parameter τ. The expression x² squares the input. The two exp terms use opposite signs for the product τx². Their sum, indicated by +, is the denominator, and / divides 2 by that sum to give the recall score.
The authors illustrate these shapes at τ = 1. Within training, the parameter is fitted using fresh validation observations. Two decisions are therefore involved. The choice of kernel specifies the family of curves that can be used. Fitting the parameter determines how the chosen curve behaves at the current stage of training.
Fitting the curve and updating the schedule
RbF fits the kernel using validation examples. It takes the losses and the network strength measured at the previous epoch, then asks how well the curve predicts the validation outcomes observed at the current epoch. The gap for this fit is 1 epoch for each validation item. Validation cases must meet the specified confidence threshold to enter the fitting criterion. The threshold is called eta, written η.
τ̂ = arg min over τ of (f(xⱼ, τ) − aⱼ)², for hⱼ ∈ V with aⱼ ≥ η
Here τ̂ is the fitted value of the parameter τ, and arg min asks for the value of that parameter that minimizes the squared discrepancy. The function f is the chosen kernel. The index j identifies a validation example hⱼ, V is the validation set, and ∈ denotes membership in that set. The input xⱼ is constructed from the previous loss and strength with the epoch gap fixed as described above. The value aⱼ is the current accuracy value for the validation example. Subtraction forms the discrepancy between prediction and observation, and the square makes discrepancies in either direction count. The condition aⱼ ≥ η restricts the fit to items whose current value reaches or exceeds the confidence threshold. The paper writes the squared error for the qualifying items and leaves the aggregation implicit in its notation.
If the validation fit gives the curve its current shape, the delay calculation uses that curve to locate the confidence boundary for each freshly reviewed training example. The authors describe the intended decision as the longest wait consistent with sufficient confidence. The displayed optimization minimizes the squared distance between the score and the threshold over the permissible waits. For a decreasing curve, the target is the transition around which the example moves from being suitable for delay to being due for another review.
t̂ᵢ = arg min over tᵢ of (f(xᵢ, τ̂) − η)², subject to 1 ≤ tᵢ ≤ k − e
Here t̂ᵢ is the estimated interval for training example i, and tᵢ is a candidate interval. The input xᵢ depends on that candidate through the difficulty–delay–strength formula. The function f is the selected recall curve, τ̂ is its fitted parameter, and η is the desired recall confidence, which lies strictly between 0 and 1. The arg min chooses a candidate that makes the squared discrepancy smallest. The symbol k is the planned total number of training epochs, e is the current epoch, and k − e is the time remaining in the run. The ≤ signs give the lower and upper limits, starting at 1 epoch and ending at the remaining training horizon.
The horizon keeps the calculation tied to the length of training. A large potential delay has no scheduling value inside the run once it extends beyond the last available epoch. The authors also call the estimated interval a lower bound on the maximum feasible wait in the sense that later training could make the network stronger and the item easier. That interpretation depends on an expectation about future training. The calculation itself uses the measurements available at the current review.
RbF maintains a countdown for each training example. At the beginning, each countdown is 1. During an epoch, examples at or below 1 go into the current batch. The rest form the delayed batch. Here a batch is the collection assigned to a whole epoch. After training on the current batch, the scheduler fits the curve, estimates the next intervals for the reviewed examples, and decreases the countdown of each waiting example by 1. Waiting examples thus return as their existing intervals come due. Their new loss can inform a fresh delay after they have been reviewed again.
The authors describe the delay and fitting optimizations as having closed-form solutions. They report scheduling overhead proportional to the size of the training set for the delay calculations and to the size of the validation set for parameter fitting. The queue procedure, by comparison, has queue-update overhead proportional to the size of the current batch. The paper makes the RbF implementation available under the algorithm’s name.
Experiments and results
Tasks, splits, and training budgets
The study follows the schedule across tasks with different kinds of inputs and outputs. IMDb asks the network to predict sentiment from text. It uses 20K training examples, 5K development examples, and 25K test examples. The paper lists an MLP and fastText for this task and specifically identifies fastText in the extended-training experiment. The best epoch on the development data under rote training is 8. The task is an example of assigning a category to a document. Text classification
CIFAR10 asks the network to classify images. Its training, development, and test splits contain 45K, 5K, and 10K examples, respectively. The network is a convolutional neural network, or CNN. Under rote training, its best development performance occurs at epoch 64. This task lets the paper examine the schedule when the examples reaching the learner are images.
The Addition dataset is generated randomly. The numbers in its problems have at most 4 digits. Its training split has 40K examples, its development split has 5K, and its test split has 10K. The network is a long short-term memory network, or LSTM. The best rote-training development epoch is 32. The design gives the study a setting in which the network has to produce the result of an arithmetic operation.
These best epochs are task-specific reference points established using validation performance. The paper also uses rote training to define stages in the preliminary recall study. In the main comparisons, it reports performance averaged over 10 runs. The usual RbF confidence threshold is η = 0.5. For the cosine kernel the authors also give a downstream comparison at η = 0.9, following their analysis of how recall prediction changes with the threshold.
What the baselines do with the same training set
Rote is the baseline with every training example present in every epoch. It gives the study a reference for both test accuracy and training time. Leitner, abbreviated Lit, uses spaced repetition with fixed queue intervals. The authors try queue counts of 3, 5, and 7, and use 5 for the reported comparisons because it gives the best performance for Leitner across the datasets they study.
Curriculum learning, abbreviated CL, uses the current network to evaluate difficulty across the training set. At each iteration it sets a threshold equal to the average loss among examples the network correctly classifies. An example with loss below that threshold is easy for purposes of the schedule. CL trains on all easy examples and takes a fraction of the hard ones with the lowest losses. The threshold changes with the current network, and the fraction admitted from the hard group grows as the run proceeds.
αₑ = e/k
Here αₑ is the fraction of the hard group admitted at epoch e. The denominator k is the total number of training iterations, and / divides the current epoch index by that training budget. The fraction lies in [0, 1]. The authors treat the entire set as easy at the initialization point e = 0. As the curriculum proceeds, the fraction rule increases access to harder material. Its per-epoch cost also includes assessing examples and ordering the harder ones for selection.
This gives each baseline a distinct way to use training time. Rote continually repeats all material. CL expands the share of hard examples it is willing to train on as the run progresses. Leitner and RbF begin with all training examples and then defer some reviews. Among the spaced schedules, Leitner uses the state of the queues to determine when examples return, while RbF calculates an interval with the fitted recall curve.
Recall prediction and final accuracy measure different outcomes
The recall-prediction experiment covers Leitner and the RbF kernels. For a delayed example, the authors record the epoch at which the scheduler says to review it again. They then check at that future epoch whether the network answers it correctly. Each check yields a binary outcome. The proportion of successful checks estimates how often the schedule makes a correct prediction for the examples it chooses to delay.
The authors read this accuracy alongside the average fraction of the training set delayed per epoch. A cautious scheduler can make fewer predictions by deferring fewer items. Its recall accuracy then describes a smaller group, and its opportunity to save work is correspondingly smaller. A useful comparison asks how many examples can be deferred while maintaining accurate predictions. The prediction experiment leaves CL outside the comparison because its procedure gives no individual future review time to test.
At η = 0.5, cosine and quadratic both improve on Leitner in recall-prediction accuracy and in the amount of data delayed. They defer around 50% of the training examples per epoch. Gaussian and Secant have recall-prediction accuracy comparable to Leitner while deferring more examples. Laplace and linear predict recall less accurately. The authors suggest that schedules willing to defer a large share of the dataset may give the network too little training to develop the strength their predictions require.
The downstream comparison asks a different question. It measures the trained network’s accuracy on balanced test data. A network can correctly answer many examples that were left out of a particular epoch while still finishing with lower test accuracy than a network that trained on all the data. Conversely, a scheduling decision that looks imperfect when checked at its scheduled date can occur within a training run that yields competitive test performance. The paper compares both outcomes because accurate recall prediction is part of the method, while performance on separate examples is part of its purpose.
Average test accuracy across IMDb, CIFAR10, and Addition
The higher-confidence cosine schedule has the highest test accuracy among the selective schedules.
The numbers
| System or setting | accuracy |
|---|---|
| Rote | 0.887 |
| Curriculum learning | 0.868 |
| Leitner | 0.859 |
| RbF Gaussian | 0.874 |
| RbF Laplace | 0.857 |
| RbF Linear | 0.864 |
| RbF Cosine | 0.868 |
| RbF Quadratic | 0.871 |
| RbF Secant | 0.866 |
| RbF Cosine with higher confidence (this paper) | 0.880 |
These are the paper’s aggregate test accuracies over tasks and runs. The higher-confidence cosine row uses η = 0.9. Each other RbF row uses η = 0.5. Under the default threshold, Gaussian has the highest average downstream accuracy among the kernels, at 0.874. Cosine and quadratic fare particularly well in the recall-prediction comparison. At the higher threshold, cosine comes closest among the selective schedules to the rote baseline’s test accuracy of 0.887. The change in ranking illustrates why the paper reports a scheduling metric alongside the test metric.
How much work the schedules save
The paper measures efficiency both by participation and by elapsed training time. Participation is the average fraction of training instances used per epoch, abbreviated TIPE. Under rote training, that fraction is 1.00. For the default-confidence RbF kernels it ranges from 0.34 for Laplace to 0.50 for quadratic. Linear uses 0.36, Secant 0.44, Gaussian 0.48, and cosine 0.49. Leitner uses 0.67 and CL uses 0.71. The higher-confidence cosine schedule uses 0.76.
The denominator for the participation measure is the full training set. The same example can appear in several epochs, with gaps between appearances. The figures describe how much of the set an epoch uses on average across the comparison. They leave the total number of distinct examples encountered as a separate question. In RbF, every example is due at the start, and the savings arise from later omissions of examples whose review can wait.
Training speed relative to Rote across IMDb, CIFAR10, and Addition
Linear and Laplace give the largest reported speedups, while curriculum learning runs slower than Rote.
The numbers
| System or setting | times as fast as Rote |
|---|---|
| Rote | 1.00 |
| Curriculum learning | 0.93 |
| Leitner | 2.87 |
| RbF Gaussian | 3.02 |
| RbF Laplace | 4.66 |
| RbF Linear (this paper) | 4.78 |
| RbF Cosine | 2.90 |
| RbF Quadratic | 2.95 |
| RbF Secant | 3.09 |
| RbF Cosine with higher confidence | 2.36 |
The speed column takes rote training as the 1.00 reference. Among the default-confidence kernels, the reported speedups range from 2.90-4.78 times. The fastest is linear, even though Laplace uses the smallest fraction of training examples per epoch. CL illustrates the importance of measuring elapsed time independently of participation. Its 0.71 average fraction accompanies a speed figure of 0.93. The authors attribute the time cost to finding the easier examples and sorting the hard ones each iteration.
The paper also reports a quantity called Gain. It compares the ratio of test accuracy to per-epoch participation with the corresponding ratio for rote training. Writing the comparison in terms of the reported measures makes its emphasis explicit.
Gain = (A / P) / (Aᵣ / Pᵣ)
Here A is the schedule’s average test accuracy and P is its average fraction of instances used per epoch, the paper’s TIPE. The subscript r refers to rote training, so Aᵣ and Pᵣ are the corresponding reference quantities. The inner / operations form accuracy-to-participation ratios, and the outer / compares them. The paper reports Gain of 3.15 for Laplace, 3.07 for linear, 2.10 for default-confidence cosine, and 1.42 for higher-confidence cosine. This measure emphasizes how much average test accuracy accompanies a given participation rate. Elapsed training time is represented by the separate speed column.
The numerical results give a direct view of the policy choice within RbF. For example, moving from the default to the higher confidence setting for cosine raises average test accuracy from 0.868 to 0.880. It also raises participation from 0.49 to 0.76, while the speed relative to rote changes from 2.90 to 2.36. The schedule with the longer permitted waits in practice depends on how confidence is fitted and how the network develops over training. The participation and time figures capture the outcome of that process across a full run.
What the ablations show
The paper uses controlled exposure experiments and comparisons of complete scheduling policies. The recall study varies when training examples are seen and when their answers are checked. The scheduler comparisons change the curve or confidence setting, and the training trajectories show how each policy behaves at different stages. The paper does not report a component-removal experiment in which the complete RbF schedule is retrained with each recall indicator removed in turn.
Moving the review window
The delay experiment keeps the recall epoch fixed and changes when the examples in B are trained on. The window has the same length across the comparison, and replacement examples keep the amount of training data constant. A network tested after a longer gap has continued to train during that time, but on the base and replacement examples. Across Addition and CIFAR10, the average accuracy on B declines as the gap grows. The paper observes this pattern at the recall point based on the best rote performance and at the recall point based on half that performance.
The fixed recall epoch is important to the interpretation. If one condition were checked earlier in training and another later, an apparent relationship with delay could also reflect the network’s overall progress. Holding that epoch fixed removes the difference in total training duration from the delay comparison. The manipulation then asks whether examples reviewed earlier or later remain equally accessible at a common point in the run. They are more frequently recalled when the review is more recent.
The difficulty analysis relates last-review loss to later accuracy on the same review examples. Items with greater normalized loss are less likely to be answered correctly at the recall point. This grounds the choice of loss as an input to RbF. The network’s most recent encounter with an example contains information about recall beyond the calendar date of that encounter. The result is an association with measured loss. It leaves open how the same example might behave if a different network or training history gave it a different loss.
For the strength analysis, the authors instead keep the delay fixed and vary the recall epoch. They record validation accuracy and recall accuracy at each point. The reported averages cover two sets of 10 consecutive recall points, leading up to the fully and partially trained reference points. Recall improves with validation performance. Two examples facing the same delay can therefore have different prospects because the networks or stages of training differ in overall strength. The analysis motivates including strength alongside example-specific loss and elapsed time.
The three comparisons support the directions used to design the scheduler. Time away can make an example harder to answer. A high-loss example has poorer prospects in the observed recall test. Stronger validation performance accompanies better recall. The comparisons establish these patterns under the authors’ exposure scheme. They leave the exact form of the recall curve to the kernel comparison.
Changing the recall curve and confidence threshold
The kernel comparison asks what happens when the scheduler uses different functions of the same combined input. Cosine and quadratic improve on Leitner on both axes of the recall-prediction plot. Gaussian and Secant increase the proportion delayed while giving comparable recall-prediction accuracy to Leitner. Linear and Laplace achieve especially large elapsed-time savings, with weaker prediction accuracy. The curve matters to the schedule the learner actually experiences. A prediction allows a review to be postponed, and that postponement in turn affects what the learner practices.
The authors examine the same feedback through η, the recall-confidence threshold. Lower thresholds let the scheduler defer more examples and produce poorer recall-prediction accuracy in the paper’s comparison. The authors look at the distribution of delays to understand how those schedules continue to work. With a smaller threshold, delays tend to be shorter even though more examples are deferred. Many of the waiting examples therefore come back in bulk during nearby epochs. The authors argue that these returns help strengthen the network and support recall in later iterations.
At higher thresholds, the pattern is different. Early in training, the schedulers keep most examples active. After the network reaches reasonably strong performance, they begin deferring examples for longer periods. The threshold affects both the size of the group held back and the timing of its return. The finding also reflects the difference between the threshold in a scheduling decision and the distribution measured after an entire training run. Changing the threshold changes subsequent training, the strength of the network, and the losses used on future reviews.
The cosine comparison at η = 0.5 and η = 0.9 carries that analysis through to final test accuracy and training time. The higher threshold gives a more accurate downstream result and consumes more data per epoch. It therefore answers a practical question about the role of confidence. The same functional form can yield different compromises between test accuracy, training work, and the timing of exposure, simply by changing how confident a scheduler is expected to be.
Watching the schedules during training
The dataset-specific curves show when the savings appear. The paper plots Leitner’s accuracy at epochs of the form 2ⁱ, where i indexes the plotted powers of 2. These are epochs when the reported Leitner configuration trains on the entire dataset. For RbF, the curves use cosine with η = .5. The plots make it possible to compare early and late behavior that would be hidden in a single average participation rate.
Addition has initial network accuracy of 35%. CL can begin by concentrating on a smaller set of examples that qualify as easy. Leitner and RbF have less evidence at that stage that the network can afford to wait before seeing many of its examples again. They defer examples gradually. At epoch 8, when the Addition network’s accuracy is above 65%, the spaced schedules are still increasing their use of delays. The authors report that Leitner gains substantial efficiency after iteration 12, while RbF continues to improve more gradually. They suggest that the conservative character of RbF’s delay estimates may contribute to the slower change.
IMDb and CIFAR10 start with network accuracy above 56% in the comparisons discussed by the paper. The authors find that Leitner and RbF can begin omitting more examples earlier in these runs. CL has less opportunity to cut the training set when many examples already qualify as easy, since it includes that entire group. Initial accuracy is therefore related to the direction from which each schedule approaches its later training pattern. The spaced schedulers can find enough potentially deferrable items sooner in stronger networks. The curriculum can select a smaller early batch when the learner starts with more material classified as hard.
The bottom of the training-trajectory figure tracks effectiveness across the run. The authors report comparable accuracy to rote training through training for the selective schedules they plot. This comparison matters because an endpoint alone would leave open whether a schedule was substantially behind for most of the run. The observed trajectories show that, on these tasks, selective schedules can stay near the full-data accuracy curve while making some epochs cheaper.
Continuing beyond the usual stopping point
For IMDb, the authors deliberately keep training fastText beyond the usual best epoch of 8. At epoch 16, performance with Leitner and with cosine RbF at η = 0.5 improves, while the curriculum and rote runs overfit. The authors connect the temporary robustness of the spaced schedules with their ability to avoid repeatedly training on examples they already handle well. They also note that CL and rote training take more time to reach the later iterations, so an equal-epoch comparison compares runs that can differ in elapsed time.
The extended runs show an eventual cost for the spaced schedules too. The paper points to the difference between performance at epochs 8 and 32 as evidence that overtraining can affect Leitner and RbF. The authors suggest that frequent exposure to the hardest examples could put increasing weight on noise. The experiment establishes the shape of performance over this longer IMDb run. The explanation about hard examples is a proposed mechanism, since the authors do not separately manipulate noisy examples in this experiment.
Limitations
Limits identified by the authors
The authors treat the recall-confidence threshold as a setting that could be improved. They use 0.5 in most comparisons and give an additional cosine result at 0.9. They propose learning the threshold dynamically from the behavior of the network. The threshold comparison gives a reason to pursue that question. Early retention and later retention support different amounts of delayed practice, and the experiments show that a single setting changes the amount of data used across the run. An adaptive threshold remains a direction for future work.
The paper also proposes developing more flexible delay functions and giving their lower and upper limits a theoretical analysis. The reported RbF rule works within a known training horizon and uses present measurements to choose a future review. The authors expect rising strength and falling difficulty to permit longer waits in later rounds. Those trends motivate their lower-bound interpretation. A review date still comes from an estimate based on current conditions. The paper’s recall-prediction experiment checks how reliable those estimates are in practice.
The authors discuss combining RbF with other scheduling approaches. One possibility is to use its estimates to inform a curriculum about the likely difficulty of unfamiliar examples. Another is to incorporate the queue mechanism from Leitner. The reported comparisons evaluate the procedures separately, so the effect of combining them remains an open design question. The paper also mentions similar results on question answering tasks that it leaves out for space. The reported results available for detailed comparison cover sentiment, images, and addition.
Finally, the paper identifies a limit to robustness against overtraining. A schedule that keeps difficult examples active can help for a period and can eventually concentrate work on very hard examples. The authors raise noise as a possible reason this becomes damaging. Their extended IMDb run supplies evidence for a limited period of robustness. It leaves the connection between example noise and review frequency to further investigation.
Limits visible in the design
The analogy with human memory is supported at the level of the observed relationships. The paper finds that longer delays and higher loss accompany poorer recall, and that stronger validation performance accompanies better recall. The exact exponential form proposed for human memory remains a separate claim. The neural experiments compare several functional forms, and the kernels differ on prediction accuracy and efficiency. This evidence supports using the indicators to construct a scheduler. It leaves the appropriate mathematical description of forgetting open.
The recall check is based on the correctness of a response to a previously seen example. Accordingly, it measures retention in the sense that is relevant to revisiting training examples. A correct answer might also be supported by what the network learns from related examples that stayed in the training set. An incorrect answer can result from changes in the network during intervening training. The experiment observes what the network can still do with the item under those conditions. It leaves the internal representation of that item and the source of the eventual answer unresolved.
The preliminary comparisons also differ in what they control. Moving the review window at a fixed recall epoch directly varies recency under a fixed amount of training. Difficulty is measured through naturally occurring differences in loss. Strength is measured at recall points that differ in how far training has progressed. The latter comparisons establish associations and motivate the schedule’s inputs. They cannot fully separate each input from every other change induced by learning. The study likewise leaves open how much downstream benefit would survive if difficulty or strength were removed from the complete scheduler.
The fitting and deployment conditions raise a related question. The kernel is fitted on qualifying validation examples across a gap of 1 epoch, then used to choose future delays for training examples. The fitted parameter therefore has to carry information across both a change of examples and a change of prediction horizon. The held-delay experiment is an empirical check on that transfer. Its accuracy is conditional on the scheduler’s own choices about which examples to defer. The joint report of delay frequency and prediction accuracy makes comparisons more interpretable, while leaving full calibration across all potential examples and delays unmeasured.
The formula for choosing the delay targets the closest score to the confidence threshold. The prose describes a maximum interval at which confidence stays above the threshold. With discrete epochs, a closest score and a strict threshold decision can pick different intervals near the crossing. The paper gives the squared-distance objective and its range of permissible values. Details such as the choice when two candidate epochs give equally close scores are left unspecified in the mathematical presentation.
The aggregate results also depend on what counts as success. Accuracy on balanced test data gives a common downstream measure across the reported tasks, and the per-epoch participation measure captures repeated use of data. The speed figures describe the tested runs, where the gains include the costs of fitting or maintaining a schedule. A different task or implementation could change that balance. The paper argues that the scheduler can attach to different neural networks. The experiments demonstrate that breadth on the studied architectures and tasks, with results in other training settings still open.
The outcomes are easiest to interpret together. Schedules at default confidence achieve large reductions in average participation and elapsed training time while falling short of rote training in average test accuracy. Raising cosine confidence recovers some of that accuracy at a higher training cost. The paper calls the differences small in relation to the achieved efficiency. The measurements leave room for a different choice when the cost of errors, the available training time, or the need for a particular test accuracy changes.
What came after
Spacing in self-training
A later citing paper, Neural Self-Training through Spaced Repetition, names spaced repetition as part of its approach and places it in self-training. That gives the clearest direct continuation of the scheduling idea among the later works. Repeat before Forgetting asks when a learner should return to examples in its training set. The later title places the same question about repeated exposure within a different way of organizing training. The citation and title establish that connection. The later paper’s example-selection rule, confidence criterion, and review intervals remain unspecified here.
This distinction matters for understanding the line of work. The original RbF experiments validate recall against examples with known answers and assess the trained network on separate test data. A connection to self-training concerns the wider setting in which repeated exposure is organized. It is possible to trace the scheduling idea to that setting while leaving the extent of reuse of the original kernels and validation fit open.
Training examples as objects of analysis
Spotting Spurious Data with Neural Networks cites the paper and takes spurious data as its subject. The connection is at the level of individual examples. In RbF, examples differ in measured difficulty and later recall, and those differences determine how often they return. The overtraining discussion raises the possibility that sustained attention to especially difficult examples can amplify noise. The later paper’s stated subject makes that possibility relevant to a different question about training data. The citation alone leaves open whether its method uses recall, loss, repeated training, or some combination of measurements.
The original experiment gives a specific reason to keep those questions distinct. RbF assigns shorter intervals to examples that look harder under its recall function. That decision is useful if extra practice helps the learner retain important material. Identifying spurious data asks what the behavior of a particular example might reveal about its place in training. The later title establishes that change of focus without establishing a particular result about what should happen to those examples.
Memorization over the course of training
Memorization Without Overfitting is another citing work. Its title puts memorization and overfitting in the context of training dynamics. RbF also makes time in training part of the observation. It checks whether a previously seen example can still be answered after intervening updates and separately tracks how schedules perform as training continues beyond the usual stopping point. This gives the citation a connection to the study of when behavior changes during training. The later work’s measurements and conclusions, and any use it makes of RbF beyond citing it, remain open here.
Across the three citing works, the titles support different degrees of continuity. Self-training explicitly retains spaced repetition. The work on spurious data shares a focus on what can be learned from individual training examples. The work on memorization places the behavior of learned examples alongside overfitting during training. Repeat before Forgetting connects those concerns within its own experiments by measuring recall over time, using the measurements to decide when examples return, and observing how that decision affects the eventual learner.
Cite
Cite as Hadi Amiri, Timothy Miller and Guergana Savova. 2017. Repeat before Forgetting: Spaced Repetition for Efficient and Effective Training of Neural Networks. Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing.
@inproceedings{amiri2017repeat,
title = {{Repeat before Forgetting: Spaced Repetition for Efficient and Effective Training of Neural Networks}},
author = {Hadi Amiri, Timothy Miller and Guergana Savova},
booktitle = {Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing},
year = {2017},
doi = {10.18653/v1/d17-1255},
url = {https://doi.org/10.18653/v1/d17-1255}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/amiri-2017-repeat-before-forgetting-spaced-repetition/