Saved in:
Bibliographic Details
Main Authors: Yang, Lin, Chen, Junjie, Gao, Shutao, Gong, Zhihao, Zhang, Hongyu, Kang, Yue, Li, Huaan
Format: Preprint
Published: 2023
Subjects:
Online Access:https://arxiv.org/abs/2308.12612
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909089018150912
author Yang, Lin
Chen, Junjie
Gao, Shutao
Gong, Zhihao
Zhang, Hongyu
Kang, Yue
Li, Huaan
author_facet Yang, Lin
Chen, Junjie
Gao, Shutao
Gong, Zhihao
Zhang, Hongyu
Kang, Yue
Li, Huaan
contents The rapid growth of deep learning (DL) has spurred interest in enhancing log-based anomaly detection. This approach aims to extract meaning from log events (log message templates) and develop advanced DL models for anomaly detection. However, these DL methods face challenges like heavy reliance on training data, labels, and computational resources due to model complexity. In contrast, traditional machine learning and data mining techniques are less data-dependent and more efficient but less effective than DL. To make log-based anomaly detection more practical, the goal is to enhance traditional techniques to match DL's effectiveness. Previous research in a different domain (linking questions on Stack Overflow) suggests that optimized traditional techniques can rival state-of-the-art DL methods. Drawing inspiration from this concept, we conducted an empirical study. We optimized the unsupervised PCA (Principal Component Analysis), a traditional technique, by incorporating lightweight semantic-based log representation. This addresses the issue of unseen log events in training data, enhancing log representation. Our study compared seven log-based anomaly detection methods, including four DL-based, two traditional, and the optimized PCA technique, using public and industrial datasets. Results indicate that the optimized unsupervised PCA technique achieves similar effectiveness to advanced supervised/semi-supervised DL methods while being more stable with limited training data and resource-efficient. This demonstrates the adaptability and strength of traditional techniques through small yet impactful adaptations.
format Preprint
id arxiv_https___arxiv_org_abs_2308_12612
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Try with Simpler -- An Evaluation of Improved Principal Component Analysis in Log-based Anomaly Detection
Yang, Lin
Chen, Junjie
Gao, Shutao
Gong, Zhihao
Zhang, Hongyu
Kang, Yue
Li, Huaan
Machine Learning
Software Engineering
The rapid growth of deep learning (DL) has spurred interest in enhancing log-based anomaly detection. This approach aims to extract meaning from log events (log message templates) and develop advanced DL models for anomaly detection. However, these DL methods face challenges like heavy reliance on training data, labels, and computational resources due to model complexity. In contrast, traditional machine learning and data mining techniques are less data-dependent and more efficient but less effective than DL. To make log-based anomaly detection more practical, the goal is to enhance traditional techniques to match DL's effectiveness. Previous research in a different domain (linking questions on Stack Overflow) suggests that optimized traditional techniques can rival state-of-the-art DL methods. Drawing inspiration from this concept, we conducted an empirical study. We optimized the unsupervised PCA (Principal Component Analysis), a traditional technique, by incorporating lightweight semantic-based log representation. This addresses the issue of unseen log events in training data, enhancing log representation. Our study compared seven log-based anomaly detection methods, including four DL-based, two traditional, and the optimized PCA technique, using public and industrial datasets. Results indicate that the optimized unsupervised PCA technique achieves similar effectiveness to advanced supervised/semi-supervised DL methods while being more stable with limited training data and resource-efficient. This demonstrates the adaptability and strength of traditional techniques through small yet impactful adaptations.
title Try with Simpler -- An Evaluation of Improved Principal Component Analysis in Log-based Anomaly Detection
topic Machine Learning
Software Engineering
url https://arxiv.org/abs/2308.12612