Large Language Model Guided Knowledge Distillation for Time Series Anomaly Detection

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Liu, Chen, He, Shibo, Zhou, Qihang, Li, Shizhong, Meng, Wenchao
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866917576863383552
author Liu, Chen
He, Shibo
Zhou, Qihang
Li, Shizhong
Meng, Wenchao
author_facet Liu, Chen
He, Shibo
Zhou, Qihang
Li, Shizhong
Meng, Wenchao
contents Self-supervised methods have gained prominence in time series anomaly detection due to the scarcity of available annotations. Nevertheless, they typically demand extensive training data to acquire a generalizable representation map, which conflicts with scenarios of a few available samples, thereby limiting their performance. To overcome the limitation, we propose \textbf{AnomalyLLM}, a knowledge distillation-based time series anomaly detection approach where the student network is trained to mimic the features of the large language model (LLM)-based teacher network that is pretrained on large-scale datasets. During the testing phase, anomalies are detected when the discrepancy between the features of the teacher and student networks is large. To circumvent the student network from learning the teacher network's feature of anomalous samples, we devise two key strategies. 1) Prototypical signals are incorporated into the student network to consolidate the normal feature extraction. 2) We use synthetic anomalies to enlarge the representation gap between the two networks. AnomalyLLM demonstrates state-of-the-art performance on 15 datasets, improving accuracy by at least 14.5\% in the UCR dataset.
format Preprint
id arxiv_https___arxiv_org_abs_2401_15123
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Large Language Model Guided Knowledge Distillation for Time Series Anomaly Detection
Liu, Chen
He, Shibo
Zhou, Qihang
Li, Shizhong
Meng, Wenchao
Machine Learning
Artificial Intelligence
Self-supervised methods have gained prominence in time series anomaly detection due to the scarcity of available annotations. Nevertheless, they typically demand extensive training data to acquire a generalizable representation map, which conflicts with scenarios of a few available samples, thereby limiting their performance. To overcome the limitation, we propose \textbf{AnomalyLLM}, a knowledge distillation-based time series anomaly detection approach where the student network is trained to mimic the features of the large language model (LLM)-based teacher network that is pretrained on large-scale datasets. During the testing phase, anomalies are detected when the discrepancy between the features of the teacher and student networks is large. To circumvent the student network from learning the teacher network's feature of anomalous samples, we devise two key strategies. 1) Prototypical signals are incorporated into the student network to consolidate the normal feature extraction. 2) We use synthetic anomalies to enlarge the representation gap between the two networks. AnomalyLLM demonstrates state-of-the-art performance on 15 datasets, improving accuracy by at least 14.5\% in the UCR dataset.
title Large Language Model Guided Knowledge Distillation for Time Series Anomaly Detection
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2401.15123