Spotting Spurious Data with Neural Networks
Paper · 2018 · Hadi Amiri, Timothy Miller and Guergana Savova
Summary
A dataset can contain a wrong answer even when the question is clear. A tweet may have the wrong sentiment label, or an addition exercise may come with an incorrect sum. When such examples enter a training set, a neural network is asked to reproduce their answers alongside the correct ones. The errors can also affect an evaluation if they appear among the examples used to compare systems. The authors ask whether the experience of training a network can help uncover mistakes in the dataset itself. Their premise is that an example whose label conflicts with the patterns in the rest of the data will often remain difficult for the network to learn.
The paper tests this idea with two training schedules. One uses curriculum learning. After training, it checks which examples have low prediction loss, a measure of how poorly a prediction fits the recorded answer. It uses these easier examples again and gradually admits more of the difficult ones. The other schedule adapts the Leitner system for studying flashcards. Examples the network answers correctly move into queues reviewed at longer intervals. An incorrect answer sends an example back to the most often visited queue. Both schedules use what happens across training to rank examples for inspection. The Leitner ranking combines time spent in the first queue with prediction loss.
In a synthetic addition task, the authors deliberately replace correct sums with wrong ones, so the status of every example is known. They also collect linguistic annotation for two datasets of social media posts. The Twitter task concerns sentiment about a telecommunications brand. The Reddit task asks whether a cancer-related post describes a patient's experience. For these datasets, the authors review a pool assembled from the leading candidates identified by the competing methods. The leading method, Leitner, achieves mean average precision of 0.85 on synthetic Addition and 0.22 across the real datasets. This metric rewards rankings that put verified errors near the top. The synthetic result is averaged across noise levels. The real result reflects a much smaller set of reviewed candidates, where the advantage over the strongest overall baseline is numerically positive and statistically inconclusive.
A final prediction loss can miss an incorrect label that the network has learned to reproduce. It can also flag a correctly labeled example that remains genuinely difficult. The authors find that repeated queue placement provides information in addition to loss, although their experiments leave open how reliably it distinguishes these cases. The training schedule can also make the network slightly less accurate on the Addition validation set as noise increases, even as it helps expose incorrect sums. The paper's output is a ranked list for investigation, and the authors release a tool that produces such a list from a dataset and a network for its task.
Deep dive: Spotting Spurious Data with Neural Networks
Spotting Spurious Data with Neural Networks tests whether examples that remain hard to learn can reveal incorrect labels in a dataset. · about 35 minutes to read
The problem and its context
Why a recorded answer can be suspect
A supervised task gives a learner an input and an answer it is expected to reproduce. The answer might be a category assigned by a person, an output generated by a procedure, or a label derived from an existing rating. The training process treats that answer as the target. The quality of the target depends on a separate process that may have its own sources of error. Clear guidelines and screening questions can improve that process, as the paper notes, while leaving individual mistakes in the final dataset.
The authors use spurious for examples whose labels may be wrong. The label can misrepresent the input, or it can leave out information the annotation scheme is meant to capture. Their opening illustration comes from CIFAR-10, where they point to an image whose truck label they question, another with an additional object category missing, and an incomplete image of a cat. The examples give a sense of the variety hidden by a single label. The experiments later turn this broad concern into a more specific question about whether a recorded answer survives independent checking.
Training errors and evaluation errors have different consequences. During training, a wrong answer can encourage a network to associate an input with an inappropriate output. During evaluation, it can penalize a system that gives an answer a reviewer would accept, or reward one that reproduces the mistake. These cases matter when practitioners interpret the dataset, compare systems trained on it, or act on their predictions. A ranking of suspicious examples gives reviewers a way to start with a subset when checking an entire collection would require much more work.
The distinction between difficulty and error is central. A network can struggle with a correctly annotated input because it has few informative counterparts in the data or because the task requires a distinction the network handles poorly. Conversely, a wrong answer can be easy for the network to predict if the input resembles other examples with that answer. The recorded label also serves as the reference for measuring training success. A correct prediction during training means agreement with that label, including when the label itself is wrong. The detector therefore has to use the pattern of agreements and disagreements as indirect evidence.
What earlier approaches could observe
The paper groups earlier work around several related goals. Some studies sought errors directly in annotated corpora, including work on part-of-speech labels and corpus anomaly detection. Others tried to train systems that continued to perform well in the presence of noisy labels. Robust training and error identification answer different questions. A system might learn the task in spite of occasional labeling mistakes, while leaving the people responsible for the data without a means to locate them. The paper also discusses research on intentionally perturbed examples, including Explaining and Harnessing Adversarial Examples.
The authors emphasize the inputs those approaches can require. A method that estimates the reliability of annotators may need to know which individual supplied each judgment. A detector developed for adversarial examples may need examples labeled both for the task and for whether they are adversarial. Other approaches can depend on an already clean dataset. A released corpus may contain inputs and final labels without preserving any of those supporting records. The authors design their schedulers for that situation. They assume access to a neural network for the task and use the ordinary training answers to derive the ranking.
Prediction loss offers a simple starting point under these conditions. A high loss says that the network assigns a poor fit to a recorded answer. If a wrong label conflicts with the regularities the network has learned, the example may end training with high loss. The procedure is straightforward. Train on the full dataset in the ordinary way, compute a loss for every example, and place the highest-loss cases first. The information going into the ranking is the state of the network at the end of training.
The paper also describes approaches that use several predictions for each input. Bayesian uncertainty uses variation across predictions to estimate how sensitive the answer is to changes in the network configuration. The variational inference approach estimates a distribution over possible answers from repeated predictions and scores the uncertainty in that distribution. The paper associates this approach with work including Learning Whom to Trust with MACE. These approaches use multiple judgments about the same input. The training schedulers ask a different question about the same example, following how well the learner fits its recorded answer over successive epochs.
Why the schedule might reveal something
The hypothesis is about how an example relates to its peers. Many genuine examples support a shared way of solving the task. In ordinary addition, correct sums repeatedly reinforce the same arithmetic procedure. Replacing a sum can make a particular target hard to reconcile with the procedure supported by other rows. The authors expect that kind of conflict to recur in prediction, so a measure of persistent difficulty may provide evidence that a final loss fails to retain.
The paper draws on two traditions for deciding when a learner sees an example. Curriculum learning organizes training around an initial emphasis on easier material and progressively adds harder material. Earlier approaches cited by the authors estimated ease with heuristics or with optimization. When ease is based on the current learner's loss, the division can change as training continues. An example that initially resembles the rest of the difficult group may become easy once the network has learned a relevant pattern.
The second tradition is spaced repetition. The authors describe psychological work on how repeated exposure, elapsed time since a review, the strength of a memory, and the difficulty of the material affect retention. A flashcard system converts this intuition into a schedule. A card recalled correctly can wait longer before the next review, while a lapse prompts an earlier return. The authors had previously applied spaced repetition to neural-network training. Here they use the schedule itself to record which examples keep needing attention.
The two inspirations give difficulty different practical consequences. Under the curriculum, a difficult example is eligible for training in proportion to how far the schedule has progressed and how its loss compares with that of other hard examples. In the Leitner system, a prediction error puts the example into the group scheduled most frequently. Each approach can turn a changing training state into a record of difficulty. The consequential choice is what counts as difficulty, when the learner sees the example again, and how those decisions enter the final ranking.
The method, step by step
What the learner and the scheduler each do
The learner performs the ordinary task associated with the dataset. On the synthetic data it predicts the sum represented by an input pair. On social media data it predicts the class specified by the annotation scheme. The scheduler decides which examples will contribute to training at each epoch, where an epoch here means one iteration of the scheduling loop. The schedulers construct different batches at different points, so an epoch need not expose the learner to the entire training set.
Both algorithms take a training collection, a validation collection, and a training duration measured in epochs. The Leitner algorithm also takes a queue count. The paper assumes that the learner is trained until convergence and expresses the algorithms with a total number of iterations. Genuine and spurious examples are mixed in the training collection. The scheduler can inspect the ordinary target for an example and the learner's performance against it. The genuine-or-spurious judgments needed for evaluation are separate from that training signal.
Two observations about a prediction enter the algorithms. Correctness indicates whether the output agrees with the answer stored in the dataset. Loss measures the extent of the mismatch according to the network's training objective. A loss can vary continuously while the decision about correctness stays the same. For instance, two predictions can both disagree with a recorded class yet assign different support to it. The paper uses correctness to move examples between Leitner queues and uses loss in the numerical score. The curriculum uses loss to separate examples into groups and to score the difficult cases.
Each example starts with a suspicion score of zero. The scores accumulate during training. At the end, the examples are ordered for review, with larger scores given higher priority. For examples that never received an increment, the algorithms use their final prediction loss. This makes it possible to order examples within a group that otherwise has the same zero score.
How the Leitner scheduler ranks suspicious examples
The steps in order.
Curriculum learning with a moving boundary
The curriculum begins by training on the whole collection. After that training pass, it measures the loss of every training example, including any examples that will be left out of a later batch. This complete pass through the data gives the scheduler a common snapshot from which to classify examples as easy or hard. To choose a cutoff, it finds the examples the current learner predicted correctly and averages their losses. The cutoff therefore changes as the set of successful predictions and the losses attached to them change.
A loss strictly below the cutoff puts the example in the easy group. All other cases enter the hard group. The distinction means that correctness helps set the cutoff but does not directly decide group membership for each example. A prediction can agree with the recorded answer and still have a loss at or above the cutoff. In the other direction, a questionable label can end up in the easy group once its loss falls sufficiently. The curriculum's score responds to the position relative to the cutoff.
The next training batch includes all easy examples and a fraction of the hard group. Within the hard group, the examples with the lowest losses are admitted first. These are the cases closest to the easy side by the scheduler's criterion. The fraction increases with training progress:
δᵢ = i / k
Here δᵢ is the hard-group fraction assigned to iteration i. The index i marks progress through training, and k is the total number of iterations. The slash denotes division. The paper applies the growing fraction after the initial iteration. Its pseudocode makes the order of operations explicit by training on the batch already assembled, measuring losses, and using the resulting partition to assemble the next batch. As the fraction grows, examples farther into the hard group become eligible for inclusion.
The suspected-error score records membership in the entire hard group. An example need not be selected from that group for the next training batch to receive an increment. This detail matters because selection prioritizes the easiest cases within the hard group, while the score is intended to reflect all the examples the current learner treats as hard. The scheduling rule and the scoring rule therefore use the same partition for different purposes.
Sₑ(hᵢ) = Sₑ₋₁(hᵢ) + 𝟙_{hard batchₑ}(hᵢ) × (1 / |hard batchₑ| + lossₑ(hᵢ))
Here hᵢ is training example i, and e is the epoch at which the score is updated. Sₑ(hᵢ) is the resulting score and Sₑ₋₁(hᵢ) is its value at the preceding epoch. The set hard batchₑ contains the examples placed in the hard group at epoch e. The indicator 𝟙 is 1 when hᵢ belongs to that set and 0 otherwise. Vertical bars designate the size of the set. The quantity lossₑ(hᵢ) is the network's loss for the example at that epoch. The increment adds the reciprocal of the group size to the example's loss, with the indicator limiting it to members of the hard group.
The reciprocal term gives an individual occurrence more weight when fewer examples are classed as hard. The loss term distinguishes examples within the same hard group. An example can rise in the ranking through repeated membership, through large losses during the epochs when it belongs to the group, or through a combination of the two. A difficult example that eventually becomes easy retains what it accumulated earlier. Once it enters the easy group, its score stops increasing for as long as it stays there.
For an example that never belonged to the hard group, the authors apply a final rule:
Sₖ(hᵢ) = lossₖ(hᵢ) if Sₖ(hᵢ) = 0 before replacement
Here k is the final epoch, hᵢ is the training example, and Sₖ(hᵢ) is its final ranking score. The condition tests the accumulated value before the assignment. The replacement lossₖ(hᵢ) is the loss for that example at epoch k. A zero accumulated score captures the absence of prior hard-group membership. The loss provides a finer ordering for those cases.
The resulting curriculum has a feedback loop. Training determines the boundary, the boundary influences the next batch, and training on that batch changes the next measurements. A persistent outlier can be scored even during epochs when it receives no training exposure. An example that becomes easy early will be included in later batches as long as its loss stays under the new cutoff. The ranking consequently reflects the learner's progress under this specific curriculum.
Leitner queues with regular review intervals
The Leitner variant uses a different way to preserve the history. The queues are ordered from most to least frequently scheduled, with every example starting in the first queue. Because that queue is due at every epoch, the first epoch uses the full training collection. Afterwards, the batch is assembled by combining the contents of the queues due at the current epoch.
q₀, q₁, …, qₙ₋₁
Here q identifies a queue and its subscript gives its position, beginning at 0. The symbol n is the number of queues. The ellipsis stands for the intervening queues, and qₙ₋₁ is the last queue in the ordering. An example's position records how far it has advanced under review.
Review qᵢ at epoch e when e mod 2ⁱ = 0
Here qᵢ is the queue with index i, and e is the current epoch. The expression 2ⁱ gives its review interval. The operator mod returns the remainder after dividing e by that interval. A remainder of 0 means the queue is due. The paper's schedule has q₀ due at every epoch, q₁ due at epochs 2, 4, 6, 8, 10 and so on, and q₂ due at epochs 4, 8, 12, 16, 20 and so on. An epoch can therefore draw from several queues at once.
After training with the current batch, the scheduler uses the learner's predictions to update the queue assignments for the examples it saw. Agreement with the recorded answer advances an example along the sequence of queues. A disagreement sends it back to q₀. Examples in queues that have yet to come due wait for their next review. The pace is thus different for each example and depends on the succession of answers the current learner gives.
Consider an example that the learner answers correctly on several scheduled visits. It moves into queues with increasingly long review intervals. At a later visit, a wrong answer can return it straight to the most frequently reviewed group. Compare this with an example that keeps failing to match its target while in q₀. It stays in the next batch and gets another opportunity to advance at the very next epoch. An easy example can eventually go some time without being used for training. A persistently difficult one can remain part of the learner's immediate workload.
The scheduler updates the scores after it moves the examples. That order matters at the start. Every example was initially in q₀, but one that advances after the first pass has already left the queue by the time the score is updated. An example that stays after the update, or that returns from another queue, counts toward the queue evidence.
Sₑ(hᵢ) = Sₑ₋₁(hᵢ) + 𝟙_{q₀,ₑ}(hᵢ) × (1 / |q₀,ₑ| + lossₑ(hᵢ))
Here hᵢ identifies a training example, e identifies the current epoch, and e−1 identifies the preceding epoch. The terms Sₑ(hᵢ) and Sₑ₋₁(hᵢ) are the current and preceding accumulated scores. The notation q₀,ₑ denotes the contents of the first queue at epoch e after the queue update. The indicator 𝟙 is 1 for examples in that queue and 0 for other examples. The vertical bars count its members, and lossₑ(hᵢ) is the learner's loss for hᵢ at that epoch. An example in the queue receives the reciprocal-size contribution and its loss. A smaller first queue gives membership a larger contribution per example.
Repeated membership is the operational measure of persistent difficulty. It preserves events that would be absent from a ranking based on final loss alone. An example that has just learned to match its recorded target can carry a substantial score from earlier epochs. An example that started easily and later fell back into the first queue begins to gain evidence at the point of that reversal. The queue controls exposure, while the accumulated score retains the evidence generated by that exposure.
Leitner uses the same terminal adjustment as the curriculum:
Sₖ(hᵢ) = lossₖ(hᵢ) if Sₖ(hᵢ) = 0 before replacement
Here k again denotes the final epoch. The left side refers to the score assigned to example hᵢ, and the condition refers to that example's accumulated score before assignment. The term lossₖ(hᵢ) is its final loss. With this rule, the ranking has a way to order examples that never contributed to the first-queue score after queue updates. For examples that did contribute, the accumulated history supplies the ranking value.
From training behavior to a review list
Both procedures draw on events already associated with learning the task. They do not ask workers to identify dubious training examples before the network is trained. Instead, the curriculum turns the loss distribution into a changing boundary, and Leitner turns agreement with the recorded answer into a review schedule. In either case, the underlying network has to learn enough of the task for persistent difficulty to carry information about the labels.
The schedules also create different histories for the same example. A curriculum can continue calling an example easy once its loss crosses below the cutoff. Under Leitner, an example has to retain its ability to match the target when a later review occurs, with a failure returning it to frequent review. That failure might be caused by an incorrect label, a genuine exception, or an ordinary mistake by the learner. The algorithms encode those outcomes as evidence of difficulty and leave the interpretation to evaluation or human review.
The authors release a tool that takes a dataset and the corresponding network architecture and returns a ranked list. The paper uses separate inspection procedures to decide whether the candidates in that list are genuine or spurious. This separation allows the same detector to be tested against known, deliberately planted errors and against labels that require a fresh human judgment.
Experiments and results
Addition with known incorrect targets
The synthetic task comes from Learning to Execute. Each input is a pair of non-negative integers and its ordinary target is their sum. The integers are smaller than the bound given by the paper's exponent ℓ, with ℓ = 4 in the experiments. The task gives the authors an independent way to establish the correct answer. They can therefore track which training labels they changed and evaluate a ranking over the full training set.
The setup uses 10K training examples and 2K validation examples. The authors designate a share of the training rows as spurious according to a parameter α. They describe the allocation as follows:
Spurious count = α × N
Here α is the fraction of the training collection assigned spurious targets, N is the training-set size, and × denotes multiplication. The paper sets N = 10K and allows α up to 0.5 in its corruption procedure.
Genuine count = (1 − α) × N
Here 1 represents the whole training collection as a fraction, so 1 − α is the share that retains genuine targets. Multiplying by N gives the number of genuine examples. The synthetic MAP table aggregates results for the reported noise range [0.1, 0.5].
To construct a wrong target, the authors retain the original input pair and introduce another random integer in place of the second input when assigning the output. The substitute differs from the second input. A random choice determines whether it is added to or subtracted from the first input. If the resulting value is negative, the procedure uses zero.
max(0, xᵢ + (−1)ᵒ × xₖ)
Here xᵢ is the first integer of the input pair, whose second integer is xⱼ. The substitute xₖ is drawn from the same range as the inputs, with xⱼ different from xₖ. The exponent o is drawn with equal probability from O = {1, 2}, where O is the set of its possible values. Raising −1 to o chooses the sign for xₖ. The sum inside max is the proposed corrupted target, and max selects the larger of that value and 0. The recorded input remains the pair with xⱼ. The planted error is in the answer associated with that pair.
The learner is a long short-term memory network, or LSTM, of the kind used in Sequence to Sequence Learning with Neural Networks. The paper reports 99.7% task accuracy on Addition without injected noise. That number concerns the learner's ability to produce sums under clean conditions. The error-detection results measure how well methods recover corrupted training rows under noisy conditions.
Social media labels collected for the study
The Twitter dataset uses 10K training posts and 1K validation posts. Its tweets mention a telecommunications brand, one of its products, or one of its services. Workers judge the sentiment conveyed towards the target brand, assigning the positive or negative label used by the task. The direction of the sentiment is therefore tied to a specified entity. A word that expresses disapproval can matter differently depending on whom or what the tweet criticizes.
For quality control, the authors use 500 labeled items and remove contributions from workers whose accuracy on these checks is below 80%. They report Fleiss' κ = 0.66 for the Twitter annotations and interpret it as substantial agreement. Fleiss' kappa is an agreement measure for multiple raters that takes expected chance agreement into account. In this experiment it describes the consistency of the annotation process. Individual messages can still require closer scrutiny even with relatively high agreement overall.
The Reddit data comprise 4K training posts and 400 validation posts. They concern colon, breast, or brain cancer. The task asks workers to decide whether a post describes a patient's experience. Accounts of symptoms or treatment fall within the relevant category when they describe that experience. General material about cancer, such as scientific reporting or news without a patient account, falls within the irrelevant category. The occurrence of a cancer name helps locate posts for the dataset, while the distinction for labeling depends on what the post says about a person.
The authors use 300 labeled examples to screen Reddit annotations, again applying the 80% accuracy criterion. They report Fleiss' κ = 0.48 and characterize this as moderate agreement. The two datasets thus contain judgments made under explicit annotation and screening procedures. The errors studied in the paper are disagreements found by revisiting particular recorded labels after those procedures have already been applied.
The learner for the posts is fastText with a multilayer perceptron. A 512-unit dense layer is inserted by the authors immediately ahead of the final layer. In the settings description, they report task accuracy of 74.6% on Twitter and 70.2% on Reddit. The same general learner is used for the competing approaches on each of these tasks. It provides the predictions from which the schedulers derive correctness and loss, and from which the stochastic baselines derive uncertainty.
How candidates were judged
The authors adapt a pooling approach from information retrieval and search. A retrieval system supplies an ordered list, and pooled judging brings together the highest-ranked results from competing systems for review. Here, a retrieved item is a dataset row proposed as a possible labeling error. An item is counted as relevant to that search when its label is judged spurious.
For Addition, the pool includes the entire training set. Every row's status is known, and each method has the opportunity to rank all 10K training examples. Rankings can thus be judged across their full range. This makes it possible to see how a detector handles both the readily visible corrupted sums and the cases it places farther down the list.
For Twitter and Reddit, each method contributes its top 50 candidates. Some candidates are shared across methods. The resulting pool has 198 Twitter posts and 152 Reddit posts. The authors manually label the pooled posts and come to agreement, then compare their judgments with the labels already in the datasets. They identify 59 spurious labels in the Twitter pool and 35 in the Reddit pool. Those counts describe reviewer findings in collections assembled for their suspected errors. They cannot be used to estimate the overall prevalence of mistakes in either training dataset.
Mean average precision, or MAP, is the headline ranking measure. Average precision rewards finding genuine errors at positions where many of the candidates reviewed so far have also been errors. Thus a verified mistake near the front of a list contributes to a stronger result than a mistake reached after many correctly labeled examples. MAP summarizes average precision across the conditions being reported. The synthetic summary averages over the noise conditions. The overall real-data summary averages results for the social media tasks under their pooled evaluations.
Precision at rank r, written P@r, concerns the share of correct error detections among the first r candidates. It answers a direct question about a review budget. If a reviewer can inspect only the first few suggestions, how much of that effort goes into actual labeling mistakes? The paper also reports Rprec for Addition, where the known set of spurious examples supports a precision measure tied to the full set of known errors. The authors use the trec-eval toolkit for these ranking measures.
What the baselines look for
Prediction Probability, abbreviated PP, uses the final loss after standard training. The learner sees all examples at each epoch of that training schedule, called Rote in the paper. PP sorts training examples by descending loss. It serves as a reference for asking whether methods based on training history or repeated predictions improve on the final snapshot.
Bayesian Uncertainty, or BU, obtains predictions under different network configurations and measures the amount of variation. The stochastic predictions come from applying dropout, which changes which activations participate in a prediction. The paper uses T = 50 predictions for each example and a dropout rate of 0.5 after the first and last hidden layers. A high score means the resulting predictions are dispersed.
(1 / T) × ∑ᵀᵢ₌₁ (yᵢᵀ yᵢ) − [(1 / T) × ∑ᵀᵢ₌₁ yᵢ]ᵀ [(1 / T) × ∑ᵀᵢ₌₁ yᵢ]
Here T is the total number of predictions, i indexes them, and yᵢ is the prediction vector for an example on draw i. A superscript ᵀ attached to a vector or bracketed expression denotes transposition. The sum symbol adds the indexed terms from 1 through T. Products of a transposed vector and a vector give inner products. The first term averages the squared lengths of the prediction vectors. Each bracket in the second term represents the mean prediction vector, and the product gives its squared length. Subtracting these terms measures the spread around the mean.
Variational Inference, or VI, uses the same number of dropout predictions with the same dropout placement and rate. It approximates the posterior p(y|x), the distribution of the answer y for input x, with a simpler distribution q(y). The paper describes an expectation-maximization procedure. In its expectation step, the approximation q is updated to reduce its divergence from p. The maximization step holds q fixed while adjusting p. After this alternation has converged, the method ranks examples by the entropy of the estimated answer distribution. Higher entropy means the distribution is spread across more competing possibilities, or gives those possibilities more comparable weight.
These two baselines use variability across predictions. The curriculum and Leitner methods instead gather evidence as the learner moves through training. Because the learners differ between arithmetic and social media, the experiments compare detectors within each task before aggregating across settings. For the reported Leitner runs, the authors use n = 5 queues after considering n = {3, 5, 7}.
The rankings on Addition
The average MAP on Addition favors Leitner over the other tested approaches. Bayesian Uncertainty comes closest. Variational Inference places behind it, and the curriculum and final-loss rankings achieve nearly the same MAP. The asterisk in the paper's table indicates that the leading synthetic result differs significantly from the runner-up according to the paper's t-test at ρ = 0.05.
Error detectors on synthetic Addition, average MAP across noise levels
Leitner leads the synthetic comparison, with Bayesian Uncertainty closest.
The numbers
| System or setting | MAP |
|---|---|
| Prediction Probability | 0.719 |
| Curriculum Learning | 0.718 |
| Variational Inference | 0.757 |
| Bayesian Uncertainty | 0.811 |
| Leitner (this paper) | 0.851 |
The averages conceal a change in the relative performance of the leading approaches. The paper describes Bayesian Uncertainty as particularly strong at α ≤ 0.2, with Leitner clearly ahead at α > 0.2. At α = 0.5, the training set has as many deliberately corrupted rows as genuine ones. The comparison therefore includes settings in which learning the intended arithmetic rule from the training data places substantial demands on the learner. The authors suggest that noisier training can make uncertainty widespread, leaving prediction variation with less power to distinguish incorrect targets.
The alternative synthetic measure gives the same leading order. Average Rprec across noise levels is 0.74 for Leitner and 0.70 for Bayesian Uncertainty. Variational Inference reaches 0.65, while Prediction Probability reaches 0.62 and Curriculum Learning 0.57. The values are below the corresponding MAP results. The authors interpret the pattern as evidence that some incorrect sums remain hard to identify and appear well down the rankings even when the methods retrieve other errors successfully near the top.
Error detectors on synthetic Addition, average Rprec across noise levels
Leitner also leads the precision measure tied to the known set of incorrect targets.
The numbers
| System or setting | Rprec |
|---|---|
| Prediction Probability | 0.62 |
| Curriculum Learning | 0.57 |
| Variational Inference | 0.65 |
| Bayesian Uncertainty | 0.70 |
| Leitner (this paper) | 0.74 |
The rankings on Twitter and Reddit
For the pooled review of the real datasets, Leitner again produces the highest overall MAP. The paper finds no significant difference between the leading methods and points to the small candidate pools as a possible explanation. The pooled scores are much lower than those from Addition. They describe a setting where the learner has a harder task, judgments require human interpretation, and errors are verified only in the nominated pools.
Error detectors on Twitter and Reddit, overall pooled MAP
Leitner has the highest reported pooled MAP across the social media tasks.
The numbers
| System or setting | MAP |
|---|---|
| Prediction Probability | 0.100 |
| Curriculum Learning | 0.067 |
| Variational Inference | 0.142 |
| Bayesian Uncertainty | 0.148 |
| Leitner (this paper) | 0.225 |
On Reddit, Leitner leads across nearly all the reported rank cutoffs, and Variational Inference is closer to Bayesian Uncertainty than it was on Addition. In describing the rank curves, the paper puts Leitner at around 60% at rank 20 and the other methods below 50% across the reported ranks. The figure labels the rank-cutoff measure P@r, while the prose calls the result at rank 20 MAP. The rank-specific comparison is best read alongside the figure's precision-at-rank label. The overall pooled MAP figures are reported separately in the table.
On Twitter, Leitner also leads. An additional finding is that Prediction Probability beats Bayesian Uncertainty on the reported rank curves at almost all cutoffs. The authors suggest that the substantial annotation agreement on Twitter may make prediction loss more informative about the reference judgments. The results leave that explanation open because the datasets differ in both the nature of the task and the way disagreement arises.
The authors highlight the beginning of the lists as especially relevant to review. At rank 5, they describe Leitner as 2-3 times as precise as the strongest baseline on the real datasets. That comparison concerns the first suggestions a reviewer would see and complements the pooled MAP. It supports the practical claim that the queue-based ranking can help direct a small amount of inspection towards likely mistakes, under the same pooled setup used for the rest of the real-data evaluation.
What the ablations show
An ablation study that drops each Leitner score term separately goes unreported in the paper. It offers controlled comparisons across schedulers and noise levels, a trace of training losses, and a qualitative inspection of highly ranked examples. These analyses help explain why the authors pursued queue history and identify conditions in which the advantage appears.
Changing how difficulty affects exposure
The curriculum is an informative comparison because it also accumulates evidence over time. Its results are close to those of final loss on synthetic Addition and weaker on the real-data aggregate. The paper interprets this as evidence that repeatedly scoring examples is valuable only insofar as the rule records a useful signal. Under the curriculum, a spurious example can fall below the current threshold and stop gaining from hard-group membership. In Leitner, the score records repeated presence in the queue reached after an incorrect prediction.
The comparison changes the examples used for training and the evidence used for ranking at the same time. The curriculum incorporates all easy examples and progressively introduces hard ones. Leitner encounters hard cases more frequently because they stay in its first queue. These regimes then evaluate different properties of the learner's responses. Their difference in MAP shows that the combination used by Leitner is stronger in these experiments. It leaves the relative contributions of exposure, correctness, and the reciprocal queue-size term unresolved.
The paper reports trying the maximum and median losses as alternatives to using the mean loss of correctly predicted examples to set the curriculum threshold. It says the mean gave greater training gain, without providing detailed ranking scores for those alternatives. For Leitner, it reports slightly better performance with n = 5 than with the other queue counts it tried. That comparison supports the choice of setting used throughout the reported experiments. The paper gives no per-setting breakdown from which to establish how sensitive the error ranking is to the queue count.
Tracking which examples move across the loss boundary
The authors follow the losses of known genuine and known spurious Addition examples in a run with N = 10K and α = 0.2. At each epoch they use the average loss among correctly predicted training examples to separate low from high loss. This lets them follow genuine examples on either side of the boundary as well as spurious examples on either side. The synthetic labels are essential to this analysis because the researchers already know which rows were changed.
Early in training, nearly all examples in both groups have high losses. At that point the learner has made limited progress on the shared task, so high loss appears even for ordinary sums. As training continues, some genuine examples remain in the high-loss group. The authors stress that genuine examples are more numerous in this run. A sizable set of difficult genuine cases can therefore survive in the high-loss region even while the learner is improving overall.
Another pattern appears among the corrupted targets. More spurious examples move into the low-loss group as training proceeds. The authors interpret this as the learner gradually acquiring some incorrect answers. A final loss ranking loses evidence about earlier difficulty in these cases. It can place an incorrect answer learned late below a true answer that still requires work. The paper also follows PP's MAP across epochs to connect the changing loss picture with error-retrieval performance.
Queue history offers a possible way to distinguish trajectories that meet at a similar final loss. The authors suggest that some hard genuine examples may move out of the first queue when the learner discovers a workable solution, then return if a later prediction fails. Spurious examples with more arbitrary targets might remain there more consistently. They explicitly leave verification of this explanation to future work. The loss trace demonstrates overlap and change in loss values. It does not track enough of the corresponding queue trajectories to establish that genuine and spurious examples follow the proposed patterns.
Comparing detection with task accuracy
The paper also evaluates the learners on the ordinary task after training under different schedules. On Addition, the validation accuracies are generally high and comparable at low noise. The paper describes them as close to 100% at α = 0. At higher noise, the LSTM trained with Leitner is slightly less accurate on the validation task than the LSTM trained with the curriculum or with Rote. The authors connect this result to frequent training on the very examples that the detector regards as difficult.
That behavior links the advantage of the schedule to a cost in the synthetic experiment. Frequent exposure generates repeated opportunities to see that an example is poorly fit. When its answer is wrong, frequent exposure also gives that wrong target more influence on training. A stronger ranking of incorrect labels can therefore accompany weaker validation accuracy on correct answers. The comparison separates performance as a detector from performance as a task learner.
The social media tasks do not show a clear separation between schedulers on task accuracy. The paper describes results around 75% on Twitter and 70% on Reddit under the different regimes. These accuracies are below the clean Addition result, regardless of the scheduler. The authors suggest that a learner with less reliable task predictions will produce more hard examples and more uncertain predictions, either of which can make it harder to pick out the truly mislabeled cases.
Inspecting unexpected examples in generated stories
The qualitative analysis applies Leitner to bAbi, a generated question answering dataset. The learner is an LSTM built to answer questions about short stories. The authors manually examine examples that Leitner places high in the ranking and describe inconsistencies in the input stories.
In one case, a story says Mary returns to the hallway even though its earlier events never placed her there. The recorded answer to the question about her location is hallway. Her final movement supports the answer, while the wording of the movement presupposes an earlier visit missing from the story. The example shows how an input can be awkward for the learner even when the answer can be recovered from the last location mentioned for the person.
In another story, Sandra picks up a football at a place indicated by there, with no clear location established for Sandra in the preceding account. Later events say where she leaves it, and the recorded answer is bedroom. The irregularity lies in how the earlier event refers to its location. A reader can follow the later evidence for the answer and still question the coherence of the input story.
The authors conjecture that these inconsistencies could confuse the learner or increase the difficulty of the task. The examples illustrate a broader use for the ranking as a way to discover oddities in generated material. They also show the importance of review. A high score can lead to a defect elsewhere in the row, even when a reviewer finds that the answer itself follows from the story.
Limitations
Limits the authors identify
The authors make the difficulty of distinguishing hard genuine examples from spurious ones an explicit subject for future work. Both can produce failures against the stored target. The difference the detector is meant to exploit depends on how the network learns from the rest of the data. An example that remains unusual for legitimate reasons can keep returning to the first queue, and an incorrect label that happens to fit a common pattern can advance. The reported rankings show that the signal works in aggregate under the tested conditions. They leave room for either kind of mistake on a particular row.
The authors also leave their account of queue movement unverified. They propose that a hard genuine example may move between queues as the learner balances competing demands, while an arbitrary wrong label may be poorly predicted more consistently. Queue membership is directly recorded, but the paper does not use confirmed labels to test this proposed difference in movement. The interpretation motivates using history and remains a hypothesis about why it helps.
The paper identifies the choice of downstream learner as another open issue. A learner that has trouble fitting a task may bring many valid examples into the hard group, the bottom queue, or the high-uncertainty region. The authors propose testing whether a more effective learner changes the performance of the competing spotters. They also propose using several predictions for each training example and improving the rankings for real datasets. Those directions follow from the gap they observe between strong synthetic results and more modest real-data results.
For the social media evaluation, the authors acknowledge the restricted pool and its likely implications for significance. They assembled carefully screened annotations and expected relatively few spurious examples in the underlying datasets. Finding errors in a pool built from suspicious candidates does not resolve how much noise remains outside that pool. The real-data results describe how effectively a method puts judged errors early in the lists under study.
Limits apparent from the design
The synthetic experiments establish the strongest ground truth in the paper, but they use a particular mechanism for corruption. The original rule is exact, the wrong answer is generated independently of the intended sum in the way specified by the experiment, and the whole training collection can be judged. Errors caused by misunderstanding a sentiment target or disagreeing about whether a post describes a patient have different structures. Two people can read the same social media post and differ because they put the decision boundary in different places. The paper's social media review settles the label by agreement for the pool. The design does not measure the full range of alternative readings or the stability of a judgment across different review groups.
The paper's uses of noise proportions have different denominators. In Addition, α is chosen when building the training dataset. For the real data, the fractions listed with the dataset information concern the reviewed pools. Pool membership depends on the behavior of the detectors, so the selected posts need not resemble the full training data in how often their labels are wrong. Consequently the synthetic noise sweep provides controlled evidence about growing corruption, while the real-data scores provide evidence about retrieval within a limited review design. They do not establish how the ranking changes as the actual fraction of wrong labels in real data increases.
The validation comparisons and the ranking comparisons also have separate targets. Validation accuracy measures how frequently the learner answers task examples as expected. The error ranking assesses whether identified training rows deserve a closer look. A schedule that aims to expose contradictions can train on suspected errors repeatedly, as the experiment with Addition shows. The paper does not follow the ranked review with a dataset-cleaning and retraining experiment, so the eventual effect of corrected labels on task accuracy remains unmeasured.
Several implementation details receive only a brief specification. The curriculum threshold is defined by the correctly predicted examples, with no separate fallback described for an epoch in which that set is empty. The reciprocal-size scoring terms use the sizes of hard batches or first queues, and the equations do not spell out the empty-group case. Membership-based updates naturally apply only to the examples in a nonempty group, but the displayed products alone leave the zero-denominator case implicit. Likewise, the finite Leitner queue layout and its promotion rule do not state in detail how to handle a correct prediction from the last queue, and the algorithm does not explain every bookkeeping detail for the final loss of examples in queues that are not due at the last epoch. These omissions matter to someone implementing the algorithm from its description.
Finally, the queue results establish performance for a combined procedure. There is no reported experiment holding the training schedule fixed while ranking solely by first-queue membership, solely by loss, or by the combination with the reciprocal-size term removed. The synthetic and real comparisons show what the complete Leitner procedure achieved. They cannot determine how much of the gain requires the particular score formula or whether a simpler history statistic would recover much of it. The bAbi inspection likewise shows that the ranking can surface coherent examples of input problems, while leaving its frequency of success on that dataset unknown.
What came after
Annotation Error Detection: Analyzing the Past and Present for a More Coherent Future (2023) cites the paper in a work that takes annotation error detection itself as its subject. Amiri and colleagues offer a concrete instance of that broader problem. They use the behavior of a learner trained on final labels to nominate possible errors and then judge the resulting lists. Their experiments also distinguish known corruption, where every candidate can be verified, from a pooled review, where only the proposed candidates receive fresh judgments. Those differences matter when comparing evidence about error detection across studies. The citation establishes a connection to that broader analysis. Whether the later paper evaluates, changes, or reuses the Leitner procedure is undetermined.
VariErr NLI: Separating Annotation Error from Human Label Variation (2024) cites the paper in work whose title identifies the distinction between erroneous labels and variation in human labels. That distinction is particularly relevant to interpreting the social media experiments. Persistent disagreement by the learner can raise a post in the ranking, while a human reviewer still has to determine what the disagreement means. In the addition task, the arithmetic rule resolves the label directly. For a human interpretation task, the judgment can depend on how an annotator reads the item and applies the guidelines. The citation links the papers at this point. A transfer of the queue schedule or its scoring rule to VariErr NLI is undetermined.
Together, the connections show how the question can be pursued at different stages of an audit. The broader annotation-error work concerns the task of identifying errors across methods. The label-variation work foregrounds the judgment needed to distinguish error from differences in human answers. Amiri and colleagues supply an approach to an earlier decision in that process, which examples deserve attention first when a training set is large and its ordinary labels are the main evidence available.
Cite
Cite as Hadi Amiri, Timothy Miller and Guergana Savova. 2018. Spotting Spurious Data with Neural Networks. Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers).
@inproceedings{amiri2018spotting,
title = {{Spotting Spurious Data with Neural Networks}},
author = {Hadi Amiri, Timothy Miller and Guergana Savova},
booktitle = {Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers)},
year = {2018},
doi = {10.18653/v1/n18-1182},
url = {https://doi.org/10.18653/v1/n18-1182}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/amiri-2018-spotting-spurious-data-neural-networks/