Saved in:
Bibliographic Details
Main Authors: Jin, Hongwei, Papadimitriou, George, Raghavan, Krishnan, Zuk, Pawel, Balaprakash, Prasanna, Wang, Cong, Mandal, Anirban, Deelman, Ewa
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2407.17545
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910541364068352
author Jin, Hongwei
Papadimitriou, George
Raghavan, Krishnan
Zuk, Pawel
Balaprakash, Prasanna
Wang, Cong
Mandal, Anirban
Deelman, Ewa
author_facet Jin, Hongwei
Papadimitriou, George
Raghavan, Krishnan
Zuk, Pawel
Balaprakash, Prasanna
Wang, Cong
Mandal, Anirban
Deelman, Ewa
contents Anomaly detection in computational workflows is critical for ensuring system reliability and security. However, traditional rule-based methods struggle to detect novel anomalies. This paper leverages large language models (LLMs) for workflow anomaly detection by exploiting their ability to learn complex data patterns. Two approaches are investigated: 1) supervised fine-tuning (SFT), where pre-trained LLMs are fine-tuned on labeled data for sentence classification to identify anomalies, and 2) in-context learning (ICL) where prompts containing task descriptions and examples guide LLMs in few-shot anomaly detection without fine-tuning. The paper evaluates the performance, efficiency, generalization of SFT models, and explores zero-shot and few-shot ICL prompts and interpretability enhancement via chain-of-thought prompting. Experiments across multiple workflow datasets demonstrate the promising potential of LLMs for effective anomaly detection in complex executions.
format Preprint
id arxiv_https___arxiv_org_abs_2407_17545
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Large Language Models for Anomaly Detection in Computational Workflows: from Supervised Fine-Tuning to In-Context Learning
Jin, Hongwei
Papadimitriou, George
Raghavan, Krishnan
Zuk, Pawel
Balaprakash, Prasanna
Wang, Cong
Mandal, Anirban
Deelman, Ewa
Software Engineering
Artificial Intelligence
Computation and Language
Anomaly detection in computational workflows is critical for ensuring system reliability and security. However, traditional rule-based methods struggle to detect novel anomalies. This paper leverages large language models (LLMs) for workflow anomaly detection by exploiting their ability to learn complex data patterns. Two approaches are investigated: 1) supervised fine-tuning (SFT), where pre-trained LLMs are fine-tuned on labeled data for sentence classification to identify anomalies, and 2) in-context learning (ICL) where prompts containing task descriptions and examples guide LLMs in few-shot anomaly detection without fine-tuning. The paper evaluates the performance, efficiency, generalization of SFT models, and explores zero-shot and few-shot ICL prompts and interpretability enhancement via chain-of-thought prompting. Experiments across multiple workflow datasets demonstrate the promising potential of LLMs for effective anomaly detection in complex executions.
title Large Language Models for Anomaly Detection in Computational Workflows: from Supervised Fine-Tuning to In-Context Learning
topic Software Engineering
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2407.17545