Skip to main content
QUICK REVIEW

[Paper Review] Preprocessor Selection for Machine Learning Pipelines

Brandon Schoenfeld, Christophe Giraud-Carrier|arXiv (Cornell University)|Oct 23, 2018
Machine Learning and Data ClassificationComputer Science5 references8 citations
TL;DR

This paper proposes using metalearning to guide preprocessor selection in machine learning pipelines, showing that while preprocessing often reduces accuracy on average, the most accurate pipelines still use it. By training a random forest metalearner on 10,368 experiments, the authors achieve 62.6% accuracy in predicting whether a preprocessor improves performance, enabling AutoML systems to intelligently select preprocessors and reduce search space.

ABSTRACT

Much of the work in metalearning has focused on classifier selection, combined more recently with hyperparameter optimization, with little concern for data preprocessing. Yet, it is generally well accepted that machine learning applications require not only model building, but also data preprocessing. In other words, practical solutions consist of pipelines of machine learning operators rather than single algorithms. Interestingly, our experiments suggest that, on average, data preprocessing hinders accuracy, while the best performing pipelines do actually make use of preprocessors. Here, we conduct an extensive empirical study over a wide range of learning algorithms and preprocessors, and use metalearning to determine when one should make use of preprocessors in ML pipeline design.

Motivation & Objective

  • To investigate the impact of preprocessing on machine learning pipeline performance, especially in relation to classification accuracy and runtime.
  • To extend metalearning beyond classifier and hyperparameter selection to include preprocessor selection in ML pipelines.
  • To develop a predictive model that determines when a preprocessor will improve a classifier’s performance based on dataset metafeatures.
  • To evaluate the effectiveness of metalearning-guided preprocessor selection in AutoML scenarios compared to baseline strategies.
  • To reduce the search space for AutoML systems by intelligently recommending preprocessors based on dataset characteristics and chosen classifiers.

Proposed method

  • Collected data from over 10,368 machine learning pipelines across 192 datasets from OpenML, with fixed data cleaning (imputation and one-hot encoding) as the first two steps.
  • Evaluated 8 preprocessors (e.g., Min-Max Scaler, PCA, Polynomial Features) and 6 classifiers (e.g., Random Forest, Logistic Regression) with default hyperparameters.
  • Constructed a metadataset with 18 simple, 8 statistical, 1 information-theoretic, and 14 landmarking metafeatures extracted from each dataset, plus one-hot encoded preprocessor identifiers.
  • Trained a random forest classifier as the metalearner to predict whether a given preprocessor would improve test accuracy over the baseline (no preprocessor).
  • Simulated an AutoML environment using four agents: None, Random, Mode, and Oracle—where the Oracle uses the trained metalearner to guide preprocessor selection.
  • Evaluated agent performance by measuring how much worse their chosen pipelines were than the optimal pipeline (found via brute-force search) across test tasks.

Experimental results

Research questions

  • RQ1Does preprocessing consistently improve classification accuracy across diverse datasets and classifiers?
  • RQ2Can metalearning predict which preprocessors will improve a classifier’s performance based on dataset metafeatures?
  • RQ3How does metalearning-guided preprocessor selection compare to random, mode-based, or no-preprocessing strategies in AutoML pipelines?
  • RQ4What is the trade-off between accuracy and runtime when using preprocessors in ML pipelines?
  • RQ5Can a metamodel reduce the search space for AutoML systems by intelligently recommending preprocessors?

Key findings

  • On average, preprocessing reduces both training and prediction runtime but tends to hurt classification accuracy across the tested pipelines.
  • Despite the average negative impact, the most accurate pipelines (on both training and test data) are significantly more likely to include a preprocessor.
  • The metalearner achieved 62.6% accuracy in predicting whether a preprocessor would improve accuracy over the baseline, outperforming the mode baseline (53.0%)
  • The Oracle agent, which uses the metalearner to guide preprocessor selection, achieved a mean performance of -6.19% worse than the optimal pipeline, outperforming the Mode agent (-6.57%) and significantly outperforming the Random (-15.40%) and None (-10.51%) agents.
  • The metalearner successfully reduced the effective search space for AutoML systems by identifying promising preprocessors based on dataset characteristics and classifier choice.
  • The failure of 36 pipelines due to dimensionality explosion from combining one-hot encoding with Polynomial Features highlights the need for careful preprocessor selection in practice.

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.