[Paper Review] Greenhouse: A Zero-Positive Machine Learning System for Time-Series Anomaly Detection
Greenhouse proposes a zero-positive LSTM-based anomaly detection system for time-series data that requires no labeled anomalies during training. By leveraging multi-variate error modeling and Mahalanobis distance thresholds, it achieves competitive precision (0.49 on Twitter_AAPL) with only 25% of the training data needed by LSTM-AD, demonstrating strong practicality for real-world IoT applications where anomalies are rare and hard to label.
This short paper describes our ongoing research on Greenhouse - a zero-positive machine learning system for time-series anomaly detection.
Motivation & Objective
- To develop a time-series anomaly detection system that does not require labeled anomalous samples during training, addressing the practical challenge of rare and hard-to-label anomalies in IoT.
- To combine deep learning (LSTM) with probabilistic modeling for robust, scalable anomaly detection in high-volume time-series data.
- To extend the framework into a real-time, online system capable of continuous inference and feedback integration for dynamic environments.
- To support range-based anomaly detection and distributed IoT deployments, enabling broader applicability across heterogeneous systems.
- To optimize data management and high-performance computing integration for efficient deployment in time-series analytics pipelines.
Proposed method
- The system uses a sliding window approach to predict future values using an LSTM model trained on normal time-series data.
- For each time point, it computes an error vector as the difference between predicted and actual values over a forward window of length F.
- Error vectors are modeled using a multivariate normal distribution, and Mahalanobis distances are computed to detect deviations from normal behavior.
- Anomaly threshold τ is determined by fitting the Mahalanobis distances to a truncated normal distribution and selecting the inverse CDF at a user-specified percentile.
- The inference phase applies the trained model to new data, labeling points with Mahalanobis distances exceeding τ as anomalies.
- The framework supports online inference, feedback integration via reinforcement learning, and is designed for integration with time-series data management systems.
Experimental results
Research questions
- RQ1How can anomaly detection be performed effectively in time-series data without requiring labeled anomalous examples?
- RQ2Can a deep learning model trained only on normal data achieve competitive anomaly detection performance compared to models requiring both normal and anomalous data?
- RQ3How can error modeling and Mahalanobis distance be used to detect both point and range-based anomalies in a principled way?
- RQ4What are the performance and accuracy trade-offs when training on significantly less data than existing methods?
- RQ5How can the system be extended to support real-time, streaming inference and feedback-driven adaptation in distributed IoT environments?
Key findings
- Greenhouse achieved a precision of 0.49 on the Twitter_AAPL dataset, significantly outperforming LSTM-AD’s 0.22, despite using only 25% of its training data.
- On the nyc_taxi dataset, Greenhouse maintained a high recall of 0.58, close to LSTM-AD’s 0.82, while achieving a comparable F1 score of 0.35 versus 0.40.
- The system demonstrated that zero-positive learning is viable and effective, with no need for anomalous samples, reducing data collection and labeling burden.
- Greenhouse’s use of Mahalanobis distance on error vectors enabled robust anomaly detection even with limited training data and no prior anomaly exposure.
- Preliminary results show that the framework can be extended to online, streaming inference and feedback-based learning, supporting real-time deployment.
- The system’s design supports integration with high-performance computing and time-series data management systems, enabling efficient and scalable deployment.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.