Next Article in Journal
Beyond Glycemic Control: Precision Medicine in Type 2 Diabetes Using Multi-Output Explainable Artificial Intelligence for Personalized SGLT2 and DPP-4 Therapy Selection
Previous Article in Journal
Comparison of Foundation Models MedSAM and DINOv3 with the nnU-Net Framework for Bone Metastasis Segmentation in Computed Tomography Scans
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

AEConvNeXt: An Attention-Enhanced ConvNeXt Framework for Imbalanced Photovoltaic Fault Classification with Explainable Feature Analysis

by
Ehtisham Lodhi
1 and
Lin Qiu
1,2,*
1
Zhejiang University-University of Illinois Urbana-Champaign Institute, Haining 314400, China
2
College of Electrical Engineering, Zhejiang University, Hangzhou 310027, China
*
Author to whom correspondence should be addressed.
AI 2026, 7(6), 182; https://doi.org/10.3390/ai7060182
Submission received: 11 March 2026 / Revised: 9 May 2026 / Accepted: 19 May 2026 / Published: 22 May 2026

Abstract

Background: Solar energy provides a sustainable and environmentally friendly alternative to fossil fuels, and photovoltaic (PV) systems are increasingly deployed worldwide. However, their operational reliability is often compromised by various fault conditions, which reduce power output and shorten system lifespan. Although automated image-based deep learning methods have shown promise for PV fault classification, their performance is often limited by severe class imbalance and subtle, low-contrast defect patterns. This study aims to address these challenges by proposing an improved deep learning framework for robust PV fault classification. Method: An attention-enhanced convolutional neural network framework, termed AEConvNeXt, is proposed for PV fault classification. The model is built on a ConvNeXt-Tiny backbone and incorporates a dropout-regularized Convolutional Block Attention Module (CBAM) to enhance localized feature refinement. To further improve learning under imbalanced data conditions, a hybrid loss function combining Cross-Entropy Loss and Focal Loss is employed. Results: Experimental evaluations demonstrate that AEConvNeXt achieves an overall accuracy of 94.37% and a macro F1-score of 94.43%, outperforming the strongest baseline model, ResNet-50, by more than 3%. Grad-CAM visualizations further confirm that the model effectively focuses on fault-relevant regions, improving interpretability. The proposed framework also shows consistent and robust performance across all six PV fault categories under varying conditions. Conclusions: The proposed AEConvNeXt framework provides an accurate and explainable solution for real-time PV fault detection, effectively addressing class imbalance and improving minority fault recognition.
Keywords: solar panel fault detection; Convolutional Block Attention Module (CBAM); image classification; Grad-CAM; photovoltaic systems; thermal imaging solar panel fault detection; Convolutional Block Attention Module (CBAM); image classification; Grad-CAM; photovoltaic systems; thermal imaging

Share and Cite

MDPI and ACS Style

Lodhi, E.; Qiu, L. AEConvNeXt: An Attention-Enhanced ConvNeXt Framework for Imbalanced Photovoltaic Fault Classification with Explainable Feature Analysis. AI 2026, 7, 182. https://doi.org/10.3390/ai7060182

AMA Style

Lodhi E, Qiu L. AEConvNeXt: An Attention-Enhanced ConvNeXt Framework for Imbalanced Photovoltaic Fault Classification with Explainable Feature Analysis. AI. 2026; 7(6):182. https://doi.org/10.3390/ai7060182

Chicago/Turabian Style

Lodhi, Ehtisham, and Lin Qiu. 2026. "AEConvNeXt: An Attention-Enhanced ConvNeXt Framework for Imbalanced Photovoltaic Fault Classification with Explainable Feature Analysis" AI 7, no. 6: 182. https://doi.org/10.3390/ai7060182

APA Style

Lodhi, E., & Qiu, L. (2026). AEConvNeXt: An Attention-Enhanced ConvNeXt Framework for Imbalanced Photovoltaic Fault Classification with Explainable Feature Analysis. AI, 7(6), 182. https://doi.org/10.3390/ai7060182

Article Metrics

Back to TopTop