IP Library › Granted Patent US 12,321,498
Granted Patent B2
US 12,321,498 · App. 18/147,769 · Granted Jun 3, 2025

System and method for managing AI models using anomaly detection

Inventors: Ofir Ezrielev (Be'er Sheva, IL); Amihai Savir (Newton, MA); Tomer Kushnir (Omer, IL)
Assignee: Dell Products L.P.
G06F21/64G06F21/57
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,321,498
App. No.
18/147,769
Granted
Jun 3, 2025
Kind
B2
Abstract

Methods and systems for managing artificial intelligence (AI) models are disclosed. As AI models are updated over time using new training data, the new training data may be screened and snapshots of the AI models may be obtained. Screening the new training data may reduce the likelihood that AI models become tainted and provide undesired inferences. The snapshots may be used to remediate tainted AI models when trained using poisoned training data that was not screened. Use of snapshots may reduce the computational expense for remediating the impact of poisoned training data.

Claims (75)

1. A method for managing an artificial intelligence (AI) model, comprising:

making an identification, by a data processing system that is hosting an instance of the AI model and using the instance of the AI model to provide computer implemented services, that new training data for an instance of the AI model hosted on the data processing system is available to the data processing system; and

based on the identification, by the data processing system:

obtaining an anomaly level classification for the new training data;

making a determination regarding whether the anomaly level classification exceeds an anomaly level threshold;

in a first instance of the determination where the anomaly level classification exceeds the anomaly level threshold, the method further comprises and by the data processing system:

treating the new training data as comprising poisoned training data; and

using the instance of the AI model hosted on the data processing system as is without any retraining and/or repairing of the instance of the AI model hosted on the data processing system to provide the computer implemented services; and

in a second instance of the determination where the anomaly level classification does not exceed the anomaly level threshold, the method further comprises and by the data processing system:

performing learning using the new training data to obtain a new instance of the instance of the AI model hosted on the data processing system; and

using the new instance of the instance of the AI model hosted on the data processing system to provide the computer implemented services.

2. The method of claim 1 , wherein the anomaly level classification is based on a corpus of training data used to obtain the instance of the AI model hosted on the data processing system where a previous instance of the instance of the AI model hosted on the data processing system was trained using the corpus of the training data to obtain the instance of the AI model hosted on the data processing system and the corpus of the training data excluding the new training data.

3. The method of claim 2 , wherein the corpus of the training data is unlabeled.

4. The method of claim 2 , further comprising, after the new training data is treated as comprising the poisoned training data:

performing a similarity analysis between a portion of the new training data and the corpus of the training data to identify a portion of the corpus of the training data;

treating the portion of the corpus of the training data as potentially comprising second poisoned training data; and

instead of using the instance of the AI model hosted on the data processing system as is to provide the computer implemented service, using a previous instance of the instance of the AI model hosted on the data processing system that is free from influence of the second poisoned training data to provide the computer implemented services.

5. The method of claim 4 , further comprising:

determining that second new training data for the instance of the AI model hosted on the data processing system is available;

using classification metrics obtained during the similarity analysis to identify a portion of the second new training data; and

treating the portion of the second new training data as comprising third poisoned training data.

6. The method of claim 5 , wherein treating the new training data as comprising the poisoned training data further comprises:

excluding the new training data from being integrated into the corpus of the training data; and

submitting the new training data for analysis by a subject matter expert to confirm whether the new training data comprises the poisoned training data.

7. The method of claim 1 , wherein the new instance of the instance of the AI model hosted on the data processing system is based the AI model.

8. The method of claim 7 , wherein the new training data is unlabeled.

9. The method of claim 1 , further comprising and by the data processing system prior to making the identification that the new training data for the instance of the AI model hosted on the data processing system is available to the data processing system:

obtaining one or more snapshots of the instance of the AI model hosted on the data processing system, wherein the one or more snapshots are used to obtain an anomaly detection model that is used to obtain the anomaly level classification for the new training data.

10. The method of claim 1 , further comprises and by the data processing system:

obtaining one or more snapshots of the instance of the AI model hosted on the data processing system from a storage of the data processing system;

using the one or more snapshots to obtain a corpus of training data used to obtain the instance of the AI model hosted on the data processing system where a previous instance of the instance of the AI model hosted on the data processing system was trained using the corpus of the training data to obtain the instance of the AI model hosted on the data processing system; and

using the corpus of the training data and the new training data to obtain the anomaly level classification for the new training data.

11. A non-transitory machine-readable medium having instructions stored therein, which when executed by a processor of a data processing system, cause the processor to perform operations for managing an artificial intelligence (AI) model, the operations comprising:

making an identification that new training data for an instance of the AI model is available to the data processing system, the instance of the AI model being hosted on the data processing system and used by the data processing system to provide computer implemented services; and

based on the identification:

obtaining an anomaly level classification for the new training data;

making a determination regarding whether the anomaly level classification exceeds an anomaly level threshold;

in a first instance of the determination where the anomaly level classification exceeds the anomaly level threshold, the operations further comprise:

treating the new training data as comprising poisoned training data; and

using the instance of the AI model hosted on the data processing system as is without any retraining and/or repairing of the instance of the AI model hosted on the data processing system to provide the computer implemented services; and

in a second instance of the determination where the anomaly level classification does not exceed the anomaly level threshold, the method further comprises:

performing learning using the new training data to obtain a new instance of the instance of the AI model hosted on the data processing system; and

using the new instance of the instance of the AI model hosted on the data processing system to provide the computer implemented services.

12. The non-transitory machine-readable medium of claim 11 , wherein the anomaly level classification is based on a corpus of training data used to obtain the instance of the AI model hosted on the data processing system model where a previous instance of the instance of the AI model hosted on the data processing system was trained using the corpus of the training data to obtain the instance of the AI model hosted on the data processing system and the corpus of the training data excluding the new training data.

13. The non-transitory machine-readable medium of claim 12 , wherein the corpus of the training data is unlabeled.

14. The non-transitory machine-readable medium of claim 12 , wherein the operations further comprise, after the new training data is treated as comprising the poisoned training data:

performing a similarity analysis between a portion of the new training data and the corpus of the training data to identify a portion of the corpus of the training data; and

treating the portion of the corpus of the training data as potentially comprising second poisoned training data; and

instead of using the instance of the AI model hosted on the data processing system as is to provide the computer implemented service, using a previous instance of the instance of the AI model hosted on the data processing system that is free from influence of the second poisoned training data to provide the computer implemented services.

15. The non-transitory machine-readable medium of claim 14 , wherein the operations further comprise:

determining that second new training data for the instance of the AI model hosted on the data processing system is available;

using classification metrics obtained during the similarity analysis to identify a portion of the second new training data; and

treating the portion of the second new training data as comprising third poisoned training data.

16. The non-transitory machine-readable medium of claim 15 , wherein treating the new training data as comprising the poisoned training data further comprises:

excluding the new training data from being integrated into the corpus of the training data; and

submitting the new training data for analysis by a subject matter expert to confirm whether the new training data comprises the poisoned training data.

17. A data processing system, comprising:

a processor; and

a memory coupled to the processor to store instructions, which when executed by the processor, cause the processor to perform operations for managing an instance of an artificial intelligence (AI) model that is hosted on the data processing system and used by the data processing system to provide computer implemented services, the operations comprising:

making an identification that new training data for the instance of the AI model hosted on the data processing system is available to the data processing system; and

based on the identification:

obtaining an anomaly level classification for the new training data;

making a determination regarding whether the anomaly level classification exceeds an anomaly level threshold;

in a first instance of the determination where the anomaly level classification exceeds the anomaly level threshold, the operations further comprise:

treating the new training data as comprising poisoned training data;

using the instance of the AI model hosted on the data processing system as is without any retraining and/or repairing of the instance of the AI model hosted on the data processing system to provide the computer implemented services; and

in a second instance of the determination where the anomaly level classification does not exceed the anomaly level threshold, the comprises operations further comprise:

performing learning using the new training data to obtain a new instance of the instance of the AI model hosted on the data processing system; and

using the new instance of the instance of the AI model hosted on the data processing system to provide the computer implemented services.

18. The data processing system of claim 17 , wherein the anomaly level classification is based on a corpus of training data used to obtain the instance of the AI model hosted on the data processing system where a previous instance of the instance of the AI model hosted on the data processing system was trained using the corpus of the training data to obtain the instance of the AI model hosted on the data processing system and the corpus of the training data excluding the new training data.

19. The data processing system of claim 18 , wherein the corpus of the training data is unlabeled.

20. The data processing system of claim 18 , wherein the operations further comprise, after the new training data is treated as comprising the poisoned training data:

performing a similarity analysis between a portion of the new training data and the corpus of the training data to identify a portion of the corpus of the training data; and

treating the portion of the corpus of the training data as potentially comprising second poisoned training data; and

instead of using the instance of the AI model hosted on the data processing system as is to provide the computer implemented service, using a previous instance of the instance of the AI model hosted on the data processing system model that is free from influence of the second poisoned training data to provide the computer implemented services.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 30, 2022
From: EZRIELEV, OFIR; SAVIR, AMIHAI; KUSHNIR, TOMER
To: DELL PRODUCTS L.P.
Reel/Frame 062244/0535 →
Continuity (1)
Related Publication 20240220664A1 · Jul 4, 2024
References Cited (52)
US 10936969B2 · Patel et al. · 2021 [cited by applicant]
US 11087170B2 · Malaya · 2021 [cited by applicant]
US 11487963B2 · Angel · 2022 [cited by applicant]
US 11544501B2 · Dong · 2023 [cited by applicant]
US 11636726B2 · Purohit · 2023 [cited by applicant]
US 11645515B2 · Angel · 2023 [cited by applicant]
US 11785024B2 · Karam · 2023 [cited by applicant]
US 11797672B1 · Beveridge · 2023 [cited by applicant]
US 11829193B2 · Shukla · 2023 [cited by applicant]
US 11847217B2 · Healy · 2023 [cited by applicant]
US 11921903B1 · Beveridge · 2024 [cited by applicant]
US 12032541B2 · Hasabnis · 2024 [cited by applicant]
US 12126640B2 · Woodworth · 2024 [cited by applicant]
US 12143405B2 · Chen Kaidi · 2024 [cited by applicant]
US 20170177860A1 · Suarez · 2017 [cited by applicant]
US 20180255023A1 · Whaley · 2018 [cited by examiner]
US 20190377873A1 · Murphy · 2019 [cited by applicant]
US 20200050945A1 · Chen · 2020 [cited by applicant]
US 20200082097A1 · Poliakov · 2020 [cited by applicant]
US 20200082270A1 · Gu · 2020 [cited by applicant]
US 20210073685A1 · Veshchikov · 2021 [cited by applicant]
US 20210081831A1 · Angel · 2021 [cited by applicant]
US 20210209512A1 · Gaddam et al. · 2021 [cited by applicant]
US 20210303695A1 · Grosse · 2021 [cited by applicant]
US 20210374247A1 · Sultana · 2021 [cited by examiner]
US 20210398020A1 · Ahmad et al. · 2021 [cited by applicant]
US 20220179840A1 · Chatterjee · 2022 [cited by applicant]
US 20220414492A1 · Jezewski · 2022 [cited by applicant]
US 20230079112A1 · Cheruvu · 2023 [cited by examiner]
US 20230148116A1 · Stokes, III · 2023 [cited by applicant]
US 20230164162A1 · Lee · 2023 [cited by applicant]
US 20230222385A1 · Shimizu · 2023 [cited by applicant]
US 20230274003A1 · Liu · 2023 [cited by applicant]
US 20230274192A1 · Wang · 2023 [cited by applicant]
US 20240015019A1 · Sneider · 2024 [cited by applicant]
US 20240119153A1 · Ludmir · 2024 [cited by applicant]
US 20240364534A1 · Ezrielev · 2024 [cited by applicant]
US 20250055762A1 · Walker · 2025 [cited by examiner]
WO 2020040777A1 · 2020 [cited by applicant]
WO 2021213626A1 · 2021 [cited by applicant]
WO WO2022216142A1 · 2022 [cited by examiner]
WO WO2023111287A1 · 2023 [cited by examiner]
Albert Cheng. “The Machine Learning Minefield—How to Avoid Getting Hit by Machine Learning Poisoning” published Mar. 22, 2022 (10 pages) (Year: 2022). [cited by examiner]
Anastasovski, Goce, “Classification of Malicious Web Traffic” (2013), Graduate Theses, Dissertations, and Problem Reports 153 (118 Pages). [cited by applicant]
Joshi, Naveen, “Is The Data Used For Training Your Machine Learning Model Safe?”, Technology For You, Jul. 28, 2022, <https://www.technologyforyou.org/is-the-data-used-for-training-your-machine-learning-model-safe/> (3 … [cited by applicant]
Wang, Siruo et al., “Methods for correcting inference based on outcomes predicted by machine learning.” Proceedings of the National Academy of Sciences 117.48 (2020): 30266-30275. (10 Pages). [cited by applicant]
Rauschmayr, Nathalie et al., “Detecting and analyzing incorrect model predictions with Amazon SageMaker Model Monitor and Debugger”, AWS Machine Learning Blog, Jul. 9, 2020, <https://aws.amazon.com/blogs/machine-learnin… [cited by applicant]
Higgins, Kelly Jackson, “Honeypot Stings Attackers With Counterattacks”, Dark Reading, Mar. 26, 2013, <https://www.darkreading.com/vulnerabilities-threats/honeypot-stings-attackers-with-counterattacks> (4 Pages). [cited by applicant]
Susmelj, Igor, “The Data You Don't Need: Removing Redundant Samples”, Towards Data Science, Mar. 19, 2020, https://towardsdatascience.com/the-data-you-don-t-need-removing-redundant-samples-6bfd07c1516c> (10 Pages). [cited by applicant]
Paduraru, Ciprian, Marius-Constantin Melemciuc, and Bogdan Ghimis. “Fuzz Testing with Dynamic Taint Analysis based Tools for Faster Code Coverage.” ICSOFT 19 (2019): 82-93. (Year: 2019). [cited by applicant]
Jiang, Bingchen, and Zhao Li. “Defending Against Backdoor Attack on Graph Nerual Network by Explainability.” arXiv preprint arXiv: 2209.02902, 10 pages, (Year: 2022). [cited by applicant]
Raghavan, Vijay, Thomas Mazzuchi, and Shahram Sarkani. “Discover Artificial Intelligence: An improved real time detection of data poisoning attacks in deep learning vision systems”, 17 pages, Discover 2022, (Year: 2022). [cited by applicant]