Welcome!
I am an Assistant Professor of Statistics and Artificial Intelligence at
ESISA. Previously, I
served as a Postdoctoral Fellow at the
Université de Montréal
and the
University of Ottawa. My research focus
is on Statistical Machine Learning and its applications.
Experienced Assistant Professor and Researcher specialized in
statistical thinking, probabilistic security analysis, and machine
learning. Proven track record in leading research projects and teaching
advanced courses in applied sciences. Skilled in probabilistic analysis,
machine learning, and developing predictive models with a strong
publication history in peer-reviewed journals.
Professor of Statistical AI
Assistant Professor,
ESISA Analytica Laboratory,
ESISA
Research Funds, and Scholarships
-
Postdoctoral Fellow,
March 2023 – August 2023,
Faculty of Engineering,
University of Ottawa,
Ottawa, Canada,
36,000 $CA
-
Postdoctoral Fellow,
February 2022 – February 2023,
Department of Computer Science and Operations Research (DIRO),
Université de Montréal,
Montréal, Canada,
50,000 $CA
-
Visiting Researcher,
October 2021 – February 2022,
Department of Computer Science and Operations Research,
Université de Montréal,
Montréal, Canada,
8,000 $CA
-
Visiting Research Student, May 2020 – August 2020,
Department of Computer Science and Operations Research,
Université de Montréal,
Montréal, Canada.
CAD 5,200 (remote due to COVID-19 pandemic).
Publications
Submitted Papers
-
A. Hafid, M. Rahouti, L. Kong, M. Ebrahim, M. A. Serhani,
“Enhancing Stock Market Predictions through Statistical Machine Learning and Sophisticated Indicators,”
Submitted to
IEEE Transactions on Emerging Topics in Computational Intelligence.
-
A. Alfatemi, M. Al-Qatf, A. Hafid, M. Rahouti,
“Vision-Language Integration for Image Captioning Using Vision Transformers and GPT-J,”
Submitted to
Multimedia Tools and Applications.
Journal Papers
-
A. Hafid, M. Rahouti, and M. Aledhari,
“Optimizing Intrusion Detection in IoMT Networks Through Interpretable and Cost-Aware Machine Learning,”
in Mathematics, vol. 13, no. 10, p. 1574, 2025.
-
S. K. Jagatheesaperumal, M. Rahouti, M. Aledhari, A. Hafid, D. Oliveira, H. Drid, and R. Amin,
“Distributed Reinforcement Learning for IoT Security in Heterogeneous and Distributed Networks,”
in Computing&AI Connect, vol. 1, no. 1, pp. 1–10, 2025.
-
A. Hafid, A. H. Senhaji, and D. Makrakis,
“Sharding-based Proof-of-Stake Blockchain Protocols: Key Components & Probabilistic Security Analysis,”
in Sensors, 23(5), 2819, 2023.
-
A. Hafid, A. H. Senhaji and M. Samih,
“A Tractable Probabilistic Approach to Analyze Sybil Attacks in Sharding-Based Blockchain Protocols,”
in IEEE Transactions on Emerging Topics in Computing, vol. 11, no. 1, pp. 126-136, Jan.–Mar. 2023.
-
A. Hafid, A. H. Senhaji and M. Samih,
“A Novel Methodology-Based Joint Hypergeometric Distribution to Analyze the Security of Sharded Blockchains,”
in IEEE Access, vol. 8, pp. 179389-179399, 2020.
-
A. Hafid, A. H. Senhaji and M. Samih,
“Scaling Blockchains: A Comprehensive Survey,”
in IEEE Access, vol. 8, pp. 125244-125262, 2020.
-
A. Hafid, A. H. Senhaji and M. Samih,
“New Mathematical Model to Analyze Security of Sharding-Based Blockchain Protocols,”
in IEEE Access, vol. 7, pp. 185447-185457, 2019.
Conference Papers
-
A. Hafid, M. Ebrahim, A. Alfatemi, M. Rahouti, and D. Oliveira,
“Cryptocurrency Price Forecasting Using XGBoost Regressor and Technical Indicators,”
in the 43rd IEEE International Performance Computing and Communications Conference (IPCCC), IEEE, 2024.
-
L. Benaddi, C. Ouaddi, A. Jakimi, R. Saadane, B. Ouchao, M. Rahouti, A. Hafid, and D. Oliveira,
“An Analytical Study on the Evolution and Impact of Chatbots in Tourism Over the Past Decade,”
in the 43rd IEEE International Performance Computing and Communications Conference (IPCCC), IEEE, 2024.
-
A. Alfatemi, D. Oliveira, M. Rahouti, A. Hafid, and N. Ghani,
“Precision DDoS Detection through Gaussian Noise-Augmented Neural Networks,”
in the 15th International Conference on Network of the Future (NoF), IEEE, 2024.
-
Belamfedel, S., Hafid, A., Sayyouri, M., and Rahouti, M.,
“Leveraging Machine Learning and Deep Learning Models for Enhanced Stock Price Prediction: A State-of-the-Art Analysis,”
in the 21st International Conference on Distributed Computing and Artificial Intelligence (DCAI), Springer, 2024.
-
Hafid, A., Senhaji, A. H., and Makrakis, D.,
“Bitcoin Price Prediction Using Machine Learning and Technical Indicators,”
in the 20th International Conference on Distributed Computing and Artificial Intelligence, Springer, 2023.
-
Hafid, A., Senhaji, A. H., and Senhaji, A. H.,
“Sharding-Based Proof-of-Stake Blockchain Protocols: Security Analysis,”
in the International Congress on Blockchain and Applications, Springer, 2021.
-
Hafid, A., Senhaji, A. H., and Samih, M.,
“A Methodology for a Probabilistic Security Analysis of Sharding-Based Blockchain Protocols,”
in International Congress on Blockchain and Applications, pp. 101–109, Springer, 2019.