IP Library Granted Patent US 12,699,926
Granted Patent B2
US 12,699,926 · App. 18/087,958 · Granted Aug 4, 2026

Machine learning classification with confidence threshold and similarity-based validation

Inventor: Igal Mazor (Tel-Aviv, IL)
G06N20/00G06N5/04
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,699,926
App. No.
18/087,958
Filed
Dec 23, 2022
Granted
Aug 4, 2026
Kind
B2
Examiner
CHEN, ALAN S
Art Unit
2125
USPC
706/12
Abstract

A method and a system for improving classification of data samples, which may be considered as class outliers, are claimed. The method includes inferring a pretrained classifying ML-based model on the incoming data sample, to assign a particular class of a plurality of classes thereto; calculating a similarity metric value representing a degree of similarity between the incoming data sample and one or more previously classified data samples of the particular class; and validating assignment of the particular class to the incoming data sample, based on the calculated similarity metric value.

Claims (34)

1 . A method of classifying data samples by at least one processor, the method comprising:

receiving at least one incoming data sample;

inferring a pretrained classifying machine-learning (ML)-based model on the at least one incoming data sample, to assign a particular class of a plurality of classes thereto, and wherein said inferring further comprises:

calculating a confidence metric value representing confidence of assignment of the particular class to the at least one incoming data sample; and

triggering validating the assignment of the particular class to the at least one incoming data sample, when the calculated confidence metric value does not exceed a predefined confidence metric value threshold;

calculating a similarity metric value representing a degree of similarity between the at least one incoming data sample and one or more previously classified data samples of the particular class; and

validating assignment of the particular class to the at least one incoming data sample, based on the calculated similarity metric value, thereby obtaining at least one classified incoming data sample.

2 . The method of claim 1 , wherein calculating the similarity metric value is performed by using a validating ML-based model; wherein the validating ML-based model is configured to calculate the similarity metric value based on the at least one incoming data sample and the one or more previously classified data samples of the particular class.

3 . The method of claim 2 , wherein the validating ML-based model is a nearest neighbor type classifier.

4 . The method of claim 1 , wherein validating the assignment of the particular class to the at least one incoming data sample further comprises determining that the calculated similarity metric value exceeds a predefined similarity metric value threshold.

5 . The method of claim 4 , wherein calculating the similarity metric value with respect to the one or more previously classified data samples of the particular class is performed serially, to find at least one of the previously classified data samples, for which the calculated similarity metric value exceeds the predefined similarity metric value threshold.

6 . The method of claim 1 , wherein the at least one incoming data sample and the one or more previously classified data samples are represented as vectors and the similarity metric value is a cosine similarity metric value.

7 . The method of claim 1 , wherein the classifying ML-based model is pretrained so as to assign classes of the plurality of classes to data samples.

8 . The method of claim 7 , wherein the classifying ML-based model is pretrained based on an initial training dataset, the initial training dataset comprising a plurality of data samples having classes of the plurality of classes assigned thereto.

9 . The method of claim 8 , wherein the method further comprises performing supplementary training of the classifying ML-based model, based on the at least one classified incoming data sample.

10 . The method of claim 9 , wherein the supplementary training of the classifying ML-based model comprises

supplementing the initial training dataset with the at least one classified incoming data sample, thereby obtaining a supplemented training dataset; and

training the classifying ML-based model to assign classes of the plurality of classes to data samples, based on the supplemented training dataset.

11 . A system for classifying data samples, the system comprising: a non-transitory memory device, wherein modules of instruction code are stored, and at least one processor associated with the memory device, and configured to execute the modules of instruction code, whereupon execution of said modules of instruction code, the at least one processor is configured to:

receive at least one incoming data sample;

infer a pretrained classifying machine-learning (ML)-based model on the at least one incoming data sample, to assign a particular class of a plurality of classes thereto, and wherein said inferring further comprises:

calculating a confidence metric value representing confidence of assignment of the particular class to the at least one incoming data sample; and

triggering validating the assignment of the particular class to the at least one incoming data sample, when the calculated confidence metric value does not exceed a predefined confidence metric value threshold;

calculate a similarity metric value representing a degree of similarity between the at least one incoming data sample and one or more previously classified data samples of the particular class; and

validate assignment of the particular class to the at least one incoming data sample, based on the calculated similarity metric value, thereby obtaining at least one classified incoming data sample.

12 . The system of claim 11 , wherein the at least one processor is further configured to validate the assignment of the particular class to the at least one incoming data sample by determining that the calculated similarity metric value exceeds a predefined similarity metric value threshold.

13 . The system of claim 11 , wherein the at least one incoming data sample and the one or more previously classified data samples are represented as vectors and the similarity metric value is a cosine similarity metric value.

14 . The system of claim 11 , wherein the classifying ML-based model is pretrained so as to assign classes of the plurality of classes to data samples.

15 . The system of claim 14 , wherein the classifying ML-based model is pretrained based on an initial training dataset, the initial training dataset comprising a plurality of data samples having classes of the plurality of classes assigned thereto.

16 . The system of claim 15 , wherein the at least one processor is further configured to perform supplementary training of the classifying ML-based model, based on the at least one classified incoming data sample.

17 . The system of claim 16 , wherein the at least one processor is further configured to perform supplementary training of the classifying ML-based model by

supplementing the initial training dataset with the at least one classified incoming data sample, thereby obtaining a supplemented training dataset; and

training the classifying ML-based model to assign classes of the plurality of classes to data samples, based on the supplemented training dataset.

18 . The system of claim 11 , wherein the at least one processor is further configured to calculate the similarity metric value by using a validating ML-based model; wherein the validating ML-based model is configured to calculate the similarity metric value based on the at least one incoming data sample and the one or more previously classified data samples of the particular class; and wherein the validating ML-based model is based on a nearest neighbor type classifier.

Assignments (2)
SECURITY INTEREST Recorded Feb 27, 2025
From: GENESYS CLOUD SERVICES, INC.
To: GOLDMAN SACHS BANK USA, AS COLLATERAL AGENT
Reel/Frame 070353/0018 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 23, 2022
From: MAZOR, IGAL
To: GENESYS CLOUD SERVICES, INC.
Reel/Frame 062194/0250 →
Continuity (1)
Related Publication 20240211799A1 · Jun 27, 2024
References Cited (7)
US 20220188642A1 · Rajapakse · 2022 [cited by applicant]
Jiang et al., To Trust Or Not To Trust A Classifier, 32nd Conference on Neural Information Processing Systems (NeurIPS 2018), Montréal, Canada; pp. 1-12 (Year: 2018). [cited by examiner]
Chung et al., Maximizing Cosine Similarity Between Spatial Features for Unsupervised Domain Adaptation in Semantic Segmentation; arXiv:2102.13002v3 [cs.CV] Mar. 18, 2021; Total Pages: 14 (Year: 2021). [cited by examiner]
Hemmer et al., DEAL: Deep Evidential Active Learning for Image Classification; arXiv:2007.11344v1 [cs.LG] Jul. 22, 2020; Total Pages: 8 (Year: 2020). [cited by examiner]
International Search Report and Written Opinion received Apr. 10, 2024 regarding co-pending PCT application having application No. PCT/US2023/082711. [cited by applicant]
Miao Xiong et al.: “Birds of a Feather Trust Together: Knowing When to Trust a Classifier via Adaptive Neighborhood Aggregation”, arxiv.org, Cornell University Library, 201 Olin Library Cornell University, Ithaca, NY 14… [cited by applicant]
Draszawka, Karol et al.: “Thresholding Strategies for Large Scale Multi-Label Text Classifier”, 2013 6th International Conference on Human System Interactions, IEEE, Jun. 6, 2013, pp. 350-355, XP032475635. [cited by applicant]