원시데이터 수집 시스템
선정목록으로

An improved anomaly detection model for automated inspection of power line insulators

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Laya Das
  2. Blazhe Gjorgiev
  3. Giovanni Sansavini
DOI
10.1016/j.engappai.2025.111431
저널
Engineering Applications of Artificial Intelligence
발행년도
2025
발행기관
Elsevier BV
피인용수
2
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.engappai.2025.111431
토픽
High voltage insulation and dielectric phenomena
OpenAlex ID
W4411639248

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

초록이 없습니다.

본문 48,195자

본문 펼치기
Inspection of insulators is important to ensure reliable operation of the power system.Deep learning is being increasingly exploited to automate the inspection process by leveraging object detection models to analyse aerial images captured by drones.A purely object detection-based approach, however, suffers from class imbalance-induced poor performance, which can be accentuated for infrequent and hard-to-detect incipient faults.This article proposes the use of anomaly detection along with object detection in a two-stage approach for incipient fault detection in a data-efficient manner.An explainable convolutional one-class classifier is adopted for anomaly detection.The oneclass formulation reduces the reliance on plentifully available images of faulty insulators, while the explainability of the model is expected to promote adoption by the industry.A modified loss function is developed that addresses computational and interpretability issues with the existing model, also allowing for the integration of other losses.The superiority of the novel loss function is demonstrated with MVTec-AD dataset.The models are trained for insulator inspection with two datasets -representing data-abundant and data-scarce scenarios -in unsupervised and semi-supervised settings.The results suggest that including as few as five real anomalies in the training dataset significantly improves the model's performance and enables reliable detection of rarely occurring incipient faults in insulators.Note to Practitioners-This paper is motivated by the problems of class imbalance and the small size of fault patterns in employing deep learning for fault detection of insulators.In practical settings, the number of faulty insulators is much smaller than that of healthy insulators, resulting in class imbalance in the learning problem.In such a scenario, deep neural networks perform poorly for the under-represented classes, i.e., faulty insulators.The performance can be worse when the patterns characterising faults are localised to a small portion of the image, e.g., patches of flash-over on insulator disks, making it a difficult learning problem.In this article, the problem of insulator fault detection is separated into two stages, wherein the first stage detects all disks in insulators and the second stage performs classification of healthy and faulty disks.The article focusses on the second stage and adopts a one-class classification formulation, learning predominantly from healthy insulators.The proposed approach allows the detection of incipient faults with very few samples of faulty insulators, facilitating the deployment of the technology with reduced investment in data collection and curation.The anomaly detection model also highlights portions of the disk that it considers to be characteristic of faults.This explainable nature of the model addresses potential skepticism about deploying deep neural networks in the industry.The current model has a few false predictions and spurious explanations, which will be addressed in future work. I. INTRODUCTION P OWER transmission insulators play a key role in ensuring safe operation of power systems by providing support to transmission lines and preventing leakage through the towers.Power system operators conduct regular inspections of insulators, typically through on-site observations for manual detection of faulty insulators.The rapid progress recently witnessed in deep learning, coupled with the availability of high-quality images acquired by unmanned aerial vehicles is enabling the automation of the inspection process [1]. I. INTRODUCTION The authors in [2] adopted an object detection-based approach and trained a Faster Region proposal-based Convolutional Neural Network (Faster RCNN) model to detect three different types of insulators.In addition, their model detects missing caps of insulators and achieves a fault detection precision of 92%.Similarly, [3] trained a Single-Shot multi-box Detector (SSD) model to detect healthy and faulty insulators and obtained a precision of 92.48%.A densely connected feature pyramid network was used to modify the You Only Look Once version 3 (YOLOv3) model and improve detection accuracy in [4].The authors in [5] adopted a novel box-and-points-based representation of missing caps to train their model.A segmentation approach was coupled with Faster RCNN to identify missing caps in [6], which resulted in better performance.A particle swarm optimisationbased neural network partition algorithm was used to meet the real-time requirements of the application, resulting in 94.5% accuracy and 58.5 frames/second in [7].A cross-stage partial and residual split attention network-based backbone was used along with a multiscale bidirectional feature pyramid network to modify the YOLOv4 model and achieve better detection performance in [8].The authors in [9] used a VGG-19 model to perform fault detection with CPLID and demonstrated better performance than competing YOLO models.A Gaussian prior was applied to the object detection heads in [10].The uncertainty scores provided by the model were used to refine the bounding box predictions and achieve better performance.The authors in [11] used the attention mechanism, hourglass network and a rotation mechanism to improve the detection performance of the YOLOv5 model. A. Knowledge gaps Despite this increasing research attention, we identify key shortcomings in the state-of-the-art that have left significant knowledge gaps in the literature.arXiv:2312.11470v2[cs.CV] 27 Aug 2024 a) Small and less diverse datasets: Many object detection models are trained and evaluated with small datasets (e.g., 80 images for training and 40 images for testing [2], 581 images for training and 388 images for testing [5]) with little or no investigation of the sensitivity to image features in the background and foreground.Thus, their applicability under more general settings of diverse features is not known.Further, a recent study reported that including several data augmentation techniques does not achieve a performance improvement [12]. A. Knowledge gaps b) Class imbalance: Several articles suffer from class imbalance in their datasets (e.g., 600 healthy insulators and 248 faulty insulators in [4], [8]), which hampers the performance for under-represented classes, i.e., faulty insulators.This poses a challenge to automating the inspection process in a well-functioning grid.Since most insulators are expected to be healthy, collecting more images invariably leads to a class-imbalanced dataset.While the imbalance can be treated by undersampling the healthy insulators, this will prevent a major portion of the dataset from being used for training.Thus, addressing class imbalance in a data-efficient manner is needed, which requires a methodological improvement over a purely object detection-based strategy. A. Knowledge gaps c) Simple detection tasks: The literature addresses the relatively simpler task of detecting missing caps/disks, ignoring incipient faults such as flashed and broken disks.The flash-over caused by electrical flashes or lightning strikes as well as irregularly shaped broken disks are important for the operator's situational awareness and informed prioritisation of maintenance activities.Further, these faults can be difficult to detect compared to missing caps, since these faults are localised to a relatively smaller portion in the image.The small patterns coupled with class imbalance further lead to poor performance of object detection models [12]. A. Knowledge gaps In this article, we address the above gaps with a twostage approach that relies on detection and segmentation for automated inspection of insulators. B. Contributions This article makes the following contributions: 1) Problem formulation: We pose the detection of incipient faults, specifically flashed and broken disks as an anomaly detection problem.This methodological choice splits the detection problem into two stages and uses simplified models in each stage.The first model processes the aerial image to locate insulators and disks, while the second model processes images of disks to detect anomalous disks.This setting also drastically increases the number of images available for training the anomaly detection model.2) Improved anomaly detection: We adopt a one-class classification-based anomaly detection strategy, and employ the Fully Convolutional Data Description (FCDD) model.We identify mathematical and computational challenges associated with the FCDD loss and introduce a novel loss function to tackle these challenges.The resulting modified FCDD provides a clear definition of class probabilities at the pixel level for each image, offering better interpretability and integration with complex loss functions.We demonstrate the superiority of modified FCDD over the original model with a standard anomaly detection dataset (MVTec-AD).3) Insulator inspection with anomaly detection: We integrate the modified FCDD with focal loss to construct a compound loss function that adapts to the nuances of insulator inspection datasets, and compare the performance with original FCDD for two datasets representing data-abundant and data-scarce scenarios.We also show two methods of improving the performance of anomaly detection in the data-scarce scenario.The rest of the article is organized as follows: Section III presents the methodology adopted in this work.Section IV presents the application of the anomaly detection model to insulator fault detection along with the dataset collection and curation procedure.The experimental setup is also discussed.Section V presents the results of our experiments.Finally, Section VII provides concluding remarks. II. PROBLEM FORMULATION In this section, we present our motivation to adopt an anomaly detection-based problem formulation to solve the fault detection problem for insulators and discuss how anomaly detection coupled with object detection can address the research gaps identified in Section I-A. A. Insulator inspection with object detection We address the problem of insulator fault detection, i.e., identifying the presence of faults in insulators.Specifically, we consider two types of faults -flashed disks and broken disks, which are relatively hard-to-detect incipient faults and have not been extensively studied in the literature.A recent study showed that this problem can be elusive with an object detection-based approach in data-scarce scenarios [12].Stateof-the-art object detection models were reported to perform very well for detecting insulators (which have high frequency and large size), relatively poorer for healthy disks (very high frequency but small size), and very poor for flashed disks (very low frequency and small size) [12].Thus, class imbalance and scale imbalance are key performance-limiting factors for object detection models.As discussed in Section I-A, class imbalance challenge cannot be addressed by collecting more images.Scale imbalance is inherent to the application and cannot be avoided because each insulator is constructed with roughly 15 disks, leading to an inevitable 15× difference in scale.This motivates the need for a methodologically novel approach to insulator fault detection. A. Insulator inspection with object detection A closer inspection of the performance of object detection models for the faulty disks reveals that the models exhibit high classification errors with rather small localisation errors.In other words, the models accurately localise the disks but encounter difficulty in correctly classifying them as healthy and faulty.Since object detection models learn the two tasks simultaneously, which can be difficult for imbalanced datasets, we investigate if segregating the localisation and classification tasks can benefit the fault detection objective. B. Insulator inspection and anomaly detection In a segregated approach, the object detection model learns to localise disks regardless of their state (healthy or faulty).A second model then processes the extracted disks and learns to classify them as healthy or faulty.The training of object detection models has been extensively studied in the literature.In this article, we focus on the second model for solving the classification problem.It must be noted that the second model processes only images of disks, and thus, does not face scale imbalance.However, class imbalance between healthy and faulty disks still persists and needs to be carefully addressed. B. Insulator inspection and anomaly detection The learning problem for the second model is to detect faulty disks, which occur very infrequently in a dataset with a large number of healthy disks, which naturally lends itself as an anomaly detection problem.Anomaly detection aims at detecting rarely occurring data points (anomalies) that deviate significantly from very frequently observed normal data points [13].Anomaly detection is used in several applications such as blockchain networks [14], financial fraud detection [15] and time series analysis [16].This approach is also adopted for fault detection in industrial cyber-physical systems [17], manufacturing [18], heavy-plate quality detection [19], robotics [20], electrical engineering [21], and autonomous driving [22].This results in a two-stage approach that includes an object detection model followed by an anomaly detection model, as shown in Fig. 1. B. Insulator inspection and anomaly detection A two-stage problem formulation proposed here addresses the research gaps identified in Section I-A as follows: B. Insulator inspection and anomaly detection 1) Small and less diverse datasets: As reported in [12], B. Insulator inspection and anomaly detection the classification errors of object detection models are the primary contributor to low performance in datascarce scenarios.In a two-stage approach, the object detection model does not learn the classification (healthy and faulty) task.Thus, the performance is determined solely by localisation errors, which are reported to be low [12].2) Class imbalance: The formulation of the classification problem as anomaly detection explicitly addresses the problem of class imbalance.3) Simple detection tasks: In this article, we consider the detection of hard-to-detect incipient faults, i.e., flashed and broken disks. B. Insulator inspection and anomaly detection In addition, we note that the two-stage formulation has the following key impacts on the learning problem: B. Insulator inspection and anomaly detection 1) The fault detection task is divided into simpler sub-tasks. B. Insulator inspection and anomaly detection In the first stage, a 2-class object detection model (to detect insulators and disks) will suffice, as opposed to a 4-class model (that detects insulators, healthy disks, flashed disks and broken disks) in a one-stage approach.This problem simplification makes it easier for the model to perform better.2) In the second stage, the samples consist only of extracted images of accurately localised disks, which exhibit very little background compared to the first stage.This is evident from Fig. 2, which shows sample aerial images of insulators and extracted images of disks.As a result, the anomaly detection model observes little interference from the background. III. METHODOLOGY In this section, we present the state-of-the-art one-class classifier adopted for building the anomaly detector, i.e., fully convolutional data description [23].We identify a few challenges with FCDD loss in semi-supervised training and propose a novel loss function that is aligned with cross-entropy to devise the modified FCDD. III. METHODOLOGY Anomaly detection is a very well-studied problem, with several approaches available in the literature [24].In this work, we are interested in anomaly detection for images of disks and thus adopt a computer vision-based approach to address this problem.A taxonomy and review of the algorithms for anomaly detection using deep learning is presented in [13].Deep learning-based methods often adopt autoencoders for image [25] and video [26] anomaly detection, which are trained on normal data points.Since such a model only sees normal data points during training, it is expected to exhibit high errors in reconstructing an anomalous data point, thereby allowing anomaly detection by monitoring the reconstruction error of the model.While such models are very popular, they do not offer a way to include any prior information about anomalies during training.However, in the case of detecting faulty disks, one has prior information about the flash-over patterns and shapes of broken disks that could be leveraged to improve the performance of the model.We therefore employ a state-of-the-art anomaly detection method that allows using the patterns observed in anomalous data points during training.The model also provides explanations for its predictions, which can promote its adoption by the industry. A. Anomaly detection with fully convolutional data description (FCDD) The FCDD is a state-of-the-art anomaly detection approach [23] that has been demonstrated to provide excellent performance on standard datasets, including ImageNet and MVTec-AD (a dataset for detecting defects in manufacturing [27]), outperforming several contemporary anomaly detection methods.It allows both unsupervised and semi-supervised training, incorporating information about anomalies at the time of training.FCDD is a one-class classification model that performs anomaly detection by mapping all normal data points in the vicinity of a centre c 0 in the output space, which results in the anomalies being mapped away from c 0 .FCDD is based on the hypersphere classifier (HSC), which employs the following loss function: A. Anomaly detection with fully convolutional data description (FCDD) where x i ∈ R c×h×w represents the i th input with c channels, height h and width w. y i ∈ {1, 0} represents the i th target such that y i = 1 for anomalous data points, and y i = 0 for normal data points, N represents the number of data points, f (•; θ) represents the neural network parameterised in θ, and h(•) represents the pseudo-Huber loss, defined as A. Anomaly detection with fully convolutional data description (FCDD) FCDD uses a fully convolutional architecture for the neural network f (•; θ), which transforms input x i ∈ R c×h×w to feature z i ∈ R u×v .In addition, the centre of the hypersphere is set to the bias of the last layer of f , so that the FCDD loss can be expressed as: A. Anomaly detection with fully convolutional data description (FCDD) where the quantity h(z i ) is the pseudo-Huber loss of the features.This loss is summed for all entries of h(z i ), and then normalised with respect to the number of entries, which provides a normalised measure of deviation of the feature from the centre.The above objective minimises the deviation for normal data points (y i = 0), and maximises the deviation for anomalous data points (y i = 1).The pseudo-Huber loss of features of a trained FCDD model can be considered as a heatmap of the input, with anomalous regions exhibiting higher values and normal regions exhibiting lower values. A. Anomaly detection with fully convolutional data description (FCDD) In general, the dimension of the features is lower compared to that of the input of a convolutional network, i.e., here u < h, v < w.To map this low-resolution heatmap to the original input image, FCDD further performs a deterministic upsampling of h(z i ) with a Gaussian kernel [23]. A. Anomaly detection with fully convolutional data description (FCDD) In the above formulation, the model takes only the images and labels, i.e., normal or anomalous, and learns a mapping that highlights the anomalous regions of an image.When anomalous images are used for training in this setting, information about patterns observed in faulty images is implicitly provided to the model.It is also possible to explicitly incorporate prior knowledge at the time of training, which can be achieved by modifying the FCDD loss to allow semisupervised training as follows [23]: A. Anomaly detection with fully convolutional data description (FCDD) where y i ∈ {1, 0} h×w is the ground truth map for the i th image and contains 1 for all pixels exhibiting an anomaly, and h′ (z i ) ∈ R h×w represents the up-sampled heatmap.The above loss function has been shown to result in better performing models [23]. B. Modified FCDD In the section, we first motivate the need for a modified FCDD formulation by highlighting the drawbacks of the semisupervised formulation and then present a novel loss function to address these issues.We recall the expression for binary cross-entropy (BCE) loss: B. Modified FCDD We see in Eq. 4 that we have a clear definition of the predicted class probability of the input, i.e., p and 1 − p for the BCE loss.We note two differences between the BCE and FCDD losses.First, the class labels (y and 1 − y) have been swapped in formulating the FCDD loss.Although this notational difference has no impact on training, we highlight this difference for clarity in the ensuing discussion.To highlight the second difference, we rewrite Eq. 3 as: B. Modified FCDD Comparing Eq. 5 with Eq. 4, we see that in the first term, the pixel-level predicted probability for the normal class can be expressed as p = exp(− h′ (z i ) j ).The predicted probability for the anomalous class should then be 1−p = 1−exp(− h′ (z i ) j ).However, this is not reflected in the second term in Eq. 5. B. Modified FCDD Further, by construction, the second term does not allow us to obtain a clear definition of the pixel-level predicted probability for the anomalous class (because the summation is inside the exp(•) function).Thus, the two terms in Eq. 5 do not agree on the predicted probabilities at the pixel level.This disagreement prevents us from employing advanced loss functions such as focal loss [28] that, for example, address class imbalance by re-weighing the loss terms for the normal and anomalous pixels.We also observe that Eq. 5 leads to computational issues for normal images.Specifically, for an image with no anomalous pixels, i.e., when y i,j = 0 ∀i, j, the second term in Eq. 5 evaluates to −∞, preventing gradient calculation and backpropagation. B. Modified FCDD To address these challenges, we formulate the modified FCDD loss for semi-supervised training that is aligned with BCE loss as: B. Modified FCDD In Eq. 6, both terms have a consistent definition of the probability, p i,j = exp(− h′ (z i ) j ) at the pixel level.The modified loss also prevents any computational issues in gradient calculation.Note that the unsupervised FCDD loss in Eq. 2 is already aligned with BCE loss, and thus we do not make any changes to unsupervised training. B. Modified FCDD With a consistent definition of the pixel-level probability p i,j = exp(− h′ (z i ) j ), we can now seamlessly integrate the modified FCDD with other advanced loss functions such as the focal loss: B. Modified FCDD where γ ≥ 0 represents the focussing parameter.This loss function allows penalising incorrect predictions to address an inevitable imbalance between the number of normal and anomalous pixels in a dataset. IV. INSULATOR FAULT DETECTION WITH FCDD In this work, we use FCDD in unsupervised and semisupervised formulations (Eqs.( 2) and ( 3)) along with the modified FCDD (Eqs.( 6) and ( 7)) to differentiate between healthy and faulty disks.In the unsupervised formulation, it is possible to learn from only normal samples, i.e., without including any anomalies at the time of training.It is also possible to use images of any object other than disks as anomalous samples, or employ an outlier exposure algorithm to synthetically generate anomalies, both of which improve the performance [23].Finally, it is possible to include real anomalies (without any ground truth anomaly maps) to minimise L F CDD .In all these scenarios, either no real anomalies are used during training, or the ground truth anomaly maps of real anomalies are not provided, resulting in unsupervised training.We perform unsupervised training with (i) no faulty disks and (ii) real faulty disks without anomaly maps.In addition, we also perform semi-supervised training by minimising L SS F CDD , wherein we provide the ground truth anomaly masks during training. A. Dataset preparation We use the MVTec-AD dataset for comparing the modified FCDD with the original version to establish the superiority of modified FCDD on a benchmark dataset.MVTec-AD contains 15 types of real-life objects including capsules, screws, bottles, cables, etc. with and without anomalies, and is used as a standard dataset for anomaly detection.More details regarding this dataset can be found in [27]. A. Dataset preparation We investigate the performance of FCDD for insulator inspection with two datasets.The first dataset is an openly available dataset curated by the Electric Power Research Institute and is referred to as the Insulator Defect Image Dataset (IDID) [29].This dataset consists of 1600 images of insulators with a variety of disk colours.Each image in this dataset has four orientations -original, diagonally flipped, horizontally flipped and vertically flipped.In this work, we use only the images with original orientations, which results in 400 images with 3286 healthy disks, 716 flashed disks and 282 broken disks.This dataset is used to study the performance of anomaly detection in data-abundant scenario.The second dataset (referred to as SG) is a collection of 77 aerial images collected by Swissgrid AG, with 2429 healthy disks, only 53 flashed disks and no broken disks.This dataset is used as the data-scarce scenario in this study.Since semi-supervised training requires the ground truth anomaly maps, these datasets are manually labelled with the "labelme" tool [30].This involves generating polygonal segmentation masks for flashover patches and regions of broken disks.The segmentation masks are then converted to {0, 1} h×w to obtain the ground truth map, which are shown in Fig. 3 for healthy, flashed and broken disks.Note that the maps for healthy disks are completely black and can be generated automatically.This restricts the manual burden of labelling to only faulty disks. B. Experimental setup We first study the performance of modified FCDD with MVTec-AD dataset (Section V-A).We use the default settings of the FCDD repository to generate the results only by modifying the loss function.We then study the performance of the FCDD model on insulator datasets, trained individually on IDID and SG dataset, and compare the performance in data-abundant (Section V-B) and data-scarce (Section V-C) scenarios.We also compare the performance of unsupervised FCDD with an autoencoder-based anomaly detection model (AE).Then, we investigate whether data from a different dataset can be used to improve the performance in a datascarce scenario (Section V-D).To that end, we include data from both IDID and SG datasets to train a third FCDD model and examine if it performs better compared to the model trained only on the SG dataset.Note that while IDID has two types of faulty disks (flashed and broken), the SG dataset has only flashed disks.Thus, we train an FCDD model for the IDID dataset with both types of faulty disks for IDID, and use only flashed disks of IDID to augment the performance of (the third) FCDD for the SG dataset.The number of training and testing images used for different experiments are listed in Table I.As an illustrative case, for unsupervised training without real anomalies for IDID, we use 2586 healthy disks, TABLE I NUMBER OF TRAINING AND TESTING SAMPLES USED IN THE THREE EXPERIMENTS. UNSUPERVISED TRAINING USES ALL HEALTHY SAMPLES ALONG WITH 1) NO ANOMALOUS SAMPLES OR 2) ANOMALOUS SAMPLES WITHOUT GROUND TRUTH MAPS. SEMI-SUPERVISED TRAINING USES ALL HEALTHY AND ANOMALOUS SAMPLES WITH THE where R T P and R F P are the true positive rate and false positive rate, respectively, and are obtained as: TABLE I NUMBER OF TRAINING AND TESTING SAMPLES USED IN THE THREE EXPERIMENTS. UNSUPERVISED TRAINING USES ALL HEALTHY SAMPLES ALONG WITH 1) NO ANOMALOUS SAMPLES OR 2) ANOMALOUS SAMPLES WITHOUT GROUND TRUTH MAPS. SEMI-SUPERVISED TRAINING USES ALL HEALTHY AND ANOMALOUS SAMPLES WITH THE where TP, TN, FP and FN represent true positives, true negatives, false positives and false negatives, respectively.T represents the set of all decision thresholds used to predict the positives and negatives.First, different values of true and false positive rates are obtained for different classification thresholds, and AUC is then calculated according to Equation 8.The optimal decision threshold can be obtained from the receiver operating characteristics by identifying the top-left point of the curve, which can then be used to evaluate the classification accuracy of the model.To account for uncertainty during training, FCDD trains 5 different instances of a model.We report the average performance (AUC and optimal accuracy) of the five models in each experiment. V. RESULTS In this section, we first compare the original and modified versions of FCDD for anomaly detection on the MVTec-AD dataset.We then present an evaluation and comparison of FCDD models trained for insulator inspection in data-abundant and data-scarce scenarios with different formulations.Finally, we present the explanations provided by the semi-supervised FCDD model for its predictions. A. Anomaly detection on MVTec-AD In this section, we use the AUC calculated at the pixel level, referred to as GTMAP AUC (AUC for ground truth maps).We adopt this metric following the original results of FCDD reported in [23] for a fair comparison.The GTMAP AUC of original and modified versions of semi-supervised FCDD models are listed in Table II.The numbers for FCDD are taken from Table 2 of the original paper [23].It can be seen that compared to FCDD, the modified FCDD is superior for 7 objects, comparable for 6 objects, and inferior for 2 objects.This results in a net performance improvement of 7% in total (0.47% on average) for the 15 classes in the dataset.Furthermore, the worst-case performance for the dataset is improved by 2 points, from 90% for FCDD (Transistor) to 92% for modified FCDD (Capsule).These results show that, besides being more aligned with BCE loss, the modified FCDD loss can lead to better model performance.In the following, we present the anomaly detection results for insulator inspection with the original FCDD and compare the performance with modified FCDD. B. Insulator inspection with unsupervised learning In this section, we report the performance of models trained in an unsupervised manner, i.e., without ground truth for anomalous data points (original FCDD, Eq. 2). B. Insulator inspection with unsupervised learning a) Data abundance: The AUC of FCDD without any faulty samples is 0.59 for IDID, corresponding to a classification accuracy of 57.35% for the optimal decision threshold.In comparison, an autoencoder-based anomaly detection model provides an AUC of 0.66 and an optimal accuracy of 62.07%.While the AE model performs better than FCDD, it does not allow training with information from real anomalies.Inclusion of only flashed disks as anomalous data points during training increases the AUC and optimal accuracy of FCDD to 0.79 and 71.73%, respectively.This is a considerable performance improvement achieved with only 200 training images of flashed disks and underscores the significance of using real anomalies during training.In addition to flashed disks, including broken disks during training yields an AUC of 0.75, corresponding to an accuracy of 68.90%.This further demonstrates that FCDD can learn from multiple types of anomalies in the training dataset, and deliver performance comparable with learning from only one type of anomaly. B. Insulator inspection with unsupervised learning b) Data scarcity: The FCDD model trained without any real anomalies provides an AUC of 0.74 (Fig. 4) and an accuracy of 70.51%, which is considerably higher than the performance for IDID.This difference may partly be attributed to the larger number of images used to evaluate the models in IDID, which exposes the model to more variations in the images.In agreement with observation for IDID, an AE-based anomaly detection model outperforms FCDD with an AUC of 0.79 and optimal accuracy of 75.46%.The FCDD model trained with flashed disks as anomalies performs better with an AUC of 0.85 and accuracy of 76.08%.This suggests that FCDD can leverage information about the anomalies efficiently, i.e., with only 5 anomalies, and provide a considerable improvement in the performance of fault detection. C. Insulator inspection with semi-supervised learning We now present the performance of models trained with ground truth anomalies.We integrate the focal loss with modified FCDD to construct the compound loss (Eq.6) and train the model with different values of the focussing parameter γ.We report the results for the best performance achieved with hyperparameter tuning (γ = 0.4 for data abundance and γ = 1 for data scarcity) and compare with original FCDD (Eq.3). C. Insulator inspection with semi-supervised learning a) Data abundance: The modified FCDD model trained with compound loss (γ = 0.4) delivers an AUC of 0.89 and optimal accuracy of 81.06%.This is an improvement of 14 points for AUC and 10 points for accuracy over the unsupervised model.The original FCDD model exhibits an AUC of 0.87 and accuracy of 79%, performing about 2 points worse for both metrics.This demonstrates the flexibility of modified FCDD to adapt to datasets with appropriate hyperparameters and deliver performance improvements with multiple types of anomalies.This shows that in addition to the benchmark dataset, modified FCDD can provide performance improvements by incorporating additional loss terms, a flexibility not offered by the original FCDD. C. Insulator inspection with semi-supervised learning b) Data scarcity: The modified FCDD model (γ = 1), has an AUC of 0.88 and accuracy of 81.84%, outperforming the unsupervised model by 3(5.84) points in AUC (accuracy).This highlights the value of using ground truth anomaly maps to inform the training process about the specific patterns of faults (see Fig. 4).The original FCDD model delivers a comparable performance with AUC of 0.88 and optimal accuracy of 80.61%.Thus, the modified FCDD loss provides a more intuitive loss function for training and performs comparably for this dataset. D. Improving insulator inspection in data-scarce scenario We adopt two methods of increasing the training dataset size to improve the performance in data-scarce scenarios.In the first approach, we gradually increase the number of training anomalies to cover half of the available anomalies.In the second approach, we use data from IDID to increase the dataset size for training. D. Improving insulator inspection in data-scarce scenario 1) Increasing training anomalies from SG dataset: We perform this experiment in both the unsupervised and semisupervised (modified FCDD with focal loss) settings.The AUCs of the resulting models trained with different numbers of training anomalies are shown in Fig. 5.The AUC of the unsupervised model without any training anomalies is also shown for reference.In the unsupervised setting, the model shows a remarkable gain of 11 points in AUC with only one training anomaly, demonstrating the sample efficiency of the approach.We observe an increasing trend in the performance with the number of training anomalies -except for 10 training anomalies, which could potentially be due to the choice of particular anomalous samples for training.In the semisupervised setting, however, we observe poor performance compared to the unsupervised setting for 1 and 2 training anomalies.They show an increasing trend in performance with more anomalies, outperforming the unsupervised models with 5 or more training anomalies.This suggests that semisupervised training, while in general better than unsupervised training, requires a minimum number of samples to learn better features.The model trained with 26 anomalies provides an AUC of 0.92 and an optimal accuracy of 83.37% with unsupervised training.The corresponding semi-supervised model provides an AUC of 0.92 and an accuracy of 86.49%. D. Improving insulator inspection in data-scarce scenario 2) Increasing training anomalies from IDID: In the above approach, the number of anomalies used for testing the model is different across the scenarios.In order to maintain the same test images and increase the number of training anomalies, we leverage data from IDID.Specifically, we use all images of flashed disks in IDID, in addition to the 5 training anomalies, and train unsupervised and semi-supervised FCDD models.The unsupervised model provides an AUC of 0.79 with an accuracy of 72.37%, which is poorer than the corresponding model trained with only 5 anomalies of the SG dataset.The semi-supervised model provides an AUC of 0.91 and an accuracy of 84.32%, which is better than the corresponding model trained with only the SG dataset by 3 points for both metrics.Note that to achieve comparable performance, 26 images from the SG dataset are needed, which is half of the number of total anomalies in the dataset.However, by leveraging images from IDID, only 5 anomalous images from the SG dataset were used.Thus, This observation further reinforces the value of semi-supervised training and also shows that in a data-scarce setting, the performance of the modified FCDD can be considerably improved by leveraging images from a related dataset. E. Explanations of FCDD The explanations from an FCDD model are obtained by upsampling the model's output features (z) to match the original image size through a deterministic non-trainable Gaussian kernel-based approach [23].The up-sampled features (z) are then represented as a heat map to highlight the anomalous regions predicted by the model.Fig. 6 shows the explanations of the semi-supervised models on sample test images for both datasets.For each dataset, Fig. 6 shows six sample test images (healthy in the left panel and faulty in the right panel), their explanations produced by the model, and the corresponding ground truth anomaly maps.It can be observed that the explanations for the faulty images match closely with the ground truth anomaly maps for the images from IDID.This suggests that the model can localise patches of discolouration on the disks with very good accuracy.The model also predicts anomalous regions on the disks that are not aligned with the ground truth anomaly maps.The explanations for the healthy images (without ground truth anomaly maps), on the other hand, consistently contain anomalous regions predicted by the model. E. Explanations of FCDD The explanations for the faulty images of the SG dataset are also well aligned with the ground truth maps, although they exhibit slightly more deviation from the ground truth anomaly maps compared to IDID.This can also be observed for the healthy images in this dataset.The qualitatively poor explanations for the SG dataset compared to IDID can be corroborated by the difference in AUC and optimal accuracy of the two models trained with these datasets.Although the models make false predictions for both datasets, i.e., spurious anomalous regions (on disks and in the background), these predictions are averaged to decide whether the image as a whole is normal or anomalous.This aggregation and classification based on the optimal threshold finally provides accuracies of more than 80% (for the semi-supervised case).Thus, at the time of deployment, it is important to trust the predicted anomalous regions only for images classified as anomalous.However, avoiding spurious predictions altogether is an important step towards improving the anomaly detection model and remains an open challenge to employ FCDD for anomaly detection. VI. DISCUSSION In this section, we present a discussion of the key findings and highlight directions for future research. A. Key findings We note the following key findings from the results: 1) Modified FCDD improves performance over original FCDD for the MVTec-AD dataset, pushing the average performance by 0.47% and worst-case performance by 2%. A. Key findings 2) The AE model outperforms unsupervised FCDD trained without anomalies for insulator inspection.However, when trained with real anomalies, unsupervised FCDD significantly improves, outperforming AE. A. Key findings 3) The semi-supervised FCDD performs better than unsupervised FCDD with as few as 5 training anomalies.The modified FCDD performs comparably with the original FCDD.It also allows crafting composite loss functions, and such a loss function (modified FCDD with focal loss) can improve the pixel-level performance.Semisupervised training with modified FCDD loss is thus a superior approach for insulator inspection that requires very little labelling efforts.4) In the data-scarce scenario, augmenting the dataset with anomalous images from a different dataset leads to a drop in performance, potentially due to domain shift.5) One of the biggest strengths of FCDD is the explainability of the model in terms of the predictions of faulty regions in the images.However, we observed that the explanations produced by the FCDD models, although highly accurate for several samples, can provide spurious predictions of faulty regions in some examples.Moreover, these predictions can be on the disk or in the background of the image.Thus, current explanations should be trusted more when the image has been classified as anomalous while exercising caution for those classified as normal. B. Effect of object detection on anomaly detection model In this article, we have focussed our attention on the performance of the anomaly detection model with different training methods and loss functions.The proposed framework, however, consists of two stages, i.e., object detection followed by anomaly detection.A challenge with two-stage frameworks is that the errors in the first stage can propagate into the second stage, affecting the overall performance.However, as discussed in Section II-A, the localisation errors of YOLOv5 are very low, and misclassification of healthy and faulty disks contributes more to the errors.Since we eliminate the classification task from the first stage, the errors that can propagate into the second stage are only due to deviations in bounding box predictions or missed disks, both of which are very small for YOLOv5.Further, since CNNs are shiftinvariant, the effect of bounding box deviations is expected to be minimal.Finally, with rapid advancement in the YOLO family of object detection models [32], [33], [34], [35], [36], the performance of the object detection stage can be further improved, reducing the impact of errors in object detection on anomaly detection, and thus inspection of insulators. C. Future work The two-stage approach proposed in this work merges object detection with anomaly detection to identify rarely occurring insulator faults.At the time of deployment, the predictions from the object detection model can be used as input to the anomaly detection model.However, at the time of training, the parameters of the two models are learnt independently, i.e., without any shared parameters.Since the first stage aims at detecting insulators and disks, the model in the second stage (that deals with detecting patterns on disks) can potentially benefit from the learnt parameters of the object detection model.Such a study has not been conducted in this work, and can be explored in the future to potentially improve the performance and reduce the training time of the anomaly detection model. C. Future work We observed that including the faulty images from IDID did not provide a significant improvement in performance for the SG dataset.This could potentially be due to domain shift, which has not been investigated in this work.Future studies can also be directed towards incorporating domain adaptation methods in the anomaly detection stage to improve the performance in data-scarce applications. VII. CONCLUSION In this work, we proposed a two-stage approach that uses object detection and anomaly detection to reliably identify The FCDD model achieves AUCs of up to 0.9 for the dataabundant application and 0.88 for the data-scarce application.A novel loss function that is well-aligned with BCE loss was developed, which also enables integration with multiple loss terms into composite loss functions.We demonstrated that the BCE-aligned loss improves the performance of anomaly detection for the MVTec-AD dataset, pushing both the worstcase and average performance.This loss also improved the performance of insulator inspection in the data-abundant scenario.When combined with focal loss, it improved the performance of insulator inspection in the data-scarce scenario.The semisupervised models perform better than the unsupervised model for both datasets, highlighting the value of providing real anomalies and ground truth anomaly maps during training.However, the number of such anomalies is only 200 for the data-abundant case and 5 for the data-scarce case, which does not lead to a large labelling requirement for training the model. VII. CONCLUSION The proposed approach provides a method to detect rarely occurring incipient faults, specifically flashed and broken disks in both data-abundant and data-scarce applications, with minimal labelling efforts.The explanations of the model were also seen to match with the ground truth, especially for the anomalous samples.Improving the explanations of the model and accounting for domain shift are some open questions that can be addressed in the future. Fig. 1 .Fig. 2 . Fig. 1.Two-stage insulator fault detection with object detection and anomaly detection.The texts in parentheses represent the model used in this work. Fig. 1 .Fig. 2 . Fig. 3. Sample disks (healthy, flashed and broken), and their corresponding ground truth maps for semi-supervised training. Fig. 1 .Fig. 2 . GROUND TRUTH MAPS.((F): FLASHED DISKS, (B): BROKEN DISKS).-supervised training, we additionally use 200 flashed disks and 100 broken disks.All experiments are performed with the FCDD package [23].The default settings of FCDD have been employed, of which the notable settings are an input image size of 3 × 224 × 224, the VGG-11-BN-based deep convolutional model [31], a batch size of 128, 200 epochs for training and stochastic gradient descent optimizer.All experiments are performed on a Windows workstation with one NVIDIA RTX 3070 GPU and 128 GB of RAM.To evaluate and compare the performance of the models, we employ the standard area under the receiver operating characteristics curve (AUC) metric.The AUC can be expressed as: Fig. 4 . Fig. 4. AUC of FCDD with unsupervised and semi-supervised training for two insulator inspection datasets (data abundance and data scarcity).The proposed semi-supervised model uses the compound modified FCDD-focal loss (γ = 0.4 for data abundance γ = 1 for data scarcity). Fig. 5 . Fig. 5. AUC of unsupervised and semi-supervised (modified FCDD + focal loss) models for SG dataset trained with different numbers of training anomalies. Fig. 5 . (a) Explanations for IDID (left: healthy, right: faulty).(b) Explanations for SG dataset (left: healthy, right: faulty). Fig. 6 . Fig. 6.Explanations of FCDD models for IDID (data abundant) and SG dataset (data scarce), trained in a semi-supervised manner.In each panel, the top, middle and bottom rows show the original image, explanations provided by the FCDD model, and ground truth anomaly maps, respectively.The explanations are shown as heat maps, with higher values (red) representing faulty patterns and lower values (blue) representing healthy patterns. TABLE II GTMAP AUC OF FCDD AND MODIFIED FCDD WITH SEMI-SUPERVISED TRAINING FOR MVTEC-AD DATASET (BOLD ENTRIES REPRESENT THE BEST PERFORMANCE).

섹션 본문 72문단 · 45,317자

(제목 없음)

1Inspection of insulators is important to ensure reliable operation of the power system.Deep learning is being increasingly exploited to automate the inspection process by leveraging object detection models to analyse aerial images captured by drones.A purely object detection-based approach, however, suffers from class imbalance-induced poor performance, which can be accentuated for infrequent and hard-to-detect incipient faults.This article proposes the use of anomaly detection along with object detection in a two-stage approach for incipient fault detection in a data-efficient manner.An explainable convolutional one-class classifier is adopted for anomaly detection.The oneclass formulation reduces the reliance on plentifully available images of faulty insulators, while the explainability of the model is expected to promote adoption by the industry.A modified loss function is developed that addresses computational and interpretability issues with the existing model, also allowing for the integration of other losses.The superiority of the novel loss function is demonstrated with MVTec-AD dataset.The models are trained for insulator inspection with two datasets -representing data-abundant and data-scarce scenarios -in unsupervised and semi-supervised settings.The results suggest that including as few as five real anomalies in the training dataset significantly improves the model's performance and enables reliable detection of rarely occurring incipient faults in insulators.Note to Practitioners-This paper is motivated by the problems of class imbalance and the small size of fault patterns in employing deep learning for fault detection of insulators.In practical settings, the number of faulty insulators is much smaller than that of healthy insulators, resulting in class imbalance in the learning problem.In such a scenario, deep neural networks perform poorly for the under-represented classes, i.e., faulty insulators.The performance can be worse when the patterns characterising faults are localised to a small portion of the image, e.g., patches of flash-over on insulator disks, making it a difficult learning problem.In this article, the problem of insulator fault detection is separated into two stages, wherein the first stage detects all disks in insulators and the second stage performs classification of healthy and faulty disks.The article focusses on the second stage and adopts a one-class classification formulation, learning predominantly from healthy insulators.The proposed approach allows the detection of incipient faults with very few samples of faulty insulators, facilitating the deployment of the technology with reduced investment in data collection and curation.The anomaly detection model also highlights portions of the disk that it considers to be characteristic of faults.This explainable nature of the model addresses potential skepticism about deploying deep neural networks in the industry.The current model has a few false predictions and spurious explanations, which will be addressed in future work.

I. INTRODUCTION

2P OWER transmission insulators play a key role in ensuring safe operation of power systems by providing support to transmission lines and preventing leakage through the towers.Power system operators conduct regular inspections of insulators, typically through on-site observations for manual detection of faulty insulators.The rapid progress recently witnessed in deep learning, coupled with the availability of high-quality images acquired by unmanned aerial vehicles is enabling the automation of the inspection process [1].

3The authors in [2] adopted an object detection-based approach and trained a Faster Region proposal-based Convolutional Neural Network (Faster RCNN) model to detect three different types of insulators.In addition, their model detects missing caps of insulators and achieves a fault detection precision of 92%.Similarly, [3] trained a Single-Shot multi-box Detector (SSD) model to detect healthy and faulty insulators and obtained a precision of 92.48%.A densely connected feature pyramid network was used to modify the You Only Look Once version 3 (YOLOv3) model and improve detection accuracy in [4].The authors in [5] adopted a novel box-and-points-based representation of missing caps to train their model.A segmentation approach was coupled with Faster RCNN to identify missing caps in [6], which resulted in better performance.A particle swarm optimisationbased neural network partition algorithm was used to meet the real-time requirements of the application, resulting in 94.5% accuracy and 58.5 frames/second in [7].A cross-stage partial and residual split attention network-based backbone was used along with a multiscale bidirectional feature pyramid network to modify the YOLOv4 model and achieve better detection performance in [8].The authors in [9] used a VGG-19 model to perform fault detection with CPLID and demonstrated better performance than competing YOLO models.A Gaussian prior was applied to the object detection heads in [10].The uncertainty scores provided by the model were used to refine the bounding box predictions and achieve better performance.The authors in [11] used the attention mechanism, hourglass network and a rotation mechanism to improve the detection performance of the YOLOv5 model.

A. Knowledge gaps

4Despite this increasing research attention, we identify key shortcomings in the state-of-the-art that have left significant knowledge gaps in the literature.arXiv:2312.11470v2[cs.CV] 27 Aug 2024 a) Small and less diverse datasets: Many object detection models are trained and evaluated with small datasets (e.g., 80 images for training and 40 images for testing [2], 581 images for training and 388 images for testing [5]) with little or no investigation of the sensitivity to image features in the background and foreground.Thus, their applicability under more general settings of diverse features is not known.Further, a recent study reported that including several data augmentation techniques does not achieve a performance improvement [12].

5b) Class imbalance: Several articles suffer from class imbalance in their datasets (e.g., 600 healthy insulators and 248 faulty insulators in [4], [8]), which hampers the performance for under-represented classes, i.e., faulty insulators.This poses a challenge to automating the inspection process in a well-functioning grid.Since most insulators are expected to be healthy, collecting more images invariably leads to a class-imbalanced dataset.While the imbalance can be treated by undersampling the healthy insulators, this will prevent a major portion of the dataset from being used for training.Thus, addressing class imbalance in a data-efficient manner is needed, which requires a methodological improvement over a purely object detection-based strategy.

6c) Simple detection tasks: The literature addresses the relatively simpler task of detecting missing caps/disks, ignoring incipient faults such as flashed and broken disks.The flash-over caused by electrical flashes or lightning strikes as well as irregularly shaped broken disks are important for the operator's situational awareness and informed prioritisation of maintenance activities.Further, these faults can be difficult to detect compared to missing caps, since these faults are localised to a relatively smaller portion in the image.The small patterns coupled with class imbalance further lead to poor performance of object detection models [12].

7In this article, we address the above gaps with a twostage approach that relies on detection and segmentation for automated inspection of insulators.

B. Contributions

8This article makes the following contributions: 1) Problem formulation: We pose the detection of incipient faults, specifically flashed and broken disks as an anomaly detection problem.This methodological choice splits the detection problem into two stages and uses simplified models in each stage.The first model processes the aerial image to locate insulators and disks, while the second model processes images of disks to detect anomalous disks.This setting also drastically increases the number of images available for training the anomaly detection model.2) Improved anomaly detection: We adopt a one-class classification-based anomaly detection strategy, and employ the Fully Convolutional Data Description (FCDD) model.We identify mathematical and computational challenges associated with the FCDD loss and introduce a novel loss function to tackle these challenges.The resulting modified FCDD provides a clear definition of class probabilities at the pixel level for each image, offering better interpretability and integration with complex loss functions.We demonstrate the superiority of modified FCDD over the original model with a standard anomaly detection dataset (MVTec-AD).3) Insulator inspection with anomaly detection: We integrate the modified FCDD with focal loss to construct a compound loss function that adapts to the nuances of insulator inspection datasets, and compare the performance with original FCDD for two datasets representing data-abundant and data-scarce scenarios.We also show two methods of improving the performance of anomaly detection in the data-scarce scenario.The rest of the article is organized as follows: Section III presents the methodology adopted in this work.Section IV presents the application of the anomaly detection model to insulator fault detection along with the dataset collection and curation procedure.The experimental setup is also discussed.Section V presents the results of our experiments.Finally, Section VII provides concluding remarks.

II. PROBLEM FORMULATION

9In this section, we present our motivation to adopt an anomaly detection-based problem formulation to solve the fault detection problem for insulators and discuss how anomaly detection coupled with object detection can address the research gaps identified in Section I-A.

A. Insulator inspection with object detection

10We address the problem of insulator fault detection, i.e., identifying the presence of faults in insulators.Specifically, we consider two types of faults -flashed disks and broken disks, which are relatively hard-to-detect incipient faults and have not been extensively studied in the literature.A recent study showed that this problem can be elusive with an object detection-based approach in data-scarce scenarios [12].Stateof-the-art object detection models were reported to perform very well for detecting insulators (which have high frequency and large size), relatively poorer for healthy disks (very high frequency but small size), and very poor for flashed disks (very low frequency and small size) [12].Thus, class imbalance and scale imbalance are key performance-limiting factors for object detection models.As discussed in Section I-A, class imbalance challenge cannot be addressed by collecting more images.Scale imbalance is inherent to the application and cannot be avoided because each insulator is constructed with roughly 15 disks, leading to an inevitable 15× difference in scale.This motivates the need for a methodologically novel approach to insulator fault detection.

11A closer inspection of the performance of object detection models for the faulty disks reveals that the models exhibit high classification errors with rather small localisation errors.In other words, the models accurately localise the disks but encounter difficulty in correctly classifying them as healthy and faulty.Since object detection models learn the two tasks simultaneously, which can be difficult for imbalanced datasets, we investigate if segregating the localisation and classification tasks can benefit the fault detection objective.

B. Insulator inspection and anomaly detection

12In a segregated approach, the object detection model learns to localise disks regardless of their state (healthy or faulty).A second model then processes the extracted disks and learns to classify them as healthy or faulty.The training of object detection models has been extensively studied in the literature.In this article, we focus on the second model for solving the classification problem.It must be noted that the second model processes only images of disks, and thus, does not face scale imbalance.However, class imbalance between healthy and faulty disks still persists and needs to be carefully addressed.

13The learning problem for the second model is to detect faulty disks, which occur very infrequently in a dataset with a large number of healthy disks, which naturally lends itself as an anomaly detection problem.Anomaly detection aims at detecting rarely occurring data points (anomalies) that deviate significantly from very frequently observed normal data points [13].Anomaly detection is used in several applications such as blockchain networks [14], financial fraud detection [15] and time series analysis [16].This approach is also adopted for fault detection in industrial cyber-physical systems [17], manufacturing [18], heavy-plate quality detection [19], robotics [20], electrical engineering [21], and autonomous driving [22].This results in a two-stage approach that includes an object detection model followed by an anomaly detection model, as shown in Fig. 1.

14A two-stage problem formulation proposed here addresses the research gaps identified in Section I-A as follows:

151) Small and less diverse datasets: As reported in [12],

16the classification errors of object detection models are the primary contributor to low performance in datascarce scenarios.In a two-stage approach, the object detection model does not learn the classification (healthy and faulty) task.Thus, the performance is determined solely by localisation errors, which are reported to be low [12].2) Class imbalance: The formulation of the classification problem as anomaly detection explicitly addresses the problem of class imbalance.3) Simple detection tasks: In this article, we consider the detection of hard-to-detect incipient faults, i.e., flashed and broken disks.

17In addition, we note that the two-stage formulation has the following key impacts on the learning problem:

181) The fault detection task is divided into simpler sub-tasks.

19In the first stage, a 2-class object detection model (to detect insulators and disks) will suffice, as opposed to a 4-class model (that detects insulators, healthy disks, flashed disks and broken disks) in a one-stage approach.This problem simplification makes it easier for the model to perform better.2) In the second stage, the samples consist only of extracted images of accurately localised disks, which exhibit very little background compared to the first stage.This is evident from Fig. 2, which shows sample aerial images of insulators and extracted images of disks.As a result, the anomaly detection model observes little interference from the background.

III. METHODOLOGY

20In this section, we present the state-of-the-art one-class classifier adopted for building the anomaly detector, i.e., fully convolutional data description [23].We identify a few challenges with FCDD loss in semi-supervised training and propose a novel loss function that is aligned with cross-entropy to devise the modified FCDD.

21Anomaly detection is a very well-studied problem, with several approaches available in the literature [24].In this work, we are interested in anomaly detection for images of disks and thus adopt a computer vision-based approach to address this problem.A taxonomy and review of the algorithms for anomaly detection using deep learning is presented in [13].Deep learning-based methods often adopt autoencoders for image [25] and video [26] anomaly detection, which are trained on normal data points.Since such a model only sees normal data points during training, it is expected to exhibit high errors in reconstructing an anomalous data point, thereby allowing anomaly detection by monitoring the reconstruction error of the model.While such models are very popular, they do not offer a way to include any prior information about anomalies during training.However, in the case of detecting faulty disks, one has prior information about the flash-over patterns and shapes of broken disks that could be leveraged to improve the performance of the model.We therefore employ a state-of-the-art anomaly detection method that allows using the patterns observed in anomalous data points during training.The model also provides explanations for its predictions, which can promote its adoption by the industry.

A. Anomaly detection with fully convolutional data description (FCDD)

22The FCDD is a state-of-the-art anomaly detection approach [23] that has been demonstrated to provide excellent performance on standard datasets, including ImageNet and MVTec-AD (a dataset for detecting defects in manufacturing [27]), outperforming several contemporary anomaly detection methods.It allows both unsupervised and semi-supervised training, incorporating information about anomalies at the time of training.FCDD is a one-class classification model that performs anomaly detection by mapping all normal data points in the vicinity of a centre c 0 in the output space, which results in the anomalies being mapped away from c 0 .FCDD is based on the hypersphere classifier (HSC), which employs the following loss function:

23where x i ∈ R c×h×w represents the i th input with c channels, height h and width w. y i ∈ {1, 0} represents the i th target such that y i = 1 for anomalous data points, and y i = 0 for normal data points, N represents the number of data points, f (•; θ) represents the neural network parameterised in θ, and h(•) represents the pseudo-Huber loss, defined as

24FCDD uses a fully convolutional architecture for the neural network f (•; θ), which transforms input x i ∈ R c×h×w to feature z i ∈ R u×v .In addition, the centre of the hypersphere is set to the bias of the last layer of f , so that the FCDD loss can be expressed as:

25where the quantity h(z i ) is the pseudo-Huber loss of the features.This loss is summed for all entries of h(z i ), and then normalised with respect to the number of entries, which provides a normalised measure of deviation of the feature from the centre.The above objective minimises the deviation for normal data points (y i = 0), and maximises the deviation for anomalous data points (y i = 1).The pseudo-Huber loss of features of a trained FCDD model can be considered as a heatmap of the input, with anomalous regions exhibiting higher values and normal regions exhibiting lower values.

26In general, the dimension of the features is lower compared to that of the input of a convolutional network, i.e., here u < h, v < w.To map this low-resolution heatmap to the original input image, FCDD further performs a deterministic upsampling of h(z i ) with a Gaussian kernel [23].

27In the above formulation, the model takes only the images and labels, i.e., normal or anomalous, and learns a mapping that highlights the anomalous regions of an image.When anomalous images are used for training in this setting, information about patterns observed in faulty images is implicitly provided to the model.It is also possible to explicitly incorporate prior knowledge at the time of training, which can be achieved by modifying the FCDD loss to allow semisupervised training as follows [23]:

28where y i ∈ {1, 0} h×w is the ground truth map for the i th image and contains 1 for all pixels exhibiting an anomaly, and h′ (z i ) ∈ R h×w represents the up-sampled heatmap.The above loss function has been shown to result in better performing models [23].

B. Modified FCDD

29In the section, we first motivate the need for a modified FCDD formulation by highlighting the drawbacks of the semisupervised formulation and then present a novel loss function to address these issues.We recall the expression for binary cross-entropy (BCE) loss:

30We see in Eq. 4 that we have a clear definition of the predicted class probability of the input, i.e., p and 1 − p for the BCE loss.We note two differences between the BCE and FCDD losses.First, the class labels (y and 1 − y) have been swapped in formulating the FCDD loss.Although this notational difference has no impact on training, we highlight this difference for clarity in the ensuing discussion.To highlight the second difference, we rewrite Eq. 3 as:

31Comparing Eq. 5 with Eq. 4, we see that in the first term, the pixel-level predicted probability for the normal class can be expressed as p = exp(− h′ (z i ) j ).The predicted probability for the anomalous class should then be 1−p = 1−exp(− h′ (z i ) j ).However, this is not reflected in the second term in Eq. 5.

32Further, by construction, the second term does not allow us to obtain a clear definition of the pixel-level predicted probability for the anomalous class (because the summation is inside the exp(•) function).Thus, the two terms in Eq. 5 do not agree on the predicted probabilities at the pixel level.This disagreement prevents us from employing advanced loss functions such as focal loss [28] that, for example, address class imbalance by re-weighing the loss terms for the normal and anomalous pixels.We also observe that Eq. 5 leads to computational issues for normal images.Specifically, for an image with no anomalous pixels, i.e., when y i,j = 0 ∀i, j, the second term in Eq. 5 evaluates to −∞, preventing gradient calculation and backpropagation.

33To address these challenges, we formulate the modified FCDD loss for semi-supervised training that is aligned with BCE loss as:

34In Eq. 6, both terms have a consistent definition of the probability, p i,j = exp(− h′ (z i ) j ) at the pixel level.The modified loss also prevents any computational issues in gradient calculation.Note that the unsupervised FCDD loss in Eq. 2 is already aligned with BCE loss, and thus we do not make any changes to unsupervised training.

35With a consistent definition of the pixel-level probability p i,j = exp(− h′ (z i ) j ), we can now seamlessly integrate the modified FCDD with other advanced loss functions such as the focal loss:

36where γ ≥ 0 represents the focussing parameter.This loss function allows penalising incorrect predictions to address an inevitable imbalance between the number of normal and anomalous pixels in a dataset.

IV. INSULATOR FAULT DETECTION WITH FCDD

37In this work, we use FCDD in unsupervised and semisupervised formulations (Eqs.( 2) and ( 3)) along with the modified FCDD (Eqs.( 6) and ( 7)) to differentiate between healthy and faulty disks.In the unsupervised formulation, it is possible to learn from only normal samples, i.e., without including any anomalies at the time of training.It is also possible to use images of any object other than disks as anomalous samples, or employ an outlier exposure algorithm to synthetically generate anomalies, both of which improve the performance [23].Finally, it is possible to include real anomalies (without any ground truth anomaly maps) to minimise L F CDD .In all these scenarios, either no real anomalies are used during training, or the ground truth anomaly maps of real anomalies are not provided, resulting in unsupervised training.We perform unsupervised training with (i) no faulty disks and (ii) real faulty disks without anomaly maps.In addition, we also perform semi-supervised training by minimising L SS F CDD , wherein we provide the ground truth anomaly masks during training.

A. Dataset preparation

38We use the MVTec-AD dataset for comparing the modified FCDD with the original version to establish the superiority of modified FCDD on a benchmark dataset.MVTec-AD contains 15 types of real-life objects including capsules, screws, bottles, cables, etc. with and without anomalies, and is used as a standard dataset for anomaly detection.More details regarding this dataset can be found in [27].

39We investigate the performance of FCDD for insulator inspection with two datasets.The first dataset is an openly available dataset curated by the Electric Power Research Institute and is referred to as the Insulator Defect Image Dataset (IDID) [29].This dataset consists of 1600 images of insulators with a variety of disk colours.Each image in this dataset has four orientations -original, diagonally flipped, horizontally flipped and vertically flipped.In this work, we use only the images with original orientations, which results in 400 images with 3286 healthy disks, 716 flashed disks and 282 broken disks.This dataset is used to study the performance of anomaly detection in data-abundant scenario.The second dataset (referred to as SG) is a collection of 77 aerial images collected by Swissgrid AG, with 2429 healthy disks, only 53 flashed disks and no broken disks.This dataset is used as the data-scarce scenario in this study.Since semi-supervised training requires the ground truth anomaly maps, these datasets are manually labelled with the "labelme" tool [30].This involves generating polygonal segmentation masks for flashover patches and regions of broken disks.The segmentation masks are then converted to {0, 1} h×w to obtain the ground truth map, which are shown in Fig. 3 for healthy, flashed and broken disks.Note that the maps for healthy disks are completely black and can be generated automatically.This restricts the manual burden of labelling to only faulty disks.

B. Experimental setup

40We first study the performance of modified FCDD with MVTec-AD dataset (Section V-A).We use the default settings of the FCDD repository to generate the results only by modifying the loss function.We then study the performance of the FCDD model on insulator datasets, trained individually on IDID and SG dataset, and compare the performance in data-abundant (Section V-B) and data-scarce (Section V-C) scenarios.We also compare the performance of unsupervised FCDD with an autoencoder-based anomaly detection model (AE).Then, we investigate whether data from a different dataset can be used to improve the performance in a datascarce scenario (Section V-D).To that end, we include data from both IDID and SG datasets to train a third FCDD model and examine if it performs better compared to the model trained only on the SG dataset.Note that while IDID has two types of faulty disks (flashed and broken), the SG dataset has only flashed disks.Thus, we train an FCDD model for the IDID dataset with both types of faulty disks for IDID, and use only flashed disks of IDID to augment the performance of (the third) FCDD for the SG dataset.The number of training and testing images used for different experiments are listed in Table I.As an illustrative case, for unsupervised training without real anomalies for IDID, we use 2586 healthy disks,

TABLE I NUMBER OF TRAINING AND TESTING SAMPLES USED IN THE THREE EXPERIMENTS. UNSUPERVISED TRAINING USES ALL HEALTHY SAMPLES ALONG WITH 1) NO ANOMALOUS SAMPLES OR 2) ANOMALOUS SAMPLES WITHOUT GROUND TRUTH MAPS. SEMI-SUPERVISED TRAINING USES ALL HEALTHY AND ANOMALOUS SAMPLES WITH THE

41where R T P and R F P are the true positive rate and false positive rate, respectively, and are obtained as:

42where TP, TN, FP and FN represent true positives, true negatives, false positives and false negatives, respectively.T represents the set of all decision thresholds used to predict the positives and negatives.First, different values of true and false positive rates are obtained for different classification thresholds, and AUC is then calculated according to Equation 8.The optimal decision threshold can be obtained from the receiver operating characteristics by identifying the top-left point of the curve, which can then be used to evaluate the classification accuracy of the model.To account for uncertainty during training, FCDD trains 5 different instances of a model.We report the average performance (AUC and optimal accuracy) of the five models in each experiment.

V. RESULTS

43In this section, we first compare the original and modified versions of FCDD for anomaly detection on the MVTec-AD dataset.We then present an evaluation and comparison of FCDD models trained for insulator inspection in data-abundant and data-scarce scenarios with different formulations.Finally, we present the explanations provided by the semi-supervised FCDD model for its predictions.

A. Anomaly detection on MVTec-AD

44In this section, we use the AUC calculated at the pixel level, referred to as GTMAP AUC (AUC for ground truth maps).We adopt this metric following the original results of FCDD reported in [23] for a fair comparison.The GTMAP AUC of original and modified versions of semi-supervised FCDD models are listed in Table II.The numbers for FCDD are taken from Table 2 of the original paper [23].It can be seen that compared to FCDD, the modified FCDD is superior for 7 objects, comparable for 6 objects, and inferior for 2 objects.This results in a net performance improvement of 7% in total (0.47% on average) for the 15 classes in the dataset.Furthermore, the worst-case performance for the dataset is improved by 2 points, from 90% for FCDD (Transistor) to 92% for modified FCDD (Capsule).These results show that, besides being more aligned with BCE loss, the modified FCDD loss can lead to better model performance.In the following, we present the anomaly detection results for insulator inspection with the original FCDD and compare the performance with modified FCDD.

B. Insulator inspection with unsupervised learning

45In this section, we report the performance of models trained in an unsupervised manner, i.e., without ground truth for anomalous data points (original FCDD, Eq. 2).

46a) Data abundance: The AUC of FCDD without any faulty samples is 0.59 for IDID, corresponding to a classification accuracy of 57.35% for the optimal decision threshold.In comparison, an autoencoder-based anomaly detection model provides an AUC of 0.66 and an optimal accuracy of 62.07%.While the AE model performs better than FCDD, it does not allow training with information from real anomalies.Inclusion of only flashed disks as anomalous data points during training increases the AUC and optimal accuracy of FCDD to 0.79 and 71.73%, respectively.This is a considerable performance improvement achieved with only 200 training images of flashed disks and underscores the significance of using real anomalies during training.In addition to flashed disks, including broken disks during training yields an AUC of 0.75, corresponding to an accuracy of 68.90%.This further demonstrates that FCDD can learn from multiple types of anomalies in the training dataset, and deliver performance comparable with learning from only one type of anomaly.

47b) Data scarcity: The FCDD model trained without any real anomalies provides an AUC of 0.74 (Fig. 4) and an accuracy of 70.51%, which is considerably higher than the performance for IDID.This difference may partly be attributed to the larger number of images used to evaluate the models in IDID, which exposes the model to more variations in the images.In agreement with observation for IDID, an AE-based anomaly detection model outperforms FCDD with an AUC of 0.79 and optimal accuracy of 75.46%.The FCDD model trained with flashed disks as anomalies performs better with an AUC of 0.85 and accuracy of 76.08%.This suggests that FCDD can leverage information about the anomalies efficiently, i.e., with only 5 anomalies, and provide a considerable improvement in the performance of fault detection.

C. Insulator inspection with semi-supervised learning

48We now present the performance of models trained with ground truth anomalies.We integrate the focal loss with modified FCDD to construct the compound loss (Eq.6) and train the model with different values of the focussing parameter γ.We report the results for the best performance achieved with hyperparameter tuning (γ = 0.4 for data abundance and γ = 1 for data scarcity) and compare with original FCDD (Eq.3).

49a) Data abundance: The modified FCDD model trained with compound loss (γ = 0.4) delivers an AUC of 0.89 and optimal accuracy of 81.06%.This is an improvement of 14 points for AUC and 10 points for accuracy over the unsupervised model.The original FCDD model exhibits an AUC of 0.87 and accuracy of 79%, performing about 2 points worse for both metrics.This demonstrates the flexibility of modified FCDD to adapt to datasets with appropriate hyperparameters and deliver performance improvements with multiple types of anomalies.This shows that in addition to the benchmark dataset, modified FCDD can provide performance improvements by incorporating additional loss terms, a flexibility not offered by the original FCDD.

50b) Data scarcity: The modified FCDD model (γ = 1), has an AUC of 0.88 and accuracy of 81.84%, outperforming the unsupervised model by 3(5.84) points in AUC (accuracy).This highlights the value of using ground truth anomaly maps to inform the training process about the specific patterns of faults (see Fig. 4).The original FCDD model delivers a comparable performance with AUC of 0.88 and optimal accuracy of 80.61%.Thus, the modified FCDD loss provides a more intuitive loss function for training and performs comparably for this dataset.

D. Improving insulator inspection in data-scarce scenario

51We adopt two methods of increasing the training dataset size to improve the performance in data-scarce scenarios.In the first approach, we gradually increase the number of training anomalies to cover half of the available anomalies.In the second approach, we use data from IDID to increase the dataset size for training.

521) Increasing training anomalies from SG dataset: We perform this experiment in both the unsupervised and semisupervised (modified FCDD with focal loss) settings.The AUCs of the resulting models trained with different numbers of training anomalies are shown in Fig. 5.The AUC of the unsupervised model without any training anomalies is also shown for reference.In the unsupervised setting, the model shows a remarkable gain of 11 points in AUC with only one training anomaly, demonstrating the sample efficiency of the approach.We observe an increasing trend in the performance with the number of training anomalies -except for 10 training anomalies, which could potentially be due to the choice of particular anomalous samples for training.In the semisupervised setting, however, we observe poor performance compared to the unsupervised setting for 1 and 2 training anomalies.They show an increasing trend in performance with more anomalies, outperforming the unsupervised models with 5 or more training anomalies.This suggests that semisupervised training, while in general better than unsupervised training, requires a minimum number of samples to learn better features.The model trained with 26 anomalies provides an AUC of 0.92 and an optimal accuracy of 83.37% with unsupervised training.The corresponding semi-supervised model provides an AUC of 0.92 and an accuracy of 86.49%.

532) Increasing training anomalies from IDID: In the above approach, the number of anomalies used for testing the model is different across the scenarios.In order to maintain the same test images and increase the number of training anomalies, we leverage data from IDID.Specifically, we use all images of flashed disks in IDID, in addition to the 5 training anomalies, and train unsupervised and semi-supervised FCDD models.The unsupervised model provides an AUC of 0.79 with an accuracy of 72.37%, which is poorer than the corresponding model trained with only 5 anomalies of the SG dataset.The semi-supervised model provides an AUC of 0.91 and an accuracy of 84.32%, which is better than the corresponding model trained with only the SG dataset by 3 points for both metrics.Note that to achieve comparable performance, 26 images from the SG dataset are needed, which is half of the number of total anomalies in the dataset.However, by leveraging images from IDID, only 5 anomalous images from the SG dataset were used.Thus, This observation further reinforces the value of semi-supervised training and also shows that in a data-scarce setting, the performance of the modified FCDD can be considerably improved by leveraging images from a related dataset.

E. Explanations of FCDD

54The explanations from an FCDD model are obtained by upsampling the model's output features (z) to match the original image size through a deterministic non-trainable Gaussian kernel-based approach [23].The up-sampled features (z) are then represented as a heat map to highlight the anomalous regions predicted by the model.Fig. 6 shows the explanations of the semi-supervised models on sample test images for both datasets.For each dataset, Fig. 6 shows six sample test images (healthy in the left panel and faulty in the right panel), their explanations produced by the model, and the corresponding ground truth anomaly maps.It can be observed that the explanations for the faulty images match closely with the ground truth anomaly maps for the images from IDID.This suggests that the model can localise patches of discolouration on the disks with very good accuracy.The model also predicts anomalous regions on the disks that are not aligned with the ground truth anomaly maps.The explanations for the healthy images (without ground truth anomaly maps), on the other hand, consistently contain anomalous regions predicted by the model.

55The explanations for the faulty images of the SG dataset are also well aligned with the ground truth maps, although they exhibit slightly more deviation from the ground truth anomaly maps compared to IDID.This can also be observed for the healthy images in this dataset.The qualitatively poor explanations for the SG dataset compared to IDID can be corroborated by the difference in AUC and optimal accuracy of the two models trained with these datasets.Although the models make false predictions for both datasets, i.e., spurious anomalous regions (on disks and in the background), these predictions are averaged to decide whether the image as a whole is normal or anomalous.This aggregation and classification based on the optimal threshold finally provides accuracies of more than 80% (for the semi-supervised case).Thus, at the time of deployment, it is important to trust the predicted anomalous regions only for images classified as anomalous.However, avoiding spurious predictions altogether is an important step towards improving the anomaly detection model and remains an open challenge to employ FCDD for anomaly detection.

VI. DISCUSSION

56In this section, we present a discussion of the key findings and highlight directions for future research.

A. Key findings

57We note the following key findings from the results: 1) Modified FCDD improves performance over original FCDD for the MVTec-AD dataset, pushing the average performance by 0.47% and worst-case performance by 2%.

582) The AE model outperforms unsupervised FCDD trained without anomalies for insulator inspection.However, when trained with real anomalies, unsupervised FCDD significantly improves, outperforming AE.

593) The semi-supervised FCDD performs better than unsupervised FCDD with as few as 5 training anomalies.The modified FCDD performs comparably with the original FCDD.It also allows crafting composite loss functions, and such a loss function (modified FCDD with focal loss) can improve the pixel-level performance.Semisupervised training with modified FCDD loss is thus a superior approach for insulator inspection that requires very little labelling efforts.4) In the data-scarce scenario, augmenting the dataset with anomalous images from a different dataset leads to a drop in performance, potentially due to domain shift.5) One of the biggest strengths of FCDD is the explainability of the model in terms of the predictions of faulty regions in the images.However, we observed that the explanations produced by the FCDD models, although highly accurate for several samples, can provide spurious predictions of faulty regions in some examples.Moreover, these predictions can be on the disk or in the background of the image.Thus, current explanations should be trusted more when the image has been classified as anomalous while exercising caution for those classified as normal.

B. Effect of object detection on anomaly detection model

60In this article, we have focussed our attention on the performance of the anomaly detection model with different training methods and loss functions.The proposed framework, however, consists of two stages, i.e., object detection followed by anomaly detection.A challenge with two-stage frameworks is that the errors in the first stage can propagate into the second stage, affecting the overall performance.However, as discussed in Section II-A, the localisation errors of YOLOv5 are very low, and misclassification of healthy and faulty disks contributes more to the errors.Since we eliminate the classification task from the first stage, the errors that can propagate into the second stage are only due to deviations in bounding box predictions or missed disks, both of which are very small for YOLOv5.Further, since CNNs are shiftinvariant, the effect of bounding box deviations is expected to be minimal.Finally, with rapid advancement in the YOLO family of object detection models [32], [33], [34], [35], [36], the performance of the object detection stage can be further improved, reducing the impact of errors in object detection on anomaly detection, and thus inspection of insulators.

C. Future work

61The two-stage approach proposed in this work merges object detection with anomaly detection to identify rarely occurring insulator faults.At the time of deployment, the predictions from the object detection model can be used as input to the anomaly detection model.However, at the time of training, the parameters of the two models are learnt independently, i.e., without any shared parameters.Since the first stage aims at detecting insulators and disks, the model in the second stage (that deals with detecting patterns on disks) can potentially benefit from the learnt parameters of the object detection model.Such a study has not been conducted in this work, and can be explored in the future to potentially improve the performance and reduce the training time of the anomaly detection model.

62We observed that including the faulty images from IDID did not provide a significant improvement in performance for the SG dataset.This could potentially be due to domain shift, which has not been investigated in this work.Future studies can also be directed towards incorporating domain adaptation methods in the anomaly detection stage to improve the performance in data-scarce applications.

VII. CONCLUSION

63In this work, we proposed a two-stage approach that uses object detection and anomaly detection to reliably identify The FCDD model achieves AUCs of up to 0.9 for the dataabundant application and 0.88 for the data-scarce application.A novel loss function that is well-aligned with BCE loss was developed, which also enables integration with multiple loss terms into composite loss functions.We demonstrated that the BCE-aligned loss improves the performance of anomaly detection for the MVTec-AD dataset, pushing both the worstcase and average performance.This loss also improved the performance of insulator inspection in the data-abundant scenario.When combined with focal loss, it improved the performance of insulator inspection in the data-scarce scenario.The semisupervised models perform better than the unsupervised model for both datasets, highlighting the value of providing real anomalies and ground truth anomaly maps during training.However, the number of such anomalies is only 200 for the data-abundant case and 5 for the data-scarce case, which does not lead to a large labelling requirement for training the model.

64The proposed approach provides a method to detect rarely occurring incipient faults, specifically flashed and broken disks in both data-abundant and data-scarce applications, with minimal labelling efforts.The explanations of the model were also seen to match with the ground truth, especially for the anomalous samples.Improving the explanations of the model and accounting for domain shift are some open questions that can be addressed in the future.

Fig. 1 .Fig. 2 .

65Fig. 1.Two-stage insulator fault detection with object detection and anomaly detection.The texts in parentheses represent the model used in this work.

66Fig. 3. Sample disks (healthy, flashed and broken), and their corresponding ground truth maps for semi-supervised training.

67GROUND TRUTH MAPS.((F): FLASHED DISKS, (B): BROKEN DISKS).-supervised training, we additionally use 200 flashed disks and 100 broken disks.All experiments are performed with the FCDD package [23].The default settings of FCDD have been employed, of which the notable settings are an input image size of 3 × 224 × 224, the VGG-11-BN-based deep convolutional model [31], a batch size of 128, 200 epochs for training and stochastic gradient descent optimizer.All experiments are performed on a Windows workstation with one NVIDIA RTX 3070 GPU and 128 GB of RAM.To evaluate and compare the performance of the models, we employ the standard area under the receiver operating characteristics curve (AUC) metric.The AUC can be expressed as:

Fig. 4 .

68Fig. 4. AUC of FCDD with unsupervised and semi-supervised training for two insulator inspection datasets (data abundance and data scarcity).The proposed semi-supervised model uses the compound modified FCDD-focal loss (γ = 0.4 for data abundance γ = 1 for data scarcity).

Fig. 5 .

69Fig. 5. AUC of unsupervised and semi-supervised (modified FCDD + focal loss) models for SG dataset trained with different numbers of training anomalies.

70(a) Explanations for IDID (left: healthy, right: faulty).(b) Explanations for SG dataset (left: healthy, right: faulty).

Fig. 6 .

71Fig. 6.Explanations of FCDD models for IDID (data abundant) and SG dataset (data scarce), trained in a semi-supervised manner.In each panel, the top, middle and bottom rows show the original image, explanations provided by the FCDD model, and ground truth anomaly maps, respectively.The explanations are shown as heat maps, with higher values (red) representing faulty patterns and lower values (blue) representing healthy patterns.

TABLE II GTMAP

72AUC OF FCDD AND MODIFIED FCDD WITH SEMI-SUPERVISED TRAINING FOR MVTEC-AD DATASET (BOLD ENTRIES REPRESENT THE BEST PERFORMANCE).

참고문헌 39건

  1. Very Deep Convolutional Networks for Large-Scale Image Recognition Computer Vision and Pattern Recognition · 2014
  2. Anomaly Detection with Robust Deep Autoencoders 2017 10.1145/3097983.3098052
  3. Spatio-Temporal AutoEncoder for Video Anomaly Detection 2017 10.1145/3123266.3123451
  4. The 2018 International Conference on Unmanned Aircraft Systems 2018
  5. Insulator Fault Detection in Aerial Images Based on Ensemble Learning With Multi-Level Perception IEEE Access · Institute of Electrical and Electronics Engineers · 2019 10.1109/access.2019.2915985
  6. MVTec AD — A Comprehensive Real-World Dataset for Unsupervised Anomaly Detection 2019 10.1109/cvpr.2019.00982
  7. Focal Loss for Dense Object Detection 2017 10.1109/iccv.2017.324
  8. Box-Point Detector: A Diagnosis Method for Insulator Faults in Power Lines Using Aerial Images and Convolutional Neural Networks IEEE Transactions on Power Delivery · Institute of Electrical and Electronics Engineers · 2021 10.1109/tpwrd.2020.3048935
  9. A Unifying Review of Deep and Shallow Anomaly Detection Proceedings of the IEEE · Institute of Electrical and Electronics Engineers · 2021 10.1109/jproc.2021.3052449
  10. Deep Learning for Anomaly Detection ACM Computing Surveys · Association for Computing Machinery · 2021 10.1145/3439950
  11. IEEE/RSJ International Conference on Intelligent Robots and Systems 2021 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) · 2022 10.1109/iros47612.2022.9981344
  12. Hybrid Statistical-Machine Learning for Real-Time Anomaly Detection in Industrial Cyber–Physical Systems IEEE Transactions on Automation Science and Engineering · Institute of Electrical and Electronics Engineers · 2021 10.1109/tase.2021.3073396
  13. An Insulator in Transmission Lines Recognition and Fault Detection Model Based on Improved Faster RCNN IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2021 10.1109/tim.2021.3112227
  14. Fault Diagnosis for Electro-Mechanical Actuators Based on STL-HSTA-GRU and SM IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2021 10.1109/tim.2021.3127641
  15. Fault anomaly detection of synchronous machine winding based on isolation forest and impulse frequency response analysis Measurement · Elsevier BV · 2021 10.1016/j.measurement.2021.110531
  16. Anomaly Detection in Blockchain Networks: A Comprehensive Survey IEEE Communications Surveys & Tutorials · Institute of Electrical and Electronics Engineers · 2022 10.1109/comst.2022.3205643
  17. Financial Fraud: A Review of Anomaly Detection Techniques and Recent Advances Expert Systems with Applications · Elsevier BV · 2021 10.1016/j.eswa.2021.116429
  18. A Deep Convolutional Autoencoder-Based Approach for Anomaly Detection With Industrial, Non-Images, 2-Dimensional Data: A Semiconductor Manufacturing Case Study IEEE Transactions on Automation Science and Engineering · Institute of Electrical and Electronics Engineers · 2022 10.1109/tase.2022.3141186
  19. Research on edge intelligent recognition method oriented to transmission line insulator fault detection International Journal of Electrical Power & Energy Systems · Elsevier BV · 2022 10.1016/j.ijepes.2022.108054
  20. Anomaly detection in time series Proceedings of the VLDB Endowment · Association for Computing Machinery · 2022 10.14778/3538598.3538602
  21. An Insulator Defect Detection Model in Aerial Images Based on Multiscale Feature Pyramid Network IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2022 10.1109/tim.2022.3200861
  22. YOLOv6: A Single-Stage Object Detection Framework for Industrial Applications arXiv (Cornell University) · Cornell University · 2022 10.48550/arxiv.2209.02976
  23. Uncertainty-aware accurate insulator fault detection based on an improved YOLOX model Energy Reports · Elsevier BV · 2022 10.1016/j.egyr.2022.09.195
  24. A Transfer Learning-Based Method to Detect Insulator Faults of High-Voltage Transmission Lines via Aerial Images: Distinguishing Intact and Broken Insulator Images IEEE Systems Man and Cybernetics Magazine · Institute of Electrical and Electronics Engineers · 2022 10.1109/msmc.2022.3198027
  25. Object detection-based inspection of power line insulators: Incipient fault detection in the low data-regime arXiv (Cornell University) · Cornell University · 2022 10.48550/arxiv.2212.11017
  26. Toward Interpretability in Fault Diagnosis for Autonomous Vehicles: Interpretation of Sensor Data Anomalies IEEE Sensors Journal · IEEE Sensors Council · 2023 10.1109/jsen.2023.3236838
  27. Self-Supervised Learning and Multisource Heterogeneous Information Fusion Based Quality Anomaly Detection for Heavy-Plate Shape IEEE Transactions on Automation Science and Engineering · Institute of Electrical and Electronics Engineers · 2023 10.1109/tase.2023.3265649
  28. Fault Detection Method of Glass Insulator Aerial Image Based on the Improved YOLOv5 IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2023 10.1109/tim.2023.3269099
  29. Danger assessment of the partial discharges temporal evolution on a polluted insulator using UHF measurement and deep learning Engineering Applications of Artificial Intelligence · Elsevier BV · 2023 10.1016/j.engappai.2023.106573
  30. SIRN: An iterative reasoning network for transmission lines based on scene prior knowledge Engineering Applications of Artificial Intelligence · Elsevier BV · 2023 10.1016/j.engappai.2023.106656
  31. Insulator defect detection with deep learning: A survey IET Generation Transmission & Distribution · Institution of Engineering and Technology · 2023 10.1049/gtd2.12916
  32. Summary of insulator defect detection based on deep learning Electric Power Systems Research · Elsevier BV · 2023 10.1016/j.epsr.2023.109688
  33. YOLOv7: Trainable Bag-of-Freebies Sets New State-of-the-Art for Real-Time Object Detectors 2023 10.1109/cvpr52729.2023.00721
  34. Object detection in power line infrastructure: A review of the challenges and solutions Engineering Applications of Artificial Intelligence · Elsevier BV · 2023 10.1016/j.engappai.2023.107781
  35. Novel criteria for silicone rubber insulators condition monitoring based on leakage current analysis: Considering asymmetric aging and pollution Engineering Applications of Artificial Intelligence · Elsevier BV · 2024 10.1016/j.engappai.2024.108175
  36. YOLOv10: Real-Time End-to-End Object Detection arXiv (Cornell University) · Cornell University · 2024 10.48550/arxiv.2405.14458
  37. Enhanced recognition of insulator defects on power transmission lines via proposal-based detection model with integrated improvement methods Engineering Applications of Artificial Intelligence · Elsevier BV · 2024 10.1016/j.engappai.2024.109078
  38. Region-Based Active Learning for Insulator Defect Diagnosis Using Aerial Images of Electric Transmission Networks IEEE Transactions on Power Delivery · Institute of Electrical and Electronics Engineers · 2024 10.1109/tpwrd.2024.3449801
  39. YOLOv9: Learning What You Want to Learn Using Programmable Gradient Information Lecture notes in computer science · Springer Science+Business Media · 2024 10.1007/978-3-031-72751-1_1