• 机器学习
  • 知识库
  • 文档

异常检测(Anomaly Detection / Outlier Detection)旨在从数据中识别偏离整体分布的对象,是信用卡欺诈分析、网络入侵检测、工业设备缺陷检测等领域的关键技术。本文以开源仓库 anomaly-detection-resources 为唯一事实来源,系统梳理其中收录的书籍、论文、在线课程、开源工具库、数据集与顶会期刊清单,并深入讲解仓库自带的论文清单文件与链接维护脚本,帮助读者快速建立从入门到前沿的完整学习路线图。

一、仓库定位:五类资源一网打尽

根据 README.rst 的说明,该仓库由美国南加州大学(USC)相关研究团队持续维护,聚焦收集以下五类资源:

  1. 书籍与学术论文(Books & Academic Papers)
  2. 在线课程与视频(Online Courses and Videos)
  3. 异常检测数据集(Outlier Datasets)
  4. 开源与商业库/工具包(Open-source and Commercial Libraries/Toolkits)
  5. 重要会议与期刊(Key Conferences & Journals)

README 明确声明"More items will be added to the repository"(将持续补充更多资源),并欢迎通过提交 issue、pull request 或邮件([email protected])推荐关键资料。仓库同时提供中文版 README_CN.rst,内容与英文版一一对应,便于中文读者对照查阅。

从仓库结构看,整个资源库并非仅停留在 README 文档层面,还配套了机器可读的资源清单与维护脚本(详见本文第六节),形成"人工筛选 + 自动化校验"的资源维护闭环。

二、书籍、教程与基准测试

2.1 基准测试(Benchmarks)

README 在基准测试一节开头特别发布了两个新工作:NLP-ADBench: NLP Anomaly Detection Benchmark 与 AD-LLM: Benchmarking Large Language Models for Anomaly Detection,二者分别面向 NLP 数据与大规模语言模型驱动的异常检测评测。完整基准清单如下:

数据类型论文标题会议/出处年份
NLPNLP-ADBench: NLP Anomaly Detection BenchmarkPreprint2024
NLPAD-LLM: Benchmarking Large Language Models for Anomaly DetectionPreprint2024
时间序列The Elephant in the Room: Towards A Reliable Time-Series Anomaly Detection Benchmark(TSB-AD)NeurIPS D&B2024
图GADBench: Revisiting and Benchmarking Supervised Graph Anomaly DetectionNeurIPS2023
表格型ADGym: Design Choices for Deep Anomaly DetectionNeurIPS2023
图Benchmarking Node Outlier Detection on GraphsNeurIPS2022
表格型ADBench: Anomaly Detection BenchmarkNeurIPS2022
时间序列Revisiting Time Series Outlier Detection: Definitions and BenchmarksNeurIPS2021

从该表可以清晰看到异常检测基准评测的演进脉络:从经典的表格型数据基准(ADBench)出发,逐步扩展到图数据(GADBench、节点级基准)、时间序列(TSB-AD、Revisiting)乃至 NLP 与 LLM 场景,覆盖数据类型日益多元。各基准的 PDF 与官方代码仓库链接均收录于 README.rst 对应条目中。

2.2 教程(Tutorials)

教程主题会议/出处年份
Trustworthy Anomaly DetectionSDM2024
Recent Advances in Anomaly DetectionCVPR2023
Deep Learning for Anomaly DetectionWSDM2021
Toward Explainable Deep Anomaly DetectionKDD2021
Deep Learning for Anomaly DetectionKDD2020
Which Outlier Detector Should I use?ICDM2018
Outlier detection techniquesACM SIGKDD2010
Data mining for anomaly detectionPKDD2008

这些教程跨度十余年,恰好覆盖了异常检测从经典统计方法、距离/密度方法到深度学习、可信异常检测(Trustworthy AD)的整个演进历史,是系统性入门的首选材料。

2.3 书籍(Books)

  • Outlier Analysis(Charu Aggarwal 著):经典教科书,覆盖绝大多数异常分析技术,被 README 评价为异常检测领域从业者的必读之作,并提供了预览 PDF 链接。
  • Outlier Ensembles: An Introduction(Charu Aggarwal 与 Saket Sathe 著):异常分析中集成学习的优秀入门书。
  • Data Mining: Concepts and Techniques(第 3 版)(Jiawei Han、Micheline Kamber、Jian Pei 著):其中第 12 章以多个关键要点专门论述异常检测。

三、课程 / 研讨会 / 视频

README 收录的在线课程与视频材料包括:

  • Coursera Introduction to Anomaly Detection(IBM 出品):入门级讲解视频;
  • Get started with the Anomaly Detection API(IBM):官方 API 学习路径;
  • Practical Anomaly Detection(appliedAI Institute):配套网站、视频与 GitHub 训练仓库三件套;
  • Coursera Real-Time Cyber Threat Detection and Mitigation:部分覆盖实时异常检测;
  • Coursera Machine Learning(Andrew Ng):其中两个专题直接相关——Anomaly Detection vs. Supervised Learning(异常检测与监督学习的对比)与 Developing and Evaluating an Anomaly Detection System(异常检测系统的开发与评估);
  • Udemy Outlier Detection Algorithms in Data Mining and Data Science:算法实操课程;
  • Stanford Data Mining for Cyber Security:斯坦福公开课,覆盖部分异常检测技术。

四、工具库与数据集

4.1 多变量数据异常检测(Multivariate Data)

语言/平台工具库简介(摘自 README)
Python + LLM AgentOpenAD(AD-AGENT)面向表格、图、时间序列等多种数据模态的多智能体自动化异常检测框架,集成模块化 Agent、模型选择策略与可配置流水线,处于活跃开发中,兼顾学术研究与实际部署
PythonPyOD全面、可扩展的多变量异常检测 Python 工具包,收录 20+ 检测算法,涵盖新兴深度学习模型与异常集成方法
Python + GPUPyTOD(TOD)通用 GPU 加速异常检测框架
PythonPySAD流式异常检测框架,包含 15+ 在线异常检测算法,并提供 2 种将 PyOD 检测器接入流式场景的方法
Pythonscikit-learn内置 LOF、Isolation Forest、One-class SVM 等流行算法
PythonSUOD基于 PyOD 的大规模无监督异常检测训练与预测加速框架
JuliaOutlierDetection.jlJulia 语言的异常检测工具包
JavaELKI开源(AGPLv3)Java 数据挖掘软件,聚焦聚类分析与异常检测中的无监督算法研究
JavaRapidMiner Anomaly Detection Extension为 RapidMiner 提供主流无监督异常检测算法,无需标签即可对数据行输出异常分数
RCRAN Task View: Anomaly Detection with R汇总 R 语言可用于异常检测的包清单
Routliers 包R 中常用离群值检验方法集合
MatlabAnomaly Detection Toolbox - BetaMatlab 实现的流行异常检测算法集合

4.2 时间序列异常检测(Time Series Outlier Detection)

语言工具库简介(摘自 README)
PythonTODS面向多变量时间序列异常检测的全栈自动化机器学习系统
Pythonskyline近实时异常检测系统
PythonbanpeiPython 异常检测包
Pythontelemanom基于 LSTM 的多变量时间序列异常检测框架
PythonDeepADoTS多个 SOTA 深度学习时间序列异常检测方法的基准评测流水线
PythonNAB(Numenta Anomaly Benchmark)面向流式实时应用的异常检测算法评测基准
PythonCueObserve面向 SQL 数据仓库与数据库的异常检测
PythonChaos Genius基于 ML 的异常/离群检测与根因分析引擎
RAnomalyDetection(Twitter 开源)对季节性与趋势稳健的统计异常检测 R 包
Ranomalize提供"tidy"风格的时间序列异常检测工作流

4.3 图异常检测(Graph Outlier Detection)

  • PyGOD(Python Graph Outlier Detection):Python 图异常检测库,收录 10+ 个最新基于图的检测算法。

4.4 实时 Elasticsearch 异常检测

  • Real Time Anomaly Detection in Open Distro for Elasticsearch(Amazon 开源):基于机器学习的 Elasticsearch 实时异常检测插件,底层使用随机割森林(Random Cut Forest)算法;
  • datastream.io:使用 Python、Elasticsearch 与 Kibana 构建的开源实时异常检测框架。

4.5 数据集(Datasets)

数据集说明
NLP-ADBenchNLP 异常检测基准与数据集
ELKI Outlier DatasetsELKI 项目维护的离群数据集
ODDS(Outlier Detection DataSets)石溪大学维护的经典异常检测数据集集合
Unsupervised Anomaly Detection Dataverse哈佛 Dataverse 上的无监督异常检测数据集
Anomaly Detection Meta-Analysis Benchmarks俄勒冈州立大学发布的异常检测元分析基准
SKAB(Skoltech Anomaly Benchmark)面向时间序列的公开异常基准

五、论文清单:22 个方向的精选阅读路线

README 的第 4 节是该仓库的主体,共分 22 个子方向,并给出推荐阅读顺序(前沿优先):LLM 与 LLM Agent → 新兴方向 → 弱监督方法 → 机器学习系统 → 自动化异常检测。以下按子方向完整列出全部论文(标题、出处、年份均来自 README.rst)。

4.1 LLM 与 LLM Agent 用于异常检测(2024–2025 前沿热点)

论文标题出处年份
AD-LLM: Benchmarking Large Language Models for Anomaly DetectionACL 2025 Findings2024
NLP-ADBench: NLP Anomaly Detection BenchmarkEMNLP 2025 Findings2024
AD-AGENT: A Multi-agent Framework for End-to-end Anomaly DetectionFindings of IJCNLP-AACL2025
LogSAD: Training-free Anomaly Detection with Vision & Language Foundation ModelsCVPR 20252025
MMAD: A Comprehensive Benchmark for Multimodal Large Language Models in Industrial Anomaly DetectionICLR 20252025
Delving into Large Language Models for Effective Time-Series Anomaly DetectionNeurIPS 20252025

这一子方向集中体现了 2024–2025 年异常检测与 LLM/VLM 融合的最新进展,涵盖大模型基准评测(AD-LLM、NLP-ADBench、MMAD)、多智能体自动化框架(AD-AGENT)、免训练视觉语言模型方法(LogSAD)以及面向时间序列的 LLM 方法(LLM-TSAD)。

4.2 新兴与有趣方向

论文标题出处年份
Clustering with Outlier RemovalTKDE2019
Real-World Anomaly Detection by using Digital Twin Systems and Weakly-Supervised LearningIEEE Trans. Ind. Informat.2020
SSD: A Unified Framework for Self-Supervised Outlier DetectionICLR2021
AD-LLM: Benchmarking Large Language Models for Anomaly DetectionPreprint2024

4.3 弱监督方法(Weakly-Supervised Methods)

论文标题出处年份
XGBOD: improving supervised outlier detection with unsupervised representation learningIJCNN2018
Feature Encoding With Autoencoders for Weakly Supervised Anomaly DetectionTNNLS2021

4.4 异常检测机器学习系统

论文标题出处年份
PyOD: A Python Toolbox for Scalable Outlier DetectionJMLR2019
SUOD: Accelerating Large-Scale Unsupervised Heterogeneous Outlier DetectionMLSys2021
TOD: Tensor-based Outlier DetectionPreprint2021

4.5 自动化异常检测(Automated Outlier Detection)

论文标题出处年份
AutoML: state of the art with a focus on anomaly detection, challenges, and research directionsInt J Data Sci Anal2022
AutoOD: Automated Outlier Detection via Curiosity-guided Search and Self-imitation LearningICDE2020
Automatic Unsupervised Outlier Model Selection(MetaOD)NeurIPS2021

4.6 神经网络异常检测

论文标题出处年份
Detecting spacecraft anomalies using lstms and nonparametric dynamic thresholding(telemanom)KDD2018
MAD-GAN: Multivariate Anomaly Detection for Time Series Data with GANsICANN2019
Generative Adversarial Active Learning for Unsupervised Outlier Detection(GAAL)TKDE2019
Deep Autoencoding Gaussian Mixture Model for Unsupervised Anomaly Detection(DAGMM)ICLR2018
Deep Anomaly Detection with Outlier ExposureICLR2019
Unsupervised Anomaly Detection With LSTM Neural NetworksTNNLS2019
Effective End-to-end Unsupervised Outlier Detection via Inlier Priority of Discriminative NetworkNeurIPS2019
Fascinating Supervisory Signals and Where to Find Them: Deep Anomaly Detection with Scale LearningICML2023

4.7 可解释性(Interpretability)

论文标题出处年份
Explaining Anomalies in Groups with Characterizing Subspace RulesDMKD2018
Beyond Outlier Detection: LookOut for Pictorial ExplanationECML-PKDD2018
Contextual outlier interpretationIJCAI2018
Mining multidimensional contextual outliers from categorical relational dataIDA2015
Discriminative features for identifying and interpreting outliersICDE2014
Sequential Feature Explanations for Anomaly DetectionTKDD2019
A Survey on Explainable Anomaly DetectionTKDD2023
Explainable Contextual Anomaly Detection Using Quantile Regression ForestsDMKD2023
Beyond Outlier Detection: Outlier Interpretation by Attention-Guided Triplet Deviation NetworkWWW2021

4.8 异常检测中的表征学习

论文标题出处年份
Learning Representations of Ultrahigh-dimensional Data for Random Distance-based Outlier DetectionSIGKDD2018
Learning representations for outlier detection on a budgetPreprint2015
XGBOD: improving supervised outlier detection with unsupervised representation learningIJCNN2018

4.9 演化数据中的异常检测(流式数据)

论文标题出处年份
A Survey on Anomaly detection in Evolving Data: [with Application to Forest Fire Risk Prediction]SIGKDD Explorations2018
Unsupervised real-time anomaly detection for streaming dataNeurocomputing2017
Outlier Detection in Feature-Evolving Data StreamsSIGKDD2018
Evaluating Real-Time Anomaly Detection Algorithms--The Numenta Anomaly BenchmarkICMLA2015
MIDAS: Microcluster-Based Detector of Anomalies in Edge StreamsAAAI2020
NETS: Extremely Fast Outlier Detection from a Data Stream via Set-Based ProcessingVLDB2019
Ultrafast Local Outlier Detection from a Data Stream with Stationary Region Skipping(STARE)KDD2020
Multiple Dynamic Outlier-Detection from a Data Stream by Exploiting Duality of Data and Queries(MDUAL)SIGMOD2021
Adaptive Model Pooling for Online Deep Anomaly Detection from a Complex Evolving Data Stream(ARCUS)KDD2022

4.10 异常检测集成方法(Outlier Ensembles)

论文标题出处年份
Outlier ensembles: position paperSIGKDD Explorations2013
Ensembles for unsupervised outlier detection: challenges and research questions a position paperSIGKDD Explorations2014
An Unsupervised Boosting Strategy for Outlier Detection EnsemblesPAKDD2018
LSCP: Locally selective combination in parallel outlier ensemblesSDM2019
Adaptive Model Pooling for Online Deep Anomaly Detection(ARCUS)KDD2022

4.11 高维与子空间异常检测

论文标题出处年份
A survey on unsupervised outlier detection in high-dimensional numerical dataStat Anal Data Min2012
Learning Representations of Ultrahigh-dimensional Data for Random Distance-based Outlier DetectionSIGKDD2018
Reverse Nearest Neighbors in Unsupervised Distance-Based Outlier DetectionTKDE2015
Outlier detection for high-dimensional dataBiometrika2015

4.12 异常检测中的特征选择

论文标题出处年份
Unsupervised feature selection for outlier detection by modelling hierarchical value-feature couplingsICDM2016
Learning homophily couplings from non-iid data for joint feature selection and noise-resilient outlier detectionIJCAI2017

4.13 时间序列异常检测

论文标题出处年份
Outlier detection for temporal data: A surveyTKDE2014
Detecting spacecraft anomalies using lstms and nonparametric dynamic thresholdingKDD2018
Time-Series Anomaly Detection Service at MicrosoftKDD2019
Revisiting Time Series Outlier Detection: Definitions and BenchmarksNeurIPS2021
Graph-Augmented Normalizing Flows for Anomaly Detection of Multiple Time Series(GANF)ICLR2022
Drift doesn't matter: dynamic decomposition with diffusion reconstruction(D3R)NeurIPS2023

4.14 图与网络异常检测

论文标题出处年份
Graph based anomaly detection and description: a surveyDMKD2015
Anomaly detection in dynamic networks: a surveyWIREs Computational Statistics2015
Outlier detection in graphs: On the impact of multiple graph modelsComSIS2019
A Comprehensive Survey on Graph Anomaly Detection with Deep LearningTKDE2021

4.15 关键算法(Key Algorithms)

README 特别注明:以下所有算法均已收录于 PyOD 工具库(外部链接见原 README,此处仅作名称引用),可直接上手实践:

缩写论文标题出处年份
kNNEfficient algorithms for mining outliers from large data setsACM SIGMOD Record2000
KNNFast outlier detection in high dimensional spacesPKDD2002
LOFLOF: identifying density-based local outliersACM SIGMOD Record2000
IForestIsolation forestICDM2008
OCSVMEstimating the support of a high-dimensional distributionNeural Computation2001
AutoEncoder EnsembleOutlier detection with autoencoder ensemblesSDM2017
COPODCOPOD: Copula-Based Outlier DetectionICDM2020
ECODUnsupervised Outlier Detection Using Empirical Cumulative Distribution FunctionsTKDE2022

4.16 综述与调查论文(Overview & Survey Papers,按年份排序)

论文标题出处年份
A survey of outlier detection methodologiesArtificial Intelligence Review2004
Anomaly detection: A surveyACM Computing Surveys (CSUR)2009
A meta-analysis of the anomaly detection problemPreprint2015
On the evaluation of unsupervised outlier detection: measures, datasets, and an empirical studyDMKD2016
A comparative evaluation of unsupervised anomaly detection algorithms for multivariate dataPLOS ONE2016
A comparative evaluation of outlier detection algorithms: Experiments and analysesPattern Recognition2018
Research Issues in Outlier DetectionBook Chapter2019
Quantitative comparison of unsupervised anomaly detection algorithms for intrusion detectionSAC2019
Progress in Outlier Detection Techniques: A SurveyIEEE Access2019
Deep learning for anomaly detection: A surveyPreprint2019
Anomalous Instance Detection in Deep Learning: A SurveyTech Report (LLNL)2020
Anomaly detection in univariate time-series: A survey on the state-of-the-artPreprint2020
Deep Learning for Anomaly Detection: A ReviewACM Computing Surveys (CSUR)2021
A Comprehensive Survey on Graph Anomaly Detection with Deep LearningTKDE2021
Revisiting Time Series Outlier Detection: Definitions and BenchmarksNeurIPS2021
A Unified Survey on Anomaly, Novelty, Open-Set, and Out-of-Distribution DetectionPreprint2021
Self-Supervised Anomaly Detection: A Survey and OutlookPreprint2022
Weakly supervised anomaly detection: A surveyPreprint2023
AD-LLM: Benchmarking Large Language Models for Anomaly DetectionPreprint2024
Large Language Models for Anomaly and Out-of-Distribution Detection: A SurveyPreprint2024

4.17 基于 Isolation 的方法

论文标题出处年份
Isolation forestICDM2008
Isolation-based anomaly detection using nearest-neighbor ensembles(iNNE)Computational Intelligence2018
Extended Isolation Forest(EIF)TKDE2019
Isolation Distributional Kernel: A New Tool for Kernel based Anomaly DetectionKDD2020
Deep Isolation Forest for Anomaly DetectionTKDE2023

4.18 异常检测中的公平性与偏差

论文标题出处年份
A Framework for Determining the Fairness of Outlier DetectionECAI2020
FAIROD: Fairness-aware Outlier DetectionAIES2021

4.19 异常检测应用(按领域分类)

领域论文标题出处年份
安全A survey of distance and similarity measures used within network intrusion anomaly detectionIEEE Commun. Surv. Tutor.2015
安全Anomaly-based network intrusion detection: Techniques, systems and challengesComputers & Security2009
金融A survey of anomaly detection techniques in financial domainFuture Gener. Comput. Syst.2016
交通Outlier Detection in Urban Traffic DataWIMS2018
社交媒体A survey on social media anomaly detectionSIGKDD Explorations2016
社交媒体GLAD: group anomaly detection in social media analysisTKDD2015
设备故障Detecting the Onset of Machine Failure Using Anomaly Detection MethodsDAWAK2019
视频监控AnomalyNet: An anomaly detection network for video surveillanceTIFS2019

4.20 其他领域中的异常检测

领域论文标题出处年份
文本Outlier detection for text dataSDM2017

4.21 交互式异常检测

论文标题出处年份
Learning On-the-Job to Re-rank Anomalies from Top-1 FeedbackSDM2019
Interactive anomaly detection on attributed networksWSDM2019
eX2: a framework for interactive anomaly detectionIUI Workshop2019
Tripartite Active Learning for Interactive Anomaly DiscoveryIEEE Access2019

4.22 主动异常检测(Active Anomaly Detection)

论文标题出处年份
Active learning for anomaly and rare-category detectionNeurIPS2005
Outlier detection by active learningSIGKDD2006
Active Anomaly Detection via Ensembles: Insights, Algorithms, and InterpretabilityPreprint2019
Meta-AAD: Active Anomaly Detection with Deep Reinforcement LearningICDM2020
A3: Activation Anomaly AnalysisECML-PKDD2020

参考文献体系

README 末尾附有完整的 References 段落,为上述每一篇论文提供规范化的文献著录(作者、完整标题、出处卷期与页码),例如 LOF 对应 Breunig et al. 2000 的 SIGMOD Record 原文、Isolation Forest 对应 Liu et al. 2008 的 ICDM 论文等。当读者需要撰写论文引用或回溯原始文献时,可直接在 README.rst 末尾按引用键(如 [#Zhao2019PYOD]_)检索完整出处。

六、重要会议 / Workshop / 期刊

6.1 数据挖掘与数据工程会议

README 收录的关键会议包括:ACM SIGKDD(通常设有 Outlier Detection Workshop,可关注 ODD Workshop 系列)、ACM SIGMOD、The Web Conference(WWW)、IEEE ICDM、SIAM SDM、IEEE ICDE、ACM CIKM、ACM WSDM、ECML-PKDD、PAKDD。此外,README 还提示各数据挖掘会议的关键截止日期(deadlines)与历史录用率可查阅配套的 data-mining-conferences 资源。

6.2 核心期刊

  • ACM Transactions on Knowledge Discovery from Data(TKDD)
  • IEEE Transactions on Knowledge and Data Engineering(TKDE)
  • ACM SIGKDD Explorations Newsletter
  • Data Mining and Knowledge Discovery
  • Knowledge and Information Systems(KAIS)

七、资源维护与自动化工具链(源码级解读)

除了 README 文档本身,仓库还提供了机器可读的资源清单与两个自动化维护脚本,让这份资源库"可被程序消费、可被自动校验"。

7.1 机器可读清单:resource_urls/papers.txt

resource_urls/papers.txt 以每行一条 论文标题 | 链接 的管道符分隔格式,存放经典论文的标题与下载地址。从内容看,该清单收录了异常检测领域最核心的综述与奠基性论文,例如 Chandola et al. 的 Anomaly detection: A survey、Hodge & Austin 的 A survey of outlier detection methodologies、时间序列与集成方向的关键论文等,是 README 论文清单的子集与下载数据源。

7.2 批量下载脚本:download.py

download.py 是面向上述清单的批量下载器,其核心逻辑如下(代码可完整查看 download.py):

  1. 自动创建 resources 目录(pathlib.Path('resources').mkdir(parents=True, exist_ok=True)),用于存放下载文件;
  2. 逐行读取 resource_urls/papers.txt,以 | 为分隔符切分出文件名与 URL 两段;
  3. 用正则 re.sub(r'[\\/*?:"<>|]', "", ...) 清理文件名中的非法字符,并将超长文件名截断至 255 字符,避免文件系统兼容问题;
  4. 调用 urllib.request.urlretrieve(url, "resources\\" + file_name + '.pdf') 下载并以 .pdf 后缀保存,同时打印下载进度。

该脚本体现了"按清单批量抓取 → 自动命名 → 落盘归档"的资源本地化流程,方便读者把精选论文一次性同步到本地离线阅读。

7.3 链接健康检查脚本:url_checker.py

url_checker.py 是一个健壮的 README 风格 RST 文档链接检查器,用于验证 README 中大量外部链接的可用性,其设计要点包括:

  • 链接提取与清洗:用正则 https?://\S+ 提取链接,再通过 clean_url() 去除 RST/Markdown 上下文常见的尾部标点(反引号、引号、括号、分号、下划线等),并按 URL 结构规整主机名大小写、去除 fragment;
  • HEAD 优先、GET 兜底:先发送 HEAD 请求(allow_redirects=True),当服务器返回 403/405/406/429/500 等状态码时,自动降级为 GET 请求并立即关闭响应流,避免下载完整响应体;
  • 重试与浏览器化 UA:基于 urllib3 的 Retry 配置对 429/5xx 等状态码自动重试(backoff_factor=0.5),并模拟浏览器 User-Agent 以规避部分服务器的反爬拦截;
  • 并发检查与汇总报告:借助 ThreadPoolExecutor 并发检查(默认 16 个 worker,可用 --workers 调整),最终按 URL 排序输出 [OK]/[FAIL] 明细与 total/ok/fail 汇总统计,非零失败数时以退出码 1 结束。

典型用法示例:

python url_checker.py
python url_checker.py --file README_CN.rst --timeout 8 --workers 20
python url_checker.py --show-ok

结合 README.rst 中持续更新的上百条外部链接,这个脚本解决了"链接随时间失效"这一资源型仓库的核心维护痛点,是保证资源库长期可用的工程化手段。

八、如何使用这份资源库

  • 快速入门:从第 2 节的书籍与教程(尤其是 Charu Aggarwal 的 Outlier Analysis)入手建立基础概念,再按"基准测试 → 综述论文"的顺序建立全局视野;
  • 前沿追踪:直接进入 4.1 节(LLM 与 LLM Agent)与 4.2 节(新兴方向),第一时间掌握 2024–2025 年大模型与异常检测融合的最新工作;
  • 动手实践:从 3.1 节的多变量工具库(PyOD、SUOD、PyTOD)与 3.2 节的时间序列工具库(TODS、NAB、telemanom)中选取与任务匹配的库,结合 3.5 节的数据集(ODDS、SKAB、NLP-ADBench)开展实验;
  • 论文引用:需要正式引用时,返回 README 末尾的 References 段落获取完整著录信息;
  • 本地化阅读:运行 download.py 将 resource_urls/papers.txt 中的经典论文批量下载到 resources/ 目录;定期运行 url_checker.py 校验 README.rst 与 README_CN.rst 中链接的健康状况;
  • 参与维护:按 README 的声明,可通过提交 issue 或 pull request 向仓库推荐新的关键资源(更建议同时更新英文版 README.rst 与中文版 README_CN.rst,保持双语同步)。

整体而言,anomaly-detection-resources 的价值在于它把分散在期刊、arXiv、GitHub 与各大课程平台的异常检测资源,按照"书籍教程 → 课程视频 → 工具数据集 → 论文专题 → 会议期刊"的五层结构组织成一份可检索、可维护、可持续更新的知识地图,既适合初学者按图索骥,也适合研究者快速定位特定方向的前沿文献。

  • 机器学习
  • 知识库
  • 文档

【免费下载链接】anomaly-detection-resources

Anomaly detection related books, papers, videos, and toolboxes. Last update late 2025 for LLM and VLM works!

项目地址: https://gitcode.com/gh_mirrors/an/anomaly-detection-resources
点击查看 免费下载

相关推荐