About | Contact Us | Register | Login
ProceedingsSeriesJournalsSearchEAI
Security and Privacy in New Computing Environments. 6th International Conference, SPNCE 2023, Guangzhou, China, November 25–26, 2023, Proceedings

Research Article

Anomaly Detection of Unstable Log Data Based on Contrastive Learning

Cite
BibTeX Plain Text
  • @INPROCEEDINGS{10.1007/978-3-031-73699-5_10,
        author={Lan Liu and Zhihao Huang and Jun Lin and Kangjian He and Zhanfa Hui},
        title={Anomaly Detection of Unstable Log Data Based on Contrastive Learning},
        proceedings={Security and Privacy in New Computing Environments. 6th International Conference, SPNCE 2023, Guangzhou, China, November 25--26, 2023, Proceedings},
        proceedings_a={SPNCE},
        year={2025},
        month={1},
        keywords={Anomaly Detection Log Embedding Unstable Log Data Contrastive Learning Deep Learning},
        doi={10.1007/978-3-031-73699-5_10}
    }
    
  • Lan Liu
    Zhihao Huang
    Jun Lin
    Kangjian He
    Zhanfa Hui
    Year: 2025
    Anomaly Detection of Unstable Log Data Based on Contrastive Learning
    SPNCE
    Springer
    DOI: 10.1007/978-3-031-73699-5_10
Lan Liu1, Zhihao Huang1, Jun Lin2, Kangjian He1, Zhanfa Hui1
  • 1: Guangdong Polytechnic Normal University
  • 2: Sun Yat–Sen University

Abstract

In today’s large computer systems, it is almost impossible to locate errors using traditional manual methods in the face of abnormal conditions due to the unprecedented size and complexity of the system. As part of computer resources, log data records every step of the system operation process, making log data a popular method for detecting abnormal system status. However, in actual production environments, normal logs make up most of the log data types, and the log structure is constantly adjusted with each update for maintenance and upgrades. Therefore, overcoming the instability of logs caused by these issues has become a major concern for researchers in the field of log detection. In this paper, we propose a method to improve log instability and enhance model detection accuracy by using contrastive learning in the log vectorization and detection phases. Contrastive learning is used to train the vectorization and diagnostic models by aggregating and distinguishing classes in mathematical space, resulting in a more robust vectorization model and better generalization of the generated template vector data. This also improves the feature extraction ability of the diagnostic model and improves the final anomaly classification results. Experimental results show that our method improves the handling of unstable log data in anomaly detection and outperforms the baseline on HDFS and BGL datasets in terms of experimental performance.

Keywords
Anomaly Detection Log Embedding Unstable Log Data Contrastive Learning Deep Learning
Published
2025-01-01
Appears in
SpringerLink
http://dx.doi.org/10.1007/978-3-031-73699-5_10
Copyright © 2023–2025 ICST
EBSCOProQuestDBLPDOAJPortico
EAI Logo

About EAI

  • Who We Are
  • Leadership
  • Research Areas
  • Partners
  • Media Center

Community

  • Membership
  • Conference
  • Recognition
  • Sponsor Us

Publish with EAI

  • Publishing
  • Journals
  • Proceedings
  • Books
  • EUDL