Mustafa Mustafa

Dr. Mustafa Mustafa

orcid

Research Focus & Metrics

Academic Career Length

5Years (2022-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
26 October 2022 in IEEE Access
Verified
Journal Article
Open access
MMMustafa Mustafa
Mustafa Mustafa
SASyed Farooq Ali
Syed Farooq Ali
MQM Qammar
M Qammar
MHMuhammad Shehzad Hanif
Muhammad Shehzad Hanif
Diabetic Retinopathy (DR) is an eye disorder in patients with diabetes. Detection of DR presence and its complications using fundus images at an early stage helps prevent its progression to the advanced levels. In the recent years, several well-designed Convolutional Neural Networks (CNN) have been proposed to detect the presence of DR with the help of publicly available datasets. However, these existing CNN-based classifiers focus on utilizing different architectural settings to improve the performance of detection task only i.e. presence or absence of DR. The further classification of the severity and type of the disease, however, remains a non-trivial task. To this end, we propose a multi-stream ensemble deep network to classify diabetic retinopathy severity. The proposed approach takes advantages of the deep networks and principal component analysis (PCA) to learn inter-class and intra-class variations from the raw image features. Ensemble machine learning classifiers are then applied to achieve high classification accuracy and robust performance on the obtained deep features. Specifically, a multi-stream network is made using pre-trained deep learning architectures i.e. ResNet-50 and DenseNet-121 to serve as the main feature extractors. Further application of PCA reduces the dimensionality of features and effectively separates the variation space of inter-class and intra-class images. Finally, an ensemble machine learning classifier using AdaBoost and random forest algorithms is built to further improve classification accuracy. The proposed approach has been compared with multiple conventional CNN-based approaches on Messidor-2 (two categories) and EyePACS (two, five categories) datasets. The experiment results show that our proposed approach achieves superior performance (upto 95.58% accuracy) and can be considered a promising method for automatic diabetic retinopathy detection.

14 September 2024 in Data in Brief
Verified
Journal Article
Open access
MMMustafa Mustafa
Mustafa Mustafa
CBCarmine Bourelly
Carmine Bourelly
MVMichele Vitelli
Michele Vitelli
FMFilippo Milano
Filippo Milano
MMMario Molinara
Mario Molinara
LFLuigi Ferrigno
Luigi Ferrigno
Lithium-ion (Li-ion) batteries are crucial in numerous applications, including portable electronics, electric vehicles, and energy storage systems. Electrochemical Impedance Spectroscopy (EIS) is a powerful technique for characterizing batteries, providing valuable insights into charge transfer kinetics like ion diffusion and interfacial reactions. However, obtaining comprehensive and diverse datasets for battery State of Charge (SoC) studies remains challenging due to the complex nature of battery operations and the time-intensive testing process. This paper presents a novel and original EIS dataset specifically designed for 600 mAh capacity Lithium Iron Phosphate (LFP) batteries at various SoC levels. The dataset includes repeated EIS measurements using different battery discharging cycles, allowing researchers to examine the frequency domain properties and develop data-driven algorithms for assessing battery SoC and predicting performance. The data acquisition system employs a battery specific impedance meter and an electronic load, ensuring accurate and controlled measurements. The dataset, comprising EIS measurements from multiple LFP batteries, serves as a valuable resource for researchers in the fields of battery technology, electrochemistry, power sources, and energy storage. Moreover, industries such as consumer electronics, power systems, and electric transportation can benefit from the dataset's insights for effectively managing rechargeable battery devices. The presented dataset expands the scope of impedance spectroscopy measurements and holds significant potential for future applications and advancements in Li-ion battery technologies.


8 January 2026 in PLOS ONE
Verified
Journal Article
Open access
PDF file
HMHafiz Tayyab Mustafa
Hafiz Tayyab Mustafa
MMMustafa Mustafa
Mustafa Mustafa
HAHassan Alhuzali
Hassan Alhuzali
MAMujtaba Asad
Mujtaba Asad
ZZZl Zheng
Zl Zheng
Image fusion is a challenging task that aims to generate a composite image by combining information from diverse sources. While deep learning (DL) algorithms have achieved promising results, most rely on complex encoders or attention mechanisms, leading to high computational cost and potential information loss during one-step feature fusion. We introduce CAFusion, a DL framework for visible (VI) and infrared (IR) image fusion. In particular, we propose a context-aware ConvMixer block that uniquely integrates dilated convolutions for expanded receptive fields with depthwise separable convolutions for parameter efficiency. Unlike existing CNN or transformer-based modules, our block captures multi-scale contextual information without attention mechanisms, with computational efficiency. Additionally, we employ an attention-based intermodality multi-level progressive fusion strategy, ensuring an adaptive combination of multi-scale modality-specific features. A hierarchical multiscale decoder reconstructs the fused image by aggregating information across different levels, preserving low and high-level details. Comparative evaluations of benchmark datasets demonstrate that CAFusion outperforms recent transformer-based and SOTA DL-based approaches in fusion quality and computational efficiency. In particular, on the TNO benchmark dataset, CAFusion achieves a 0.769 score in the structural similarity index measure, a 2.07 percent increase as compared to the best competing method.

21 July 2026 in Sensors
Verified
Journal Article
Open access
PDF file
SMSOHAIB ARSHAD MAYO
SOHAIB ARSHAD MAYO
HMHafiz Tayyab Mustafa
Hafiz Tayyab Mustafa
MAMujtaba Asad
Mujtaba Asad
MMMustafa Mustafa
Mustafa Mustafa
SRSaud Rehman
Saud Rehman
ZCZhiqiang Cai
Zhiqiang Cai
Gearbox fault diagnosis under noisy operating conditions remains a critical yet unsolved challenge for industrial condition monitoring. The primary challenge originates from a fundamental conflict: fault signatures are present within certain frequency ranges, yet standard deep learning models process raw vibration signals without recognizing which frequencies are relevant. Moreover, noise affects the entire spectrum uniformly. Existing transformer-based methods for vibration analysis treat time steps as tokens and therefore fail to capture cross-sensor dependencies, while conventional denoising approaches apply fixed filters that cannot adapt to the varying spectral characteristics of different fault types and noise levels. We propose the Adaptive Frequency-Aware Inverted Transformer (AF-iTransformer), a lightweight transformer framework that lets the model learn which frequencies to attend to on a per-sample basis. In particular, we propose a learnable spectral filter that transforms the input signal to the frequency domain via FFT. Then it predicts a soft frequency mask conditioned on signal statistics and applies it before reconstructing the filtered signal through iFFT, allowing the model to suppress noise bands while preserving fault-relevant spectral content dynamically. After adaptive filtering, the architecture employs channel-level tokenization to uniformly represent heterogeneous channels as input tokens, relying on cross-channel attention to automatically learn their distinct contributions to fault diagnosis. Feature-wise linear modulation is introduced to inject signal-level statistics at every encoder layer. Furthermore, the framework utilizes residual attention propagation to stabilize deep training, and an auxiliary spectrum prediction head provides spectral regularization during training. On the UConn Gearbox dataset with nine fault categories, AF-iTransformer achieves 99.63% accuracy on clean data and maintains 95.1% at 0 dB signal-to-noise ratio, substantially outperforming all baselines under noisy conditions. On the SEU gearbox dataset with five fault categories, AF-iTransformer achieves 99.74% clean accuracy. On 2 GB edge GPUs, AF-iTransformer achieves a per-window inference latency of 7.3–13 ms with peak memory below 17 MB, and 1.4–4.7 ms on modern CPUs, confirming its viability for real-time industrial deployment.

21 November 2025
Verified
Book Chapter
Closed access
ABAiman Batool
Aiman Batool
HMHafiz Tayyab Mustafa
Hafiz Tayyab Mustafa
NRNadia Rehman
Nadia Rehman
MMMustafa Mustafa
Mustafa Mustafa
AMAmir Mehmood
Amir Mehmood
This chapter explores the significant impact of Artificial Intelligence (AI) on mental health, highlighting the use of digital companions, AI-enhanced diagnostics, and the incorporation of AI into clinical training. This analysis explores the ways in which chatbots and virtual therapists offer accessible mental health support, the functionalities and ethical considerations surrounding AI-powered diagnostic tools, and the changing educational requirements for mental health professionals in a world increasingly influenced by AI. This chapter provides a thoughtful examination of the potential benefits and obstacles associated with incorporating AI into psychological practice, drawing from a blend of interdisciplinary research and practical examples from the real world. The importance of establishing ethical frameworks, fostering human-AI collaboration, and promoting inclusive policies is highlighted to guarantee the responsible implementation of AI in mental healthcare.