The Importance of Data Accuracy and How Label Error Detection Automates QA

Minimize error and improve your data quality with Label Error Detection
Post Header Image
July 6, 2024
Published on
July 6, 2024
July 12, 2024
Post Detail Image

The Importance of Data Quality

When developing machine learning models, data preparation takes up about 80% of the time, according to Andrew Ng. This step is crucial because the quality of your data directly affects your model's accuracy. One key aspect of data quality is the accuracy of the labels in your dataset.

Label errors can have a big impact. Studies have shown that error rates in real-world datasets can be as high as 50%, and even a 20% error rate can make a dataset unusable for training models. Fixing bad data is expensive, so it's important to use the best tools and methods to ensure your data is accurate from the start. In this article, we show how label errors affect model performance using five different datasets. Our results indicate that an error percentage higher than 20% can drastically decrease a model's accuracy. To address this issue, we employ label error detection techniques to automatically enhance the quality of our datasets.

How Label Errors Affect Model Performance

This post will show how errors in datasets can impact machine learning models in NLP tasks for text classification evaluated using a test set. We generated datasets with different error ratios, then randomly selected samples and changed their labels to incorrect ones to test the model's robustness against label errors.

Our Study

This exploratory study was conducted using five datasets:

  1. AG News (4 classes)
  2. 20 Newsgroups (20 classes)
  3. IMDb (2 classes)
  4. Amazon Polarity (2 classes)
  5. Yelp Polarity (2 classes)

We created two versions of each dataset: one with 1,000 samples and another with 10,000 samples. We then introduced errors into the datasets by randomly changing labels to incorrect ones, varying the error rates from 10% to 100% at intervals of 10%.

Case Study 1: Small Datasets (1,000 samples)

Case Study 2: Larger Datasets (10,000 samples)

Key Findings

Here are the findings based on the results of our experiments in Case Study 1 and Case Study 2.

  1. Error Rates Below 20%: The impact on model performance is manageable, especially with larger datasets, but still noticeable.
  2. Error Rates Above 20%: Significant decline in model accuracy, making the dataset less reliable for training.
  3. Critical Applications: In sensitive areas like healthcare, even a small drop in accuracy (e.g., 1%) can be critical, affecting decisions and outcomes. Therefore, it is crucial to maintain the quality of the dataset.

Enhance your dataset quality with label error detection.

We conducted experiments to see how label error detection could reduce the time required to improve dataset quality. We used four datasets, each containing a 10% error rate.

Based on our empirical study, relying on label error detection (LED) and auto-correction without reviewer intervention can improve dataset quality by up to 8.7%, as this feature corrects label errors up to 87% in the DBpedia_14 dataset. However, it is important not to rely solely on auto-correction, as human review is always preferable. Label error detection enhances the human labeling experience by providing reviewers with small subsets of data with a high probability of errors, thus reducing the time spent on the review process by up to 95%.

How to Maintain High Data Quality

To ensure high-quality datasets, we offer several features:

  1. Label Error Detection: Use this feature to automatically identify and correct label errors.
  2. Workforce Management: Our tool helps manage labeling teams, provides detailed reports, and ensures quality through a robust review process.
  3. Analytics Page: Analyze your data effectively to identify and address any issues.


High-quality data is essential for accurate and reliable machine learning models. By using advanced tools and methods to prevent and correct label errors, you can significantly improve your data quality and model performance.

Get Started with Datasaur

Discover how our intelligent labeling features can help you achieve high-quality data for your AI projects. Contact us at to book a demo and see how our solutions can streamline your data processes and elevate your projects.

No items found.