Cluster-Aware Causal Mixer for Online Anomaly Detection in Multivariate Time Series
Abstract
Early and accurate detection of anomalies in time-series data is critical due to the substantial risks associated with false or missed detections. While MLP-based mixer models have shown promise in time-series analysis, they do not maintain temporal causality during data processing. Moreover, real-world multivariate time series often contain numerous channels with diverse inter-channel correlations. Spurious correlations in the reconstructed time series lead to noisy representations, resulting in inaccurate anomaly detection. In addition, anomaly scoring methods that ignore temporal continuity can mislead sequential detection. To address these challenges, we propose a cluster-aware causal mixer for multivariate time-series anomaly detection. Channels are grouped into clusters based on their correlations, and each cluster is embedded through a dedicated embedding layer. A causal mixer is introduced to integrate information while maintaining temporal causality. We further develop a sequential anomaly-scoring method that accumulates evidence over time and refines anomaly boundaries. Our proposed model operates in an online fashion, making it suitable for real-time time-series anomaly detection. Experimental evaluations across six public benchmark datasets demonstrate that the proposed approach consistently achieves superior performance.
Lay Summary
Time series anomaly detection is a critical task for complex multi-sensor systems. We developed CCM-TAD to detect anomalies in multivariate time series. It groups sensors by how their readings relate to each other, so that unrelated sensors do not confuse the model's understanding of normal behavior. It also enforces a strict rule that each decision is based only on what has already been observed, with no information borrowed from the future. Rather than flagging each moment in isolation, it accumulates evidence over time to identify anomalies more reliably and to pinpoint exactly when they start and end.