Hierarchical Prompt Tuning for System-Incremental Log Analysis
Mingjie Zhou, Weidong Yang, Lipeng Ma, Sihang Jiang, Bo Xu, Yanghua Xiao
Abstract
System-incremental log analysis, involves the ongoing training of a model using logs from diverse systems to enable effective resolution of log analysis tasks across an expanding array of systems. Existing continual learning methods, which are based on prompt tuning, have shown challenges in insufficient knowledge transfer and increasing catastrophic forgetting. To tackle these challenges, we present LogHPT, a novel continual learning method based on a hierarchical prompt tuning frame-work specifically tailored for system-incremental log analysis. LogHPT incorporates four types of prompt meticulously crafted to capture log knowledge across various granularities, thereby enhancing knowledge transfer. Subsequently, we employ a key-value mechanism to discern the most suitable prompts for the input logs. Additionally, we use general prompt learning based on knowledge distillation to mitigate catastrophic forgetting. To evaluate the performance of LogHPT, we conduct comprehensive experiments focusing on two fundamental subtasks: log parsing and log anomaly detection. The results show that LogHPT achieves state-of-the-art (SOTA) performance. The source code and datasets for this paper are accessible at the following link: https://github.com/nonauthor/LogHPT.
BibTeX
@inproceedings{icassp2025_hierarchicalprom,
title = {Hierarchical Prompt Tuning for System-Incremental Log Analysis},
author = {Mingjie Zhou and Weidong Yang and Lipeng Ma and Sihang Jiang and Bo Xu and Yanghua Xiao},
booktitle = {ICASSP 2025},
year = {2025}
}