Federated Learning in Robotics
Federated Learning in Robotics
com
Available online at www.sciencedirect.com
Available online at www.sciencedirect.com
ScienceDirect
Procedia Computer Science 00 (2019) 000–000
Procedia
Procedia Computer
Computer Science
Science 19100 (2019)
(2021) 000–000
135–142 www.elsevier.com/locate/procedia
www.elsevier.com/locate/procedia
The 18th International Conference on Mobile Systems and Pervasive Computing (MobiSPC)
The 18th International Conference
August on Mobile
9-12, 2021,Systems
Leuven,and Pervasive Computing (MobiSPC)
Belgium
August 9-12, 2021, Leuven, Belgium
Federated
Federated Learning
Learning in
in Robotic
Robotic and
and Autonomous
Autonomous Systems
Systems
Yu Xianjiaa,∗ a a
a,∗, Jorge Peña Queraltaa , Jukka Heikkonena , Tomi Westerlunda
a
Yu Xianjia
a
, Jorge Peña Queralta , Jukka Heikkonen , Tomi Westerlund
Turku Intelligent Embedded and Robotic Systems Lab, University of Turku, Turku, Finland
a TurkuIntelligent Embedded and Robotic Systems Lab, University of Turku, Turku, Finland
Abstract
Abstract
Autonomous systems are becoming inherently ubiquitous with the advancements of computing and communication solutions
Autonomous
enabling systems
low-latency are becoming
offloading inherently
and real-time ubiquitous
collaboration ofwith the advancements
distributed of computing
devices. Decentralized and communication
technologies solutions
with blockchain and
enabling low-latency offloading and real-time collaboration of distributed devices. Decentralized technologies with
distributed ledger technologies (DLTs) are playing a key role. At the same time, advances in deep learning (DL) have significantly blockchain and
distributed ledgerof
raised the degree technologies
autonomy and (DLTs)
levelare
of playing a keyofrole.
intelligence At the
robotic andsame time, advances
autonomous in While
systems. deep learning (DL) have significantly
these technological revolutions
raised the degree
were taking place,ofraising
autonomy and level
concerns of intelligence
in terms of robotic
of data security and and autonomous
end-user privacy systems. While
has become an these technological
inescapable researchrevolutions
consider-
were
ation. Federated learning (FL) is a promising solution to privacy-preserving DL at the edge, with an inherentlyresearch
taking place, raising concerns in terms of data security and end-user privacy has become an inescapable consider-
distributed nature
ation. Federated
by learning learningdata
on isolated (FL)islands
is a promising solution to privacy-preserving
and communicating only model updates. DLHowever,
at the edge,
FL with an inherently
by itself distributed
does not provide the nature
levels
by learning and
of security on isolated
robustnessdatarequired
islands byandtoday’s
communicating
standards only model updates.
in distributed However,
autonomous FL byThis
systems. itself does covers
survey not provide the levels
applications of
of
FLsecurity and robustness
to autonomous required the
robots, analyzes by today’s standards
role of DLT and FLin distributed autonomous
for these systems, systems. This
and introduces survey
the key covers applications
background concepts andof
FL to autonomous
considerations robots,research.
in current analyzes the role of DLT and FL for these systems, and introduces the key background concepts and
considerations in current research.
© 2021 The
© The Authors.
Authors. Published
Published by
by Elsevier
Elsevier B.V.
© 2021
This The
is an Authors.
open accessPublished by Elsevier
article under B.V.
the CC BY-NC-ND (https://creativecommons.org/licenses/by-nc-nd/4.0)
license (http://creativecommons.org/licenses/by-nc-nd/4.0/)
This is an open
Peer-review
Peer-review access
under
under article under
responsibility
responsibility the
ofofthe CC BY-NC-ND
theConference
Conference license
Program
Program (http://creativecommons.org/licenses/by-nc-nd/4.0/)
Chair.
Chairs.
Peer-review under responsibility of the Conference Program Chairs.
Keywords:
Keywords:
Robotics; Cloud Robotics; Fog Robotics; Federated Learning; Federated Reinforcement Learning; Federated Edge Learning; Distributed
Robotics;
Learning; Cloud Robotics;
Distributed FogTechnologies;
Ledger Robotics; Federated Learning; Federated Reinforcement Learning; Federated Edge Learning; Distributed
Edge AI;
Learning; Distributed Ledger Technologies; Edge AI;
1. Introduction
1. Introduction
With a staggering increase in the number of connected devices being deployed worldwide within the Internet of
With(IoT),
Things a staggering
the amountincrease in the
of data thatnumber of connected
is generated devices being
and transmitted deployed
has grown worldwiderates.
at exponential withinThe
theinefficiency
Internet of
Things (IoT), the amount of data that is generated and transmitted has grown at exponential rates.
of processing all this data in a centralized manner at the cloud has brought forward new computing and networking The inefficiency
of processing
paradigms all thisyears
in recent data [1].
in aComputing
centralized atmanner
the edgeat the cloud
nearby thehas brought
data sourcesforward new computing
has evident and networking
benefits in terms of latency
paradigms
and bandwidth savings. Another key advantage is the inherent benefits to data privacy, as raw data does of
in recent years [1]. Computing at the edge nearby the data sources has evident benefits in terms notlatency
travel
and bandwidth savings. Another key advantage is the inherent benefits to data privacy, as raw
too far. At the same time, the data is being fed to increasingly complex artificial intelligence (AI) models, with data does not travel
deep
too far. At
learning the in
(DL) same time, the
particular data is being
becoming fed across
pervasive to increasingly
multiple complex
fields andartificial intelligence
application domains.(AI) models,
Recent yearswith
havedeep
also
learning (DL) in particular becoming pervasive across multiple fields and application domains. Recent years have also
∗ Corresponding author.
∗ Corresponding
E-mail address:author.
xianjia.yu@utu.fi
E-mail address: xianjia.yu@utu.fi
1877-0509 © 2021 The Authors. Published by Elsevier B.V.
1877-0509
This © 2021
is an open Thearticle
access Authors. Published
under by Elsevier B.V.
the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/)
1877-0509 © 2021
This is an open Thearticle
access Authors. Published
under by Elsevier B.V.
the Conference
CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/)
Peer-review under responsibility of the Program Chairs.
This is an open access article under the CC BY-NC-ND license (https://creativecommons.org/licenses/by-nc-nd/4.0)
Peer-review under responsibility of the Conference Program Chairs.
Peer-review under responsibility of the Conference Program Chair.
10.1016/j.procs.2021.07.041
136 Yu Xianjia et al. / Procedia Computer Science 191 (2021) 135–142
2 Yu Xianjia et al. / Procedia Computer Science 00 (2019) 000–000
Fig. 1: Conceptual illustration showing potential application areas and connectivity topologies in federated learning systems.
brought an increasing awareness of the risks and drawbacks of sharing personal data over the internet. The solution
to computing at the edge while preserving the privacy of data and leveraging DL solutions is federated learning [2].
Federated learning (FL) enables distributed training of complex models over isolated data islands from remote nodes
(data sources). The local training results (updates to local models) are then aggregated, for example, in a cloud server,
and a global generalized model is shared back to the nodes. All this with zero raw data transmission [3].
From the perspective of robotic and autonomous systems, which are becoming increasingly ubiquitous, cloud so-
lutions have enabled higher degrees of intelligence by eliminating constraints of onboard computational and storage
resources [4]. Cloud robotics and AI robotics are now an essential part of state-of-the-art robotic systems. Further-
more, as mobile connectivity evolves, 5G and beyond networks are set to further bring the integration of AI, robotics,
and distributed networking solutions.Applications of AI in robotics include, e.g., the deployment of DL for natural
language processing (NLP) [5], computer vision [6], or in navigation and mapping [7]. In control, Reinforcement
learning (RL) has been successfully applied in complex games [8] and its relevance for dexterous manipulation ex-
tensively demonstrated [9]. Deep reinforcement learning (DRL) is particularly relevant to autonomous robots.
Multiple reviews and survey papers in the literature have been devoted to studying design approaches, implemen-
tation details, and application possibilities of FL. Compared to current works focused on security and privacy [10],
personalized FL [11], or communication at the edge [12], the present work aims to provide a comprehensive view
of how FL can be leveraged to raise the level of autonomy and degree of intelligence of robotic systems. We look
at different application opportunities at the edge and within autonomous mobile robots. We provide an overview of
the most important concepts and pay particular attention to synergies between FL and distributed ledger technolo-
gies (DLTs), among which blockchain technology has gained significant attention in recent years [13]. A conceptual
illustration of FL applications and approaches to connectivity is shown in Figure 1.
2. Background
The adoption and development of FL frameworks have been directly or indirectly influenced by other technological
and paradigm trends in robotics and autonomous systems. Since the invention of FL, there has been a lot of research
carried out on the optimization of FL itself. Different research directions include increasing the adaptiveness, enhanc-
ing the privacy-preserving properties, or building towards more efficient collaboration for distributed robot learning,
Yu Xianjia et al. / Procedia Computer Science 191 (2021) 135–142 137
Yu Xianjia et al. / Procedia Computer Science 00 (2019) 000–000 3
among others. In this section, we briefly introduce the different identifiable research directions from the literature, and
the concepts that underpin the popularity of FL in robotics and autonomous systems.
2.2. Distributed DL
With the increasing amount of data and complexity of DL models, the process of training models becomes in-
herently costly, computation-intensive, and time-consuming. Distributed DL was proposed to utilize the multiple
processors to accelerate the DL training process by parallel the computation and the data [16, 17]. There is a signifi-
cant amount of work in the literature dedicated to distributed DL in the pursuit of closer collaboration between cloud
and edge computing [18, 19]. This balance between the two paradigms is set to become increasingly pervasive with
a well-established IoT era. Immediate concerns that raise with the deployment of distributed DL across cloud and
edge are the security of data and privacy of users. In consequence, multiple research directions have emerged to make
distributed learning processes more scalable, secure, and privacy-preserving through [20, 21, 22]. Additionally, other
research efforts are directed towards utilizing distributed DL for processing and learning from sensitive data such as
health data [23] or medical data from multiple private or public institutions [24].
decomposing it and using DNN for communication resource allocation. In [48], compression techniques were utilized
to realize a more communication-efficient FL solution.
Regarding the energy efficiency of FL, authors in [49] tackled the problem of improving the energy efficiency
of FL by developing a convergence-guaranteed algorithm with flexible communication compression. In [50], two
transmission protocols based on the non-orthogonal multiple access and time division multiple access were considered
to jointly optimizing the transmission power and rate at edge devices in a federated edge learning system. Other authors
showed that learning an optimal resource-management policy substantial energy can be reduced in an FL system [51].
Other examples of blockchain-enhanced FL include drones in 6G networks and control in railway systems. In [67],
the objective is to replace the manual fraction and braking operations with automatic operations in a heavy haul
railway system. They utilized blockchain-based FL to obtain a novel ML model for intelligent control under the
circumstance of the imbalanced fraction and braking data. One approach to build the foundations for the upcoming
6G era, a blockchain-based empowered FL with the applications of mobile miners at drones has been proposed for a
disaster response system [68]. In this work, the authors mainly focused on the definition of frameworks and analysis
of blockchain latency and energy consumption.
6. Conclusion
FL offers advantageous solutions to collaborative learning in decentralized multi-robot systems and distributed
autonomous systems. FL will play a key role in networked ubiquitous robots and autonomous intelligent systems at
the edge. The vast and rapidly growing amount of research in the area is revealing the efficiency and applicability of FL
in various solutions.The key advantages of FL solutions include the optimization of networking resources, resilience
through decentralization, and inherent privacy-preserving properties by processing data directly at the edge.
We also reviewed DLT-empowered FL with DLTs that has drawn significant attention in the robotics domain in
recent years. DLT solutions, and blockchain technology, in particular, can be the backbone of decentralized local
model aggregation in a more privacy-preserving, secure, and distributed manner. Some of the most prominent results
are being shown in the era of the internet of vehicles, set to become increasingly important with the wider adoption of
5G and beyond mobile connectivity solutions.
In summary, FL has multiple application possibilities in autonomous systems either from a system-level perspec-
tive or within specific subsystems like in autonomous robots. Key research directions that need further exploration
include optimization of communication, energy efficiency at the edge, personalized FL, and further privacy and se-
curity enhancements. Research efforts are currently capitalizing on multidisciplinary approaches including modern
encryption, novel connectivity topologies, or new learning paradigms.
Acknowledgements
This research work is supported by the Academy of Finland’s AutoSOS project (Grant No. 328755) and RoboMesh
project (Grant No. 336061).
References
[1] W. Shi et al., Edge computing: Vision and challenges, IEEE IoT Journal (2016).
[2] Q. Yang et al., Federated machine learning: Concept and applications, ACM TIST (2019).
[3] Y. Liu et al., Federated learning for 6g communications: Challenges, methods, and future directions, China Communications (2020).
[4] B. Kehoe et al., A survey of research on cloud robotics and automation, IEEE Transactions on automation science and engineering (2015).
[5] C. Matuszek et al., Grounded language learning: Where robotics and nlp meet (invited talk), in: IJCAI, 2018.
[6] J. Ruiz-del-Solar et al., A survey on deep learning methods for robot vision, arxiv:1803.10862 (2018).
[7] B. Liu et al., Lifelong federated reinforcement learning: a learning architecture for navigation in cloud robotic systems, RA-L (2019).
[8] K. Shao et al., A survey of deep reinforcement learning in video games, arxiv:1912.10944 (2019).
[9] P. Henderson et al., Deep reinforcement learning that matters, in: AAAI Conference on Artificial Intelligence, 2018.
[10] V. Mothukuri et al., A survey on security and privacy of federated learning, Future Generation Computer Systems (2021).
[11] V. Kulkarni et al., Survey of personalization techniques for federated learning, in: WorldS4, IEEE, 2020.
[12] W. L. et al., Federated learning in mobile edge networks: A comprehensive survey.
[13] J. P. Queralta et al., Blockchain for mobile edge computing: Consensus mechanisms and scalability, arxiv:2006.07578 (2020).
[14] W. Chen et al., A study of robotic cooperation in cloud robotics: Architecture and challenges, IEEE Access 6 (2018) 36662–36682.
[15] H. Yan et al., Cloud robotics in smart manufacturing environments: Challenges and countermeasures, Comp. & Electrical Eng. (2017).
[16] E.P. Xing et al., Petuum: A new platform for distributed machine learning on big data, IEEE Transactions on Big Data (2015).
[17] Z. Tang et al., Communication-efficient distributed deep learning: A comprehensive survey, arxiv:2003.06307 (2020).
[18] H. Wu et al., Collaborate edge and cloud computing with distributed deep learning for smart city internet of things, IEEE IoT Journal (2020).
[19] H. Jiang et al., Distributed deep learning optimized system over the cloud and smart phone devices, IEEE Trans. on Mobile Computing (2019).
[20] S. Shi et al., Towards scalable distributed training of deep learning on public cloud clusters, Machine Learning and Systems (2021).
[21] Y. Li et al., Toward secure and privacy-preserving distributed deep learning in fog-cloud computing, IEEE IoT Journal (2020).
[22] D. Buniatyan, Hyper: Distributed cloud processing for large-scale deep learning tasks, in: CSIT, IEEE, 2019.
[23] P. Vepakomma et al., Reducing leakage in distributed deep learning for sensitive health data, arxiv:1812.00564 (2019).
[24] N. Balachandar et al., Accounting for data variability in multi-institutional distributed deep learning for medical imaging, JAMIA (2020).
[25] H. Bae et al., Security and privacy issues in deep learning, arxiv:1807.11655 (2018).
[26] G. A. Kaissis, M. R. Makowski, D. Rückert, R. F. Braren, Secure, privacy-preserving and federated machine learning in medical imaging,
Nature Machine Intelligence 2 (6) (2020) 305–311.
[27] W. Zhao et al., Sim-to-real transfer in deep reinforcement learning for robotics: a survey, in: IEEE SSCI, IEEE, 2020.
[28] W. Zhao et al., Towards closing the sim-to-real gap in collaborative multi-robot deep reinforcement learning, in: 5th ICRAE, IEEE, 2020.
[29] H. H. Zhuo et al., Federated reinforcement learning, arxiv:1901.08277 (2019).
[30] C. Nadiger et al., Federated reinforcement learning for fast personalization, in: IEEE 2nd AIKE, IEEE, 2019.
142 Yu Xianjia et al. / Procedia Computer Science 191 (2021) 135–142
8 Yu Xianjia et al. / Procedia Computer Science 00 (2019) 000–000
[31] L. Ruan et al., Low-latency federated reinforcement learning-based resource allocation in converged access networks, in: Optical Fiber Com-
munication Conference, Optical Society of America, 2020.
[32] H.T. Nguyen et al., Resource allocation in mobility-aware federated learning networks: a deep reinforcement learning approach, in: WF-IoT,
IEEE, 2020.
[33] K. Bonawitz et al., Towards federated learning at scale: System design, arxiv:1902.01046 (2019).
[34] M. Fang et al., Local model poisoning attacks to byzantine-robust federated learning, in: 29th {USENIX} Security Symposium ({USENIX}
Security 20), 2020.
[35] S. Li et al., Learning to detect malicious clients for robust federated learning, arxiv:2002.00211 (2020).
[36] L. U. Khan et al., Dispersed federated learning: Vision, taxonomy, and future directions, arxiv:2008.05189 (2020).
[37] Y. Lu et al., Blockchain empowered asynchronous federated learning for secure data sharing in internet of vehicles, IEEE Transactions on
Vehicular Technology (2020).
[38] K. Wei et al., Federated learning with differential privacy: Algorithms and performance analysis, IEEE Trans. Inf. Forensics Secur. (2020).
[39] C. Zhang et al., Batchcrypt: Efficient homomorphic encryption for cross-silo federated learning, in: {USENIX}, 2020.
[40] Y. Deng et al., Adaptive personalized federated learning, arxiv:2003.13461 (2020).
[41] A. Fallah et al., Personalized federated learning: A meta-learning approach, arxiv:2002.07948 (2020).
[42] S. Wang et al., Adaptive federated learning in resource constrained edge computing systems, IEEE J. Sel. Areas Commun. (2019).
[43] Z. Yu et al., Federated learning based proactive content caching in edge computing, in: IEEE GLOBECOM, IEEE, 2018.
[44] J. Kang et al., Training task allocation in federated edge learning: A matching-theoretic approach, in: IEEE 17th CCNC, IEEE, 2020.
[45] U. Mohammad et al., Adaptive task allocation for asynchronous federated mobile edge learning, arxiv:1905.01656 (2019).
[46] G. Zhu et al., Broadband analog aggregation for low-latency federated edge learning (extended version), arXiv:1812.11494 (2018).
[47] Y. Lu et al., Communication-efficient federated learning for digital twin edge networks in industrial iot, IEEE Trans Industr Inform (2020).
[48] J. Mills et al., Communication-efficient federated learning for wireless edge intelligence in iot, IEEE IoT Journal (2019).
[49] L. Li et al., To talk or to work: Flexible communication compression for energy efficient federated learning over heterogeneous mobile edge
devices, arxiv:2012.11804 (2020).
[50] X. Mo et al., Energy-efficient federated edge learning with joint communication and computation design, arXiv:2003.00199 (2020).
[51] Q. Zeng et al., Energy-efficient radio resource allocation for federated edge learning, in: IEEE ICC Workshops, IEEE, 2020.
[52] T. Nishio et al., Client selection for federated learning with heterogeneous resources in mobile edge, in: IEEE ICC, IEEE, 2019.
[53] C. Feng et al., Joint optimization of data sampling and user selection for federated learning in the mobile edge computing systems, in: IEEE
ICC Workshops, IEEE, 2020.
[54] X. L. et al., Privacy-preserving asynchronous federated learning mechanism for edge network computing.
[55] Y. L. et al., Differentially private asynchronous federated learning for mobile edge computing in urban informatics.
[56] J. Z. et al., Poisongan: Generative poisoning attacks against federated learning in edge computing systems.
[57] E. C. Ferrer, The blockchain: a new framework for robotic swarm systems, in: Future technologies conference, Springer, 2018.
[58] J. P. Queralta et al., Blockchain-powered collaboration in heterogeneous swarms of robots, arxiv:1912.01711 (2019).
[59] A. Nawaz et al., Edge ai and blockchain for privacy-critical and data-sensitive applications, in: ICMU, IEEE, 2019.
[60] A. Nawaz et al., Edge computing to secure iot data ownership and trade with the ethereum blockchain (2020).
[61] D. C. Nguyen et al., Federated learning meets blockchain in edge computing: Opportunities and challenges, arXiv:2104.01776 (2021).
[62] X. Bao et al., Flchain: A blockchain for auditable federated learning with trust and incentive, in: 5th BIGCOM, IEEE, 2019.
[63] U. Majeed et al., Flchain: Federated learning via mec-enabled blockchain network, in: 20th APNOMS, IEEE, 2019.
[64] S. Otoum et al., Blockchain-supported federated learning for trustworthy vehicular networks, in: GLOBECOM, IEEE, 2020.
[65] H. Chai et al., A hierarchical blockchain-enabled federated learning algorithm for knowledge sharing in internet of vehicles, IEEE Transactions
on Intelligent Transportation Systems (2020).
[66] S. R. Pokhrel et al., Federated learning with blockchain for autonomous vehicles: Analysis and design.
[67] H. Gaofeng et al., Blockchain-based federated learning for intelligent control in heavy haul railway (2020).
[68] S. R. Pokhre , Federated learning meets blockchain at 6g edge: A drone-assisted networking for disaster response, in: ACM MobiCom Work-
shop on Drone Assisted Wireless Communications for 5G and Beyond, 2020.
[69] K. Goldberg et al., Cloud robotics and automation: A survey of related work, EECS Department, University of California, Berkeley, Tech. Rep.
UCB/EECS-2013-5 (2013).
[70] S. Savazzi et al., Opportunities of federated learning in connected, cooperative and automated industrial systems, arxiv:2101.03367 (2021).
[71] A. K. Tanwani et al., A fog robotics approach to deep robot learning: Application to object recognition and grasp planning in surface declut-
tering, in: IEEE ICRA, IEEE, 2019.
[72] Z. Li et al., Fc-slam: Federated learning enhanced distributed visual-lidar slam in cloud robotic system, in: IEEE ROBIO, IEEE, 2019.
[73] Z. Zhang et al., Distributed dynamic map fusion via federated learning for intelligent networked vehicles, arxiv:2103.03786 (2021).
[74] N. Majcherczyk et al., Flow-fl: Data-driven federated learning for spatio-temporal predictions in multi-robot systems, arxiv:2010.08595 (2020).
[75] B. Liu et al., Federated imitation learning: A novel framework for cloud robotic systems with heterogeneous sensor data, RA-L (2020).
[76] Busart III et al., Federated learning architecture to enable continuous learning at the tactical edge for situational awareness, Ph.D. thesis, The
George Washington University (2020).
[77] X. Liang et al., Federated transfer reinforcement learning for autonomous driving, arxiv:1910.06001 (2019).
[78] G.T. Papadopoulos et al., Towards open and expandable cognitive ai architectures for large-scale multi-agent human-robot collaborative learn-
ing, arxiv:2012.08174 (2020).
[79] G.T. Papadopoulos et al., User profile-driven large-scale multi-agent learning from demonstration in federated human-robot collaborative
environments, arxiv:2103.16434 (2021).