Hierarchical Prompt Tuning for System-Incremental Log Analysis
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.
Authors
- Bo Xu (ORCID: https://orcid.org/0000-0002-2083-4307)
- Mingjie Zhou (ORCID: https://orcid.org/0000-0001-5986-3773)
- Lipeng Ma (ORCID: https://orcid.org/0000-0001-5974-5988)
- Yanghua Xiao (ORCID: https://orcid.org/0000-0001-8403-9591)
- Weidong Yang (ORCID: https://orcid.org/0000-0002-6473-9272)
- Sihang Jiang (ORCID: https://orcid.org/0000-0002-0736-6457)
Institutions
- Donghua University (CN)
- Fudan University (CN)
Publication Details
- Published
- 2025-03-12
- DOI
- https://doi.org/10.1109/icassp49660.2025.10890029
- Primary Topic
- Fault Detection and Control Systems
- Type
- article
- Field-Weighted Citation Impact
- 0.00