NLP-ADBench: NLP Anomaly Detection Benchmark

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Li, Yuangang, Li, Jiaqi, Xiao, Zhuo, Yang, Tiankai, Nian, Yi, Hu, Xiyang, Zhao, Yue
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911200463290368
author Li, Yuangang
Li, Jiaqi
Xiao, Zhuo
Yang, Tiankai
Nian, Yi
Hu, Xiyang
Zhao, Yue
author_facet Li, Yuangang
Li, Jiaqi
Xiao, Zhuo
Yang, Tiankai
Nian, Yi
Hu, Xiyang
Zhao, Yue
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2412_04784
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle NLP-ADBench: NLP Anomaly Detection Benchmark
Li, Yuangang
Li, Jiaqi
Xiao, Zhuo
Yang, Tiankai
Nian, Yi
Hu, Xiyang
Zhao, Yue
Computation and Language
Machine Learning
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.
title NLP-ADBench: NLP Anomaly Detection Benchmark
topic Computation and Language
Machine Learning
url https://arxiv.org/abs/2412.04784