TRACE: Time series representation learning with contrastive embeddings for anomaly detection in photovoltaic systems

Reliable anomaly detection in photovoltaic (PV) inverters is critical for ensuring operational efficiency and reducing maintenance costs in renewable energy systems. We introduce TRACE ( T ime series R epresentation learning with A utoencoder-based C ontrastive E mbeddings), a self-supervised contrastive learning framework for multivariate time series anomaly detection in PV systems. TRACE employs a two-stage architecture: autoencoder-based representation learning with interchangeable backbones followed by contrastive training through a Siamese network. The framework generates semantically coherent augmentations by perturbing autoencoder reconstructions and applies three negative mining strategies to create challenging contrastive pairs. Comprehensive experiments on a real-world PV inverter dataset and two industrial benchmarks demonstrate TRACE’s superiority. Autoencoder-based augmentations deliver a 21.3% relative improvement in mean F1 (0.616 vs. 0.508) over traditional perturbation methods, with TransformerAE emerging as the optimal backbone architecture. While negative sampling strategies show dataset-specific advantages, their impact remains secondary to encoder capacity. TRACE with TransformerAE and reconstruction-error negatives consistently outperforms fourteen state-of-the-art time series anomaly detection methods, achieving highest F1 scores on all the three datasets while maintaining exceptional precision up to 0.99. Visualization analysis confirms TRACE’s capacity for early fault detection up to three days before failure and interpretable embedding separation. The framework addresses the fundamental challenge of label scarcity in industrial monitoring through self-supervised learning, providing a practical and transparent solution for predictive maintenance in PV systems and broader industrial applications. • Novel contrastive learning framework for PV inverter anomaly detection without labels. • Autoencoder-driven augmentations maintain sequence dynamics for reliable anomaly detection. • Transformer-based encoder excels across PV and industry benchmark datasets. • Contrastive learning improves F1 by 21.3% over traditional augmentation techniques. • High precision and early warnings support cost-effective predictive maintenance.

Authors

Institutions

Publication Details

Journal
Energy and AI
Published
2025-12-19
DOI
https://doi.org/10.1016/j.egyai.2025.100670
Primary Topic
Anomaly Detection Techniques and Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

TRACE: Time series representation learning with contrastive embeddings for anomaly detection in photovoltaic systems

Christian Gruhl, Chandana Priya Nivarthi, Zhixin Huang, Bernhard Sick
Energy and AI
Anomaly Detection Techniques and Applications
article

TRACE: Time series representation learning with contrastive embeddings for anomaly detection in photovoltaic systems

Christian Gruhl, Chandana Priya Nivarthi, Zhixin Huang, Bernhard Sick
article en

Abstract

Reliable anomaly detection in photovoltaic (PV) inverters is critical for ensuring operational efficiency and reducing maintenance costs in renewable energy systems. We introduce TRACE ( T ime series R epresentation learning with A utoencoder-based C ontrastive E mbeddings), a self-supervised contrastive learning framework for multivariate time series anomaly detection in PV systems. TRACE employs a two-stage architecture: autoencoder-based representation learning with interchangeable backbones followed by contrastive training through a Siamese network. The framework generates semantically coherent augmentations by perturbing autoencoder reconstructions and applies three negative mining strategies to create challenging contrastive pairs. Comprehensive experiments on a real-world PV inverter dataset and two industrial benchmarks demonstrate TRACE’s superiority. Autoencoder-based augmentations deliver a 21.3% relative improvement in mean F1 (0.616 vs. 0.508) over traditional perturbation methods, with TransformerAE emerging as the optimal backbone architecture. While negative sampling strategies show dataset-specific advantages, their impact remains secondary to encoder capacity. TRACE with TransformerAE and reconstruction-error negatives consistently outperforms fourteen state-of-the-art time series anomaly detection methods, achieving highest F1 scores on all the three datasets while maintaining exceptional precision up to 0.99. Visualization analysis confirms TRACE’s capacity for early fault detection up to three days before failure and interpretable embedding separation. The framework addresses the fundamental challenge of label scarcity in industrial monitoring through self-supervised learning, providing a practical and transparent solution for predictive maintenance in PV systems and broader industrial applications. • Novel contrastive learning framework for PV inverter anomaly detection without labels. • Autoencoder-driven augmentations maintain sequence dynamics for reliable anomaly detection. • Transformer-based encoder excels across PV and industry benchmark datasets. • Contrastive learning improves F1 by 21.3% over traditional augmentation techniques. • High precision and early warnings support cost-effective predictive maintenance.

Energy and AIVol. 23
University of Kassel (DE)
Openalex Percentile: Top 78%
Anomaly Detection Techniques and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.