Sensor Network Anomaly Detection Using SAX Pattern Matching

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In the IoT sensor network, anomaly detection is challenging due to subtle changes in sensor data patterns over time, leading to false positives and false negatives, as existing pattern recognition methods require exact matches and are not tolerant to deviations in wavelength and frequency.

Innovation Solution

The proposed solution involves using the Symbolic Aggregate approximation (SAX) algorithm to generate and compare patterns, allowing for tolerance by calculating a Hamming distance and average distance score between SAX words, enabling detection of anomalies even with slight deviations from known patterns.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If exact pattern matching is used for anomaly detection, then measurement precision is improved, but reliability deteriorates due to false positives and false negatives from subtle pattern changes

Engineering Contradiction:
Improveanomaly detection accuracyVSAvoiddetection stability
Core Design Contradiction:
Measurement precisionVSReliability

Solution Approach 1:

The patent transforms the time series data into SAX (Symbolic Aggregate approXimation) words by changing the parameter representation from raw numerical values to discrete symbolic sequences. This parameter transformation enables the system to capture pattern similarities while being tolerant to subtle variations in wavelength and frequency, thus resolving the contradiction between precise anomaly detection and reliability against false positives/negatives

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent introduces Hamming distance as an intermediary metric to compare SAX words. Instead of directly comparing raw sensor data patterns, the system uses SAX words as intermediaries and measures their similarity through Hamming distance. This intermediary approach allows the system to detect anomalies while accommodating natural variations in sensor data patterns over time

Inventive Principle:
Principle #24Intermediary (Mediator)

2Device complexity

If traditional pattern recognition is used, then device complexity is reduced, but adaptability deteriorates due to inability to handle wavelength and frequency variations

Engineering Contradiction:
Improvepattern recognition system complexityVSAvoidpattern variation tolerance
Core Design Contradiction:
Device complexityVSAdaptability or versatility

Solution Approach 1:

The patent applies parameter changes by converting time series data into SAX words, which represent the data in a discrete symbolic format. This transformation maintains relatively simple system architecture while dramatically improving adaptability to pattern variations in wavelength and frequency, as SAX words naturally capture the essential pattern characteristics without being sensitive to exact timing or value variations

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS11762956B2Adaptive pattern recognition for a sensor network
Publication Date: 2023.09.19 ORACLE INT CORP
  • US11762956B2 patent drawing
  • US11762956B2 patent drawing
  • US11762956B2 patent drawing

AI summary

Embodiments match sensor data output by a sensor to a trained pattern. Embodiments form a plurality of windows of an identified pattern from the sensor data, each of the plurality of windows having a substantially equal window length to a length of the trained pattern. For each of the windows, embodiments generate a corresponding first Symbolic Aggregate approximation (“SAX”) word, determine a Hamming distance between the first SAX word and a second SAX word corresponding to the trained pattern, and determine a final distance score based on coefficients between the first SAX word and the second SAX word. For each of the windows, embodiments determine a number of positions in the first SAX word that do not contribute to the final distance score, update the Hamming distance after eliminating the number of positions and determine an average distance based on the final distance score and the updated Hamming distance.