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

AD-LLM:用于异常检测的大型语言模型基准测试

AD-LLM: Benchmarking Large Language Models for Anomaly Detection

University of Southern California(南加州大学);Northwestern University(西北大学);Arizona State University(亚利桑那州立大学);Adobe Research(Adobe研究);Rice University(里士满大学)

Tiankai Yang, Yi Nian, Shawn Li, Ruiyao Xu, Yuangang Li, Jiaqi Li, Zhuo Xiao, Xiyang Hu, Ryan Rossi, Kaize Ding, Xia Hu, Yue Zhao

AI总结:

本文提出AD-LLM基准,评估大型语言模型在NLP异常检测中的零样本检测、数据增强和模型选择能力,发现零样本有效、增强有用,并指出未来六个研究方向。

摘要:

异常检测(AD)是一项重要的机器学习任务,在现实世界中有许多应用,包括欺诈检测、医疗诊断和工业监控。在自然语言处理(NLP)领域,异常检测有助于识别垃圾邮件、错误信息和异常用户活动等问题。尽管大型语言模型(LLM)在文本生成和摘要等任务上产生了重大影响,但它们在异常检测中的潜力尚未得到充分研究。本文介绍了AD-LLM,这是第一个评估LLM如何帮助NLP异常检测的基准。我们考察了三个关键任务:(i)零样本检测,利用LLM的预训练知识在没有任务特定训练的情况下执行异常检测;(ii)数据增强,生成合成数据和类别描述以改进异常检测模型;(iii)模型选择,使用LLM建议无监督异常检测模型。通过在不同数据集上的实验,我们发现LLM在零样本异常检测中表现良好,精心设计的增强方法是有用的,并且针对特定数据集解释模型选择仍然具有挑战性。基于这些结果,我们概述了关于LLM用于异常检测的六个未来研究方向。

英文摘要:

Anomaly detection (AD) is an important machine learning task with many real-world uses, including fraud detection, medical diagnosis, and industrial monitoring. Within natural language processing (NLP), AD helps detect issues like spam, misinformation, and unusual user activity. Although large language models (LLMs) have had a strong impact on tasks such as text generation and summarization, their potential in AD has not been studied enough. This paper introduces AD-LLM, the first benchmark that evaluates how LLMs can help with NLP anomaly detection. We examine three key tasks: (i) zero-shot detection, using LLMs' pre-trained knowledge to perform AD without tasks-specific training; (ii) data augmentation, generating synthetic data and category descriptions to improve AD models; and (iii) model selection, using LLMs to suggest unsupervised AD models. Through experiments with different datasets, we find that LLMs can work well in zero-shot AD, that carefully designed augmentation methods are useful, and that explaining model selection for specific datasets remains challenging. Based on these results, we outline six future research directions on LLMs for AD.

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

↑