PyOD 2: A Python Library for Outlier Detection with LLM-powered Model Selection
Outlier detection (OD), or anomaly detection, is essential in data analysis and machine learning. The Python Outlier Detection (PyOD) library is the most popular open-source tool for OD-with over 8,500 GitHub stars and 25 million downloads-but it has three limitations: (1) limited modern deep learning algorithms, (2) fragmented PyTorch and TensorFlow implementations, and (3) no automated model selection, which challenges non-experts. To overcome these issues, we introduce PyOD Version 2 (øurs), which integrates 10 state-of-the-art deep learning models into a unified PyTorch framework and adds an LLM-based pipeline for automated model selection. These enhancements streamline OD workflows, offer access to 45 algorithms, and deliver robust performance across various datasets. In this paper, we demonstrate how øurs simplifies the deployment and automation of OD models, setting a new standard in research and industry. øurs is available at https://github.com/yzhao062/pyod.
Authors
- Y. Zhang
- Sihan Chen
- Jiaqi Li (ORCID: https://orcid.org/0009-0000-1207-1592)
- Zhuangzhuang Qian
- Yushun Dong (ORCID: https://orcid.org/0000-0001-7504-6159)
- Yue Zhao (ORCID: https://orcid.org/0000-0003-3401-4921)
- S. J. Li
- Tiankai Yang (ORCID: https://orcid.org/0009-0000-4965-4433)
- W.C. Siu
- Yuehan Qin
- Zhuo Xiao
- Xingcan Hu
- Wanghao Ye
Institutions
- Florida State University (US)
- University of Southern California (US)
- University of Maryland, College Park (US)
Publication Details
- Published
- 2025-05-08
- DOI
- https://doi.org/10.1145/3701716.3715196
- Citations
- 8
- Primary Topic
- Anomaly Detection Techniques and Applications
- Type
- article
- Field-Weighted Citation Impact
- 19.85