Automated Feature Engineering for Streaming Data Anomaly Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current anomaly detection systems for streaming data, particularly in industrial settings like refrigeration units, face challenges in distinguishing normal fluctuations from abnormal behavior due to varying operational patterns and lack of baseline data, leading to reactive rather than proactive detection methods.

Innovation Solution

An automated feature engineering method that converts streaming data into point statistics through long-term and short-term calculations, normalization, and dynamic time warping, enabling unsupervised anomaly detection algorithms like isolation forests and one-class SVM to identify anomalies before they occur.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional anomaly detection methods are used for streaming data, then the system can detect anomalies, but it reacts after anomalies occur rather than detecting them proactively

Engineering Contradiction:
Improveanomaly detection accuracyVSAvoiddetection timing
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs preliminary feature engineering by computing long-term and short-term point statistics from streaming data before anomaly occurrence. It calculates statistical features (mean, standard deviation, skewness, kurtosis) over different time windows in advance, creating a foundation for proactive anomaly detection rather than reactive response.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system dynamically adjusts time windows and statistical calculations based on streaming data characteristics. It adapts the length of time windows and the granularity of feature extraction to match the operational patterns of the monitored system, enabling proactive detection of deviations from normal behavior.

Inventive Principle:
Principle #15Dynamics

2Loss of time

If the system processes streaming data in real-time, then it can detect anomalies promptly, but the complexity of feature engineering increases

Engineering Contradiction:
Improvedetection response timeVSAvoidfeature engineering complexity
Core Design Contradiction:
Loss of timeVSDevice complexity

Solution Approach 1:

The system segments the feature engineering process into distinct components: long-term statistics calculation, short-term statistics calculation, normalization, and anomaly detection. Each segment processes data independently at different time granularities, reducing the complexity burden on any single processing stage while maintaining real-time capability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system introduces intermediate statistical features (point statistics from long-term and short-term windows) as mediators between raw streaming data and the final anomaly detection algorithm. These intermediate features simplify the data representation and prepare it for efficient processing by anomaly detection models.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Measurement precision

If the system uses multiple time windows for statistical calculations, then it can capture different temporal patterns, but the computational load increases

Engineering Contradiction:
Improvestatistical measurement accuracyVSAvoidcomputational energy consumption
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The system applies different time window lengths and statistical calculation methods to different aspects of the data. It uses longer time windows for capturing overall patterns and shorter time windows for detecting recent changes, with each window serving its specific local purpose in the overall anomaly detection strategy.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The system dynamically adjusts parameters such as time window lengths, statistical features to compute, and calculation granularities based on data characteristics and operational requirements. This allows optimization of computational energy consumption while maintaining measurement precision for different temporal patterns.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS20240320565A1Automated feature engineering
Publication Date: 2024.09.26 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US20240320565A1 patent drawing
  • US20240320565A1 patent drawing
  • US20240320565A1 patent drawing

AI summary

Feature engineering, for example, in automated machine learning, can include receiving streaming data representing at least one attribute detected by a sensor over time. Long term point statistics associated with the streaming data can be computed. The streaming data can be quantized into intervals of time windows and short term point statistics based on the intervals can be computed. The long term point statistics and the short term point statistics can be normalized. Dynamic time warping can be applied across the normalized long term point statistics and short term point statistics. A pair of probability distributions can be generated associated with the dynamic time warped normalized long term point statistics and short term point statistics. Based on distance between the mean values of the probability distributions, machine learning input features can be produced. The machine learning input features can be fed to train a machine learning model for detecting anomaly.