Abstract
AnoViz is an interactive visualization tool designed to bridge the gap between automated anomaly detection and human interpretation in multivariate time series data. By providing multi-faceted visual explanations, including variable-wise contribution scores and historical pattern comparisons, AnoViz enables domain experts to identify root causes in both real-time and historical contexts.
Introduction
While Time-Series Anomaly Detection (TSAD) algorithms have advanced significantly, they often function as "black boxes," prioritizing quantitative metrics like F1 scores over human interpretability. In practical applications—such as plant engineering or cloud administration—a simple alert is often insufficient. Experts require context: which specific sensor triggered the alert, and how does this behavior deviate from historical norms? AnoViz addresses this need by offering a domain-agnostic visual inspection framework that makes anomaly detection both explainable and actionable.
System Architecture
The AnoViz framework is built on a modular, three-tier architecture designed for flexibility and real-time performance.
The system consists of three main components:
- AnoViz Client: A Reactjs-based web interface that provides high-level summaries and deep-dive detail views.
- AnoViz API Server: A Flask backend that handles visualization computations and manages communication between the UI and data sources.
- Replaceable Modules: A key architectural feature that ensures the tool is "detector-agnostic." Users can integrate various databases (e.g., Cloud Firestore) and anomaly detection models (e.g., TensorFlow-based) without modifying the core visualization logic.
The tool supports two operational modes: Query mode for historical post-mortems and Stream mode for near real-time monitoring of live sensor data.
Visual Inspection and Explainability
AnoViz moves beyond simple scoring by providing multi-layered visual evidence to support root cause analysis.
Key Visual Features
- Variable-Wise Contribution: In complex multivariate systems, identifying the "culprit" sensor is critical. AnoViz allows users to hover over an anomaly to see a breakdown of contribution scores for each variable.
- Distribution Awareness: By incorporating violin charts, the tool visualizes where an anomalous data point sits relative to the overall distribution of that specific variable, helping users confirm if a value is a true statistical outlier.
- Example-Based Explanation: Rather than relying solely on abstract scores, AnoViz utilizes "anomalous close pattern" and "past close pattern" charts. This allows users to compare the current event against historical "normal" patterns or similar past anomalies, providing immediate context for the detected behavior.
Conclusion and Future Directions
AnoViz demonstrates that visual transparency can significantly reduce the time required for human experts to validate and diagnose anomalies. By decoupling the visualization from the underlying detection algorithm, it provides a versatile tool for diverse domains.
Future developments for AnoViz include the integration of active learning, allowing user feedback (such as marking false positives) to retrain and improve the underlying detection models. Additionally, the researchers aim to address UI scalability challenges to maintain clarity when monitoring systems with thousands of concurrent sensors.
Summary updated