Feedback Loop

How to improve the training process of ML models with your own input.

🆕

Changes on-going

This page describes the new behaviour for the datapoints qualifications. See this release note for more information

Overview

Sifflet machine learning (ML) models let you add your own input to their training information in the form of a feedback loop.

Description

Qualifications

By providing feedback on alerts, you can improve model accuracy. Each data point has two independent statuses: one gives feedback to the model, the other tracks whether the anomaly has been handled.

Anomaly Status: was the prediction correct?

  • Anomaly: The data point is a real anomaly. This confirms the model was correct (or, for a passing point, tells the model it missed an anomaly).
  • Not Anomaly: The behavior is expected. Use it for points just outside the confidence band, or to tell the model that the trend has changed, for example when entering a busy period, so it avoids similar alerts.

Review Status: has it been handled?

  • Pending: The default for new anomalies. The anomaly still needs to be reviewed.
  • Reviewed: The anomaly has been reviewed and a decision was made.

New anomalies detected by the model start as Anomaly and Pending. When a data point's current Anomaly Status differs from its initial one, both are shown, for example "Not Anomaly (was initially Anomaly)". The initial status is never overwritten.

📘

Data point qualification influence on the model

Some influence (Anomaly Status)

  • Setting a detected anomaly to Not Anomaly (previously called False Positive) tells the model its prediction was wrong. Sifflet updates the predictions to attempt to avoid flagging similar points.
  • Setting a passing data point to Anomaly (previously called False Negative) tells the model it missed an anomaly. Sifflet updates the predictions to attempt to detect similar points.
  • A confirmed Anomaly is excluded from the model's training data, so it doesn't skew future predictions.

No influence (Review Status)

  • Pending and Reviewed don't change the model's behavior. They only drive the monitor's status: a monitor is failing as long as it has pending anomalies.

Usage

To qualify a data point, click it. The qualification panel opens. It shows the data point's date, value, expected range, current and initial statuses, last modification date, and a notes field. Changes are saved automatically.

To qualify several data points at once, use the data points table below the graph, or the Qualify Anomalies button next to the pending anomaly count at the top of the monitor page.

The data points table has four tabs:

  • All
  • Anomalies
  • Passing - Datapoints that were not identified as anomalies by the model
  • Qualified

Closing an incident

When you close an incident, all its linked data points are updated automatically:

Incident closed asAnomaly StatusReview Status
False PositiveNot AnomalyReviewed
No Action NeededAnomalyReviewed
FixedAnomalyReviewed

Find monitors with pending anomalies

Monitor cards in the monitor list show their number of pending anomalies, and you can filter the list to monitors that have a failed status. This count is updated after each monitor run, so monitors that haven't run since the feature was activated may not show it yet.

📘

Previous qualifications

Qualifications set before this change were migrated automatically: False Positive and Reviewed became Not Anomaly + Reviewed, False Negative and No Action Needed became Anomaly + Reviewed, and points that Sifflet automatically set as Fixed became Not Anomaly + Reviewed. Data points without a qualification are Pending.

Examples

Example 1: Known Error

In the case below, Sifflet detected big drops in September. After investigation, your team identified the root cause but won't fix it for now. Since it won't be fixed any time soon, set the Anomaly Status to Anomaly and the Review Status to Reviewed. The point is confirmed as a real anomaly, so it is excluded from the model's training and doesn't impact future predictions.

Example 2: Expected Business Shift

In the case below, Sifflet raised an alert. After investigation, it appears that the alert was inaccurate because the increase and change in trend is an expected business shift.

To improve future predictions and avoid anomaly noise, set the Anomaly Status to Not Anomaly. As the example shows, the model quickly tries to adapt to higher expected values.


Example 3: Flag a Missed Anomaly

If Sifflet has failed to detect an anomaly, you can set a passing data point's Anomaly Status to Anomaly. This impacts the anomaly detection algorithm for future data points to avoid considering similar data points as passing. By default, the Review Status is set to Pending, and you can change it to Reviewed if you want to. If you leave it as Pending, the monitor's status will be Failed until you set the Review Status to Reviewed.

By clicking any data point in the graph you can display the qualification panel and set the Anomaly Status to Anomaly.

Alternatively, and particularly if you need to do this for several data points, you can also navigate to the list of data points below the graph and select the data point to qualify from the list directly.

In this case, the qualification window includes the list of selected data points.


Did this page help you?