paper-with-me

Papers

Interpretable Online Log Analysis Using Large Language Models with Prompt Strategies

2023-08-15 · Yilun Liu, Shimin Tao, Weibin Meng, Jingyu Wang, Wenbing Ma, Yanqing Zhao, Yuhang Chen, Hao Yang, Yanfei Jiang, Xun Chen

Automated log analysis is crucial in modern software-intensive systems for facilitating program comprehension throughout software maintenance and engineering life cycles. Existing methods perform tasks such as log parsing and log anomaly detection by providing a single prediction value without interpretation. However, given the increasing volume of system events, the limited interpretability of analysis results hinders analysts' comprehension of program status and their ability to take appropriate actions. Moreover, these methods require substantial in-domain training data, and their performance declines sharply (by up to 62.5%) in online scenarios involving unseen logs from new domains, a common occurrence due to rapid software updates. In this paper, we propose LogPrompt, a novel interpretable log analysis approach for online scenarios. LogPrompt employs large language models (LLMs) to perform online log analysis tasks via a suite of advanced prompt strategies tailored for log tasks, which enhances LLMs' performance by up to 380.7% compared with simple prompts. Experiments on nine publicly available evaluation datasets across two tasks demonstrate that LogPrompt, despite requiring no in-domain training, outperforms existing approaches trained on thousands of logs by up to 55.9%. We also conduct a human evaluation of LogPrompt's interpretability, with six practitioners possessing over 10 years of experience, who highly rated the generated content in terms of usefulness and readability (averagely 4.42/5). LogPrompt also exhibits remarkable compatibility with open-source and smaller-scale LLMs, making it flexible for practical deployment. Code of LogPrompt is available at https://github.com/lunyiliu/LogPrompt.

📄 PDF Abstract BibTeX arXiv:2308.07610

Code (1)

lunyiliu/logprompt 공식 구현

Tasks

Anomaly DetectionLog ParsingPrompt Engineering

Similar Papers 제목 키워드 기반

Tensor Trust: Interpretable Prompt Injection Attacks from an Online Game

2023-11-02 · Sam Toyer, Olivia Watkins, Ethan Adrian Mendes, Justin Svegliato 외

While Large Language Models (LLMs) are increasingly being used in real-world applications, they remain vulnerable to prompt injection attacks: malicious third party prompts that subvert the intent of the system designer.…

Instruction Following

BiomedXPro: Prompt Optimization for Explainable Diagnosis with Biomedical Vision Language Models

2025-10-17 · Kaushitha Silva, Mansitha Eashwara, Sanduni Ubayasiri, Ruwan Tennakoon 외 arxiv

The clinical adoption of biomedical vision-language models is hindered by prompt optimization techniques that produce either uninterpretable latent vectors or single textual prompts. This lack of transparency and failure…

Towards Interpretable Mental Health Analysis with Large Language Models

2023-04-06 · Kailai Yang, Shaoxiong Ji, Tianlin Zhang, Qianqian Xie 외

The latest large language models (LLMs) such as ChatGPT, exhibit strong capabilities in automated mental health analysis. However, existing relevant studies bear several limitations, including inadequate evaluations, lac…

Causal Emotion EntailmentEmotion RecognitionIn-Context LearningPrompt Engineering

Explaining Patterns in Data with Language Models via Interpretable Autoprompting

2022-10-04 · Chandan Singh, John X. Morris, Jyoti Aneja, Alexander M. Rush 외

Large language models (LLMs) have displayed an impressive ability to harness natural language to perform complex tasks. In this work, we explore whether we can leverage this learned ability to find and explain patterns i…

Explanation GenerationNatural Language UnderstandingRerankingscientific discovery+2

MentaLLaMA: Interpretable Mental Health Analysis on Social Media with Large Language Models

2023-09-24 · Kailai Yang, Tianlin Zhang, Ziyan Kuang, Qianqian Xie 외

With the development of web technology, social media texts are becoming a rich source for automatic mental health analysis. As traditional discriminative methods bear the problem of low interpretability, the recent large…

Instruction Following