Hier finden Sie wissenschaftliche Publikationen aus den Fraunhofer-Instituten.

Functional Federated Learning in Erlang (ffl-erl)

: Ulm, G.; Gustavsson, E.; Jirstrand, M.


Silva, J.:
Functional and Constraint Logic Programming. 26th International Workshop, WFLP 2018 : Frankfurt/Main, Germany, September 6, 2018; Revised Selected Papers
Cham: Springer Nature, 2019 (Lecture Notes in Computer Science 11285)
ISBN: 978-3-030-16201-6 (Print)
ISBN: 978-3-030-16202-3 (Online)
International Workshop on Functional and (Constraint) Logic Programming (WFLP) <26, 2018, Frankfurt/Main>
Fraunhofer FCC ()

The functional programming language Erlang is well-suited for concurrent and distributed applications, but numerical computing is not seen as one of its strengths. Yet, the recent introduction of Federated Learning, which leverages client devices for decentralized machine learning tasks, while a central server updates and distributes a global model, motivated us to explore how well Erlang is suited to that problem. We present the Federated Learning framework ffl-erl and evaluate it in two scenarios: one in which the entire system has been written in Erlang, and another in which Erlang is relegated to coordinating client processes that rely on performing numerical computations in the programming language C. There is a concurrent as well as a distributed implementation of each case. We show that Erlang incurs a performance penalty, but for certain use cases this may not be detrimental, considering the trade-off between speed of development (Erlang) versus performance (C). Thus, Erlang may be a viable alternative to C for some practical machine learning tasks.