Your labels are lying. Your model can prove it.
Cleanlab automatically detects mislabeled examples, outliers, and duplicates in any dataset by analyzing predictions from your existing ML models.

What it does
Cleanlab diagnoses data quality problems in machine learning datasets by using your existing model’s predictions and embeddings. It flags label errors, outliers, duplicates, and other issues across text, image, audio, and tabular data, then helps train models that cope with noisy labels. The library also scores consensus among multiple annotators and suggests which data points to re-label next.
The interesting bit
The core trick is “confident learning”: the library estimates label noise without requiring a perfect model, and the README claims provable guarantees for doing so even when your classifier is mediocre. Rather than swapping architectures, you iterate on the dataset itself—sometimes gaining performance without changing a line of modeling code.
Key highlights
- Framework-agnostic across PyTorch, TensorFlow, HuggingFace, OpenAI, XGBoost, scikit-learn, and others
- Covers tasks beyond vanilla classification: multi-label, token classification, regression, object detection, image segmentation, and out-of-distribution detection
Datalabinterface automatically detects and reports dataset issues across text, image, audio, and tabular modalities- Backed by peer-reviewed research (JAIR, ICML, NeurIPS, ICLR) with published confident-learning theory
- Supports multi-annotator consensus scoring and active-learning recommendations
Verdict
Data scientists sitting on messy real-world datasets should look here before tuning hyperparameters. If your data is already pristine and manually verified, you will not find much use for it.
Frequently asked
- What is cleanlab/cleanlab?
- Cleanlab automatically detects mislabeled examples, outliers, and duplicates in any dataset by analyzing predictions from your existing ML models.
- Is cleanlab open source?
- Yes — cleanlab/cleanlab is open source, released under the Apache-2.0 license.
- What language is cleanlab written in?
- cleanlab/cleanlab is primarily written in Python.
- How popular is cleanlab?
- cleanlab/cleanlab has 11.6k stars on GitHub.
- Where can I find cleanlab?
- cleanlab/cleanlab is on GitHub at https://github.com/cleanlab/cleanlab.