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 条
  • [31] Prompt-Based Label-Aware Framework for Few-Shot Multi-Label Text Classification
    Thaminkaew, Thanakorn
    Lertvittayakumjorn, Piyawat
    Vateekul, Peerapon
    IEEE ACCESS, 2024, 12 : 28310 - 28322
  • [32] Using dependency parsing for few-shot learning in distributional semantics
    Preda, Stefania
    Emerson, Guy
    PROCEEDINGS OF THE 60TH ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS (ACL 2022): STUDENT RESEARCH WORKSHOP, 2022, : 461 - 466
  • [33] Span-Based Chinese Few-Shot NER with Contrastive and Prompt Learning
    Ye, Feiyang
    Lai, Peichao
    Yang, Sanhe
    Zhang, Zhengfeng
    Wang, Yilei
    NATURAL LANGUAGE PROCESSING AND CHINESE COMPUTING, PT II, NLPCC 2024, 2025, 15360 : 43 - 55
  • [34] PROMPT PROTOTYPE LEARNING BASED ON RANKING INSTRUCTION FOR FEW-SHOT VISUAL TASKS
    Sun, Li
    Wang, Liuan
    Sun, Jun
    Okatani, Takayuki
    2023 IEEE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING, ICIP, 2023, : 3235 - 3239
  • [35] Few-Shot Image Classification Method Based on Visual Language Prompt Learning
    Li B.
    Wang X.
    Teng S.
    Lyu X.
    Beijing Youdian Daxue Xuebao/Journal of Beijing University of Posts and Telecommunications, 2024, 47 (02): : 11 - 17
  • [36] Few-Shot Composition Learning for Image Retrieval with Prompt Tuning
    Wu, Junda
    Wang, Rui
    Zhao, Handong
    Zhang, Ruiyi
    Lu, Chaochao
    Li, Shuai
    Henao, Ricardo
    THIRTY-SEVENTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, VOL 37 NO 4, 2023, : 4729 - 4737
  • [37] Enhanced Prompt Learning for Few-shot Text Classification Method
    Li R.
    Wei Z.
    Fan Y.
    Ye S.
    Zhang G.
    Beijing Daxue Xuebao (Ziran Kexue Ban)/Acta Scientiarum Naturalium Universitatis Pekinensis, 2024, 60 (01): : 1 - 12
  • [38] Evolutionary Verbalizer Search for Prompt-Based Few Shot Text Classification
    Ling, Tongtao
    Chen, Lei
    Lai, Yutao
    Liu, Hai-Lin
    KNOWLEDGE SCIENCE, ENGINEERING AND MANAGEMENT, PT IV, KSEM 2023, 2023, 14120 : 279 - 290
  • [39] Learning Meta Soft Prompt for Few-Shot Language Models
    Chien, Jen-Tzung
    Chen, Ming-Yen
    Xue, Jing-Hao
    2023 ASIA PACIFIC SIGNAL AND INFORMATION PROCESSING ASSOCIATION ANNUAL SUMMIT AND CONFERENCE, APSIPA ASC, 2023, : 57 - 62
  • [40] Few-Shot Semantic Parsing for New Predicates
    Li, Zhuang
    Qu, Lizhen
    Huang, Shuo
    Haffari, Gholamreza
    16TH CONFERENCE OF THE EUROPEAN CHAPTER OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS (EACL 2021), 2021, : 1281 - 1291