Try with Simpler -- An Evaluation of Improved Principal Component Analysis in Log-based Anomaly Detection

Lin Yang, Junjie Chen, Shutao Gao, Zhihao Gong, Hongyu Zhang +2 more
8/24/2023
cs.LGcs.SE

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yang2023with,
  title  = {Try with Simpler -- An Evaluation of Improved Principal Component Analysis in Log-based Anomaly Detection},
  author = {Lin Yang and Junjie Chen and Shutao Gao and Zhihao Gong and Hongyu Zhang and Yue Kang and Huaan Li},
  year   = {2023},
  eprint = {2308.12612},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.12612v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2308.12612.svg)](https://codeofpaper.com/paper/2308.12612)

Discussion