A Federated Deep Q-Network Approach for Distributed Cloud Testing: Methodology and Case Study
The rapid expansion of the Internet of Things (IoT) has brought forth numerous challenges in testing distributed applications within cloud environments. A significant issue is the latency associated with hosting these applications on cloud computing platforms, despite their potential to improve productivity and reduce costs. This necessitates a reevaluation of existing conformance testing frameworks for cloud environments, with a focus on addressing coordination and observability challenges during data processing. To tackle these challenges, this study proposes a novel approach based on Deep Q-Networks (DQN) and federated learning (FL). In this model, fog nodes train their local models independently and transmit only parameter updates to a central server, where these updates are aggregated into a global model. The DQN agents replace explicit coordination messages with learned decision functions, dynamically determining when and how testers should coordinate. This approach not only preserves the privacy of IoT devices but also enhances the efficiency of the testing process. We provide a comprehensive mathematical formulation of our approach, along with a detailed case study of a Smart City Traffic Management System. Our experimental results demonstrate significant improvements over traditional testing approaches, including a ~58% reduction in coordination messages. These findings confirm the effectiveness of our approach for distributed testing in dynamic environments with varying network conditions.
Authors
- Aicha Oualla
- Oussama Maakoul (ORCID: https://orcid.org/0000-0001-9795-0712)
- Salma Azzouzi (ORCID: https://orcid.org/0000-0001-8122-4185)
- My El Hassan Charaf
Institutions
- Université Ibn-Tofail (MA)
Publication Details
- Journal
- AI
- Published
- 2026-02-01
- DOI
- https://doi.org/10.3390/ai7020046
- Primary Topic
- IoT and Edge/Fog Computing
- Type
- article
- Field-Weighted Citation Impact
- 0.00