> ## Documentation Index
> Fetch the complete documentation index at: https://notes.kodekloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Data Labeling with SageMaker Ground Truth

> Overview of Amazon SageMaker Ground Truth for scalable data labeling using auto-labeling, active learning, human review, workforce options, and AWS integrations to produce high quality training datasets.

High-quality labeled data is the foundation of successful supervised machine learning. Without reliable labels, models lack ground truth to learn from, which leads to poor, biased, or unpredictable predictions. Labeling converts raw inputs—pixels, words, or audio—into structured examples a model can learn from, such as:

* marking objects in images,
* tagging sentiment or entities in text, and
* transcribing and timestamping audio.

A well-labeled dataset enables models to generalize accurately to new inputs.

<Frame>
  <img src="https://mintcdn.com/kodekloud-c4ac6d9a/Najj5NCVWO7TjiPD/images/AWS-Certified-Machine-Learning-Engineer-Associate/Data-Preparation-for-Machine-Learning-ML/Data-Labeling-with-SageMaker-Ground-Truth/data-labeling-importance-machine-learning.jpg?fit=max&auto=format&n=Najj5NCVWO7TjiPD&q=85&s=46e5c6074c681ebd0d74fa2441de551e" alt="The image illustrates the importance of data labeling, showing a machine learning model being trained on raw data leading to poor predictions due to a lack of guidance." width="1920" height="1080" data-path="images/AWS-Certified-Machine-Learning-Engineer-Associate/Data-Preparation-for-Machine-Learning-ML/Data-Labeling-with-SageMaker-Ground-Truth/data-labeling-importance-machine-learning.jpg" />
</Frame>

Labeling provides the structure and context raw data lacks. When examples are consistently and accurately annotated, models can learn meaningful patterns and produce reliable predictions.

<Frame>
  <img src="https://mintcdn.com/kodekloud-c4ac6d9a/Najj5NCVWO7TjiPD/images/AWS-Certified-Machine-Learning-Engineer-Associate/Data-Preparation-for-Machine-Learning-ML/Data-Labeling-with-SageMaker-Ground-Truth/data-labeling-machine-learning-process-flow.jpg?fit=max&auto=format&n=Najj5NCVWO7TjiPD&q=85&s=112a744d38565ffae19467ef9d5bf34d" alt="The image illustrates the importance of data labeling in machine learning, showing a process flow from raw data to labeled data, through ML model training, resulting in accurate predictions." width="1920" height="1080" data-path="images/AWS-Certified-Machine-Learning-Engineer-Associate/Data-Preparation-for-Machine-Learning-ML/Data-Labeling-with-SageMaker-Ground-Truth/data-labeling-machine-learning-process-flow.jpg" />
</Frame>

## What is SageMaker Ground Truth?

Amazon SageMaker Ground Truth is a managed data-labeling service that accelerates dataset creation by combining machine learning–assisted auto-labeling with human review workflows. Ground Truth stores both inputs and labeled outputs in Amazon S3 and provides mechanisms to reduce cost and improve labeling quality through automation and built-in quality controls.

Typical Ground Truth flow:

1. Raw data is ingested from Amazon S3.
2. Auto-labeling (model-in-the-loop) labels high-confidence items.
3. Low-confidence or ambiguous items are routed to human workers for review.
4. Consolidated, quality-checked labels are written back to S3 for model training.

Ground Truth’s active learning approach helps reduce labeling costs by prioritizing human effort where it is most needed.

<Frame>
  <img src="https://mintcdn.com/kodekloud-c4ac6d9a/Najj5NCVWO7TjiPD/images/AWS-Certified-Machine-Learning-Engineer-Associate/Data-Preparation-for-Machine-Learning-ML/Data-Labeling-with-SageMaker-Ground-Truth/amazon-sagemaker-ground-truth-workflow.jpg?fit=max&auto=format&n=Najj5NCVWO7TjiPD&q=85&s=1c8d10d66ab43431868294e79efb7fe4" alt="The image illustrates the workflow of Amazon SageMaker Ground Truth, showing the process from input data to labeled datasets, using human labelers and auto-labeling ML, leading to model training in SageMaker." width="1920" height="1080" data-path="images/AWS-Certified-Machine-Learning-Engineer-Associate/Data-Preparation-for-Machine-Learning-ML/Data-Labeling-with-SageMaker-Ground-Truth/amazon-sagemaker-ground-truth-workflow.jpg" />
</Frame>

## Human workforces: options and when to use them

Choose the appropriate workforce based on scale, sensitivity, and label quality requirements. Ground Truth supports three workforce types:

| Workforce Type                                          |                                      Best For | Notes / Considerations                                                                                                                 |
| ------------------------------------------------------- | --------------------------------------------: | -------------------------------------------------------------------------------------------------------------------------------------- |
| [Amazon Mechanical Turk](https://aws.amazon.com/mturk/) |         High-scale, lower-cost labeling tasks | Large crowdsource pool; suitable for non-sensitive data and simple labeling tasks.                                                     |
| Vendor workforces                                       | Managed vendor labeling for scale and quality | Third-party vendors provide managed teams and SLAs—useful when you need consistent labeling quality without building an internal team. |
| Private teams                                           |                 Sensitive or proprietary data | Use internal employees for highest control over data privacy and domain expertise.                                                     |

<Frame>
  <img src="https://mintcdn.com/kodekloud-c4ac6d9a/Najj5NCVWO7TjiPD/images/AWS-Certified-Machine-Learning-Engineer-Associate/Data-Preparation-for-Machine-Learning-ML/Data-Labeling-with-SageMaker-Ground-Truth/workforces-amazon-sagemaker-diagram.jpg?fit=max&auto=format&n=Najj5NCVWO7TjiPD&q=85&s=b48085a546c0864c3d8c14d5c2a04f05" alt="The image illustrates different types of workforces—Amazon Mechanical Turk, Vendor Workforce, and Private Team—used in the Amazon SageMaker Ground Truth for human labeling." width="1920" height="1080" data-path="images/AWS-Certified-Machine-Learning-Engineer-Associate/Data-Preparation-for-Machine-Learning-ML/Data-Labeling-with-SageMaker-Ground-Truth/workforces-amazon-sagemaker-diagram.jpg" />
</Frame>

## Key features and capabilities

Ground Truth provides a suite of features to scale labeling and maintain high quality:

* Active learning and model-in-the-loop auto-labeling to reduce manual effort.
* Multiple workforce options to balance cost, scale, and data sensitivity.
* Secure integration with Amazon S3 for storage, access control, and auditability.
* Scalability to handle datasets with millions of records.
* Built-in quality controls and metrics (annotation consolidation, worker performance tracking, and consensus algorithms).

## Supported labeling tasks

Ground Truth supports common labeling modalities across image, text, and video. Use this table to quickly identify task types and examples.

| Modality | Task examples                                                                         |
| -------- | ------------------------------------------------------------------------------------- |
| Images   | classification, object detection (bounding boxes), semantic and instance segmentation |
| Text     | classification, sentiment analysis, named-entity recognition (NER)                    |
| Video    | frame-level labeling, activity detection, object tracking, temporal segmentation      |

The end-to-end workflow ingests raw data, applies automated labeling where possible, routes uncertain items to humans, performs quality consolidation, and exports the final labels back to Amazon S3 for downstream training.

<Frame>
  <img src="https://mintcdn.com/kodekloud-c4ac6d9a/Najj5NCVWO7TjiPD/images/AWS-Certified-Machine-Learning-Engineer-Associate/Data-Preparation-for-Machine-Learning-ML/Data-Labeling-with-SageMaker-Ground-Truth/ground-truth-workflow-amazon-sagemaker.jpg?fit=max&auto=format&n=Najj5NCVWO7TjiPD&q=85&s=bdfbcc2921d191d89b2eeeb8cb45193f" alt="The image is a workflow diagram titled &#x22;Ground Truth Workflow Overview&#x22; depicting the process of input data being processed by Amazon SageMaker Ground Truth, with low-confidence outputs leading to human reviews, and resulting translations stored in Amazon S3." width="1920" height="1080" data-path="images/AWS-Certified-Machine-Learning-Engineer-Associate/Data-Preparation-for-Machine-Learning-ML/Data-Labeling-with-SageMaker-Ground-Truth/ground-truth-workflow-amazon-sagemaker.jpg" />
</Frame>

## Active learning and cost reduction

Ground Truth’s active learning loop is a practical way to reduce manual labeling overhead:

* The system trains or uses an existing model (auto-labeler) to label examples it is confident about.
* Low-confidence or ambiguous examples are routed to human labelers.
* Human-reviewed labels are fed back to improve the auto-labeler, increasing automation and lowering costs over time.

<Callout icon="lightbulb" color="#1CB2FE">
  Ground Truth’s active learning and auto-labeling significantly reduce labeling costs and accelerate dataset creation by prioritizing human effort for the most uncertain examples.
</Callout>

## Integrations and downstream use

Ground Truth integrates with core AWS ML services to complete the labeling-to-training pipeline:

* Amazon SageMaker — train and deploy models using the labeled datasets.
* Amazon Rekognition — leverage prebuilt vision capabilities or seed auto-labelers.
* Amazon Comprehend — use NLP services for preprocessing or transfer learning for text tasks.
* Amazon Translate — assist multilingual labeling workflows.
* Amazon S3 — secure storage for raw inputs, annotations, and outputs.

## Summary

SageMaker Ground Truth streamlines the labeling pipeline by combining automation, active learning, and human-in-the-loop reviews. It supports multiple workforce options, a broad set of labeling tasks, and tight AWS integrations—helping teams produce accurate, scalable, and cost-effective labeled datasets for training robust ML models.

Further reading and references:

* [Amazon SageMaker Ground Truth](https://aws.amazon.com/sagemaker/ground-truth/)
* [Amazon S3](https://aws.amazon.com/s3/)
* [Amazon Mechanical Turk](https://aws.amazon.com/mturk/)
* [Amazon Rekognition](https://aws.amazon.com/rekognition/)
* [Amazon Comprehend](https://aws.amazon.com/comprehend/)
* [Amazon Translate](https://aws.amazon.com/translate/)

<CardGroup>
  <Card title="Watch Video" icon="video" cta="Learn more" href="https://learn.kodekloud.com/user/courses/aws-machine-learning-associates/module/f6c821d2-a5b8-4946-9a75-624ec2ba0e75/lesson/b02b5604-f189-4d75-acd3-4aca7dc0e582" />
</CardGroup>
