Introduction
Multimodal Large Language Models (MLLMs) like GPT-4o have shown impressive capabilities in visual tasks, but they often falter when applied to technical domains like Time-Series Anomaly Detection (TSAD). While these models can spot obvious visual spikes, they tend to "eyeball" the data, relying on coarse heuristics rather than the rigorous numerical and structural analysis required for professional-grade detection. Subtle shifts in frequency or slow-moving trend drifts often go unnoticed because the models lack grounding in the precise mathematics of signal processing.
To bridge this gap, we present AnomSeer, a framework that reinforces MLLMs to ground their reasoning in structural details, unifying classification, localization, and explanation.
Methodology: Beyond Visual Intuition
AnomSeer introduces two primary innovations to transform MLLMs into analytical experts:
1. Expert Chain-of-Thought (ExpCoT)
Instead of training on simple binary labels, AnomSeer utilizes "expert" reasoning traces. These traces are generated using classical TSAD techniques, such as Z-scores for outliers, Fast Fourier Transforms (FFT) for frequency analysis, and Matrix Profiles for pattern recognition. This provides the model with a verifiable, step-by-step "gold standard" for identifying anomalies based on statistical evidence.
2. Time-series grounded Policy Optimization (TimerPO)
TimerPO is a specialized reinforcement learning algorithm designed to reward the model not just for the correct answer, but for the validity of its reasoning process.
- Optimal Transport (OT): Measures the semantic distance between the model’s generated reasoning and the expert ExpCoT.
- Orthogonal Projection: A mathematical technique that ensures the reasoning reward guides the model without interfering with the primary detection objective.
Performance and Key Results
AnomSeer demonstrates that smaller, specialized models can significantly outperform massive commercial baselines. In evaluations on the AnomLLM benchmark, AnomSeer-7B achieved an Affinity F1 score of 84.4%, more than doubling the performance of GPT-4o (41.2%).
The model's strengths are particularly evident in complex scenarios:
- Frequency & Trend Mastery: AnomSeer-7B achieved ~60.8% F1 in frequency-driven anomalies, where GPT-4o struggled at ~10.9%.
- Zero-Shot Generalization: Despite training on synthetic data, AnomSeer generalized effectively to real-world datasets like TSB-UAD, indicating it learned fundamental principles of signal analysis.
- Explainability: AnomSeer produces human-readable traces that cite specific timestamps and statistical deviations, moving away from "black box" predictions.
Conclusion
AnomSeer proves that the key to improving MLLMs for technical tasks is not necessarily more data, but better grounding in domain-specific logic. By teaching models to use classical signal processing tools as a framework for reasoning, we can create highly effective, explainable, and efficient specialized analysts. Future work will look to extend this approach to multivariate time series and incorporate external contextual metadata to further refine detection capabilities.
Summary updated