Anomaly Detection of Collusion Bidding in Electricity Market Based on Deep Learning Model
DOI:
https://doi.org/10.62177/apemr.v3i1.1068Keywords:
Electricity collusion, Anomaly detection, GMM, TransformerAbstract
In the electricity market, collusion bidding involves multiple entities colluding to inflate prices or conceal capacity, which disrupts marginal cost pricing. Traditional rules and single-variable thresholds struggle to detect such collusion in a timely manner. This paper addresses a real-world scenario with only six input features and highly imbalanced labels by constructing an anomaly detection framework that combines Transformer-Autoencoder (TAE) with Gaussian Mixture Model (GMM). The model uses multi-head self-attention to capture the coupling relationships among original input features, measures sample rarity using Gaussian mixture density in the space of latent variables and reconstruction errors, and automatically generates an energy threshold at the 90th percentile of the normal distribution for anomaly detection. Experimental results show that on the electricity collusion dataset, this method achieves detection performance with Precision 0.80, Recall 0.79, F10.79, and AUC 0.844. It is only ±2% sensitive to fluctuations in the energy weight λ, demonstrating robust performance. The energy distribution compresses normal sample data into spikes while pushing anomalies to the long tail, achieving efficient anomaly detection. Attention heat maps and gradient sensitivity both point to feature one as the most critical feature, validating the interpretability of the model's decision logic. TAE-GMM can be trained solely using normal samples, and the final detection threshold is determined by the proportion of normal samples, enabling simple and flexible application.
Downloads
References
European Parliament Think Tank. (2023). Improving the design of the EU electricity market.
Twomey, P., et al. (2005). A review of the monitoring of market power. MIT Center for Energy and Environmental Policy Research.
Brown, D., Eckert, A., & Silveira, D. (2023). Screening for collusion in wholesale electricity markets: A review. DOI: https://doi.org/10.1016/j.jup.2023.101671
Synapse Energy Economics. (2007). LMP electricity markets: Market power case studies.
MIT Center for Energy and Environmental Policy Research. (2023). Calls for an electricity market reform in the EU.
Frontiers in Energy Research. (2021). Power consumption predicting and anomaly detection based on transformer and K-means.
PeerJ Computer Science. (2023). Detecting anomalous electricity consumption with transformer and synthesized anomalies.
Wang, S., et al. (2025). Self-attention-based graph transformation learning for anomaly detection in multivariate time series. DOI: https://doi.org/10.1007/s40747-025-01839-3
Mu, T., et al. (2023). Transformer-based anomaly detection for electricity theft. PeerJ Computer Science. DOI: https://doi.org/10.7717/peerj-cs.1721
Zhang, X., et al. (2025). Domain adaptation of attention heads for zero-shot anomaly detection. arXiv.
Zhang, J., et al. (2021). Power consumption predicting and anomaly detection based on transformer and K-means. Frontiers in Energy Research. DOI: https://doi.org/10.3389/fenrg.2021.779587
Downloads
How to Cite
Issue
Section
License
Copyright (c) 2026 Ziyu Zhao

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
DATE
Accepted: 2026-02-04
Published: 2026-02-24











