WebAssembly is a portable binary instruction format designed to serve as a compilation target for high-level languages. While originally developed to run performance-intensive applications directly in Web browsers, WebAssembly supports these days a number of different hardware platforms across the compute continuum. This makes it a promising option to run services for training and inference in Federated Learning. To the best of our knowledge, there have been only a few practical approaches to realize Federated Learning using WebAssembly. Therefore, in this paper, we present a framework to achieve this. Our prototypical implementation shows that WebAssembly-based Federated Learning applications are highly portable while providing acceptable runtime overhead during model training.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Towards WebAssembly-Based Federated Learning

  • Felix Gottschalk,
  • Stefan Schulte,
  • Nisal Hemadasa,
  • Elmira Ebrahimi,
  • Janick Edinger,
  • Dominik Kaaser

摘要

WebAssembly is a portable binary instruction format designed to serve as a compilation target for high-level languages. While originally developed to run performance-intensive applications directly in Web browsers, WebAssembly supports these days a number of different hardware platforms across the compute continuum. This makes it a promising option to run services for training and inference in Federated Learning. To the best of our knowledge, there have been only a few practical approaches to realize Federated Learning using WebAssembly. Therefore, in this paper, we present a framework to achieve this. Our prototypical implementation shows that WebAssembly-based Federated Learning applications are highly portable while providing acceptable runtime overhead during model training.