When a deep network trains on data with wrong labels, the predictions it makes for each example over the course of training carry clues about which labels are wrong. Clean examples settle early and stay settled. Mislabeled examples tend to wander. Late in training they often snap onto their wrong label once the network starts memorizing. Existing methods read these clues with ad hoc summaries: the entropy of predictions over a fixed window of recent epochs, counts of class flips, or a moving average of confidence. Each summary needs a hand-set window length and threshold, and each stores a history for every example. None of them can tell apart a single meaningful switch, such as a hard example finally being learned, from repeated aimless switching.
We propose to treat each example's prediction stream as a small, volatile environment watched by a Bayesian observer. The observer keeps a belief about which "regime" (stable predicted class) the example is in. At every epoch it computes the Bayes Factor Surprise, a ratio from computational neuroscience that asks whether the latest prediction fits a fresh start better than the accumulated belief. This gives, per example and in constant memory, the number and timing of regime changes, how long the current regime has lasted, and the size of the surprise at each switch. The claim is that these change-point statistics, rather than raw variability, separate three groups that current selectors confuse: hard-but-clean examples, which show one resolving switch onto the given label; correctable noisy examples, which settle on a different class; and memorized noisy examples, which show a late, high-surprise jump onto the given label after a long stable run elsewhere.
Core Claim
Temporal stability methods measure how much a prediction moves. Bayesian surprise measures how much a movement should change the observer's mind, and that depends on how settled the observer already was. The same class flip means little for an example that has never stabilized. It means a great deal for an example that predicted "lynx" for forty epochs and then suddenly predicts its given label "cat" at epoch eighty. A surprise-weighted change-point model of each trajectory should therefore detect memorization events that a sliding window misses once the window has rolled past. It should also replace the window length and entropy threshold with one change-point rate, which can be fitted by marginal likelihood over the whole training set instead of tuned on clean validation data.
Relation to Prior Work
The method comes from Learning in Volatile Environments With the Bayes Factor Surprise. That paper defines the Bayes Factor Surprise $S_{BF}$ and derives constant-time online learners, such as VarSMiLe, whose adaptation rate is set by surprise. It tests them only on synthetic Gaussian and categorical estimation tasks. We apply the same machinery to a new kind of stream: the predictions a network makes for one training example across epochs.
A taxonomy of surprise definitions constrains the design in two ways. It separates belief-mismatch surprise from observation-mismatch surprise. It also proves that under a flat prior, Bayes Factor Surprise collapses into Shannon surprise, a monotone transform of it. The prior must therefore carry real structure, or the method reduces to a confidence-weighted flip counter. Surprise minimization as a learning strategy in neural networks argues that surprise should set how fast old evidence is discarded. We use that idea in the observer, not in the network's optimizer.
Several papers motivate the gap. SELFIE relabels examples whose predictions over the last $q$ epochs have low entropy. CroSel keeps a memory bank of softmax vectors and selects labels that do not flip and stay confident. MarginMatch averages the logit gap between the top two classes over training. Beyond Myopia and ITBoost show that the shape of a whole trajectory, not a snapshot, separates clean from corrupted data. All of these summarize variability without a belief that accumulates evidence, and most store $N \times C \times q$ numbers for $N$ examples and $C$ classes.
The closest work is Time-Consistent Self-Supervision. It already applies KL divergence to consecutive output distributions. That is observation mismatch between two snapshots, so a given output shift costs the same whatever the example's history. Our observer's surprise grows with the length and confidence of the current regime, which is exactly the property TC-SSL lacks.
BaM-SSL supplies a contrasting Bayesian approach. It gives the network a Bayesian last layer but uses it only within a single epoch. BADS does Bayesian data selection but needs a clean meta-set. We need neither weight posteriors nor clean data.
We deliberately do not attempt surprise over the network's full weight posterior. It is intractable, and the hypothesis that matters for label repair is the example's latent regime, not the weights.
Research Program
For each example $i$, the observation at epoch $t$ is the network's predicted class distribution. The observer's belief $\pi_{i,t}$ is a Dirichlet distribution over the example's current regime class, with an abrupt-reset model at hazard rate $p_c$. The baseline prior $\pi^{(0)}_i$ is not flat. It is the dataset-level distribution of predictions among examples sharing $i$'s given label, estimated online. This choice avoids the indistinguishability trap: a reset means "this example now looks like a typical member of its labeled class," not "anything goes."
Following the cited VarSMiLe derivation, each epoch computes
$$S_{BF,i,t} = \frac{P(\hat y_{i,t} \mid \pi^{(0)}_i)}{P(\hat y_{i,t} \mid \pi_{i,t-1})}, \qquad \gamma_{i,t} = \frac{m\, S_{BF,i,t}}{1 + m\, S_{BF,i,t}}, \quad m = \frac{p_c}{1-p_c},$$
where $\hat y_{i,t}$ is the current prediction. The belief update blends integration of the new evidence (weight $1-\gamma$) with a reset toward the prior (weight $\gamma$). Per example, the observer stores only $C$ Dirichlet counts, which can be cut to a sparse top-$k$ set, plus four scalars:
- the effective run length since the last reset;
- the regime's mode;
- the number of high-$\gamma$ events so far;
- the surprise at the most recent switch.
A single global $p_c$ is chosen by maximizing the summed marginal likelihood of all trajectories over a small grid. This step is cheap and uses no labels beyond the noisy ones.
The decision rule follows from these statistics. An example whose regime mode equals its given label and whose run is long is trained on as clean. One whose long-running regime differs from its given label is relabeled to the regime mode, as in SELFIE. One with a recent reset is held out of the supervised loss. One whose most recent reset was a high-surprise switch onto the given label, after a long run elsewhere, is flagged as memorized and reverted to its pre-switch regime.
The selector sits inside SELFIE's refurbishment loop and, separately, inside a Co-teaching-style two-network loop. This lets us compare selectors without changing anything else. A semi-supervised variant applies the same observer to pseudo-labels on unlabeled data.
Baselines
The naive reference is standard cross-entropy training on noisy labels. SELFIE reports 53.2% best test error for it on CIFAR-100 with 40% pair noise.
The most direct competitor is SELFIE's window-entropy selector. It reports 41.3% test error on CIFAR-100 with 40% pair noise, versus 51.8% for Co-teaching. It is the strongest test because our method changes only the selection rule inside SELFIE's own loop. We will run both with the same architecture, schedule, refurbishment logic and seeds. SELFIE's $q$ and $\epsilon$ get the same tuning budget as our $p_c$ grid. Beating it means lower test error at equal or higher data utilization, with lower sensitivity across settings.
The strongest absolute numbers in the file come from Robust LR. It fits a mixture model to per-sample losses at a single epoch and co-trains two networks. It reports 92.8% accuracy on CIFAR-10 with 90% symmetric noise and 81.84% top-1 on Mini-WebVision, against 77.32% for DivideMix. We will swap our selector in for its loss-mixture clean probability within its two-network pipeline. Matching or exceeding its accuracy while adding memorization reversal would count as beating it.
For the semi-supervised check, the baseline is TC-SSL. It reports 9.14% error on CIFAR-10 with 500 labels and 4.82% on STL-10. We replace its time-consistency score with ours inside its curriculum.
Two ablations isolate the key ingredient. In the first, we keep the change-point machinery but use a flat prior. By the taxonomy result this should collapse toward Shannon-surprise behavior. In the second, we replace $S_{BF}$ with an unweighted flip counter, using the same run-length bookkeeping. If either ablation matches the full method, confidence-weighted belief revision is not doing the work.
Why not just…?
Why not just count class flips with a moving average? This is the real threat. CroSel and MarginMatch show that simple temporal summaries already beat instantaneous confidence, by 3.25% error on CIFAR-100 at 25 labels per class for MarginMatch. Our flip-counter ablation is exactly this alternative with identical bookkeeping. If it ties, the honest conclusion is that the Bayesian layer contributes only the fitted hazard rate and lower memory, and we will report it that way. The specific place we expect a difference is memorization detection. There a flip after a long stable run should count far more than a flip in an unsettled trajectory, and a counter treats both alike.
Why not just use small loss or a loss mixture at the current epoch? SELFIE reports that small-loss selection limits data use to roughly the clean fraction, while trajectory-based relabeling uses over 90% of the data. Robust LR's single-epoch mixture is strong but cannot see a sample's history. We test this directly by swapping selectors inside Robust LR's pipeline. Robust LR's strength at 90% noise is a warning that per-epoch losses may suffice when noise is symmetric. The asymmetric pair-noise and ANIMAL-10N experiments are where history should matter.
Why not just use instantaneous Bayesian uncertainty from a Bayesian last layer? BaM-SSL shows real gains, reporting 35.2% versus a collapsed 8.2% on CIFAR-100 with 100 labels. But its variance is computed within one epoch, so a memorized noisy example with low variance at the current step looks clean. We include BaM-SSL's snapshot filter in the semi-supervised comparison. We also measure whether its accepted examples include trajectories our observer flags as recently reset.
Proposed Experiments
The decisive diagnostic uses CIFAR-100 with 40% pair noise and CIFAR-10 with symmetric noise from 20% to 80%, where the true labels are known. Examples are stratified by difficulty using the epoch at which a clean-label network first learns them, in the spirit of FineCL. We then report the area under the ROC curve for separating clean-hard from noisy examples within each difficulty stratum, for our score, SELFIE entropy, TC-SSL consistency, flip counts and small loss. We also measure precision and lead time for detecting memorization events against the true epoch at which each noisy example begins predicting its given label.
End-task results follow on four benchmarks:
- CIFAR-100 with 40% pair noise, against SELFIE's 41.3% error;
- CIFAR-10 with 90% symmetric noise, against Robust LR's 92.8%;
- ANIMAL-10N, where no reported number appears on Lacuna for either SELFIE or Robust LR, so we run both ourselves;
- Mini-WebVision, against 81.84%.
Alongside accuracy we report data utilization, per-example memory compared with SELFIE's and CroSel's histories, and test-error spread across a sweep of each method's hyperparameters. The semi-supervised check covers CIFAR-10 with 500 labels and STL-10 against TC-SSL's 9.14% and 4.82%.
Two failure modes are pre-registered. First, at 80% noise and above, the early-learning assumption these methods share may fail. That would show up as $p_c$ fits that drift toward zero or one, and we will report it rather than tune around it. Second, if the flat-prior ablation matches the full model, the structured prior is not earning its place.
References
- Learning in Volatile Environments With the Bayes Factor Surprise
- A taxonomy of surprise definitions
- Surprise minimization as a learning strategy in neural networks
- SELFIE: Refurbishing Unclean Samples for Robust Deep Learning
- CroSel: Cross Selection of Confident Pseudo Labels for Partial-Label Learning
- MarginMatch: Improving Semi-Supervised Learning with Pseudo-Margins
- Beyond Myopia: Learning from Positive and Unlabeled Data through Holistic Predictive Trends
- ITBoost: Information-Theoretic Trust for Robust Boosting
- Time-Consistent Self-Supervision for Semi-Supervised Learning
- Mitigating Confirmation Bias in Semi-supervised Learning via Efficient Bayesian Model Averaging
- A Bayesian Approach to Data Point Selection
- Two Wrongs Don't Make a Right: Combating Confirmation Bias in Learning with Label Noise
- Fine-grained Contrastive Learning for Relation Extraction