Add model card for AnomaMind
#1
by nielsr HF Staff - opened
README.md
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
library_name: transformers
|
| 4 |
+
pipeline_tag: other
|
| 5 |
+
tags:
|
| 6 |
+
- time-series
|
| 7 |
+
- anomaly-detection
|
| 8 |
+
- agent
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# AnomaMind: Agentic Time Series Anomaly Detection with Tool-Augmented Reasoning
|
| 12 |
+
|
| 13 |
+
AnomaMind is an agentic time series anomaly detection (TSAD) framework that reformulates anomaly detection as an evidence-driven sequential decision-making process. Unlike static methods, AnomaMind utilizes a structured coarse-to-fine workflow to localize suspicious intervals, construct diagnostic evidence through tool interaction, and refine decisions through self-reflection.
|
| 14 |
+
|
| 15 |
+
- **Paper:** [AnomaMind: Agentic Time Series Anomaly Detection with Tool-Augmented Reasoning](https://huggingface.co/papers/2602.13807)
|
| 16 |
+
- **Repository:** [Xiaoyu-Tao/AnomaMind-TS](https://github.com/Xiaoyu-Tao/AnomaMind-TS)
|
| 17 |
+
|
| 18 |
+
## Model Description
|
| 19 |
+
|
| 20 |
+
AnomaMind operates through a three-stage workflow:
|
| 21 |
+
1. **Coarse Evidence Acquisition**: Localizes suspicious intervals using visual-aware models.
|
| 22 |
+
2. **Adaptive Evidence Construction**: Uses a Detection Toolkit (statistical, value-based, and structural operators) to gather measurable evidence for verification.
|
| 23 |
+
3. **Reasoning-based Detection & Refinement**: Employs a hybrid inference mechanism where general-purpose LLMs handle tool orchestration and self-reflection, while a detection-specific policy (this model) is optimized via reinforcement learning for precise decision-making.
|
| 24 |
+
|
| 25 |
+
## Usage
|
| 26 |
+
|
| 27 |
+
As per the official repository, you can serve the model using [vLLM](https://github.com/vllm-project/vllm) to provide an OpenAI-compatible API for the agentic workflow:
|
| 28 |
+
|
| 29 |
+
```bash
|
| 30 |
+
# Replace the path with your checkpoint path
|
| 31 |
+
vllm serve ./model/PATH/TO/HUGGINGFACE --port 8000 --max-model-len 11000 --gpu-memory-utilization 0.95 --enable-auto-tool-choice --tool-call-parser hermes --served-model-name detector
|
| 32 |
+
```
|
| 33 |
+
|
| 34 |
+
Once served, the model can be used with the `infer.py` script provided in the GitHub repository to perform agentic anomaly detection.
|
| 35 |
+
|
| 36 |
+
## Citation
|
| 37 |
+
|
| 38 |
+
If you find AnomaMind useful in your research, please cite:
|
| 39 |
+
|
| 40 |
+
```bibtex
|
| 41 |
+
@article{tao2026anomamind,
|
| 42 |
+
title={AnomaMind: Agentic Time Series Anomaly Detection with Tool-Augmented Reasoning},
|
| 43 |
+
author={Tao, Xiaoyu and Wu, Yuchong and Cheng, Mingyue and Guo, Ze and Gao, Tian},
|
| 44 |
+
journal={arXiv preprint arXiv:2602.13807},
|
| 45 |
+
year={2026}
|
| 46 |
+
}
|
| 47 |
+
```
|