Federated learning is a multiple device collaboration setup designed to solve machine learning problems under framework for aggregation and knowledge transfer in distributed local data. This distributed model ensures the privacy of data at each local node. Owing to its relevance, there has been extensive research activities and outcomes in federated learning with expanded applicability to different areas by the research community. As such, there is a vast research archive made available by the community with research work and articles related to the various aspects of federated learning such as applications, challenges, privacy, functionalities, and design. With respect to the function and design of federated learning, client selection, aggregation, knowledge transfer, management of distributed data (Non-IID), Incentive of data and communication cost are of paramount importance. Any effective design of federated learning requires these aspects to be well considered. There are numerous survey articles found among the available literature that focus on its application and challenges, opportunities, data privacy and protection, as well as on federated learning on internet of things, federated learning on edge computing, etc. In this paper, a review of the available literature on the various elements of design and functionalities in federated learning has been carried out with an aim to lay emphasis on the important challenges and research opportunities. More specifically, this work has endeavored to understand and summarize the various functional methods available, along with their techniques and goals. Additionally, it has strived to get a bird’s eye view of how various functions and designs of federated learning have been used in applications, and how it has helped uncover challenges and promising research directions for the future.
Smart city applications that request sensitive user information necessitate a comprehensive data privacy solution. Federated learning (FL), also known as privacy by design, is a new paradigm in machine learning (ML). However, FL models are susceptible to adversarial attacks, similar to other AI models. In this paper, we propose federated adversarial training (FAT) strategies to generate robust global models that are resistant to adversarial attacks. We apply two adversarial attack methods, projected gradient descent (PGD) and the fast gradient sign method (FGSM), to our air pollution dataset to generate adversarial samples. We then evaluate the effectiveness of our FAT strategies in defending against these attacks. Our experiments show that FGSM-based adversarial attacks have a negligible impact on the accuracy of global models, while PGD-based attacks are more effective. However, we also show that our FAT strategies can make global models robust enough to withstand even PGD-based attacks. For example, the accuracy of our FAT-PGD and FL-mixed-PGD models is 81.13% and 82.60%, respectively, compared to 91.34% for the baseline FL model. This represents a reduction in accuracy of 10%, but this could be potentially mitigated by using a more complex and larger model. Our results demonstrate that FAT can enhance the security and privacy of sustainable smart city applications. We also show that it is possible to train robust global models from modest datasets per client, which challenges the conventional wisdom that adversarial training requires massive datasets.