# US 2019/0356553 A1 · Anomaly detection with root cause learning in a network assurance service

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

- Number: US 2019/0356553 A1
- Document ID: US20190356553A1
- Status: Published application
- Kind: A1
- Application number: 15/983,615
- Filed: 2018-05-18
- Published: 2019-11-21
- Earliest claimed: 2018-05-18
- Assignees: Cisco Technology, Inc.
- Applicants: Cisco Technology, Inc.
- Inventors: Grégory Mermoud; Jean-Philippe Vasseur; David Tedaldi
- Web page: https://patentgrep.com/patent/US20190356553A1

## CPC

- H04L 41/0631: using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
- G06F 18/241: relating to the classification model, e.g. parametric or non-parametric approaches
- G06F 18/24323: {Tree-organised classifiers}
- G06F 18/2433: Single-class perspective, e.g. one-against-all classification; Novelty detection; Outlier detection
- H04L 41/065: {involving logical or physical relationship, e.g. grouping and hierarchies}
- H04L 41/142: using statistical or mathematical methods
- H04L 41/16: using machine learning or artificial intelligence
- H04L 41/22: comprising specially adapted graphical user interfaces [GUI]
- H04L 41/5019: Ensuring fulfilment of SLA
- H04L 43/16: Threshold monitoring
- H04L 41/147: for predicting network behaviour
- H04L 43/045: for graphical visualisation of monitoring data
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In one embodiment, a network assurance service that monitors a network detects an anomaly in the network by applying an anomaly detector to telemetry data collected from the network. The service sends first data to a user interface that causes the interface to present the detected anomaly and one or more candidate root cause metrics from the telemetry data associated with the detected anomaly. The service receives feedback regarding the candidate root cause metric(s) and learns a root cause of the anomaly as one or more thresholds of the candidate root cause metric(s), based in part on the received feedback regarding the candidate root cause metric(s). The service sends second data to the user interface that causes the user interface to present at least one of the candidate root cause metric(s) as a candidate root cause of a subsequent detected anomaly, based on the learned threshold(s).

## Claims

### Claim 1

A method comprising:
detecting, by a network assurance service that monitors a network, an anomaly in the network by applying a machine learning-based anomaly detector to telemetry data collected from the network;
sending, by the network assurance service, first interface data to a user interface, wherein the first interface data causes the user interface to present the detected anomaly and one or more candidate root cause metrics from the telemetry data associated with the detected anomaly;
receiving, at the network assurance service, feedback regarding the one or more candidate root cause metrics;
using, by the network assurance service, a machine learning-based model to learn a root cause of the anomaly as one or more thresholds of the one or more candidate root cause metrics, based in part on the received feedback regarding the one or more candidate root cause metrics; and
sending, by the network assurance service, second interface data to the user interface, wherein the second interface data causes the user interface to present at least one of the one or more candidate root cause metrics as a candidate root cause of a subsequent detected anomaly, based on the learned one or more thresholds.

### Claim 2 (depends on 1)

The method as in claim 1, further comprising:
adding, by the network assurance service, the learned one or more thresholds of the one or more candidate root cause metrics as a new root cause to a root cause database maintained by the network assurance service.

### Claim 3 (depends on 1)

The method as in claim 1, wherein the one or more candidate root cause metrics comprise at least one of: a Dynamic Host Configuration Protocol (DHCP) error count, a number of clients being onboarded to the network, or a number of Authentication, Authorization and Accounting (AAA) authentication failures.

### Claim 4 (depends on 1)

The method as in claim 1, wherein the machine learning-based model comprises a random forest classifier trained to label one or more thresholds of the one or more metrics as either likely to be deemed via feedback from the user interface as a root cause of the anomaly or likely to not be deemed a root cause of the anomaly.

### Claim 5 (depends on 4)

The method as in claim 4, wherein the random forest classifier comprises an ensemble of stump classifiers, and wherein using the machine learning-based model to learn the root cause of the anomaly as one or more thresholds of the one or more candidate root cause metrics comprises:
computing the one or more thresholds as an average of thresholds labeled by the stump classifiers as likely to be deemed the root cause of the anomaly.

### Claim 6 (depends on 4)

The method as in claim 4, wherein using the machine learning-based model to learn the root cause of the anomaly as one or more thresholds of the one or more candidate root cause metrics comprises:
computing the one or more thresholds for the root cause as a cutoff based on a distribution of thresholds labeled by the random forest classifier.

### Claim 7 (depends on 1)

The method as in claim 1, wherein the feedback comprises a binary label that labels the one or more thresholds of the one or more candidate metrics as a likely root cause of the anomaly or not likely to be a root cause of the anomaly.

### Claim 8 (depends on 1)

The method as in claim 1, wherein at least one of the candidate root cause metrics comprises a computational transformation of the telemetry data.

### Claim 9

An apparatus, comprising:
one or more network interfaces to communicate with a network;
a processor coupled to the network interfaces and configured to execute one or more processes; and
a memory configured to store a process executable by the processor, the process when executed configured to:
detect an anomaly in the network by applying a machine learning-based anomaly detector to telemetry data collected from the network;
send first interface data to a user interface, wherein the first interface data causes the user interface to present the detected anomaly and one or more candidate root cause metrics from the telemetry data associated with the detected anomaly;
receive feedback regarding the one or more candidate root cause metrics;
use a machine learning-based model to learn a root cause of the anomaly is as one or more thresholds of the one or more candidate root cause metrics, based in part on the received feedback regarding the one or more candidate root cause metrics; and
send second interface data to the user interface, wherein the second interface data causes the user interface to present at least one of the one or more candidate root cause metrics as a candidate root cause of a subsequent detected anomaly, based on the learned one or more thresholds.

### Claim 10 (depends on 9)

The apparatus as in claim 9, wherein the process when executed is further configured to:
add the learned one or more thresholds of the one or more candidate root cause metrics as a new root cause to a root cause database maintained by the apparatus.

### Claim 11 (depends on 9)

The apparatus as in claim 9, wherein the one or more candidate root cause metrics comprise at least one of: a Dynamic Host Configuration Protocol (DHCP) error count, a number of clients being onboarded to the network, or a number of Authentication, Authorization and Accounting (AAA) authentication failures.

### Claim 12 (depends on 9)

The apparatus as in claim 9, wherein the machine learning-based model comprises a random forest classifier trained to label one or more thresholds of the one or more metrics as either likely to be deemed via feedback from the user interface as a root cause of the anomaly or likely to not be deemed a root cause of the anomaly.

### Claim 13 (depends on 12)

The apparatus as in claim 12, wherein the random forest classifier comprises an ensemble of stump classifiers, and wherein the apparatus uses the machine learning-based model to learn the root cause of the anomaly as one or more thresholds of the one or more candidate root cause metrics by:
computing the one or more thresholds as an average of thresholds labeled by the stump classifiers as likely to be deemed the root cause of the anomaly.

### Claim 14 (depends on 12)

The apparatus as in claim 12, wherein the random forest classifier comprises an ensemble of stump classifiers, and wherein the apparatus uses the machine learning-based model to learn the root cause of the anomaly as one or more thresholds of the one or more candidate root cause metrics by:
computing the one or more thresholds for the root cause as a cutoff based on a distribution of thresholds labeled by the random forest classifier.

### Claim 15 (depends on 9)

The apparatus as in claim 9, wherein the feedback comprises a binary label that labels the one or more thresholds of the one or more candidate metrics as a likely root cause of the anomaly or not likely to be a root cause of the anomaly.

### Claim 16 (depends on 9)

The apparatus as in claim 9, wherein at least one of the candidate root cause metrics comprises a computational transformation of the telemetry data.

### Claim 17

A tangible, non-transitory, computer-readable medium storing program instructions that cause a network assurance service that monitors a network to execute a process comprising:
detecting, by the network assurance service, an anomaly in the network by applying a machine learning-based anomaly detector to telemetry data collected from the network;
sending, by the network assurance service, first interface data to a user interface, wherein the first interface data causes the user interface to present the detected anomaly and one or more candidate root cause metrics from the telemetry data associated with the detected anomaly;
receiving, at the network assurance service, feedback regarding the one or more candidate root cause metrics;
using, by the network assurance service, a machine learning-based model to learn a root cause of the anomaly as one or more thresholds of the one or more candidate root cause metrics, based in part on the received feedback regarding the one or more candidate root cause metrics; and
sending, by the network assurance service, second interface data to the user interface, wherein the second interface data causes the user interface to present at least one of the one or more candidate root cause metrics as a candidate root cause of a subsequent detected anomaly, based on the learned one or more thresholds.

### Claim 18 (depends on 17)

The computer-readable medium as in claim 17, wherein the process further comprises:
adding, by the network assurance service, the learned one or more thresholds of the one or more candidate root cause metrics as a new root cause to a root cause database maintained by the network assurance service.

### Claim 19 (depends on 17)

The computer-readable medium as in claim 17, wherein the one or more candidate root cause metrics comprise at least one of: a Dynamic Host Configuration Protocol (DHCP) error count, a number of clients being onboarded to the network, or a number of Authentication, Authorization and Accounting (AAA) authentication failures.

### Claim 20 (depends on 19)

The computer-readable medium as in claim 19, wherein the machine learning-based model comprises a random forest classifier trained to label one or more thresholds of the one or more metrics as either likely to be deemed via feedback from the user interface as a root cause of the anomaly or likely to not be deemed a root cause of the anomaly.
