Skip to main content
QUICK REVIEW

[Paper Review] Building a Reproducible Machine Learning Pipeline

Peter Sugimura, Florian Hartl|arXiv (Cornell University)|Oct 9, 2018
Machine Learning and Data ClassificationComputer Science6 references10 citations
TL;DR

This paper proposes a four-layered machine learning pipeline—data, feature, scoring, and evaluation—designed to ensure model reproducibility through well-defined, reusable transformations. By structuring workflows around these modular components, the framework enables exact replication of models and accelerates both offline and online experimentation across diverse machine learning tasks.

ABSTRACT

Reproducibility of modeling is a problem that exists for any machine learning practitioner, whether in industry or academia. The consequences of an irreproducible model can include significant financial costs, lost time, and even loss of personal reputation (if results prove unable to be replicated). This paper will first discuss the problems we have encountered while building a variety of machine learning models, and subsequently describe the framework we built to tackle the problem of model reproducibility. The framework is comprised of four main components (data, feature, scoring, and evaluation layers), which are themselves comprised of well defined transformations. This enables us to not only exactly replicate a model, but also to reuse the transformations across different models. As a result, the platform has dramatically increased the speed of both offline and online experimentation while also ensuring model reproducibility.

Motivation & Objective

  • To address the widespread challenge of irreproducible machine learning models in both industry and academia.
  • To reduce financial costs, time loss, and reputational damage caused by non-replicable results.
  • To design a modular framework that enables exact model replication and transformation reuse across different models.
  • To streamline offline and online experimentation while maintaining full reproducibility.
  • To provide a scalable, structured approach to machine learning development that supports auditability and consistency.

Proposed method

  • The framework is structured into four distinct layers: data, feature, scoring, and evaluation, each composed of well-defined transformations.
  • Each transformation is version-controlled and parameterized to ensure deterministic execution and reproducibility.
  • The pipeline supports modular reuse of transformations across different models, reducing redundancy and increasing consistency.
  • The system enforces traceability by logging all transformations, inputs, and hyperparameters at each stage.
  • The architecture enables both offline model training and online inference with identical logic, ensuring consistency between development and deployment.
  • The framework is implemented as a software platform that integrates with existing ML workflows and CI/CD pipelines.

Experimental results

Research questions

  • RQ1How can machine learning pipelines be structured to ensure exact reproducibility across different models and environments?
  • RQ2What architectural components are necessary to enable reuse of data and feature transformations across multiple models?
  • RQ3To what extent can a modular pipeline reduce time and cost in ML experimentation while maintaining reproducibility?
  • RQ4How can versioned, deterministic transformations improve auditability and trust in ML models?
  • RQ5What are the practical benefits of separating model logic into distinct, composable layers in real-world ML workflows?

Key findings

  • The framework enables exact replication of machine learning models by enforcing deterministic, versioned transformations across all pipeline layers.
  • The modular design allows reuse of data and feature transformations across multiple models, reducing development time and increasing consistency.
  • The platform significantly accelerates both offline and online experimentation by decoupling and standardizing pipeline components.
  • The separation of concerns into distinct layers improves auditability and traceability of model decisions and hyperparameters.
  • The system reduces the risk of irreproducibility, thereby mitigating financial and reputational costs associated with failed replication.
  • The approach supports scalable, maintainable ML development by promoting code reuse and standardized workflows.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.