Skip to content
Conference

TRACE: Temporal Reconstruction with Aligned Context Explanations for anomaly detection in building energy systems

Aug 2026 · International Conference on Multimedia Analysis and Pattern Recognition · pp. 424-429 · 0 citations · 18 references

Abstract

Anomaly detection in building management systems (BMS) presents two challenges: context-agnostic thresholding, in which a single global threshold cannot simultaneously accommodate high-load weekday peaks and low-load weekend periods, and unfaithful temporal attribution, in which explanation maps are decoupled from the underlying detection signals. This paper proposes TRACE (Temporal Reconstruction with Aligned Context Explanations), a unified framework that addresses both challenges within a single training objective. TRACE conditions the reconstruction encoder on cyclic temporal embeddings and calibrates anomaly thresholds independently per operational group, suppressing systematic false alarms without requiring separate context-specific models. Two complementary regularization terms shape temporal attention: an alignment loss that couples attention weights to the per-timestep reconstruction error, and a sparsity loss that concentrates attribution on the most informative timesteps. At inference, TRACE produces a detection decision alongside a two-dimensional attribution map identifying anomalous timesteps and responsible sensor channels. Experiments on two public benchmarks demonstrate the effectiveness of the proposed approach. On the Building Data Genome Project 2 (BDG2), TRACE achieves an F1-score of 0.767 and AUC-ROC of 0.845, reduces Context-FPR by 50% relative to LSTM-AE, and surpasses GradientSHAP in both Faithfulness@6 (0.401 vs. 0.340) and Stability (0.592 vs. 0.493). On the Secure Water Treatment (SWaT) dataset, where occupancy-driven daily patterns are absent, performance gains proportionally decrease, confirming that the benefit of context conditioning scales with the strength of the periodic occupancy structure in the data.

View source

Similar papers

#machine learning Preprint Oct 2026

Correlation-Aware Reconstruction for Multivariate Time Series Anomaly Detection

Reconstruction-based detectors for multivariate time series anomaly detection typically learn a single entangled representation of normal behavior and flag anomalies based on reconstruction error. However, real-world anomalies are not only isolated spikes in a single channel but also disruptions in the relationships be...

Md. Johir Raihan, Zahra Zamanzadeh Darban, Yue-Yang Liu et al. · 0 citations
Conference Open access Sep 2026

AnoMamba: Aligning Reconstruction with Time Series Anomaly Detection via Selective Global Dependency Modeling

Reconstruction-based frameworks are widely adopted in Time Series Anomaly Detection (TSAD), assuming that models reconstruct normal behavior well but yield larger errors on anomalies. However, in unsupervised TSAD, minimizing reconstruction loss alone often breaks this assumption. Models tend to overfit local patterns...

Jun-Qi Chen, Xu Tan, Jie Chen et al. · 0 citations
Preprint Aug 2026

LLM as Detector: An In-context Learning Approach for Tabular Anomaly Detection

LLM-Detector is proposed, a framework that utilizes the in-context learning capacity of LLMs for structured, prompt-conditioned scoring synthesis, enabling LLMs to derive anomaly detection logic from structured normal-state knowledge.

Tu Nguyen, Dang Nguyen, T. D. Le et al. · 0 citations
Open access 2026

CHAIN: Long-Context History-Supervised Multivariate Time Series Anomaly Detection

This paper proposes CHAIN (long-Context History-supervised Anomaly detectIoN), a novel framework that explicitly captures long-term historical contexts under anomaly simulation and supervises current-window anomaly detection via masked cross-attention fusion.

Eunji Jun, Junho Yim · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.