TinyLog: Log Anomaly Detection with Lightweight Temporal Convolutional Network for Edge Device

Chuangying Meng,Ningjiang Chen
DOI: https://doi.org/10.1109/ijcnn60899.2024.10651312
2024-01-01
Abstract:Log anomaly detection on edge devices is one of the key components to ensure system security and diagnose system faults. Existing log anomaly detection methods usually contain a large number of parameters and computations. However, processing large-scale logs on edge devices is still a bottleneck due to the limited computational power of edge devices, which can hardly afford the complexity of these detection models. Hence, we propose a lightweight and efficient log anomaly detection method called TinyLog, which aims to facilitate the identification of anomalous log patterns in large-scale IoT systems. Specifically, TinyLog uses Word2Vec and TF-IDF to construct weighted log semantic vector. Further, a lightweight temporal convolutional network based on depthwise separable convolution and triplet attention is designed for anomaly detection in edge devices. Experimental results show that TinyLog outperforms other state-of-the-art benchmark methods in terms of performance and efficiency, while its computational overhead is extremely low. Thus, our approach can be effectively applied to resource-constrained edge devices.
What problem does this paper attempt to address?