OCOuail Choukhairi

Ouail Choukhairi

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Ouail Choukhairi has a total of 6 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    MonuSegFormer: A Hybrid Swin-Transformer Architecture for Semantic Segmentation of Moroccan Cultural Heritage Monuments

    by Ouail Choukhairi, Mouad Choukhairi, Ali Choukri, Youssef Fakhri

    Semantic segmentation of architectural elements in cultural heritage sites lies at the intersection of computer vision and digital preservation. Moroccan historical monuments spanning mosques, madrasas, royal gates (babs), and mausoleums across Fez, Rabat, Marrakech, Meknes, and Tetouan present unique challenges, including extreme texture ambiguity between weathered wall surfaces and background, pronounced multi-scale variation from individual window and door openings to full rooftop surfaces spanning tens of metres, and severe class imbalance. We introduce MonuSegFormer, a heritage-specific hybrid architecture coupling a pretrained Swin-B encoder (ImageNet-22K) with a Multi-Scale Atrous Fusion (MSAF) module and a CBAM-augmented progressive decoder. Evaluated on the Moroccan Monuments Dataset (MMD, 2686 annotated RGB images, 5 semantic classes, 5 cities) on the held-out test set (403 images), MonuSegFormer achieves mIoU = 81.7%, outperforming SegFormer-B5 (76.4%), Mask2Former (78.9%), and DeepLabV3+ (71.3%). A composite CE+Dice+Focal loss with class-balanced weights addresses severe class imbalance, yielding the largest gains on the minority classes Door (+5.3 p.p.) and Window (+5.3 p.p.) over the next-best Mask2Former. All qualitative results are produced by real trained-model inference on held-out test images.

  • Open Access

    A transfer hybrid deep learning approach for advanced intrusion detection in IoT-based smart home security

    by Mouad Choukhairi, Ouail Choukhairi, Youssef Fakhri, Ali Choukri

    As smart home environments increasingly rely on interconnected internet of things (IoT) devices, they face growing cyber threats originating both externally from malicious actors and internally from compromised or malfunctioning IoT devices. These threats, including unauthorized access, distributed denial of service (DDoS) attacks, and data exfiltration, pose significant risks to the security and privacy of smart home inhabitants. This paper introduces an advanced intrusion detection system (IDS) specifically designed to enhance the security of IoT-based smart home networks. Leveraging a hybrid deep learning approach combining convolutional neural networks (CNN) and long short-term memory (LSTM) models, complemented by transfer learning (TL) and hyper-parameter optimization techniques, our proposed IDS efficiently identifies both external and intra-network threats. Using the IoTID20 dataset, which simulates realistic attack scenarios, the IDS was trained and evaluated to detect abnormal behavior effectively within smart home networks. CNN layers extract spatial features from network traffic, while LSTM layers capture temporal dependencies, enabling robust detection against a range of cyber-threats. Evaluation results demonstrate the IDS’s high detection accuracy and exceptional F1-scores, validating its effectiveness in safeguarding IoT-based smart homes from evolving threats.

  • Open Access

    Anefficient ensemble tree-based framework for intrusion detection in industrial internet of things networks

    by Mouad Choukhairi, Oumaima Chentoufi, Ouail Choukhairi, Youssef Fakhri

    The increasing complexity of cyber threats in industrial internet of things (IIoT) environments necessitates robust, scalable, and efficient intrusion detection systems (IDS). This study presents a novel ensemble tree-based framework that integrates gradient boosting-based machine learning models, including XGBoost, LightGBM, AdaBoost, and CatBoost, with mutual information (MI) feature selection and synthetic minority over-sampling technique (SMOTE) to enhance multiclass intrusion detection performance. The framework is designed to handle large-scale, imbalanced datasets efficiently while maintaining high classification accuracy. Performance evaluation using the telemetry of network (ToN)-IoT benchmark dataset demonstrates that the proposed models achieve a high accuracy of 99.43%, with a strong precision-recall balance and an F1-score, ensuring minimal false positive rates of 0.08%. By leveraging MI for optimal feature selection and SMOTE for data balancing, this approach effectively enhances detection capabilities in highly dynamic network environments. The lightweight architecture and reduced execution time make the framework well-suited for deployment in edge or fog nodes within smart industrial environments. The proposed solution provides a scalable and adaptable methodology for securing IIoT networks, making it applicable for real-time intrusion monitoring and further cybersecurity advancements in industrial systems.


  • Enhancing IoT Smart Home Security: A CNN-LSTM and Transfer Learning Based Intrusion Detection System

    by Mouad Choukhairi, Sara Tahiri, Ouail Choukhairi, Youssef Fakhri, Mohamed Amnai, Ali Choukri

  • Open Access

    Butterfly optimization-based ensemble learning strategy for advanced intrusion detection in internet of things networks

    by Mouad Choukhairi, Sara Tahiri, Ouail Choukhairi, Youssef Fakhri, Mohamed Amnai

    The massive growth in internet of things (IoT) devices has led to enhanced functionalities through their interconnections with other devices, smart infrastructures, and networks. However, increased connectivity also increases the risk of cyberattacks. To protect IoT systems from these threats, intrusion detection systems (IDS) employing machine learning (ML) techniques have been developed to identify cybersecurity threats. This paper introduces a novel ensemble IDS framework called butterfly optimization-based ensemble learning (BOEL). This framework integrates the butterfly optimization algorithm (BOA) with ensemble learning techniques to improve IDS detection performance in IoT networks. BOEL is designed to accurately detect various types of attacks in IoT networks by dynamically optimizing the weights of base learners, which are the four sophisticated ML gradient-boosting algorithms (GBM, CatBoost, XGBoost, and LightGBM) for each attack category, and identifying the best weight combination for ensemble models. Experiments conducted on two public IoT security datasets, CICIDS2017 and Bot-IoT, demonstrate the robustness of the proposed BOEL in intrusion detection across diverse IoT environments, achieving 99.795% accuracy on CICIDS2017 and 99.966% accuracy on Bot-IoT. These results outline the successful application of diverse learning approaches and highlight the framework’s potential to enhance IDS in addressing IoT cyber threats.