# US 2025/0148765 A1 · Annotating images for training computer vision models

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0148765 A1
- Document ID: US20250148765A1
- Status: Published application
- Kind: A1
- Application number: 18/427,493
- Filed: 2024-01-30
- Published: 2025-05-08
- Earliest claimed: 2023-11-06
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Lu YUAN; Bin XIAO; Haiping WU; Weijian XU; Xiyang DAI; Houdong HU; Yumao LU; Nanshan ZENG; Ce Christopher LIU
- Web page: https://patentgrep.com/patent/US20250148765A1

## CPC

- G06V 10/774: Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting
- G06F 40/284: Lexical analysis, e.g. tokenisation or collocates
- G06V 10/82: using neural networks
- G06V 20/41: {Higher-level, semantic clustering, classification or understanding of video scenes, e.g. detection, labelling or Markovian modelling of sport events or news items (segmenting video sequences G06V20/49)}
- G06V 20/70: Labelling scene content, e.g. deriving syntactic or semantic representations
- G06V 2201/07: Target detection
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for annotating images to create a corpus for training a multi-task computer vision machine learning model is presented. The method comprises receiving, at one or more annotation specialist models, a plurality of images to be annotated. Via operation of the one or more annotation specialist models, pre-filtered annotations are generated for the plurality of images. Via operation of a data filtering and enhancement module, the pre-filtered annotations are filtered in accordance with predefined noise criteria so as to output candidate annotations for the plurality of images. The method further comprises, for each of one or more candidate annotations, selectively (1) storing the candidate annotation into the corpus as a final annotation for its associated image, or (2) adding the candidate annotation to its associated image using the one or more annotation specialist models and the data filtering and enhancement module for subsequent iterative annotation and filtering.

## Claims

### Claim 1

A method for annotating images to create a corpus for training a multi-task computer vision machine learning model, comprising:
receiving, at one or more annotation specialist models, a plurality of images to be annotated;
via operation of the one or more annotation specialist models, generating pre-filtered annotations for the plurality of images;
via operation of a data filtering and enhancement module, filtering the pre-filtered annotations in accordance with predefined noise criteria so as to output candidate annotations for the plurality of images; and
for each of one or more candidate annotations, selectively (1) storing the candidate annotation into the corpus as a final annotation for its associated image, or (2) adding the candidate annotation to its associated image using the one or more annotation specialist models and the data filtering and enhancement module for subsequent iterative annotation and filtering.

### Claim 2 (depends on 1)

The method of claim 1, where the one or more annotation specialist models are trained models including one or more of a (1) trained caption model; (2) trained grounding model; (3) trained segmentation model; (4) trained object proposal and detection models; and (5) trained optical character recognition model.

### Claim 3 (depends on 1)

The method of claim 1, where the filtering of the pre-filtered annotations comprises filtering protocols on text data and region data.

### Claim 4 (depends on 3)

The method of claim 3, wherein the filtering protocol on the text data includes filtering out texts containing excess objects.

### Claim 5 (depends on 3)

The method of claim 3, wherein the filtering protocol on the text data includes retaining texts with a minimum action and object complexity.

### Claim 6 (depends on 3)

The method of claim 3, wherein the filtering protocol on the region data includes removing noisy boxes under a confidence score threshold.

### Claim 7 (depends on 3)

The method of claim 3, wherein the filtering protocol on the region data includes reducing redundant or overlapping bounding boxes.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
employing the trained multi-task computer vision machine learning model to receive one or more images and to iteratively annotate each of the received images.

### Claim 9

A system for training a multi-task computer vision machine-learning model, comprising:
one or more annotation specialist models configured to:
receive a plurality of images to be annotated; and
generate pre-filtered annotations for the plurality of images;
a data filtering and enhancement module configured to:
filter the pre-filtered annotations in accordance with predefined noise criteria so as to output candidate annotations for the plurality of images;
an iterative data refinement model configured to:
iteratively train the multi-task computer vision machine-learning model on the plurality of images annotated by the candidate annotations; and
a final annotation module configured to store the candidate annotation into the corpus as a final annotation for its associated image.

### Claim 10 (depends on 9)

The system of claim 9, wherein the one or more annotation specialist models are trained models including one or more of a (1) trained caption model; (2) trained grounding model; (3) trained segmentation model; (4) trained object proposal and detection models; and (5) trained optical character recognition model.

### Claim 11 (depends on 9)

The system of claim 9, wherein the data filtering and enhancement model comprises one or more of a (1) text filter; (2) enhancement model, and (3) region filtering model.

### Claim 12 (depends on 9)

The system of claim 9, wherein the final annotations for each associated image include at least a brief caption, a detailed caption, and a more detailed caption.

### Claim 13 (depends on 12)

The system of claim 12, wherein the final annotations for each associated image are associated with one or more of a detected object and a region of the associated image.

### Claim 14 (depends on 13)

The system of claim 13, wherein the final annotations for each associated image include at least a (1) text annotation, (2) region-text pair annotation, and (3) text-phrase-region triplet annotation.

### Claim 15

A method for computer vision, comprising:
receiving a first image and a first multi-task prompt related to the first image;
encoding the first image;
extracting a first set of embeddings from the encoded first image;
processing the first set of embeddings and the first multi-task prompt using a sequence-to-sequence architecture operating with a single set of weights and a single loss function;
generating a first set of tokens from the processed first set of embeddings and the first multi-task prompt; and
outputting a response to the first multi-task prompt based on the first set of tokens.

### Claim 16 (depends on 15)

The method of claim 15, further comprising:
receiving a second image and a second multi-task prompt related to the second image;
encoding the second image;
extracting a second set of embeddings from the encoded second image;
processing the second set of embeddings and the second multi-task prompt using the sequence-to-sequence architecture operating with the single set of weights and the single loss function;
generating a second set of tokens from the processed second set of embeddings and the second multi-task prompt; and
outputting a response to the second multi-task prompt based on the second set of tokens.

### Claim 17 (depends on 16)

The method of claim 16, further comprising:
receiving a third multi-task prompt related to the first image;
processing the first set of embeddings and the third multi-task prompt using the sequence-to-sequence architecture operating with the single set of weights and the single loss function;
generating a third set of tokens from the processed first set of embeddings and the third multi-task prompt; and
outputting a response to the third multi-task prompt based on the third set of tokens.

### Claim 18 (depends on 15)

The method of claim 15, wherein the sequence-to-sequence architecture comprises a transformer encoder and a transformer decoder.

### Claim 19 (depends on 15)

The method of claim 15, wherein the first set of embeddings includes one or more of visual embeddings, text embeddings, and location embeddings.

### Claim 20 (depends on 15)

The method of claim 15, wherein the first set of tokens includes one or more of text tokens and location tokens.
