IP Library › Granted Patent US 12,670,440
Granted Patent B2
US 12,670,440 · App. 18/069,150 · Granted Jun 30, 2026

Generating an error policy for a machine learning engine

Inventors: Samuel Solomon Ackerman (Haifa, IL); Orna Raz (Haifa, IL); Eitan Daniel Farchi (Pardes Hana-Karku, IL); Marcel Zalmanovici (Kiriat Motzkin, IL)
Assignee: International Business Machines Corporation
G06N20/00G06F18/211G06F18/217
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,670,440
App. No.
18/069,150
Granted
Jun 30, 2026
Kind
B2
Abstract

A computer hardware system includes a slice generator and a policy generator and performs the following. The slice generator slices a first dataset including true values and predicted values of a class variable into a plurality of slices each defining a plurality of observations within the first dataset. A first one and another one of the plurality of slices are selected, and a union of observations is generated by adding observations within the selected another one to observations within the selected first one of the plurality of slices. The selecting another one of the plurality of slices and the generating the union is repeated until a number of observations within the union reaches a predetermined value. Using the policy generator and after the number of observations within the union reaches the predetermined value, an error policy is generated. The predicted values were generated by a machine learning engine.

Claims (37)

1 . A computer-implemented method within a computer hardware system including a slice generator and a policy generator, comprising:

slicing, using the slice generator, a first dataset including true values and predicted values of a class variable into a plurality of slices each defining a plurality of observations within the first dataset;

generating a union of observations by iteratively adding observations within one or more slices of the plurality of slices to observations within the union of observations until a number of observations within the union of observations reaches a predetermined value;

generating, using the policy generator and after the number of observations within the union of observations reaches the predetermined value, an error policy, wherein the predicted values were generated by a machine learning engine, and wherein the error policy is applied to a second dataset different than the first dataset;

determining performance of the error policy based on an error proportion for the first dataset and an error proportion for the second dataset; and

utilizing the error policy to improve the machine learning engine based on the performance of the error policy.

2 . The method of claim 1 , wherein the error policy includes all feature value conditions used to generate each of the one or more slices.

3 . The method of claim 1 , wherein the machine learning engine is modified based upon the error policy.

4 . The method of claim 1 , wherein the one or more slices are selected based upon a ratio of observations having predicted values not equaling true values for each of the one or more slices.

5 . The method of claim 1 , wherein the predetermined value is an absolute number of observations in the union of observations.

6 . The method of claim 1 , wherein the predetermined value is a percentage of observations in the first dataset.

7 . The method of claim 1 , wherein the error policy is applied to the second dataset different than the first dataset to generate a second union of observations for the second dataset.

8 . A computer hardware system comprising at least one hardware processor configured to perform the following executable operations:

slicing a first dataset including true values and predicted values of a class variable into a plurality of slices each defining a plurality of observations within the first dataset;

generating a union of observations by iteratively adding observations within one or more slices of the plurality of slices to observations within the union of observations until a number of observations within the union of observations reaches a predetermined value;

generating, after the number of observations within the union of observations reaches the predetermined value, an error policy, wherein the predicted values were generated by a machine learning engine, and wherein the error policy is applied to a second dataset different than the first dataset;

determining performance of the error policy based on an error proportion for the first dataset and an error proportion for the second dataset; and

utilizing the error policy to improve the machine learning engine based on the performance of the error policy.

9 . The system of claim 8 , wherein the error policy includes all feature value conditions used to generate each of the one or more slices.

10 . The system of claim 8 , wherein the machine learning engine is modified based upon the error policy.

11 . The system of claim 8 , wherein the one or more slices are selected based upon a ratio of observations having predicted values not equaling true values for each of the one or more slices.

12 . The system of claim 8 , wherein the predetermined value is an absolute number of observations in the union of observations.

13 . The system of claim 8 , wherein the predetermined value is a percentage of observations in the first dataset.

14 . The system of claim 8 , wherein the error policy is applied to the second dataset different than the first dataset to generate a second union of observations for the second dataset.

15 . A computer program product, comprising:

a computer readable storage medium having stored therein program code for training a training dataset,

the program code, which when executed by a computer hardware system including a slice generator and a policy generator, causes the computer hardware system to perform:

slicing, using the slice generator, a first dataset including true values and predicted values of a class variable into a plurality of slices each defining a plurality of observations within the first dataset;

generating a union of observations by iteratively adding observations within one or more slices of the plurality of slices to observations within the union of observations until a number of observations within the union of observations reaches a predetermined value;

generating, using the policy generator and after the number of observations within the union of observations reaches the predetermined value, an error policy, wherein the predicted values were generated by a machine learning engine, and wherein the error policy is applied to a second dataset different than the first dataset;

determining performance of the error policy based on an error proportion for the first dataset and an error proportion for the second dataset; and

utilizing the error policy to improve the machine learning engine based on the performance of the error policy.

16 . The computer program product of claim 15 , wherein the error policy includes all feature value conditions used to generate each of the one or more slices.

17 . The computer program product of claim 15 , wherein the machine learning engine is modified based upon the error policy.

18 . The computer program product of claim 15 , wherein the one or more slices are selected based upon a ratio of observations having predicted values not equaling true values for each of the one or more slices.

19 . The computer program product of claim 15 , wherein the predetermined value is one of an absolute number of observations in the union of observations or as a percentage of observations in the first dataset.

20 . The computer program product of claim 15 , wherein the error policy is applied to the second dataset different than the first dataset to generate a second union of observations for the second dataset.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 20, 2022
From: ACKERMAN, SAMUEL SOLOMON; RAZ, ORNA; FARCHI, EITAN DANIEL; ZALMANOVICI, MARCEL
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 062164/0718 →
Continuity (1)
Related Publication 20240202575A1 · Jun 20, 2024
References Cited (16)
US 11288115B1 · Katsis et al. · 2022 [cited by applicant]
US 11315043B1 · Lopatecki · 2022 [cited by examiner]
US 11514311B2 · Brill · 2022 [cited by examiner]
US 20200334492A1 · Yuan et al. · 2020 [cited by applicant]
US 20200410116A1 · Williamson · 2020 [cited by examiner]
US 20210103876A1 · Petrosso et al. · 2021 [cited by applicant]
US 20220253647A1 · Perkins · 2022 [cited by examiner]
US 20230061914A1 · Funk · 2023 [cited by examiner]
US 20240028945A1 · Yadgaran · 2024 [cited by examiner]
Das, S. et al., “CACTUS: Detecting and Resolving Conflicts in Objective Functions,” arXiv preprint, arXiv:2103.07805, Mar. 13, 2021, 13 pg. [cited by applicant]
Ackerman, S. et al., “Density-based interpretable hypercube region partitioning for mixed numeric and categorical data,” arXiv preprint, arXiv:2110.05430, Oct. 11, 2021. [cited by applicant]
Ackerman, S. et al., “FreaAI: Automated extraction of data slices to test machine learning models,” InInternational Workshop on Engineering Dependable and Secure Machine Learning Systems, Feb. 7, 2020, pp. 67-83, Spring… [cited by applicant]
Mell, P. et al., The NIST Definition of Cloud Computing, National Institute of Standards and Technology, U.S. Dept. of Commerce, Special Publication 800-145, Sep. 2011, 7 pg. [cited by applicant]
Sivasubramanian, D. et al., “Training Data Subset Selection for Regression with Controlled Generalization Error,” arXiv preprint, arXiv:2106.12491. Jun. 23, 2021, 27 pg. [cited by applicant]
Zhu, G. “A new view of classification in astronomy with the archetype technique: An astronomical case of the np-complete set cover problem,” arXiv preprint, arXiv:1606.07156. Jun. 23, 2016, 17 pg. [cited by applicant]
Fischetti, M. et al., “Cutting plane versus compact formulations for uncertain (integer) linear programs,” Mathematical Programming Computation, Sep. 2012, vol. 4, No. 3, pp. 239-273. [cited by applicant]