One Shot ML Model Content Recognition via Distance Matrix Statistics

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Machine learning models, such as one shot models, face reduced accuracy when identifying content in unregistered images that may contain unexpected objects or differ in angle from registered images, and require retraining for different content, which is inefficient and inaccurate.

Innovation Solution

A trained machine learning model generates encodings for registered and unregistered images, with a selected statistic and threshold determining whether new unregistered images match registered content, using a mask to exclude unexpected objects and incorporating images at varying angles, allowing the same model to recognize different content without retraining.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If a one shot machine learning model is trained on registered images of specific content, then it can accurately identify that content, but it requires retraining for different content which is inefficient

Engineering Contradiction:
Improvecontent recognition efficiencyVSAvoidmodel retraining time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent transforms the one shot machine learning model into a universal system that can recognize multiple different contents without retraining. This is achieved by training the model on a diverse dataset containing various objects, backgrounds, and conditions, enabling it to function as a multi-purpose recognition system that adapts to different content types through the same trained parameters

Inventive Principle:
Principle #6Universality (Multi-functionality)

2Measurement precision

If the model is trained to recognize specific content accurately, then it achieves high precision for that content, but accuracy reduces when unexpected objects or angle variations appear

Engineering Contradiction:
Improvecontent identification accuracyVSAvoidrobustness to variations
Core Design Contradiction:
Measurement precisionVSAdaptability or versatility

Solution Approach 1:

The patent improves robustness by training the model with varied parameters including different angles, lighting conditions, object positions, and background configurations. This exposes the model to a wide range of parameter variations during training, enabling it to maintain high accuracy when encountering unexpected objects or angle variations in deployment

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent applies preliminary action by pre-training the model with augmented data that includes rotated, scaled, and transformed versions of training images. This preliminary exposure to various transformations prepares the model to handle angle variations and unexpected objects without requiring additional training or adaptation

Inventive Principle:
Principle #10Preliminary action

3Measurement precision

If multiple registered images are used to improve recognition accuracy, then identification precision improves, but the quantity of images required increases complexity

Engineering Contradiction:
Improvecontent matching accuracyVSAvoidnumber of registered images
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent applies segmentation by dividing the training process into phases: initial training on a core diverse dataset, then fine-tuning with additional registered images only when specific new content types are introduced. This segmented approach maintains high accuracy while minimizing the total number of registered images needed, as the model learns general features first and only specializes when necessary

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS11630882B2Adaptation of one shot machine learning model trained on other registered images of other content for usage to instead identify whether input image includes content of registered images
Publication Date: 2023.04.18 HEWLETT PACKARD DEVELOPMENT COMPANY LP
  • US11630882B2 patent drawing
  • US11630882B2 patent drawing
  • US11630882B2 patent drawing

AI summary

Registered, first unregistered, and second unregistered encodings are generated for registered images of content, first unregistered images of the content, and second unregistered images of different content, respectively. First and second distance matrices having rows respectively corresponding to the first and second unregistered encodings are generated based on the registered encodings and the first and second unregistered encodings, respectively. A statistic is selected having a greatest difference between first and second distance vectors having values corresponding to the rows of the first and second distance matrices, respectively. Whether content of a new unregistered image corresponds to the content of the registered images is assessed by using the selected statistic.