Skip to main content
QUICK REVIEW

[Paper Review] Feedforward Neural Network for Time Series Anomaly Detection

Rong Zhang, Dong Shandong|arXiv (Cornell University)|Dec 20, 2018
Anomaly Detection Techniques and ApplicationsComputer Science8 references7 citations
TL;DR

This paper proposes a feedforward neural network for time series anomaly detection that eliminates the need for manual feature engineering by learning patterns end-to-end from normalized raw data. The model achieves higher offline precision and recall than XGBoost with extensive feature engineering, and its hidden layer outputs serve as meaningful time series representations.

ABSTRACT

Time series anomaly detection is usually formulated as finding outlier data points relative to some usual data, which is also an important problem in industry and academia. To ensure systems working stably, internet companies, banks and other companies need to monitor time series, which is called KPI (Key Performance Indicators), such as CPU used, number of orders, number of online users and so on. However, millions of time series have several shapes (e.g. seasonal KPIs, KPIs of timed tasks and KPIs of CPU used), so that it is very difficult to use a simple statistical model to detect anomaly for all kinds of time series. Although some anomaly detectors have developed many years and some supervised models are also available in this field, we find many methods have their own disadvantages. In this paper, we present our system, which is based on deep feedforward neural network and detect anomaly points of time series. The main difference between our system and other systems based on supervised models is that we do not need feature engineering of time series to train deep feedforward neural network in our system, which is essentially an end-to-end system.

Motivation & Objective

  • To develop a robust, end-to-end deep learning model for time series anomaly detection that reduces reliance on manual feature engineering.
  • To improve the precision and recall of anomaly detection systems in large-scale industrial monitoring environments.
  • To demonstrate that a deep feedforward network can learn complex time series patterns directly from raw data without prior statistical or domain-specific feature extraction.
  • To show that the hidden layer representations of the trained network can serve as effective, learned features for time series.

Proposed method

  • The model uses a deep feedforward neural network trained end-to-end on normalized raw time series data to predict anomaly labels.
  • It employs a custom differentiable approximation of binary indicator functions using ReLU and sigmoid activations to represent threshold-based features (e.g., x ≥ a) as learnable components.
  • The network architecture is designed to encode time series patterns through multiple fully connected layers with batch normalization and ReLU activation.
  • Key features such as 'count above mean' and 'count below mean' are implemented using differentiable approximations of indicator functions, enabling backpropagation through these operations.
  • The model is trained using binary cross-entropy loss with class-balanced sampling to address the long-tail distribution of anomalies.
  • After training, the hidden layer activations are extracted as compact, meaningful representations of time series for downstream analysis or transfer learning.

Experimental results

Research questions

  • RQ1Can a feedforward neural network detect time series anomalies effectively without relying on handcrafted features?
  • RQ2How does the performance of an end-to-end deep feedforward network compare to traditional models like XGBoost with extensive feature engineering?
  • RQ3Can the hidden layer representations of the trained network serve as useful, semantically meaningful features for time series?
  • RQ4To what extent can differentiable approximations of discrete operations (e.g., thresholds) be used to build a fully trainable anomaly detection model?

Key findings

  • The proposed feedforward neural network achieves higher offline precision and recall than XGBoost models trained with extensive human-engineered features.
  • The model successfully learns to detect anomalies without any explicit feature engineering, relying solely on raw normalized time series data.
  • The hidden layer outputs of the trained network are shown to be effective, meaningful representations of time series, capturing underlying patterns and trends.
  • The network’s ability to approximate discrete operations like thresholds and counts using differentiable functions enables end-to-end training and improves model generalization.
  • The approach demonstrates that deep feedforward networks can serve as a robust, scalable solution for real-time anomaly detection in high-volume industrial time series.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.