Transformer-Based Anomaly Detection in Time Series Data

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional deep learning models for detecting abnormalities in time series data, such as CNN-based and RNN-based models, face challenges in processing time series data effectively due to increased neural network size and specialization in lattice data, rather than time series data, and require multiple decoders which complicates the process.

Innovation Solution

A method using a transformer-based artificial neural network that masks and restores time series data to minimize neural network volume and improve detection performance, involving pretreatment, embedding, and training with a generator and discriminator to learn normal distributions and detect abnormalities without needing multiple decoders.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If CNN-based deep learning model is used for detecting abnormality in time series data, then the model can process data effectively, but the model becomes specialized for lattice data rather than time series data and increases neural network size

Engineering Contradiction:
Improveabnormality detection performanceVSAvoidneural network size
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent extracts and removes unnecessary components from the neural network architecture. Specifically, it eliminates the need for multiple decoders by using a single decoder that processes all time series data uniformly, thereby reducing neural network size while maintaining abnormality detection performance

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent makes the neural network model universal by designing a single decoder that can handle all types of time series data regardless of resolution or format. This universal approach replaces the specialized multi-resolution decoders, reducing complexity while improving adaptability to different time series data

Inventive Principle:
Principle #6Universality (Multi-functionality)

2Adaptability or versatility

If RNN-based deep learning model with multi-resolution decoders is used to capture time features, then the model can process time series data with various resolutions, but the size of the neural network increases

Engineering Contradiction:
Improvecapability to process time series data with various resolutionsVSAvoidneural network size
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent merges multiple specialized decoders into a single unified decoder. Instead of having separate decoders for different resolutions, the single decoder processes all time series data uniformly, combining the functionality of multiple components into one to reduce neural network size while maintaining versatility

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent changes the architectural parameters by removing the multi-resolution decoder structure and adopting a single decoder with uniform processing capability. This parameter change simplifies the network while preserving the ability to handle various time series resolutions through a unified approach

Inventive Principle:
Principle #35Parameter changes

3Reliability

If multiple decoders are used in the deep learning model, then the model can capture time features with various resolutions, but the device complexity and processing overhead increase

Engineering Contradiction:
Improvetime feature capture capabilityVSAvoidnumber of decoders
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent extracts and removes the unnecessary multi-resolution decoder structure, keeping only a single decoder that captures time features effectively. This extraction eliminates redundant components while preserving the essential time feature capture capability

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

Instead of using multiple decoders to handle different resolutions (the conventional approach), the patent inverts the approach by using a single decoder that uniformly processes all data. This inversion simplifies the architecture while maintaining or improving detection performance

Inventive Principle:
Principle #13The other way round (Inversion)

Data Source

PatentUS11861454B2Method for detecting anomaly in time series data and computing device for executing the method
Publication Date: 2024.01.02 UNIVERSITY INDUSTRY COOPERATION GROUP OF KYUNG HEE UNIVERSITY
  • US11861454B2 patent drawing
  • US11861454B2 patent drawing
  • US11861454B2 patent drawing

AI summary

A method of detecting an abnormality in time series data according to an embodiment of the present disclosure is performed in a computing device including one or more processors and a memory storing one or more programs executed by the one or more processors. First masking is performed to cover a portion of input time series data with a mask. First-restored time series data in which the time series data is restored is generated by inputting the first-masked time series data to a generator. A difference between the first-restored time series data and original time series data is calculated. Second masking is performed to cover a portion of the time series data with a mask on basis of the calculated difference. Second-restored time series data in which the time series data is restored is generated by inputting the second-masked time series data to the generator.