arXiv:2610.28348cs.LGOct 2026

Manuscript Offprint

arXiv:2610.28348

Characterizing Cross-Relay Generalization Failure in Machine Learning-Based Power System Protection

Nithin Pradeep Nadayil Kizhakkethil, Julian Oelhaf, Christian Bergler, Andreas Maier, Siming Bayer

Nithin Pradeep Nadayil Kizhakkethil 1,∗^{1,*}, Julian Oelhaf 1^{1}, Christian Bergler 2^{2}, Andreas Maier 1^{1}, Siming Bayer 1^{1}

1^{1}Pattern Recognition Lab, Friedrich-Alexander-Universität Erlangen-Nürnberg

2^{2}Department of Electrical Engineering, Media and Computer Science, Ostbayerische Technische Hochschule Amberg-Weiden

∗^{*}Corresponding author: nithin.pradeep.nadayil@fau.de

Abstract—Machine learning-based fault detectors are often evaluated at the relay locations used for training, although local voltage and current measurements vary across power networks. This work investigates cross-relay generalization for binary detection of faults anywhere in the network using local measurements, rather than line-selective tripping. Using 50 ms windows from a simulated 110 kV transmission network, we evaluate a multilayer perceptron across all 64 source-target combinations of eight relays and five random seeds. A shared simulation-level split and source-only threshold selection provide a controlled held-out evaluation without target-specific calibration. Despite nearly unchanged mean F1-scores (0.730 within-relay versus 0.734 cross-relay), the mean false-positive rate (FPR) increases from 0.088 to 0.341, while the mean false-negative rate decreases from 0.399 to 0.318. The change is strongly directional: models trained at Bus 2 relays yield a mean FPR of 0.670 at Bus 1 and Bus 3 relays, compared with 0.096 for cross-relay transfers within the same bus group. Linear probing indicates that learned representations retain coarse bus-group information, while exploratory class-conditional latent distribution analysis shows no consistent monotonic association with transfer errors. These findings demonstrate that aggregate metrics can conceal location-structured changes in false-alarm behavior, highlighting the importance of evaluating error types separately when assessing cross-relay generalization.

Index Terms—Power system protection, fault detection, cross-relay generalization, distribution shift, multilayer perceptron, representation analysis

I. INTRODUCTION

Power system protection is a fundamental component of modern electrical grids, enabling the rapid detection and isolation of faults to maintain system stability, equipment safety, and operational reliability. Protection relays (PRs) continuously monitor local electrical quantities, such as phase voltages and currents, and initiate protective actions when abnormal operating conditions are detected. With the increasing deployment of digital substations and standardized communication protocols such as IEC 61850, large volumes of high-resolution relay measurements have become available, creating new opportunities for machine learning (ML)-based protection systems [1], [2].

ML has emerged as a promising approach for fault detection in power system protection [3], [4]. Recent studies have investigated ML-based methods for fault detection, fault classification, and fault localization using electrical measurements, including multilayer perceptron (MLP)-based approaches for transmission-line protection [5], [6]. A broad range of learning architectures has been explored in power system protection, including conventional ML methods and deep learning models such as MLPs, Convolutional Neural Networks (CNNs), Recurrent Neural Networks (RNNs), and topology-aware Graph Neural Networks (GNNs) [7], [8]. While these approaches often report strong performance under their respective evaluation settings, their ability to generalize across different measurement locations remains less clearly characterized.

However, such evaluations often implicitly assume comparable measurement distributions across training and deployment locations. In practical power systems, this assumption may not hold. PRs are installed at different locations throughout the transmission network, and the electrical signals observed at each relay depend on their position relative to the fault, network topology, and power flow conditions. Consequently, measurements recorded at different relay locations exhibit distinct statistical characteristics, while the asymmetric changes in classification errors under pairwise cross-relay transfer remain insufficiently characterized for relay-local models. In particular, it remains unclear which error type dominates, whether aggregate metrics reveal this behavior, and whether the failure exhibits topology-related structure.

Although generalization under distribution shift has received increasing attention in machine learning [9], [10], relatively little attention has been given to cross-relay generalization in power system protection. Existing work primarily evaluates models using random train-test splits or fixed measurement locations, making it difficult to determine whether the learned representations capture relay-independent fault characteristics or simply memorize relay-specific measurement distributions.

Although topology-aware approaches have demonstrated generalization to unseen grids without retraining [8], the transfer behavior of models trained using measurements from individual relay locations remains less well characterized. This work therefore investigates pairwise cross-relay transfer using a controlled MLP baseline, with particular emphasis on asymmetric changes in false-positive and false-negative rates.

Answering this requires more than overall classification

Figure

Protection Relay

Fig. 1. Schematic of the Double Line grid topology. The diagram illustrates the transmission lines, the buses, and PRs. Measurements are recorded at the PRs and transmitted to the substations at each bus.

performance: accuracy or F1-score may change little while the types of errors change substantially, and the learned representations may still encode relay-location information. We therefore investigate cross-relay generalization using exhaustive pairwise transfer experiments between all transmission-line PRs, examining overall performance, false-positive and false-negative behavior, and relay-location structure in the learned representations. The objective is not to assume that transfer should be invariant, but to determine how and to what extent generalization fails, and whether the failures show systematic structure related to relay location and network topology.