IP Library › Granted Patent US 12,675,690
Granted Patent B2
US 12,675,690 · App. 17/706,000 · Granted Jul 7, 2026

Anomaly detection with model hyperparameter selection

Inventors: Debojyoti Dutta (Santa Clara, CA); Rajat Ghosh (San Jose, CA)
Assignee: NUTANIX, INC.
G06N3/08G06F18/211G06F18/217G06N3/045
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,675,690
App. No.
17/706,000
Filed
Mar 28, 2022
Granted
Jul 7, 2026
Kind
B2
Examiner
LU, HWEI-MIN
Art Unit
2142
USPC
706/15
Abstract

Anomaly detection includes receiving, for one or more data points of a data set, an anomaly label indicating whether the one or more data points is an anomaly; generating, using a first machine learning model, one or more hyperparameters based on the one or more data points and the anomaly label; and training a second machine learning model to determine anomalies in the data set, wherein the training is based on the one or more hyperparameters.

Claims (47)

1 . One or more non-transitory computer-readable media storing program instructions that, when executed by one or more processors, cause the one or more processors to perform a method comprising:

receiving, for one or more data points of a data set, an anomaly label indicating an error in a determination by a second machine learning model about whether the one or more data points correspond to an anomaly,

generating, using a first machine learning model, one or more updated hyperparameters based on the one or more data points and the anomaly label, wherein the first machine learning model is trained to minimize a cost function that incorporates a previous cost state weighted by a decay rate and a difference between a time-series data sample and a predicted time series that is a parametric function of the one or more updated hyperparameters, and

training the second machine learning model to determine anomalies in the data set, wherein the training is performed using the one or more updated hyperparameters.

2 . The one or more non-transitory computer-readable media of claim 1 , wherein the data set includes at least one of a set of metrics of a system or a set of logs of the system.

3 . The one or more non-transitory computer-readable media of claim 1 , wherein the anomaly label is received through a user interface as a selection of the one or more data points of the data set and a selection of the anomaly label.

4 . The one or more non-transitory computer-readable media of claim 1 , wherein the error in the determination comprises an incorrect determination by the second machine learning model that the one or more data points correspond to the anomaly.

5 . The one or more non-transitory computer-readable media of claim 1 , wherein the training includes at least one of retraining of the second machine learning model or training a replacement machine learning model to replace the second machine learning model.

6 . The one or more non-transitory computer-readable media of claim 1 , wherein the method further comprises: displaying a predicted anomaly label for the one or more data points received from the second machine learning model after the training.

7 . The one or more non-transitory computer-readable media of claim 1 , wherein the method further comprises: applying the second machine learning model, after the training, to detect anomalies in the data set.

8 . The one or more non-transitory computer-readable media of claim 1 , wherein the one or more updated hyperparameters includes one or more of a window size, a sequence length, a number of long short-term memory units, a number of repeat units, a number of training epochs, a training batch size, an optimization function, an activation function, a loss function, or the decay rate.

9 . The one or more non-transitory computer-readable media of claim 1 , wherein the second machine learning model determines anomalies in the data set according to a baseline.

10 . The one or more non-transitory computer-readable media of claim 1 , wherein a baseline for determining anomalies is determined according to a baseline equation.

11 . The one or more non-transitory computer-readable media of claim 1 , wherein the method further includes training the first machine learning model based on a reinforcement learning process.

12 . The one or more non-transitory computer-readable media of claim 1 , wherein the error in the determination comprises a failure by the second machine learning model to determine that the one or more data points correspond to the anomaly.

13 . A system, comprising:

a memory that stores instructions, and

a processor that is coupled to the memory and, when executing the instructions, is configured to:

receive, for one or more data points of a data set, an anomaly label indicating an error in a determination by a second machine learning model about whether the one or more data points correspond to an anomaly,

generate, using a first machine learning model, one or more updated hyperparameters based on the one or more data points and the anomaly label, wherein the first machine learning model is trained to minimize a cost function that incorporates a previous cost state weighted by a decay rate and a difference between a time-series data sample and a predicted time series that is a parametric function of the one or more updated hyperparameters, and

train the second machine learning model to determine anomalies in the data set, wherein the training is performed using the one or more updated hyperparameters.

14 . The system of claim 13 , wherein the data set includes at least one of a set of metrics of a second system or a set of logs of the second system.

15 . The system of claim 13 , wherein the anomaly label is received through a user interface as a selection of the one or more data points of the data set and a selection of the anomaly label.

16 . The system of claim 13 , wherein the error in the determination comprises an incorrect determination by the second machine learning model that the one or more data points correspond to the anomaly.

17 . The system of claim 13 , wherein the training includes at least one of retraining of the second machine learning model or training a replacement machine learning model to replace the second machine learning model.

18 . The system of claim 13 , wherein the processor is further configured, when executing the instructions, to display a predicted anomaly label for the one or more data points received from the second machine learning model after the training.

19 . The system of claim 13 , wherein the processor is further configured, when executing the instructions, to apply the second machine learning model, after the training, to detect anomalies in the data set.

20 . The system of claim 13 , wherein the one or more updated hyperparameters includes one or more of, a window size, a sequence length, a number of long short-term memory units, a number of repeat units, a number of training epochs, a training batch size, an optimization function, an activation function, a loss function, or the decay rate.

21 . The system of claim 13 , wherein the second machine learning model determines anomalies in the data set according to a baseline.

22 . The system of claim 13 , wherein a baseline for determining anomalies is determined according to a baseline equation.

23 . The system of claim 13 , wherein the processor is further configured, when executing the instructions, to train the first machine learning model based on a reinforcement learning process.

24 . The system of claim 13 , wherein the error in the determination comprises a failure by the second machine learning model to determine that the one or more data points correspond to the anomaly.

25 . A computer-implemented method, comprising:

receiving, for one or more data points of a data set, an anomaly label indicating an error in a determination by a second machine learning model about whether the one or more data points correspond to an anomaly,

generating, using a first machine learning model, one or more updated hyperparameters based on the one or more data points and the anomaly label, wherein the first machine learning model is trained to minimize a cost function that incorporates a previous cost state weighted by a decay rate and a difference between a time-series data sample and a predicted time series that is a parametric function of the one or more updated hyperparameters, and

training the second machine learning model to determine anomalies in the data set, wherein the training is performed using the one or more updated hyperparameters.

26 . The computer-implemented method of claim 25 , wherein the data set includes at least one of a set of metrics of a system or a set of logs of the system.

27 . The computer-implemented method of claim 25 , wherein the anomaly label is received through a user interface as a selection of the one or more data points of the data set and a selection of the anomaly label.

28 . The computer-implemented method of claim 25 , wherein the error in the determination comprises an incorrect determination by the second machine learning model that the one or more data points correspond to the anomaly.

29 . The computer-implemented method of claim 25 , wherein the training includes at least one of retraining of the second machine learning model or training a replacement machine learning model to replace the second machine learning model.

30 . The computer-implemented method of claim 25 , further comprising: displaying a predicted anomaly label for the one or more data points received from the second machine learning model after the training.

31 . The computer-implemented method of claim 25 , further comprising: applying the second machine learning model, after the training, to detect anomalies in the data set.

32 . The computer-implemented method of claim 25 , wherein the one or more updated hyperparameters includes one or more of, a window size, a sequence length, a number of long short-term memory units, a number of repeat units, a number of training epochs, a training batch size, an optimization function, an activation function, a loss function, or the decay rate.

33 . The computer-implemented method of claim 25 , wherein the second machine learning model determines anomalies in the data set according to a baseline.

34 . The computer-implemented method of claim 25 , wherein a baseline for determining anomalies is determined according to a baseline equation.

35 . The computer-implemented method of claim 25 , further comprising: training the first machine learning model based on a reinforcement learning process.

36 . The computer-implemented method of claim 25 , wherein the error in the determination comprises a failure by the second machine learning model to determine that the one or more data points correspond to the anomaly.

Assignments (2)
SECURITY INTEREST Recorded Feb 13, 2025
From: NUTANIX, INC.
To: BANK OF AMERICA, N.A., AS COLLATERAL AGENT
Reel/Frame 070206/0463 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 28, 2022
From: DUTTA, DEBOJYOTI; GHOSH, RAJAT
To: NUTANIX, INC.
Reel/Frame 059415/0312 →
Continuity (2)
Provisional Application 63287639 · Dec 9, 2021
Related Publication 20230186075A1 · Jun 15, 2023
References Cited (61)
US 8549518B1 · Aron et al. · 2013 [cited by applicant]
US 8554703B1 · Lin et al. · 2013 [cited by applicant]
US 8601473B1 · Aron et al. · 2013 [cited by applicant]
US 8850130B1 · Aron et al. · 2014 [cited by applicant]
US 8863124B1 · Aron · 2014 [cited by applicant]
US 9009106B1 · Aron et al. · 2015 [cited by applicant]
US 9069708B2 · Gill et al. · 2015 [cited by applicant]
US 9336132B1 · Aron et al. · 2016 [cited by applicant]
US 9652265B1 · Narayanasamy et al. · 2017 [cited by applicant]
US 9747287B1 · Bhardwaj et al. · 2017 [cited by applicant]
US 9772866B1 · Aron et al. · 2017 [cited by applicant]
US 10509847B1 · Xu · 2019 [cited by examiner]
US 10616257B1 · Soulhi · 2020 [cited by examiner]
US 12033048B1 · Callot · 2024 [cited by examiner]
US 20160042287A1 · Eldardiry · 2016 [cited by examiner]
US 20180293488A1 · Dang · 2018 [cited by examiner]
US 20180357540A1 · Hwang · 2018 [cited by examiner]
US 20190130285A1 · Snyder · 2019 [cited by examiner]
US 20190370684A1 · Gunes et al. · 2019 [cited by applicant]
US 20200034665A1 · Ghanta et al. · 2020 [cited by applicant]
US 20200334228A1 · Matyska · 2020 [cited by examiner]
US 20200364561A1 · Ananthanarayanan et al. · 2020 [cited by applicant]
US 20200387797A1 · Ryan · 2020 [cited by examiner]
US 20210064989A1 · Shaker · 2021 [cited by examiner]
US 20210065053A1 · Higgins et al. · 2021 [cited by applicant]
US 20210073995A1 · Yang · 2021 [cited by examiner]
US 20210110211A1 · Grindstaff et al. · 2021 [cited by applicant]
US 20210136098A1 · Stergioudis · 2021 [cited by examiner]
US 20210201209A1 · Sghiouer · 2021 [cited by examiner]
US 20210287089A1 · Mayer · 2021 [cited by examiner]
US 20210365774A1 · Muhammad · 2021 [cited by examiner]
US 20220269577A1 · Gechman · 2022 [cited by examiner]
US 20230029794A1 · Huang · 2023 [cited by examiner]
US 20230059708A1 · Metz · 2023 [cited by examiner]
US 20230267713A1 · Ishizaka · 2023 [cited by examiner]
Khosravi et al., “Construction of Optimal Prediction Intervals for Load Forecasting Problems”, IEEE Transactions On Power Systems, vol. 25, No. 3, Aug. 2010, pp. 1496-1503. (Year: 2010). [cited by examiner]
Xu et al., “Automatic Hyperparameter Tuning Method for Local Outlier Factor, with Applications to Anomaly Detection”, 2019 IEEE International Conference on Big Data (Big Data), Dec. 2019, pp. 4201-4207. (Year: 2019). [cited by examiner]
Yang et al., “On Hyperparameter Optimization of Machine Learning Algorithms: Theory and Practice”, ARXIV ID: 2007.15745, Jul. 30, 2020, pp. 1-69. (Year: 2020). [cited by examiner]
Iranfar et al., “Multiagent Reinforcement Learning for Hyperparameter Optimization of Convolutional Neural Networks”, IEEE Transactions On Computer-Aided Design of Integrated Circuits and Systems, vol. 41, No. 4, Date o… [cited by examiner]
Poitras, Steven. “The Nutanix Bible” (Oct. 15, 2013), from http://stevenpoitras.com/the-nutanix-bible/ (Publication date based on indicated capture date by Archive.org; first publication date unknown); pp. all. [cited by applicant]
Poitras, Steven. “The Nutanix Bible” (Jan. 11, 2014), from http://stevenpoitras.com/the-nutanix-bible/ (Publication date based on indicated capture date by Archive.org; first publication date unknown); pp. all. [cited by applicant]
Poitras, Steven. “The Nutanix Bible” (Jun. 20, 2014), from http://stevenpoitras.com/the-nutanix-bible/ (Publication date based on indicated capture date by Archive.org; first publication date unknown); pp. all. [cited by applicant]
Poitras, Steven. “The Nutanix Bible” (Jan. 7, 2015), from http://stevenpoitras.com/the-nutanix-bible/ (Publication date based on indicated capture date by Archive.org; first publication date unknown); pp. all. [cited by applicant]
Poitras, Steven. “The Nutanix Bible” (Jun. 9, 2015), from http://stevenpoitras.com/the-nutanix-bible/ (Publication date based on indicated capture date by Archive.org; first publication date unknown); pp. all. [cited by applicant]
Poitras, Steven. “The Nutanix Bible” (Sep. 4, 2015), from https://nutanixbible.com/; pp. all. [cited by applicant]
Poitras, Steven. “The Nutanix Bible” (Jan. 12, 2016), from https://nutanixbible.com/ ; pp. all. [cited by applicant]
Poitras, Steven. “The Nutanix Bible” (Jun. 9, 2016), from https://nutanixbible.com/; pp. all. [cited by applicant]
Poitras, Steven. “The Nutanix Bible” (Jan. 3, 2017), from https://nutanixbible.com/; pp. all. [cited by applicant]
Poitras, Steven. “The Nutanix Bible” (Jun. 8, 2017), from https://nutanixbible.com/; pp. all. [cited by applicant]
Poitras, Steven. “The Nutanix Bible” (Jan. 3, 2018), from https://nutanixbible.com/; pp. all. [cited by applicant]
Poitras, Steven. “The Nutanix Bible” (Jun. 25, 2018), from https://nutanixbible.com/; pp. all. [cited by applicant]
Poitras, Steven. “The Nutanix Bible” (Jan. 8, 2019), from https://nutanixbible.com/; pp. all. [cited by applicant]
Poitras, Steven. “The Nutanix Bible” (Jul. 25, 2019), from https://nutanixbible.com/; pp. all. [cited by applicant]
Poitras, Steven. “The Nutanix Bible” (Sep. 17, 2019), from https://nutanixbible.com/; pp. all. [cited by applicant]
Cano, Ignacio et al. “Curator: Self-Managing Storage for Enterprise Clusters”; University of Washington; published Mar. 2017; pp. all. [cited by applicant]
Poitras, Steven. “The Nutanix Bible” (Mar. 2, 2020), from https://nutanixbible.com/; pp. all. [cited by applicant]
Wikipedia, “State-action-reward-state-action”, https/en.wikipedia.org/wiki/State-actions-reward-state-action, 3 pages. [cited by applicant]
Yen, Steven “Intelligent Log Analysis for Anomaly Detection”, https://scholarworks.sjsu.edu/cgi/viewcontent.cgi?article=1740&context=etd_projects, 49 pages. [cited by applicant]
Keda, et al., “Human-Assisted Online Anomaly Detection with Normal Outlier Retraining”, https://www.andrew.cmu.edu/user/lakoglu/odd/accepted_papers/ODD_v50_paper_11.pdf, 9 pages. [cited by applicant]
Poitras, Steven. “The Nutanix Bible” (Sep. 1, 2020), from https://nutanixbible.com/, Part 1, 270 pages. [cited by applicant]
Poitras, Steven. “The Nutanix Bible” (Sep. 1, 2020), from https://nutanixbible.com/, Part 2, 31 pages. [cited by applicant]