RATFM: Retrieval-augmented Time Series Foundation Model for Anomaly Detection
On the map: Retrieval-augmented generation → Time series and agricultural RAG
Abstract (arXiv)
Inspired by the success of large language models (LLMs) in natural language processing, recent research has explored the building of time series foundation models and applied them to tasks such as forecasting, classification, and anomaly detection. However, their performances vary between different domains and tasks. In LLM-based approaches, test-time adaptation using example-based prompting has become common, owing to the high cost of retraining. In the context of anomaly detection, which is the focus of this study, providing normal examples from the target domain can also be effective. However, time series foundation models do not naturally acquire the ability to interpret or utilize examples or instructions, because the nature of time series data used during training does not encourage such capabilities. To address this limitation, we propose a retrieval augmented time series foundation model (RATFM), which enables pretrained time series foundation models to incorporate examples of test-time adaptation. We show that RATFM achieves a performance comparable to that of in-domain fine-tuning while avoiding domain-dependent fine-tuning. Experiments on the UCR Anomaly Archive, a multi-domain dataset including nine domains, confirms the effectiveness of the proposed approach.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Time series and agricultural RAG, one of 15 directions in Retrieval-augmented generation. Builds on 26 of its 52 references that are in the map. First posted on arXiv 2 Jun 2025.
Builds on
26 of 52 references.
References · 26
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023GPT-4 Technical Reportcited by 18,396
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,141
- 2024Chronos: Learning the Language of Time Seriescited by 759
- 2023A decoder-only foundation model for time-series forecastingcited by 692
- 2024Unified Training of Universal Time Series Forecasting Transformerscited by 614
- 2024MOMENT: A Family of Open Time-series Foundation Modelscited by 482
- 2018Detecting Spacecraft Anomalies Using LSTMs and Nonparametric Dynamic Thresholdingcited by 410
- 2021Anomaly Transformer: Time Series Anomaly Detection with Association Discrepancycited by 394
- 2024Time-MoE: Billion-Scale Time Series Foundation Models with Mixture of Expertscited by 287
14 more
- 2022Self-Supervised Contrastive Pre-Training For Time Series via Time-Frequency Consistencycited by 250
- 2018Unsupervised Anomaly Detection via Variational Auto-Encoder for Seasonal KPIs in Web Applicationscited by 224
- 2020Current Time Series Anomaly Detection Benchmarks are Flawed and are Creating the Illusion of Progresscited by 151
- 2022Deep Learning for Time Series Anomaly Detection: A Surveycited by 131
- 2024CATCH: Channel-Aware multivariate Time Series Anomaly Detection via Frequency Patchingcited by 94
- 2015Evaluating Real-time Anomaly Detection Algorithms - the Numenta Anomaly Benchmarkcited by 88
- 2022Local Evaluation of Time Series Anomaly Detection Algorithmscited by 79
- 2018Precision and Recall for Time Seriescited by 67
- 2024Can LLMs Understand Time Series Anomalies?cited by 41
- 2024Towards a General Time Series Anomaly Detector with Adaptive Bottlenecks and Dual Adversarial Decoderscited by 38
- 2024See it, Think it, Sorted: Large Multimodal Models are Few-shot Time Series Anomaly Analyzerscited by 20
- 2024PATE: Proximity-Aware Time series anomaly Evaluationcited by 13
- 2023Unraveling the "Anomaly" in Time Series Anomaly Detection: A Self-supervised Tri-domain Solutioncited by 12
- 2025GCAD: Anomaly Detection in Multivariate Time Series from the Perspective of Granger Causalitycited by 12
Built on by
Citing papers per year: 2026: 2.
2 papers.
- 2026Post-Training in Time Series Foundation Models: A Unifying Frameworkcited by 3
- 2026Memory in Deep Time-Series Modelscited by 0
- 2026Memory in Deep Time-Series Models5 Sep 2026
- 2026Post-Training in Time Series Foundation Models: A Unifying Framework22 Jul 2026
Similar, not cited
Close in wording, no citation either way
- 2024Can LLMs Serve As Time Series Anomaly Detectors?
- 2025AXIS: Explainable Time Series Anomaly Detection with Large Language Models
- 2026AnomSeer: Reinforcing Multimodal LLMs to Reason for Time-Series Anomaly Detection
- 2024Large Language Model Guided Knowledge Distillation for Time Series Anomaly Detection
- 2026ARFBench: Benchmarking Time Series Question Answering Ability for Software Incident Response
- 2025Forecast2Anomaly (F2A): Adapting Multivariate Time Series Foundation Models for Anomaly Prediction
- 2024Understanding Why Large Language Models Can Be Ineffective in Time Series Analysis: The Impact of Modality Alignment
- 2024Large Language Models can Deliver Accurate and Interpretable Time Series Anomaly Detection