# US 2025/0211600 A1 · Context-based anomaly detection

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0211600 A1
- Document ID: US20250211600A1
- Status: Published application
- Kind: A1
- Application number: 18/391,311
- Filed: 2023-12-20
- Published: 2025-06-26
- Earliest claimed: 2023-12-20
- Assignees: ServiceNow, Inc.
- Applicants: ServiceNow, Inc.
- Inventors: Efrat Barkai; Yafit Segal; Neta Hasdai-Rippa; Nir Arazy
- Web page: https://patentgrep.com/patent/US20250211600A1

## CPC

- G06N 20/00: Machine learning
- A61B 5/02028: {Determining haemodynamic parameters not otherwise provided for, e.g. cardiac contractility or left ventricular ejection fraction}
- G06V 10/25: Determination of region of interest [ROI] or a volume of interest [VOI]
- H04L 41/16: using machine learning or artificial intelligence
- H04L 63/1425: {Traffic logging, e.g. anomaly detection}
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- A61B: DIAGNOSIS; SURGERY; IDENTIFICATION (usefulness limited to only animals A61D)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Time-series data is received. Using an identifier of the time-series data, contextual reference anomaly detection parameters are identified from a repository. A data trend of the time-series data is classified. Based on the classified data trend, a type of model to be generated for the time-series data is selected and a model having generated anomaly detection parameters is generated. A history of anomaly detection parameters determined for the time-series data is identified, and the generated anomaly detection parameters are adjusted based on the contextual reference anomaly detection parameters and the history of anomaly detection parameters.

## Claims

### Claim 1

A method, comprising:
receiving time-series data;
using an identifier of the time-series data, identifying contextual reference anomaly detection parameters from a repository;
classifying a data trend of the time-series data;
based on the classified data trend, selecting a type of model to be generated for the time-series data and generating a model having generated anomaly detection parameters;
identifying a history of anomaly detection parameters determined for the time-series data; and
adjusting the generated anomaly detection parameters based on the contextual reference anomaly detection parameters and the history of anomaly detection parameters.

### Claim 2 (depends on 1)

The method of claim 1, wherein the identifier of the time-series data is determined at least in part by tokenizing a metric name associated with the time-series data.

### Claim 3 (depends on 1)

The method of claim 1, wherein the identified contextual reference anomaly detection parameters from the repository include an upper bound and a lower bound.

### Claim 4 (depends on 3)

The method of claim 3, wherein at least one of the identified contextual reference anomaly detection parameters from the repository indicates whether there exists a positive correlation or a negative correlation between values of the time-series data and a likelihood of an anomaly.

### Claim 5 (depends on 1)

The method of claim 1, wherein the type of model is a statistical model or a machine learning model.

### Claim 6 (depends on 1)

The method of claim 1, wherein the identified history of the anomaly detection parameters includes data distribution information associated with the time-series data.

### Claim 7 (depends on 6)

The method of claim 6, wherein the data distribution information includes a maximum historical value, a minimum historical value, a standard deviation value, a mean value, a skewness value, or a kurtosis value.

### Claim 8 (depends on 1)

The method of claim 1, wherein adjusting the generated anomaly detection parameters based on the contextual reference anomaly detection parameters and the history of anomaly detection parameters includes determining a context-based upper bound or a context-based lower bound.

### Claim 9 (depends on 1)

The method of claim 1, wherein adjusting the generated anomaly detection parameters includes determining a weighted standard deviation value based on training data associated with the generated model and at least one parameter of the history of anomaly detection parameters.

### Claim 10 (depends on 1)

The method of claim 1, wherein adjusting the generated anomaly detection parameters includes determining a standardized mean difference value based on at least one of the contextual reference anomaly detection parameters and at least one parameter of the history of anomaly detection parameters.

### Claim 11

A system comprising:
one or more processors; and
a memory coupled to the one or more processors, wherein the memory is configured to provide the one or more processors with instructions which when executed cause the one or more processors to:
receive time-series data;
using an identifier of the time-series data, identify contextual reference anomaly detection parameters from a repository;
classify a data trend of the time-series data;
based on the classified data trend, select a type of model to be generated for the time-series data and generate a model having generated anomaly detection parameters;
identify a history of anomaly detection parameters determined for the time-series data; and
adjust the generated anomaly detection parameters based on the contextual reference anomaly detection parameters and the history of anomaly detection parameters.

### Claim 12 (depends on 11)

The system of claim 11, wherein the identified contextual reference anomaly detection parameters from the repository include an upper bound and a lower bound.

### Claim 13 (depends on 12)

The system of claim 12, wherein at least one of the identified contextual reference anomaly detection parameters from the repository indicates whether there exists a positive correlation or a negative correlation between values of the time-series data and a likelihood of an anomaly.

### Claim 14 (depends on 11)

The system of claim 11, wherein the type of model is a statistical model or a machine learning model.

### Claim 15 (depends on 11)

The system of claim 11, wherein the identified history of the anomaly detection parameters includes data distribution information associated with the time-series data.

### Claim 16 (depends on 15)

The system of claim 15, wherein the data distribution information includes a maximum historical value, a minimum historical value, a standard deviation value, a mean value, a skewness value, or a kurtosis value.

### Claim 17 (depends on 11)

The system of claim 11, wherein adjusting the generated anomaly detection parameters based on the contextual reference anomaly detection parameters and the history of anomaly detection parameters includes determining a context-based upper bound or a context-based lower bound.

### Claim 18 (depends on 11)

The system of claim 11, wherein adjusting the generated anomaly detection parameters includes determining a weighted standard deviation value based on training data associated with the generated model and at least one parameter of the history of anomaly detection parameters.

### Claim 19 (depends on 11)

The system of claim 11, wherein adjusting the generated anomaly detection parameters includes determining a standardized mean difference value based on at least one of the contextual reference anomaly detection parameters and at least one parameter of the history of anomaly detection parameters.

### Claim 20

A computer program product, the computer program product being embodied in a non-transitory computer readable storage medium and comprising computer instructions for:
receiving time-series data;
using an identifier of the time-series data, identifying contextual reference anomaly detection parameters from a repository;
classifying a data trend of the time-series data;
based on the classified data trend, selecting a type of model to be generated for the time-series data and generating a model having generated anomaly detection parameters;
identifying a history of anomaly detection parameters determined for the time-series data; and
adjusting the generated anomaly detection parameters based on the contextual reference anomaly detection parameters and the history of anomaly detection parameters.
