arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2412.04784cs.CLcs.LG
收藏

NLP-ADBench:自然语言处理异常检测基准

NLP-ADBench: NLP Anomaly Detection Benchmark

University of Southern California(南加州大学);Arizona State University(亚利桑那州立大学)

Yuangang Li, Jiaqi Li, Zhuo Xiao, Tiankai Yang, Yi Nian, Xiyang Hu, Yue Zhao

AI总结:

针对NLP中异常检测研究不足的问题,提出最全面的基准NLP-ADBench,含8个数据集和19种算法,发现两步法优于端到端法,OpenAI嵌入优于BERT,并开源统一框架。

摘要:

异常检测(AD)是一项重要的机器学习任务,广泛应用于欺诈检测、内容审核和用户行为分析。然而,异常检测在自然语言处理(NLP)情境下的研究相对不足,限制了其在检测有害内容、网络钓鱼企图和垃圾评论方面的有效性。我们推出了NLP-ADBench,这是迄今为止最全面的自然语言处理异常检测(NLP-AD)基准,包含八个精选数据集和19种最先进的算法。这些算法涵盖3种端到端方法和16种两步方法,后者将经典的、非AD方法适配到来自BERT和OpenAI的语言嵌入上。我们的实证结果表明,没有任何单一模型能在所有数据集上占据主导地位,这表明需要自动化的模型选择。此外,采用基于Transformer嵌入的两步方法始终优于专门的端到端方法,其中OpenAI嵌入的表现优于BERT嵌入。我们在https://github.com/USC-FORTIS/NLP-ADBench上发布了NLP-ADBench,为NLP-AD提供了一个统一框架,并支持未来的研究。

英文摘要:

Anomaly detection (AD) is an important machine learning task with applications in fraud detection, content moderation, and user behavior analysis. However, AD is relatively understudied in a natural language processing (NLP) context, limiting its effectiveness in detecting harmful content, phishing attempts, and spam reviews. We introduce NLP-ADBench, the most comprehensive NLP anomaly detection (NLP-AD) benchmark to date, which includes eight curated datasets and 19 state-of-the-art algorithms. These span 3 end-to-end methods and 16 two-step approaches that adapt classical, non-AD methods to language embeddings from BERT and OpenAI. Our empirical results show that no single model dominates across all datasets, indicating a need for automated model selection. Moreover, two-step methods with transformer-based embeddings consistently outperform specialized end-to-end approaches, with OpenAI embeddings outperforming those of BERT. We release NLP-ADBench at https://github.com/USC-FORTIS/NLP-ADBench, providing a unified framework for NLP-AD and supporting future investigations.

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

↑