Auto-Annotation | Clarifai Docs

Learn how to automatically label inputs with ease

Auto-annotation, also known as automatic annotation or automated labeling, refers to the use of machine learning techniques to automatically generate annotations or labels for data.

Clarifai’s innovative auto-annotation feature comes with several ground-breaking capabilities, including:

Supported Label Types

Auto-annotation is a versatile feature designed to streamline data labeling processes by supporting various data types, including classification, bounding boxes, and polygons for images, as well as text. This capability is compatible with all models and workflows, including foundation models and large language models (LLMs).

Here is a video that showcases how to perform auto-annotation:

Auto Annotate Your Entire Data with a Single Click: Auto Annotation Explained!

Let’s demonstrate how you can set up auto-annotation when creating labeling tasks.

Prerequisites

Step 1: Start the Labeling Task

Select Labeling Tasks from the collapsible left sidebar, then click the New Labeling Task button located in the upper-right corner of the Labeling Tasks page.

Step 2: Select Dataset

You'll be redirected to the New Labeling Task page, where you can provide the details for creating a new task.

Start by selecting the dataset containing the inputs you want to label automatically. To do so, click the Select a dataset search box and choose the dataset you want to use.

If you don't already have a dataset, click the Create new Dataset with all inputs button. Then, provide the name for the new dataset in the drop-down that appears. All the inputs in your app will be added to this new dataset.

Step 3: Enable Auto-Annotation

Select the Yes button to enable auto-annotation.

Step 4: Select a Workflow

Select a model or workflow you want to use for the auto-annotation task. You can select your own models or workflows, or choose from those publicly available in the Community.

For this example, let’s select the General-Detection workflow that detects a variety of common objects in images by drawing bounding boxes around them.

Next, select the concepts you want to be automatically assigned to your inputs. Note that the concepts you choose must be those already included in the workflow or model. For this example, let’s select these concepts: pants, shirt, shoe, short, and skirt.

Step 5: Set Decision Threshold

Set the decision threshold to specify the limit at which predictions will be automatically approved or flagged for human review. You can configure the threshold in two ways:

After setting the individual values, click the Save Changes button.

Using the Slider

The slider allows you to set the threshold either by moving it or by typing the value manually in the provided field.

In this case, the predictions below the lower limit; that is, below 0.50, will be discarded, as they do not meet the set threshold.

Step 6: Set Reviewers

Adding human review adds a critical layer of verification and validation, ensuring that the annotations are both accurate and reliable. The annotations that do not meet the set decision threshold will be passed automatically for human review.

So, you can assign yourself as the reviewer or specify if there will be any other app collaborator(s) working on the reviewing task.

If you click the New collaborator button, a pop-up will appear, allowing you to add new collaborators to the app as well as to the reviewing task.

Review Partitioning

Distributing inputs across multiple reviewers allows you to automatically assign labeled assets to multiple reviewers. This approach improves the speed of the review process and reduces the risk of a single point of dependence. The labeled inputs will be evenly partitioned among all reviewers without duplication of the reviewing work.

Step 7: Set Task Name

Specify the name of the task to facilitate easy identification.

Step 8: Configure Advanced Settings

You can optionally expand the Advanced Settings section to configure additional options for the auto-annotation task.

Within the settings, you can assign one of the following priority levels:

Step 9: Create Labeling Task

Click the Create Labeling Task button to create the auto-annotation task. Or, click the Cancel button to cancel the process. Once the task is created, the dataset will be processed through the workflow, and annotations will be generated automatically.

You’ll be redirected to the Labeling Tasks page, where you can see the newly created task listed in a table. You can monitor the progress of the auto-annotation in the “Labeling Status” column, where the status percentage will be displayed. Once the process is complete, the status will change to "Complete."

You can also view other details of the auto-annotation exercise, including:

If you click the ellipsis icon at the end of the row for your selected task, a drop-down menu will appear. This menu allows you to perform various task management activities, such as:

If you check the Input-Viewer page, you’ll notice that the bounding box annotations that met the set threshold were automatically created, without any manual intervention.

Step 10: Review the Annotations

As mentioned earlier, manual review ensures that the annotations created automatically meet the required quality standards and are accurate.

To review and edit the annotations that did not meet the set decision threshold, click the Review button on the Labeling Tasks page.

You’ll be redirected to the tasks reviewing page, where you can start reviewing the annotations.

Step 11: Manage the Annotations

You can carry out various management actions on the created annotations on the Input-Manager page.

To do so, select the Inputs option from the collapsible left sidebar, then click the Object Mode button at the upper-right section of the page. The Object Mode is a gallery that shows the objects that have been labeled on your inputs.

If you hover over an input and select it by clicking the small empty box in its upper-left corner, several options will appear, allowing you to perform various management tasks.

Additionally, clicking the ellipsis next to the Labels section will reveal various options for filtering the display of your inputs on the page.

You can filter the display by: