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 条
  • [41] Retrieval-Based Prompt Selection for Code-Related Few-Shot Learning
    Nashid, Noor
    Sintaha, Mifta
    Mesbah, Ali
    2023 IEEE/ACM 45TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, ICSE, 2023, : 2450 - 2462
  • [42] Supervised and Few-Shot Learning for Aspect-Based Sentiment Analysis of Instruction Prompt
    Huang, Jie
    Cui, Yunpeng
    Liu, Juan
    Liu, Ming
    ELECTRONICS, 2024, 13 (10)
  • [43] A lightweight approach based on prompt for few-shot relation extraction
    Zhang, Ying
    Huang, Wencheng
    Dang, Depeng
    COMPUTER SPEECH AND LANGUAGE, 2024, 84
  • [44] Few-Shot Few-Shot Learning and the role of Spatial Attention
    Lifchitz, Yann
    Avrithis, Yannis
    Picard, Sylvaine
    2020 25TH INTERNATIONAL CONFERENCE ON PATTERN RECOGNITION (ICPR), 2021, : 2693 - 2700
  • [45] Hierarchy-Aware Interactive Prompt Learning for Few-Shot Classification
    Yin, Xiaotian
    Wu, Jiamin
    Yang, Wenfei
    Zhou, Xu
    Zhang, Shifeng
    Zhang, Tianzhu
    IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY, 2024, 34 (12) : 12221 - 12232
  • [46] Knowledge-Enhanced Prompt Learning for Few-Shot Text Classification
    Liu, Jinshuo
    Yang, Lu
    BIG DATA AND COGNITIVE COMPUTING, 2024, 8 (04)
  • [47] HGPrompt: Bridging Homogeneous and Heterogeneous Graphs for Few-Shot Prompt Learning
    Yu, Xingtong
    Fang, Yuan
    Liu, Zemin
    Zhang, Xinming
    THIRTY-EIGHTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, VOL 38 NO 15, 2024, : 16578 - 16586
  • [48] Towards using Few-Shot Prompt Learning for Automating Model Completion
    Ben Chaaben, Meriem
    Burgueno, Lola
    Sahraoui, Houari
    2023 IEEE/ACM 45TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING-NEW IDEAS AND EMERGING RESULTS, ICSE-NIER, 2023, : 7 - 12
  • [49] Cross-coupled prompt learning for few-shot image recognition☆
    Zhang, Fangyuan
    Wei, Rukai
    Xie, Yanzhao
    Wang, Yangtao
    Tan, Xin
    Ma, Lizhuang
    Tang, Maobin
    Fan, Lisheng
    DISPLAYS, 2024, 85
  • [50] Hierarchical Prompt Tuning for Few-Shot Multi-Task Learning
    Liu, Jingping
    Chen, Tao
    Liang, Zujie
    Jiang, Haiyun
    Xiao, Yanghua
    Wei, Feng
    Qian, Yuxi
    Hao, Zhenghong
    Han, Bing
    PROCEEDINGS OF THE 32ND ACM INTERNATIONAL CONFERENCE ON INFORMATION AND KNOWLEDGE MANAGEMENT, CIKM 2023, 2023, : 1556 - 1565