SPEAR: Soft Prompt Enhanced Anomaly Recognition for Time Series Data
Not on the map. Why?
Abstract (arXiv)
Time series anomaly detection plays a crucial role in a wide range of fields, such as healthcare and internet traffic monitoring. The emergence of large language models (LLMs) offers new opportunities for detecting anomalies in the ubiquitous time series data. Traditional approaches struggle with variable-length time series sequences and context-based anomalies. We propose Soft Prompt Enhanced Anomaly Recognition (SPEAR), a novel approach to leverage LLMs for anomaly detection with soft prompts and quantization. Our methodology involves quantizing and transforming the time series data into input embeddings and combining them with learnable soft prompt embeddings. These combined embeddings are then fed into a frozen LLM. The soft prompts are updated iteratively based on a cross-entropy loss, allowing the model to adapt to time series anomaly detection. The use of soft prompts helps adapt LLMs effectively to time series tasks, while quantization ensures optimal handling of sequences, as LLMs are designed to handle discrete sequences. Our experimental results demonstrate that soft prompts effectively increase LLMs' performance in downstream tasks regarding time series anomaly detection.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 20 of its 31 references that are in the map. First posted on arXiv 4 Oct 2025.
Builds on
20 of 31 references.
References · 20
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
- 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 739
- 2023Time-LLM: Time Series Forecasting by Reprogramming Large Language Modelscited by 700
- 2023One Fits All:Power General Time Series Analysis by Pretrained LMcited by 632
- 2023Large Language Models Are Zero-Shot Time Series Forecasterscited by 500
- 2018Detecting Spacecraft Anomalies Using LSTMs and Nonparametric Dynamic Thresholdingcited by 410
- 2021Learning How to Ask: Querying LMs with Mixtures of Soft Promptscited by 377
- 2021SPoT: Better Frozen Model Adaptation through Soft Prompt Transfercited by 235
- 2022PromptCast: A New Prompt-based Learning Paradigm for Time Series Forecastingcited by 172
- 2022Deep Learning for Time Series Anomaly Detection: A Surveycited by 131
- 2015Evaluating Real-time Anomaly Detection Algorithms - the Numenta Anomaly Benchmarkcited by 88
- 2024Large Language Models for Forecasting and Anomaly Detection: A Systematic Literature Reviewcited by 53
8 more
- 2022Leveraging Language Foundation Models for Human Mobility Forecastingcited by 50
- 2022Decomposed Soft Prompt Guided Fusion Enhancing for Compositional Zero-Shot Learningcited by 37
- 2024Large language models can be zero-shot anomaly detectors for time series?cited by 31
- 2021Robust and Transferable Anomaly Detection in Log Data using Pre-Trained Language Modelscited by 12
- 2023Soft Prompt Decoding for Multilingual Dense Retrievalcited by 10
- 2024AAD-LLM: Adaptive Anomaly Detection Using Large Language Modelscited by 7
- 2024Large Language Models for Anomaly Detection in Computational Workflows: from Supervised Fine-Tuning to In-Context Learningcited by 6
- 2014Synthetic Minority Over-sampling TEchnique(SMOTE) for Predicting Software Build Outcomescited by 3
Built on by
Citing papers per year: 2025: 1.
1 paper.
- 2025Toward Reasoning-Centric Time-Series Analysiscited by 1
- 2025Toward Reasoning-Centric Time-Series Analysis14 Oct 2025
Similar, not cited
Close in wording, no citation either way
- 2025AXIS: Explainable Time Series Anomaly Detection with Large Language Models
- 2024Can LLMs Serve As Time Series Anomaly Detectors?
- 2025RATFM: Retrieval-augmented Time Series Foundation Model for Anomaly Detection
- 2024Large Language Model Guided Knowledge Distillation for Time Series Anomaly Detection
- 2024Large Language Models can Deliver Accurate and Interpretable Time Series Anomaly Detection
- 2026AnomSeer: Reinforcing Multimodal LLMs to Reason for Time-Series Anomaly Detection
- 2026LEARN-TS: LLM-Enhanced Alignment and Reconstruction with Normality Guidance for Multivariate Time-Series Anomaly Detection
- 2024Can LLMs Understand Time Series Anomalies?