Accelerate labeling productivity by using AML Data Labeling
Published Jun 01 2021 10:20 AM 4,011 Views
Microsoft

Labeled data is critical to training supervised learning models. Higher volumes and more accurate labeled data contribute to more accurate models but labeling data has traditionally been time-intensive and error-prone.

With Data Labeling in Azure Machine Learning, you now have a central place to create, manage, and monitor labeling projects. You can now manage data labeling projects seamlessly from within the studio web experience to generate and manage tasks reducing the back-and-forth of labelling data offline. With AML Data Labeling, you can load and label data and be ready to train in minutes.

To increase productivity and decrease costs for a given task, the Assisted Machine Learning labeling feature allows you to leverage automatic machine learning models to accelerate labeling by clustering like objectives and automatically prelabeling data when the underlying model has reached high confidence. This feature is available for image classification (multi-class or multi-label) and Object detection tasks, in Enterprise edition workspaces.

 

Vijai_Kannan_0-1622223574216.png

 

Data Labeling in Azure Machine learning now includes below capabilities:

 

Image Classification Multi-Class

This project type helps you to categorize an image when you want to apply only a single class from a set of classes to an image. 

 

Vijai_Kannan_1-1622221112476.png

 

Image Classification Multi-label

This project type allows you to categorize an image when you want to apply one or more labels from a set of classes to an image. For instance, a photo of a dog might be labeled with both dog and land. 

 

Vijai_Kannan_2-1622221112471.png

 

Object Identification (Bounding Box)

Use this project type when you want to assign a class and a bounding box to each object within an image. If your project is of type "Object Identification (Bounding Boxes)," you'll specify one or more bounding boxes in the image and apply a tag to each box. Images can have multiple bounding boxes, each with a single tag.

 

Vijai_Kannan_0-1622223731607.png

 

Instance Segmentation (Polygon)

Use this project type when you want to assign a class and a polygon to each object within an image. If your project is of type "Instance Segmentation (Polygons)," you'll specify one or more polygons in the image and apply a tag to each object . Images can have multiple polygons, each with a single tag.

 

Vijai_Kannan_0-1622224137986.png

 

Medical Image Labeling

AzureML Data Labeling Services supports DICOM images; industry-standard formats for Healthcare AI Medical Image Labeling. The modality supported is X-ray film images. This would help medical staff like doctors and radiologists to annotate x-ray images in training machine learning models. The project types supported are Image Classification, Object detection (bounding boxes) and Instance Segmentation (Polygons).

 

Vijai_Kannan_0-1625794079554.png

 

 ! IMPORTANT
The capability to label DICOM or similar image types is not intended or made available for use as a medical device, clinical support, diagnostic tool, or other technology intended to be used in the diagnosis, cure, mitigation, treatment, or prevention of disease or other conditions, and no license or right is granted by Microsoft to use this capability for such purposes. This capability is not designed or intended to be implemented or deployed as a substitute for professional medical advice or healthcare opinion, diagnosis, treatment, or the clinical judgment of a healthcare professional, and should not be used as such. The customer is solely responsible for any use of Data Labeling for DICOM or similar image types.

 

Assisted machine learning

 

The machine assisted labeling lets you trigger automatic machine learning models to accelerate the labeling task. At the beginning of your labeling project, the images are shuffled into a random order to reduce potential bias. However, any biases that are present in the dataset will be reflected in the trained model. For example, if 80% of your images are of a single class, then approximately 80% of the data used to train the model will be of that class. This training does not include active learning.

 

Enabling ML assisted labeling consists of two phases:

  • Clustering
  • Prelabeling

The exact number of labeled images necessary to start assisted labeling is not a fixed number. This can vary significantly from one labeling project to another. ML Assisted Labeling uses a technique called Transfer Learning, and the pre-labeling will be triggered when sufficient confidence is achieved which varies based on the dataset.

Since the final labels still rely on input from the labeler, this technology is sometimes called human in the loop labeling.

 

Clustering

After a certain number of labels are submitted manually, the machine learning model for image classification starts to group together similar images. These similar images are presented to the labelers on the same screen to speed up manual tagging. Clustering is especially useful when the labeler is viewing a grid of 4, 6, or 9 images.

The clustering phase does not appear for object detection models.

 

Prelabeling

After enough image labels are submitted, a classification model is used to predict image tags. Or an object detection model is used to predict bounding boxes. The labeler now sees pages that contain predicted labels already present on each image. For object detection, predicted boxes are also shown. Accuracy will vary depending images, labels, the domain, and other factors. With Pre-Labeling, you can review the predictions before committing the labels.  

Once a machine learning model has been trained on your manually labeled data, the model is evaluated on a test set of manually labeled images to determine its accuracy at a variety of different confidence thresholds. This evaluation process is used to determine a confidence threshold above which the model is accurate enough to show pre-labels. The model is then evaluated against unlabeled data. Images with predictions more confident than this threshold are used for pre-labeling.

 

Resources

Learn more about the Azure Machine Learning service.

Create labeling projects 

Label Images 

Get started with a free trial of the Azure Machine Learning service.

 

2 Comments
Co-Authors
Version history
Last update:
‎Jul 20 2021 04:31 PM
Updated by: