Interactive Label Cleaning with Example-based Explanations

Stefano Teso, Andrea Bontempelli, Fausto Giunchiglia, Andrea Passerini

Machine learning models are only as good as their training data. In real-world scenarios, datasets are frequently "noisy," containing incorrect labels due to human error, memory bias, or ambiguous instructions. While existing "skeptical learning" approaches attempt to mitigate this by flagging suspicious incoming examples for human review, they suffer from a critical blind spot: they ignore the past. If a mislabeled example sneaks into the training set early on, it remains there permanently, poisoning the model and causing it to trust future noisy examples.

To address this downward spiral of declining model quality, researchers have introduced CINCER (Contrastive and InflueNt CounterExample stRategy), a novel interactive framework that cleans both new and past data by identifying pairs of mutually incompatible examples.

The CINCER Approach: Cleaning the Past to Save the Future

The core insight behind CINCER is that you cannot effectively clean new data if your reference point—the existing training set—is flawed. Instead of merely asking a human to relabel a suspicious new example, CINCER identifies a counter-example from the existing training data that is "maximally incompatible" with the new one.

Showing a counter-example acts as a debugging tool and an explanation. It tells the human why the model is skeptical. If the counter-example itself is mislabeled, the human catches a bug in the training set that would have otherwise been missed, preventing noise accumulation.

Comparison of counter-examples retrieved by CINCER versus baseline methods.

How CINCER Works

The CINCER workflow operates in three primary steps:

  1. Detection: When a new example arrives, the model calculates the "margin" (the difference between its own prediction and the provided label). If this margin is high, the example is flagged as suspicious.
  2. Selection: CINCER searches the training set for a counter-example that satisfies three specific criteria:
  3. Contrastive: Removing it would most increase the model's confidence in the suspicious label.
  4. Influential: Correcting it (if it is wrong) would provide the most information to the model.
  5. Pertinent: It shares the same predicted label as the suspicious example, making it easier for a human annotator to compare them.
  6. Explanation & Cleaning: The system presents both the new example and the counter-example to a human supervisor. The human can then fix the label for either or both, resolving the inconsistency.

The "Top Fisher" Approximation

To make this process computationally feasible for real-time interaction, the system must quickly identify influential examples. Standard influence functions often fail in deep learning because the Hessian matrix is frequently non-positive definite and unstable. CINCER instead leverages an efficient approximation of influence functions based on the Fisher Information Matrix (FIM). By restricting the FIM to the network's top layer (the "Top Fisher" approximation), the system achieves a robust, positive semi-definite alternative that ranks influential examples highly effectively without requiring expensive model retraining for every search.

Experimental Results

The authors evaluated CINCER across five diverse classification tasks (Adult, Breast Cancer, 20 Newsgroups, MNIST, and Fashion-MNIST) injected with 20% synthetic label noise. The results demonstrated significant improvements over traditional methods:

  • Superior Cleaning: CINCER cleaned between 33% and 80% more mislabeled examples than standard skeptical learning across all tested datasets.
  • Better Performance: Models trained using CINCER consistently achieved higher F1 scores than baselines that only cleaned incoming data or simply dropped suspicious counter-examples.
  • High Precision: The "Top Fisher" strategy was highly accurate at identifying truly mislabeled counter-examples, outperforming Nearest Neighbor (1-NN) searches and standard Influence Function estimators.
  • Interactive Efficiency: Thanks to the Top Fisher approximation, the system remains responsive enough for real-time human-in-the-loop interactive use.

Limitations and Future Directions

Like all interactive systems, CINCER faces the risk of user fatigue if the annotator is queried too frequently. The authors suggest mitigating this by carefully tuning the suspicion threshold. Additionally, a malicious annotator could potentially exploit CINCER to poison a model more effectively due to the fine-grained control over influential examples.

Future work may extend CINCER to "multi-round" cleaning—fixing groups of related mislabeled examples simultaneously—and integrating saliency maps to provide granular, feature-level explanations of exactly why an example is causing model suspicion.

Summary updated

BibTeX
@inproceedings{teso2021interactive,
  author = {Stefano Teso and Andrea Bontempelli and Fausto Giunchiglia and Andrea Passerini},
  title = {{Interactive Label Cleaning with Example-based Explanations}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=T6m9bNI7C__},
}
Figure