arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.01672cs.LGcs.AI
收藏

ICAD-LLM: 一种通过大语言模型上下文学习实现的通用异常检测方法

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

Zhongyuan Wu, Jingyuan Wang, Zexuan Cheng, Yilong Zhou, Weizhi Wang, Juhua Pu, Chao Li, Changqing Ma

AI总结:

ICAD-LLM通过大语言模型的上下文学习能力,实现跨领域和模态的通用异常检测。

摘要:

异常检测(AD)是跨多个领域的重要基础任务。当前系统越来越多地在快速演变的环境中运行,生成多样且相互关联的数据模态——如时间序列、系统日志和表格记录——这在现代IT系统中有所体现。在这样的环境中,有效的AD方法必须具备两个关键能力:(1)在统一框架内处理异构数据格式的能力,允许模型在异常事件中一致地处理和检测多种模态;(2)强大的泛化能力,能够快速适应新场景而无需大量重新训练。然而,大多数现有方法未能满足这些要求,因为它们通常专注于单一模态,缺乏跨领域的泛化能力。为解决这一差距,我们引入了一种新的范式:上下文异常检测(ICAD),其中异常由其与相关参考集正常样本的不相似性定义。在此范式下,我们提出了ICAD-LLM,一种利用大语言模型的上下文学习能力来处理异构数据的统一AD框架。大量实验表明,ICAD-LLM在任务特定的AD方法中表现竞争,并且在之前未见过的任务中表现出强泛化能力,这大大降低了部署成本,并使模型能够快速适应新环境。据我们所知,ICAD-LLM是第一个能够处理跨不同领域和模态的异常检测任务的模型。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑