# US 2025/0384668 A1 · Computer system, method, and device for active learning

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

- Number: US 2025/0384668 A1
- Document ID: US20250384668A1
- Status: Published application
- Kind: A1
- Application number: 18/879,410
- Filed: 2023-06-30
- Published: 2025-12-18
- Earliest claimed: 2022-06-30
- Assignees: Musashi AI North America Inc.
- Applicants: Musashi AI North America Inc.
- Inventors: Martin Bufi; Saeed Mahdizadeh Bakhshmand; Rostyslav-Mykola Tsenov; Mahesh Sudhakar; Jasmeen Kaur
- Web page: https://patentgrep.com/patent/US20250384668A1

## CPC

- G06V 10/774: Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting
- G06F 11/302: {where the computing system component is a software system}
- G06F 11/3409: {for performance assessment}
- G06F 16/53: Querying
- G06F 16/532: Query formulation, e.g. graphical querying
- G06F 16/55: Clustering; Classification
- G06F 18/217: {Validation; Performance evaluation; Active pattern learning techniques}
- G06N 3/0475: Generative networks
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/088: Non-supervised learning, e.g. competitive learning
- G06N 3/091: Active learning
- G06N 20/10: using kernel methods, e.g. support vector machines [SVM]
- G06T 11/00: Two-dimensional [2D] image generation
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/098: Distributed learning, e.g. federated learning
- G06N 5/045: Explanation of inference; Explainable artificial intelligence [XAI]; Interpretable artificial intelligence
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Systems, and methods, and devices for active learning are provided. The system includes a data storage device, dataset analysis tool, synthetic data generation module, anomaly module, image search engine module, explainable AI module, automated training platform, and optionally, a federated learning module. The system may be configured to operate on a general purpose or purpose-built computer, and may further include a processor, memory, and network interface. The system, through interaction of its constituent components, analyzes a provided dataset and generates synthetic data to augment data within the provided dataset. This provided data and generated data is used to train a machine learning model. The system may be operated iteratively to continuously improve the machine learning model trained by the system by applying explainable artificial intelligence techniques with little to no human intervention.

## Claims

### Claim 1

A computer-implemented method of performing active learning for training and deploying a machine learning model, comprising:
storing, in a data storage device, an image database comprising a first training dataset of training samples;
determining, using a dataset analysis tool executed by at least one processor in communication with the data storage device, a clustering or distribution of the first training dataset;
in response to the clustering or distribution determination, generating by a synthetic image generation module executed by the at least one processor a first set of one or more synthetic images using a subset of the training samples from the first training dataset as input and generating a second training dataset including the first set of one or more synthetic images;
training the machine learning model with the second training dataset to obtain the trained machine learning model;
assessing, using a model performance assessment tool executed by the at least one processor, a performance of the trained machine learning model, the assessing including identifying one or more images in the second training dataset negatively affecting model performance;
sending a request for one or more training samples to an image search engine executed by the at least one processor, wherein the requested training samples are defined using image data from the identified one or more images negatively affecting model performance;
running the image search engine to search the image database for the requested one or more training samples;
where the image search engine returns the requested one or more training samples:
generating a third training dataset including the requested one or more training samples;
training the machine learning model with the third training dataset to obtain the trained machine learning model;
where the image search engine does not return the requested one or more training samples:
generating, by the synthetic image generation module, a second set of one or more synthetic images using image data from the one or more images in the first training dataset that have contributed to unacceptable model performance as input and generating a fourth training dataset including the second set of one or more synthetic images; and
training the machine learning model with the fourth training dataset to obtain the trained machine learning model.

### Claim 2 (depends on 1)

The method of claim 1, wherein determining the clustering or distribution of the first training dataset includes calculating sample size and sparsity of datapoints within the first training dataset.

### Claim 3 (depends on 1)

The method of claim 1, wherein determining the clustering or distribution of the first training dataset includes performing an analysis operation to place the training samples into clusters, wherein the training samples within each cluster include similarities, and quantifying variation of the training samples within each cluster.

### Claim 4 (depends on 1)

The method of claim 1, wherein determining the clustering or distribution of the first training dataset includes the dataset analysis tool determining an ability to generalize over the training samples is insufficient.

### Claim 5 (depends on 1)

The method of claim 1, wherein the synthetic image generation module comprises a neural network and is configured to receive one or more training samples of a certain image class and generate and output one or more synthetic images of the same image class.

### Claim 6 (depends on 1)

The method of claim 1, wherein assessing the performance of the trained machine learning model includes determining that an accuracy of classification of the trained machine learning model does not meet a predetermined accuracy threshold.

### Claim 7 (depends on 1)

The method of claim 1, wherein the image database comprises a plurality of indexed images and the image search engine is configured to analyze an input image and the plurality of indexed images and return references to images in the plurality of indexed images which are similar to the input image.

### Claim 8 (depends on 7)

The method of claim 7, wherein the image search engine is configured to generate a feature embedded vector corresponding to the input image and search the plurality of indexed images using the feature embedded vector.

### Claim 9 (depends on 7)

The method of claim 7, wherein the model performance assessment tool is configured to detect a region or regions in the one or more images in the second training dataset negatively affecting model performance, and wherein the input image to the image search engine is a cropped image containing the detected region or regions.

### Claim 10 (depends on 1)

The method of claim 1, wherein the machine learning model is configured to perform at least one computer vision task including any one or more of object detection, object tracking, image classification, semantic segmentation, and instance segmentation.

### Claim 11 (depends on 1)

The method of claim 1, wherein assessing the performance of the trained machine learning model includes generating, by the model performance assessment tool, an output including any one or more of predictions, confidence levels, heat maps, and other information that describes how inputs affect internal layers and activation information of layers of the trained machine learning model.

### Claim 12 (depends on 1)

The method of claim 1, wherein assessing the performance of the trained machine learning model includes measuring, by the model performance assessment tool, model output accuracy of the trained machine learning model versus a known sample set, the measuring including measuring performance of the trained machine learning model versus known samples and comparing performance to a predetermined threshold of any one or more of precision, recall, and intersection over union.

### Claim 13 (depends on 1)

The method of claim 1, further comprising performing, using at least one federated learning module executed by the at least one processor, a federated learning process using the trained model and additional training data to further train the trained machine learning model to obtain a federated-trained machine learning model, and wherein the method further comprises assessing performance of the federated-trained machine learning model using the model performance assessment tool.

### Claim 14 (depends on 13)

The method of claim 13, wherein the additional training data is from at least two physical sites implementing computer vision-based visual inspection.

### Claim 15

A computer system for performing active learning for training and deploying a machine learning model, comprising:
a data storage device for storing an image database comprising a first training dataset of training samples;
at least one processor in communication with the data storage device, the at least one processor configured to:
determine, using a dataset analysis tool, a clustering or distribution of the first training dataset;
in response to the clustering or distribution determination, generate by a synthetic image generation module a first set of one or more synthetic images using a subset of the training samples from the first training dataset as input and generate a second training dataset including the first set of one or more synthetic images;
train, using an automated training module, the machine learning model with the second training dataset to obtain the trained machine learning model;
assess, using a model performance assessment tool, a performance of the trained machine learning model, the assessing including identifying one or more images in the second training dataset negatively affecting model performance;
send a request for one or more training samples to an image search engine, wherein the requested training samples are defined using image data from the identified one or more images negatively affecting model performance;
run the image search engine to search the image database for the requested one or more training samples;
where the image search engine returns the requested one or more training samples:
generate a third training dataset including the requested one or more training samples;
train the machine learning model with the third training dataset to obtain the trained machine learning model;
where the image search engine does not return the requested one or more training samples:
generate, by the synthetic image generation module, a second set of one or more synthetic images using image data from the one or more images in the first training dataset that have contributed to unacceptable model performance as input and generate a fourth training dataset including the second set of one or more synthetic images; and
train the machine learning model with the fourth training dataset to obtain the trained machine learning model.

### Claim 16 (depends on 15)

The system of claim 15, wherein determining the clustering or distribution of the first training dataset includes performing an analysis operation to place the training samples into clusters, wherein the training samples within each cluster include similarities, and quantifying variation of the training samples within each cluster.

### Claim 17 (depends on 15)

The system of claim 15, wherein the synthetic image generation module comprises a neural network and is configured to receive one or more training samples of a certain image class and generate and output one or more synthetic images of the same image class.

### Claim 18 (depends on 15)

The system of claim 15, wherein assessing the performance of the trained machine learning model includes determining that an accuracy of classification of the trained machine learning model does not meet a predetermined accuracy threshold.

### Claim 19 (depends on 15)

The system of claim 15, wherein the image database comprises a plurality of indexed images and the image search engine is configured to analyze an input image and the plurality of indexed images and return references to images in the plurality of indexed images which are similar to the input image.

### Claim 20

A non-transitory computer-readable medium storing computer-executable instructions which, when executed by at least one processor, cause the at least one processor to execute a method comprising:
storing, in a data storage device, an image database comprising a first training dataset of training samples;
determining, using a dataset analysis tool executed by at least one processor in communication with the data storage device, a clustering or distribution of the first training dataset;
in response to the clustering or distribution determination, generating by a synthetic image generation module executed by the at least one processor, a first set of one or more synthetic images using a subset of the training samples from the first training dataset as input and generating a second training dataset including the first set of one or more synthetic images;
training the machine learning model with the second training dataset to obtain the trained machine learning model;
assessing, using a model performance assessment tool executed by the at least one processor, a performance of the trained machine learning model, the assessing including identifying one or more images in the second training dataset negatively affecting model performance;
sending a request for one or more training samples to an image search engine executed by the at least one processor, wherein the requested training samples are defined using image data from the identified one or more images negatively affecting model performance;
running the image search engine to search the image database for the requested one or more training samples;
where the image search engine returns the requested one or more training samples:
generating a third training dataset including the requested one or more training samples;
training the machine learning model with the third training dataset to obtain the trained machine learning model;
where the image search engine does not return the requested one or more training samples:
generating, by the synthetic image generation module, a second set of one or more synthetic images using image data from the one or more images in the first training dataset that have contributed to unacceptable model performance as input and generating a fourth training dataset including the second set of one or more synthetic images; and
training the machine learning model with the fourth training dataset to obtain the trained machine learning model.
