An Empirical Evaluation of Flow Based Programming in the Machine Learning Deployment Context

Andrei Paleyes, Christian Cabrera, Neil D. Lawrence
4/27/2022
cs.SEcs.LG

Official code: mlatcl/fbp-vs-soa (6 stars, Jupyter Notebook, MIT, last commit 2023-04-20).

Abstract

As use of data driven technologies spreads, software engineers are more often faced with the task of solving a business problem using data-driven methods such as machine learning (ML) algorithms. Deployment of ML within large software systems brings new challenges that are not addressed by standard engineering practices and as a result businesses observe high rate of ML deployment project failures.

Show full abstract

Data Oriented Architecture (DOA) is an emerging approach that can support data scientists and software developers when addressing such challenges. However, there is a lack of clarity about how DOA systems should be implemented in practice. This paper proposes to consider Flow-Based Programming (FBP) as a paradigm for creating DOA applications. We empirically evaluate FBP in the context of ML deployment on four applications that represent typical data science projects. We use Service Oriented Architecture (SOA) as a baseline for comparison. Evaluation is done with respect to different application domains, ML deployment stages, and code quality metrics. Results reveal that FBP is a suitable paradigm for data collection and data science tasks, and is able to simplify data collection and discovery when compared with SOA. We discuss the advantages of FBP as well as the gaps that need to be addressed to increase FBP adoption as a standard design paradigm for DOA.

View on arXivView PDF

Code Implementations(1)

mlatcl/fbp-vs-soaOfficial100%
MIT

Comparison of flow-based programming and service-oriented architecture for building data-driven applications

62Jupyter Notebook, PythonFeb 15, 20213 years agoMIT
fbpmachine-learningsoa

Similar Papers

Cite this paper

@article{paleyes2022empirical,
  title  = {An Empirical Evaluation of Flow Based Programming in the Machine Learning Deployment Context},
  author = {Andrei Paleyes and Christian Cabrera and Neil D. Lawrence},
  year   = {2022},
  eprint = {2204.12781},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.12781}
}

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/2204.12781.svg)](https://codeofpaper.com/paper/2204.12781)

Discussion