[Paper Review] Demystifying a Dark Art: Understanding Real-World Machine Learning Model Development
This study analyzes 475,297 machine learning workflows from OpenML to understand real-world model development practices. It reveals that manual iteration is more efficient with fewer wasted steps, while automated approaches explore more options and achieve higher performance, suggesting a hybrid human-in-the-loop system could optimize both efficiency and effectiveness in ML workflow development.
It is well-known that the process of developing machine learning (ML) workflows is a dark-art; even experts struggle to find an optimal workflow leading to a high accuracy model. Users currently rely on empirical trial-and-error to obtain their own set of battle-tested guidelines to inform their modeling decisions. In this study, we aim to demystify this dark art by understanding how people iterate on ML workflows in practice. We analyze over 475k user-generated workflows on OpenML, an open-source platform for tracking and sharing ML workflows. We find that users often adopt a manual, automated, or mixed approach when iterating on their workflows. We observe that manual approaches result in fewer wasted iterations compared to automated approaches. Yet, automated approaches often involve more preprocessing and hyperparameter options explored, resulting in higher performance overall--suggesting potential benefits for a human-in-the-loop ML system that appropriately recommends a clever combination of the two strategies.
Motivation & Objective
- To understand real-world machine learning workflow development practices across diverse user skill levels.
- To identify common iteration patterns and their impact on model performance.
- To compare manual, automated, and mixed approaches to workflow iteration in terms of efficiency and effectiveness.
- To extract actionable insights for designing better human-in-the-loop ML systems that support both novices and experts.
Proposed method
- Collected and analyzed 475,297 user-generated ML workflows from the OpenML platform across 793 tasks and 295 users.
- Classified workflow iterations into manual, automated, or mixed styles based on changes in preprocessing, model selection, and hyperparameters.
- Tracked sequences of workflow runs to analyze iteration patterns, exploration depth, and performance gains across iterations.
- Conducted case studies on representative user sequences to identify effective practices in model and preprocessing selection.
- Used aggregate statistics at run-level, sequence-level, and individual case study levels to ensure robust and multi-granular insights.
- Evaluated model performance using standardized metrics and compared iteration efficiency across different workflow development strategies.
Experimental results
Research questions
- RQ1How do users typically iterate on machine learning workflows in practice, and what are the dominant styles of iteration?
- RQ2What is the relationship between iteration style (manual vs. automated) and the number of wasted iterations in ML workflow development?
- RQ3How do manual and automated approaches compare in terms of performance gain and exploration of preprocessing and hyperparameter options?
- RQ4What are the most effective workflow design patterns in terms of model and preprocessing operator combinations?
- RQ5How can insights from expert users be leveraged to guide novice users through human-in-the-loop ML systems?
Key findings
- Manual iteration results in significantly fewer wasted iterations compared to automated approaches, despite similar final model performance.
- Automated approaches explore more preprocessing and hyperparameter options, leading to higher overall model performance.
- The performance gap between manual and automated approaches is negligible, but the efficiency gap is substantial, indicating that automation is less cost-effective in practice.
- Experts often begin by analyzing dataset characteristics before tuning hyperparameters, a strategy that novices frequently overlook.
- The most effective workflows combine strategic manual exploration with targeted automation, suggesting a hybrid approach is optimal.
- Case studies show that human users are more effective than naive automation at minimizing redundant exploration and focusing on high-impact changes.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.