mlsanityData to 7 Oct 2026

ICAD-LLM: One-for-All Anomaly Detection via In-Context Learning with Large Language Models

arXiv 2512.01672 ↗First posted 1 Dec 2025cs.LG cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

Anomaly detection (AD) is a fundamental task of critical importance across numerous domains. Current systems increasingly operate in rapidly evolving environments that generate diverse yet interconnected data modalities -- such as time series, system logs, and tabular records -- as exemplified by modern IT systems. Effective AD methods in such environments must therefore possess two critical capabilities: (1) the ability to handle heterogeneous data formats within a unified framework, allowing the model to process and detect multiple modalities in a consistent manner during anomalous events; (2) a strong generalization ability to quickly adapt to new scenarios without extensive retraining. However, most existing methods fall short of these requirements, as they typically focus on single modalities and lack the flexibility to generalize across domains. To address this gap, we introduce a novel paradigm: In-Context Anomaly Detection (ICAD), where anomalies are defined by their dissimilarity to a relevant reference set of normal samples. Under this paradigm, we propose ICAD-LLM, a unified AD framework leveraging Large Language Models' in-context learning abilities to process heterogeneous data within a single model. Extensive experiments demonstrate that ICAD-LLM achieves competitive performance with task-specific AD methods and exhibits strong generalization to previously unseen tasks, which substantially reduces deployment costs and enables rapid adaptation to new environments. To the best of our knowledge, ICAD-LLM is the first model capable of handling anomaly detection tasks across diverse domains and modalities.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 15 of its 44 references that are in the map. First posted on arXiv 1 Dec 2025.

Builds on

15 of 44 references.

References · 15

  1. 2023One Fits All:Power General Time Series Analysis by Pretrained LMcited by 615
  2. 2018Detecting Spacecraft Anomalies Using LSTMs and Nonparametric Dynamic Thresholdingcited by 407
  3. 2021Anomaly Transformer: Time Series Anomaly Detection with Association Discrepancycited by 387
  4. 2022A Unified Model for Multi-class Anomaly Detectioncited by 267
  5. 2018Unsupervised Anomaly Detection via Variational Auto-Encoder for Seasonal KPIs in Web Applicationscited by 223
  6. 2020Classification-Based Anomaly Detection for General Datacited by 210
  7. 2021LogBERT: Log Anomaly Detection via BERTcited by 114
  8. 2021Neural Transformation Learning for Deep Anomaly Detection Beyond Imagescited by 98
  9. 2022Self-supervised Trajectory Representation Learning with Temporal Regularities and Travel Semanticscited by 58
  10. 2024ResAD: A Simple Framework for Class Generalizable Anomaly Detectioncited by 24
  11. 2024BIGCity: A Universal Spatiotemporal Model for Unified Trajectory and Traffic State Data Analysiscited by 16
  12. 2025Bridging Traffic State and Trajectory for Dynamic Road Network and Trajectory Representation Learningcited by 14
3 more
  1. 2023Seeing the Unseen: Learning Basis Confounder Representations for Robust Traffic Predictioncited by 12
  2. 2025POI-Enhancer: An LLM-based Semantic Enhancement Framework for POI Representation Learningcited by 10
  3. 2024Full Bayesian Significance Testing for Neural Networkscited by 8

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.