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 条
  • [21] Prompt-Based Data Augmentation Framework for Few-Shot Named Entity Recognition
    Wang, Moyao
    Gao, Hui
    Zhang, Peng
    Zhang, Jing
    ADVANCED INTELLIGENT COMPUTING TECHNOLOGY AND APPLICATIONS, PT III, ICIC 2024, 2024, 14877 : 451 - 462
  • [22] PMRC: Prompt-Based Machine Reading Comprehension for Few-Shot Named Entity Recognition
    Huang, Jin
    Yan, Danfeng
    Cai, Yuanqiang
    THIRTY-EIGHTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, VOL 38 NO 16, 2024, : 18316 - 18326
  • [23] Prompt-Based Self-training Framework for Few-Shot Named Entity Recognition
    Huang, Ganghong
    Zhong, Jiang
    Wang, Chen
    Dai, Qizhu
    Li, Rongzhen
    KNOWLEDGE SCIENCE, ENGINEERING AND MANAGEMENT, KSEM 2022, PT III, 2022, 13370 : 91 - 103
  • [24] Gotta: Generative Few-shot Question Answering by Prompt-based Cloze Data Augmentation
    Chen, Xiusi
    Zhang, Yu
    Deng, Jinliang
    Jiang, Jyun-Yu
    Wang, Wei
    PROCEEDINGS OF THE 2023 SIAM INTERNATIONAL CONFERENCE ON DATA MINING, SDM, 2023, : 909 - 917
  • [25] Cross-language few-shot intent recognition via prompt-based tuning
    Cao, Pei
    Li, Yu
    Li, Xinlu
    APPLIED INTELLIGENCE, 2025, 55 (01)
  • [26] Unified Multi-modal Pre-training for Few-shot Sentiment Analysis with Prompt-based Learning
    Yu, Yang
    Zhang, Dong
    Li, Shoushan
    PROCEEDINGS OF THE 30TH ACM INTERNATIONAL CONFERENCE ON MULTIMEDIA, MM 2022, 2022,
  • [27] Few-Shot Novel Concept Learning for Semantic Parsing
    Dan, Soham
    Bastani, Osbert
    Roth, Dan
    FINDINGS OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, EMNLP 2021, 2021, : 2064 - 2075
  • [28] Few-shot Sentiment Analysis Based on Adaptive Prompt Learning and Contrastive Learning
    Shi, Cong
    Zhai, Rui
    Song, Yalin
    Yu, Junyang
    Li, Han
    Wang, Yingqi
    Wang, Longge
    INFORMATION TECHNOLOGY AND CONTROL, 2023, 52 (04): : 1058 - 1072
  • [29] Adaptive Prompt Learning-Based Few-Shot Sentiment Analysis
    Zhang, Pengfei
    Chai, Tingting
    Xu, Yongdong
    NEURAL PROCESSING LETTERS, 2023, 55 (06) : 7259 - 7272
  • [30] Adaptive Prompt Learning-Based Few-Shot Sentiment Analysis
    Pengfei Zhang
    Tingting Chai
    Yongdong Xu
    Neural Processing Letters, 2023, 55 : 7259 - 7272