Time-RA: Towards Time Series Reasoning for Anomaly with LLM Feedback

Yiyuan Yang, Zichuan Liu, Lei Song, Kai Ying, Zhiguang Wang +4 more
7/20/2025
cs.LGcs.AIcs.MM

Official code: yyysjz1997/Time-RA (28 stars, last commit 2026-01-10).

Abstract

Time series anomaly detection is critical across various domains, yet current approaches often limit analysis to mere binary anomaly classification without detailed categorization or further explanatory reasoning. To address these limitations, we propose a novel task, Time-series Reasoning for Anomaly (Time-RA) that transforms classical time series anomaly detection from a discriminative into a generative, reasoning-intensive task leveraging Large Language Models (LLMs). Also, we introduce the first real-world multimodal benchmark dataset, RATs40K, explicitly annotated for anomaly reasoning, comprising approximately 40,000 samples across 10 real-world domains. Each sample includes numeric time series data, contextual text information, and visual representations, each annotated with fine-grained categories (14 types for univariate anomalies and 6 for multivariate anomalies) and structured explanatory reasoning. We develop a sophisticated annotation framework utilizing ensemble-generated labels refined through GPT-4-driven feedback, ensuring accuracy and interpretability. Extensive benchmarking of LLMs and multimodal LLMs demonstrates the capabilities and limitations of current models, highlighting the critical role of supervised fine-tuning. Our dataset and task pave the way for significant advancements in interpretable time series anomaly detection and reasoning. The code (https://github.com/yyysjz1997/Time-RA) and dataset (https://huggingface.co/datasets/Time-RA/RATs40K) have been fully open-sourced to support and accelerate future research in this area.

View on arXivView PDF

Code Implementations(1)

yyysjz1997/Time-RAOfficial100%

Time-RA: Towards Time Series Reasoning for Anomaly with LLM Feedback

281Shell, PythonJul 29, 20259 months ago
anomaly-detectiondata-miningdecision-makingllmreasoning+1 more

Similar Papers

Cite this paper

@article{yang2025timera,
  title  = {Time-RA: Towards Time Series Reasoning for Anomaly with LLM Feedback},
  author = {Yiyuan Yang and Zichuan Liu and Lei Song and Kai Ying and Zhiguang Wang and Tom Bamford and Svitlana Vyetrenko and Jiang Bian and Qingsong Wen},
  year   = {2025},
  eprint = {2507.15066},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.15066v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.15066.svg)](https://codeofpaper.com/paper/2507.15066)

Discussion