Log Parsing with Prompt-based Few-shot Learning

被引:12
|
作者
Le, Van-Hoang [1 ]
Zhang, Hongyu [2 ]
机构
[1] Univ Newcastle, Sch Informat & Phys Sci, Callaghan, NSW, Australia
[2] Chongqing Univ, Sch Big Data & Software Engn, Chongqing, Peoples R China
基金
澳大利亚研究理事会;
关键词
log parsing; few-shot learning; prompt-tuning; deep learning;
D O I
10.1109/ICSE48619.2023.00204
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Logs generated by large-scale software systems provide crucial information for engineers to understand the system status and diagnose problems of the systems. Log parsing, which converts raw log messages into structured data, is the first step to enabling automated log analytics. Existing log parsers extract the common part as log templates using statistical features. However, these log parsers often fail to identify the correct templates and parameters because: 1) they often overlook the semantic meaning of log messages, and 2) they require domain-specific knowledge for different log datasets. To address the limitations of existing methods, in this paper, we propose LogPPT to capture the patterns of templates using prompt-based few-shot learning. LogPPT utilises a novel prompt tuning method to recognise keywords and parameters based on a few labelled log data. In addition, an adaptive random sampling algorithm is designed to select a small yet diverse training set. We have conducted extensive experiments on 16 public log datasets. The experimental results show that LogPPT is effective and efficient for log parsing.
引用
收藏
页码:2438 / 2449
页数:12
相关论文
共 50 条
  • [1] Prompt-Based Metric Learning for Few-Shot NER
    Chen, Yanru
    Zheng, Yanan
    Yang, Zhilin
    FINDINGS OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS (ACL 2023), 2023, : 7199 - 7212
  • [2] Few-shot Log Analysis with Prompt-based Multi-task Transfer Learning
    Zhou, Mingjie
    Yang, Weidong
    Ma, Lipeng
    Jiang, Sihang
    Xu, Bo
    Xiao, Yanghua
    DATABASE SYSTEMS FOR ADVANCED APPLICATIONS, DASFAA 2024, PT 2, 2025, 14851 : 466 - 475
  • [3] Contrastive Learning for Prompt-Based Few-Shot Language Learners
    Jian, Yiren
    Gao, Chongyang
    Vosoughi, Soroush
    NAACL 2022: THE 2022 CONFERENCE OF THE NORTH AMERICAN CHAPTER OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS: HUMAN LANGUAGE TECHNOLOGIES, 2022, : 5577 - 5587
  • [4] Prompt-based learning for few-shot class-incremental learning
    Yuan, Jicheng
    Chen, Hang
    Tian, Songsong
    Li, Wenfa
    Li, Lusi
    Ning, Enhao
    Zhang, Yugui
    ALEXANDRIA ENGINEERING JOURNAL, 2025, 120 : 287 - 295
  • [5] Joint contrastive learning for prompt-based few-shot language learners
    Zhengzhong Zhu
    Xuejie Zhang
    Jin Wang
    Xiaobing Zhou
    Neural Computing and Applications, 2024, 36 : 7861 - 7875
  • [6] Joint contrastive learning for prompt-based few-shot language learners
    Zhu, Zhengzhong
    Zhang, Xuejie
    Wang, Jin
    Zhou, Xiaobing
    NEURAL COMPUTING & APPLICATIONS, 2024, 36 (14): : 7861 - 7875
  • [7] Continual Few-Shot Relation Extraction with Prompt-Based Contrastive Learning
    Wu, Fei
    Zhang, Chong
    Tan, Zhen
    Xu, Hao
    Ge, Bin
    WEB AND BIG DATA, PT IV, APWEB-WAIM 2023, 2024, 14334 : 312 - 327
  • [8] Prompt-based Few-shot Learning for Table-based Fact Verification
    Hou, Lei
    Liu, Yubo
    Wu, Jie
    Hou, Mengshu
    2022 5TH INTERNATIONAL CONFERENCE ON MACHINE LEARNING AND NATURAL LANGUAGE PROCESSING, MLNLP 2022, 2022, : 14 - 19
  • [9] Prototypical Verbalizer for Prompt-based Few-shot Tuning
    Cui, Ganqu
    Hu, Shengding
    Ding, Ning
    Huang, Longtao
    Liu, Zhiyuan
    PROCEEDINGS OF THE 60TH ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS (ACL 2022), VOL 1: (LONG PAPERS), 2022, : 7014 - 7024
  • [10] IPLog: An Efficient Log Parsing Method Based on Few-Shot Learning
    Liu, Shuxian
    Yun, Libo
    Nie, Shuaiqi
    Zhang, Guiheng
    Li, Wei
    ELECTRONICS, 2024, 13 (16)