Large Language Models for Anomaly Detection in Computational Workflows: from Supervised Fine-Tuning to In-Context Learning
Hongwei Jin, George Papadimitriou, Krishnan Raghavan, Pawel Zuk,, Prasanna Balaprakash, Cong Wang, Anirban Mandal, Ewa Deelman

TL;DR
This paper explores the use of large language models for anomaly detection in computational workflows, comparing supervised fine-tuning and in-context learning approaches to improve detection accuracy and interpretability.
Contribution
It introduces and evaluates two novel LLM-based methods for workflow anomaly detection, highlighting their effectiveness and potential advantages over traditional techniques.
Findings
Supervised fine-tuning improves detection accuracy with labeled data.
In-context learning enables few-shot anomaly detection without fine-tuning.
Chain-of-thought prompting enhances interpretability of LLM decisions.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAnomaly Detection Techniques and Applications · Scientific Computing and Data Management · Network Security and Intrusion Detection
MethodsShrink and Fine-Tune
