Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Moez Esseghir has a total of 23 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Top Cited Papers
    Open Access

    From Edge Transformer to IoT Decisions: Offloaded Embeddings for Lightweight Intrusion Detection

    by Frédéric Adjewa, Moez Esseghir, Leïla Merghem-Boulahia

    The convergence of Artificial Intelligence (AI) and the Internet of Things (IoT) is enabling a new class of intelligent applications. Specifically, Large Language Models (LLMs) are emerging as powerful tools not only for natural language understanding but also for enhancing IoT security. However, the integration of these computationally intensive models into resource-constrained IoT environments presents significant challenges. This paper provides an in-depth examination of how LLMs can be adapted to secure IoT ecosystems. We identify key application areas, discuss major challenges, and propose optimization strategies for resource-limited settings. Our primary contribution is a novel collaborative embeddings offloading mechanism for IoT intrusion detection named SEED (Semantic Embeddings for Efficient Detection). This system leverages a lightweight, fine-tuned BERT model, chosen for its proven contextual and semantic understanding of sequences, to generate rich network embeddings at the edge. A compact neural network deployed on the end-device then queries these embeddings to assess network flow normality. This architecture alleviates the computational burden of running a full transformer on the device while capitalizing on its analytical performance. Our optimized BERT model is reduced by approximately 90% from its original size, now representing approximately 41 MB, suitable for the Edge. The resulting compact neural network is a mere 137 KB, appropriate for the IoT devices. This system achieves 99.9% detection accuracy with an average inference time of under 70 ms on a standard CPU. Finally, the paper discusses the ethical implications of LLM-IoT integration and evaluates the resilience of LLMs in dynamic and adversarial environments.


  • Open Access

    Efficient Federated Intrusion Detection in 5G ecosystem using optimized BERT-based model

    by Frederic Adjewa, Moez Esseghir, Leila Merghem-Boulahia

    The fifth-generation (5G) offers advanced services, supporting applications such as intelligent transportation, connected healthcare, and smart cities within the Internet of Things (IoT). However, these advancements introduce significant security challenges, with increasingly sophisticated cyber-attacks. This paper proposes a robust intrusion detection system (IDS) using federated learning and large language models (LLMs). The core of our IDS is based on BERT, a transformer model adapted to identify malicious network flows. We modified this transformer to optimize performance on edge devices with limited resources. Experiments were conducted in both centralized and federated learning contexts. In the centralized setup, the model achieved an inference accuracy of 97.79%. In a federated learning context, the model was trained across multiple devices using both IID (Independent and Identically Distributed) and non-IID data, based on various scenarios, ensuring data privacy and compliance with regulations. We also leveraged linear quantization to compress the model for deployment on edge devices. This reduction resulted in a slight decrease of 0.02% in accuracy for a model size reduction of 28.74%. The results underscore the viability of LLMs for deployment in IoT ecosystems, highlighting their ability to operate on devices with constrained computational and storage resources.


  • Energy-Efficient Computation Offloading Based on Multiagent Deep Reinforcement Learning for Industrial Internet of Things Systems

    by Samira Chouikhi, Moez Esseghir, Leila Merghem-Boulahia

    The term Industrial Internet of Things (IIoT) was created to describe a specific area of the Internet of Things (IoT) that integrates information and communication technologies (ICTs) like cloud/edge computing, wireless sensor/actuator networks, and connected objects to enable and accelerate the development of Industry 4.0. IIoT applications (e.g., smart manufacturing, remote control of industrial machinery, and critical system monitoring) have various levels of criticality and Quality-of-Service (QoS) requirements. However, the characteristics of data collected by interconnected devices complicate the task of guaranteeing the QoS requirements in terms of latency and reliability in addition to the huge amount of energy consumption. As a potential solution, edge computing offers additional powerful resources in the proximity of the IIoT devices. Hence, the required QoS can be achieved by offloading computation-intensive tasks to edge servers. Moreover, the offloading process needs to be optimized to take full advantage. Unlikely, conventional optimization methods are very complex to be applied in the IIoT context. To overcome this issue, we propose a computation offloading approach based on deep reinforcement learning (DRL) to minimize long-term energy consumption and maximize the number of tasks completed before their tolerant deadlines. We introduce a system with multiple agents to deal with the increasing dimension of the action space, where each IIoT device is represented by its own DRL model. The goal of the model is to maximize a flexible and long-term reward. In addition, the DRL models are trained in the cloud and make decisions online in the edge servers, allowing quick decision making by avoiding iterative online optimization procedures. The performance of the proposed approach is evaluated through simulation. The proposal shows promising results compared to other approaches.


  • On Adjusting Data Throughput in IoT Networks: A Deep-Reinforcement-Learning-Based Game Approach

    by Bouziane Brik, Moez Esseghir, Leila Merghem-Boulahia

    In this work, adjustment of nodes’ sending rate in IPv6 over Low-power Wireless Personal Area Networks (6LoWPAN) is investigated. 6LoWPAN enables low-power equipment connecting to the Internet via Internet of Things (IoT) network. In such network, nodes are competing to share the bandwidth, in order to deliver their sensed data as fast as possible, to a central node (access point, cloud server, aggregator, etc.). With the lack of an optimal sharing policy, such competitive behavior however may affect directly networks’ quality of service and degrade their performance in terms of nodes’ throughput (sending rate), latency of the network, and nodes’ energy consumption. To overcome this, we propose a new non-cooperative game based scheme, called DeepGame, where each IoT device is acted as a player, asking for a high data throughput. DeepGame enables to adjust nodes’ throughput based on four main criteria: nodes’ preferences concerning the data rate, nodes priorities in the IoT network, the quality of nodes data, and nodes’ remaining energy. Moreover, a multi-agent deep reinforcement learning model is built in federated way, on top of our game model in order to enable nodes (agents) learning the optimal action at each step of the game, and hence reaching the Nash Equilibrium state. We use Cooja emulator on top of Contiki OS to implement our game-based model. We evaluate and validate DeepGame scheme on top of two different medium access techniques, CSMA/CA and TDMA. Numerical results, with a good confidence interval, illustrate the efficiency of our scheme when leveraging TDMA access technique in not only quickly converging to Nash equilibrium situation, but also improving the performances of IoT network including, nodes’ energy consumption, nodes’ throughput, and network overhead, when compared to other schemes.


  • Open Access

    A Review of Different Methodologies to Study Occupant Comfort and Energy Consumption

    by Antonella Yaacoub, Moez Esseghir, Leila Merghem-Boulahia

    The goal of this work is to give a full review of how machine learning (ML) is used in thermal comfort studies, highlight the most recent techniques and findings, and lay out a plan for future research. Most of the researchers focus on developing models related to thermal comfort prediction. However, only a few works look at the current state of adaptive thermal comfort studies and the ways in which it could save energy. This study showed that using ML control schemas to make buildings more comfortable in terms of temperature could cut energy by more than 27%. Finally, this paper identifies the remaining difficulties in using ML in thermal comfort investigations, including data collection, thermal comfort indices, sample size, feature selection, model selection, and real-world application.


  • Open Access

    Power Allocation and Energy Cost Minimization in Cloud Data Centers Microgrids: A Two-Stage Optimization Approach

    by Mohammed Anis Benblidia, Bouziane Brik, Moez Esseghir, Leila Merghem-Boulahia

    Data centers are becoming an important asset in today’s connected and intelligent world. Indeed, with the emergence of $5G$ networks, the growth of Internet of Things (IoT) and cloud computing, the data centers are increasingly becoming an essential component in delivering our daily services. On the other hand, cloud data centers, are outfitted with power-hungry servers and electrical installations that require enormous quantities of energy. In addition, operating cloud data centers in microgrids can be more reliable and sustainable than having them managed directly by the smart grid operator. However, microgrids have to deal with the high energy cost that their data centers may incur. In this context, managing the power allocated to the data centers and minimizing microgrids energy cost is a challenging problem. In this paper, we model a two-stage optimization approach in a microgrid-cloud architecture. In the first stage, we consider that the cloud data centers are run by multiple providers and try to get as much power as possible from the microgrid, to store this energy and to be able to execute the maximum of users applications. Such a power behavior requires an optimal power assignment from the microgrid to mitigate the risk of blackouts and power outages. Thus, the data center’s huge power demand was modeled as a non-cooperative game. The microgrid controller calculates the optimal power that will be assigned to each data center according to its Power Usage Effectiveness (PUE), number of real-time applications and its network bandwidth usage. In the second stage, the microgrids try to minimize their energy cost by optimally purchasing power from the main grid and the other migrogrids, and by selling back their stored energy. We compare our approach with three existing power minimization approaches: (i) our previously presented scheme called “Basic Game Scheme” (BGS) , (ii) traditional and (iii) price-based approaches. Simulations results show that our two stage optimization approach is up to 25% more effective in terms of energy cost. In addition, our scheme promotes MGs green energy usage which significantly reduces power load rate and CO2 emission with a percentage up to 52% comparing to “BGS” and price-based scheme.


  • Energy Consumption Scheduling as a Fog Computing Service in Smart Grid

    by Samira Chouikhi, Moez Esseghir, Leila Meerghem-Boulahia

    The advent of smart grid technologies provides new tools and services to optimally manage the electricity grids. One of the most interesting services that emerged with the development of Information and Communication Technologies is energy demand management. This service permits us to face the issues caused by the ever-increasing energy demand such as grid congestion during peak hours, increasing energy generation costs, and even blackouts. In this paper, we investigate the problem of consumer-side optimization of residential energy demand. Our main aim is to better distribute the energy consumption over a day to avoid or reduce the demand during peak hours. Hence, we propose a fog computing-based model for energy demand scheduling using energy consumption cost as an incentive. In this model, the fog nodes schedule the appliances' operations in order to reduce the individual and global energy bills whilst respecting consumers' preferences. The proposed approach performs a multi-agent system-based cooperative scheduling game with minimal interactions between the nodes. Moreover, we present a fog nodes' assignment scheme to decide which node will handle which appliances' schedules. The nodes' assignment strategy aims to optimize the use of fog nodes' resources whilst reducing the scheduling process latency.


  • Open Access

    Providing Convenient Indoor Thermal Comfort in Real-Time Based on Energy-Efficiency IoT Network

    by Bouziane Brik, Moez Esseghir, Leila Merghem-Boulahia, Ahmed Hentati

    Monitoring the thermal comfort of building occupants is crucial for ensuring sustainable and efficient energy consumption in residential buildings. It enables not only remote real-time detection of situations, but also a timely reaction to reduce the damage made by harmful situations in targeted buildings. In this paper, we first design a new Internet of Things (IoT) architecture in order to provide remote availability of both indoor and outdoor conditions, with respect to the limited energy of IoT devices. We then build a multi-output prediction model of indoor parameters using a random forest learning algorithm, and based on a longitudinal real dataset of one year. Our prediction model considers outdoor conditions to predict the indoor ones. Hence, it helps to detect discomfort situations in real-time when comparing predicted variables to real ones. Furthermore, when detecting an indoor thermal discomfort, we provide a new genetic-based algorithm to find the most suitable values of indoor parameters, enabling the improvement of the indoor occupants’ thermal comfort. Numerical results show the efficiency of our prediction scheme, reaching an accuracy of 96%, as well as our genetic-based scheme in optimizing the indoor thermal parameters by 85%.


  • A renewable energy-aware power allocation for cloud data centers: A game theory approach

    by Mohammed Anis Benblidia, Bouziane Brik, Moez Esseghir, Leila Merghem-Boulahia


  • Open Access

    Evaluation of Primary User Power Impact for Joint Optimization of Energy Efficiency in Cognitive Radio Networks

    by Tian Yang, Moez Esseghir, Lyes Khoukhi, Su Pan

    Energy efficiency (EE) is of great concern in cognitive radio networks since the throughput and energy consumption of secondary users (SUs) vary with the sensing time. However, the conditions of the detection probability and false alarm probability should be respected to better protect primary users (PUs) and to improve the sensing performance of SUs. Additionally, the PUs’ minimum averaged power provision should also be regarded as a key problem of interactive linking to SUs. Therefore, an integrated design between the PU and SUs is desired for the coordination of the whole cognitive radio system, especially regarding the satisfaction of EE and performance metrics. This study formulates sensing constraints in a unified way and calculates the minimum SNR of SUs, based on which the essential PU power provision is computed. Furthermore, EE is proved as a decreasing function with the PU’s active ratio, where the maximum EE is obtained corresponding to the minimum QoS requirements of the sensing process. Hence, a bisection-based method is proposed to maximize EE, which is considered as a concave function of SUs’ sensing time and has only one unique optimum. EE’s optimization was analyzed under different fusion rules for diverse SNR conditions. The optimum was also studied with sensing performance targets for various cases of PU power provision.