Auto-Tuned Window Anomaly Detection for Changing Time-Series Trends

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing anomaly detection methods in time series data struggle with false positives due to changing trends and require frequent updates in data contracts, while current forecasting algorithms are inaccurate and resource-intensive, lacking support for multiple seasonal components and holiday effects.

Innovation Solution

A method that separates time series data into multiple windows, computes upper and lower bounds for each window, and uses a voting scheme to detect anomalies based on outlier status across windows, with feedback mechanisms to adjust parameters for improved accuracy.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional anomaly detection methods are used with fixed bounds, then the system is simple to implement, but it generates false positives due to changing trends and requires frequent updates

Engineering Contradiction:
Improveanomaly detection accuracyVSAvoiddetection system complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent implements dynamic window sizing where the window size adapts based on the detected trend in time series data. When an increasing or decreasing trend is detected, the window size is adjusted accordingly. This dynamic adaptation allows the system to maintain accurate anomaly detection without requiring frequent manual updates to data contracts, resolving the contradiction between reliability and complexity by automating the adaptation mechanism.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system performs preliminary trend detection and window size adjustment before anomaly detection. By pre-adapting the window size to match the underlying trend pattern, the system prepares the detection mechanism in advance, reducing false positives and eliminating the need for reactive updates to detection parameters.

Inventive Principle:
Principle #10Preliminary action

2Measurement precision

If forecasting algorithms are used to improve anomaly detection accuracy, then detection precision improves, but resource consumption increases and training time is excessive

Engineering Contradiction:
Improveanomaly detection precisionVSAvoidcomputational resource consumption
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The patent extracts and removes the forecasting component from the anomaly detection system. Instead of using complex forecasting algorithms that require extensive training and computational resources, the system directly analyzes the trend in historical data and adapts window sizes accordingly. This extraction eliminates the resource-intensive forecasting step while maintaining the ability to detect anomalies accurately through trend-aware dynamic windowing.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system replaces expensive, long-training forecasting models with simple, lightweight trend detection mechanisms that require minimal computational resources. The trend detection uses basic statistical methods on historical data, providing a cost-effective alternative to complex forecasting algorithms while achieving sufficient detection precision.

Inventive Principle:
Principle #27Cheap short-living objects (Disposable)

3Adaptability or versatility

If current forecasting algorithms are used, then some prediction capability is provided, but they lack support for multiple seasonal components and holiday effects

Engineering Contradiction:
Improvehandling of seasonal patternsVSAvoidforecasting accuracy
Core Design Contradiction:
Adaptability or versatilityVSMeasurement precision

Solution Approach 1:

The patent segments the time series analysis into multiple windows of different sizes, each capturing different temporal patterns. By dividing the data into multiple segments with varying window sizes, the system can simultaneously capture short-term and long-term seasonal patterns without requiring a single complex forecasting model. This segmentation approach naturally handles multiple seasonal components by allowing different windows to focus on different periodicities.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS20250310176A1Auto-tunable parameterized window-based anomaly detection
Publication Date: 2025.10.02 SNOWFLAKE INC
  • US20250310176A1 patent drawing
  • US20250310176A1 patent drawing
  • US20250310176A1 patent drawing

AI summary

Disclosed is a method of detecting anomalies in time series data. The method includes computing a first bound for a first window of the time series a second bound for a second window of the time series, wherein the second window includes more samples of the time series data. The method also includes generating a first outlier status that indicates whether a current value of the time series data exceeds the first bound, and generating a second outlier status that indicates whether the current value of the time series data exceeds the second bound. The method also includes determining, by a processing device, whether an anomaly is detected in the time series data based on values of the first outlier status and the second outlier status. The method also includes generating an alert in response to determining that the anomaly is detected and sending the alert to a notification system.