Experimenting with Emerging RISC-V Systems for Decentralised Machine Learning

Gianluca Mittone, Nicolò Tonci, Robert Birke, Iacopo Colonnelli, Doriana Medić +8 more
2/15/2023
cs.DCcs.LG

No official code found. Best implementation: alpha-unito/FastFederatedLearning (6 stars, GPL-3.0, last commit 2024-06-11).

Abstract

Decentralised Machine Learning (DML) enables collaborative machine learning without centralised input data. Federated Learning (FL) and Edge Inference are examples of DML. While tools for DML (especially FL) are starting to flourish, many are not flexible and portable enough to experiment with novel processors (e.g., RISC-V), non-fully connected network topologies, and asynchronous collaboration schemes. We overcome these limitations via a domain-specific language allowing us to map DML schemes to an underlying middleware, i.e. the FastFlow parallel programming library. We experiment with it by generating different working DML schemes on x86-64 and ARM platforms and an emerging RISC-V one. We characterise the performance and energy efficiency of the presented schemes and systems. As a byproduct, we introduce a RISC-V porting of the PyTorch framework, the first publicly available to our knowledge.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

FastFederatedLearning is a C/C++-based Federated Learning framework based on the FastFlow library.

60C++, CMakeApr 4, 20232 years agoGPL-3.0

Similar Papers

Cite this paper

@article{mittone2023experimenting,
  title  = {Experimenting with Emerging RISC-V Systems for Decentralised Machine Learning},
  author = {Gianluca Mittone and Nicolò Tonci and Robert Birke and Iacopo Colonnelli and Doriana Medić and Andrea Bartolini and Roberto Esposito and Emanuele Parisi and Francesco Beneventi and Mirko Polato and Massimo Torquati and Luca Benini and Marco Aldinucci},
  year   = {2023},
  eprint = {2302.07946},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.07946v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2302.07946.svg)](https://codeofpaper.com/paper/2302.07946)

Discussion