Abstract
Machine learning (ML) is fundamentally an iterative process, yet empirical data on how developers navigate this "trial-and-error" loop is scarce. This paper presents a systematic survey of 105 applied ML papers across five domains—Social Sciences, Natural Sciences, Web Applications, NLP, and Computer Vision—to provide a statistical characterization of the ML workflow. By developing proxy estimators for data pre-processing, learning/inference, and post-processing, the study reveals that iteration is pervasive and that traditional practices like handcrafted feature engineering remain vital despite the rise of deep learning.
Introduction
The development of machine learning applications is rarely a linear path. Developers typically start with an initial workflow, evaluate the results, and then loop back to modify data sources, features, or hyperparameters. While this iterative nature is widely acknowledged, most understanding of the process has been anecdotal. This paper aims to fill this gap by quantifying the iterative process through a systematic survey of applied ML literature, moving beyond self-reported surveys to empirical evidence found in published research.
Methodology and Dataset
The authors analyzed a corpus of 105 peer-reviewed papers published in 2016 across four major venues: KDD, ACL, CVPR, and Nature Biotechnology. These papers were categorized into five domains: Social Sciences, Natural Sciences, Web Applications, Natural Language Processing (NLP), and Computer Vision (CV).
To quantify "iteration" from static papers, the researchers developed three proxy estimators based on the "entity sets" reported:
- Data Pre-processing ($\hat{t}_{DPR}$): Estimated by the number of distinct data manipulation operations (e.g., cleaning, feature extraction).
- Learning/Inference ($\hat{t}_{LI}$): Estimated by the number of model classes used plus the number of hyperparameters tuned.
- Post-Processing ($\hat{t}_{PPR}$): Estimated by the number of evaluation metrics, tables, and figures used to interpret results.
Key Insights
The Persistence of Feature Engineering
Despite the prevalence of end-to-end deep learning, approximately one-third of all papers across all domains still rely on fine-grained, handcrafted features based on domain knowledge. In the Social and Natural Sciences, this remains the dominant practice.
Data Integration as a Primary Step
In four out of five domains, joining multiple data sources was identified as a top pre-processing step. This suggests that real-world ML development begins with complex data integration rather than starting from a single, clean dataset.
Domain-Specific Iteration Patterns
Computer Vision and NLP are outliers in the workflow; these domains iterate significantly more on the model and inference side ($\hat{t}_{LI}$) and less on data pre-processing. Conversely, Social and Natural Sciences show the opposite trend, relying on heavy data preparation and simpler, explainable models like Generalized Linear Models (GLMs) or SVMs.
Key Results
Across the entire corpus, iteration in the post-processing phase ($\hat{t}_{PPR}$) was the most common type of iteration. Developers do not merely look at a single accuracy score; they utilize visualizations, case studies, and multiple metrics to understand model behavior.
Furthermore, the most frequently tuned hyperparameters—learning rate and batch size—primarily affect convergence speed. This implies that developers are heavily constrained by training time, which dictates the frequency and depth of their iterations.
Discussion and Limitations
The authors acknowledge that these findings likely represent a "lower bound" on actual iteration due to publication bias, as failed experiments are rarely reported. Additionally, while 105 papers provide a strong foundation, smaller sample sizes in certain sub-domains may influence specific trends.
These insights are currently being used to inform the development of Helix, a system designed to accelerate real-world iterative patterns by supporting efficient data joins, domain-specific feature engineering, and low-latency execution.
Summary updated