Introduction
While academic machine learning (ML) often focuses on optimizing model architectures on static datasets, the industrial reality of Machine Learning Operations (MLOps) is far more complex. This study from researchers at UC Berkeley investigates the "unglamorous" side of AI, moving past industry hype to define a framework for success based on three core variables: Velocity, Validation, and Versioning. By interviewing 18 professional Machine Learning Engineers (MLEs), the authors identify the "tribal knowledge" and practical "hacks" required to keep production models running in dynamic environments.
Methodology
The researchers conducted a semi-structured ethnographic interview study with 18 MLEs and Managers. The participants represented a wide spectrum of the industry, from small startups to large tech giants, covering domains such as autonomous vehicles, fintech, and ad-tech.
To analyze the data, the team employed a grounded theory approach. They broke down interviews into 1,766 coded segments, which were then grouped into hierarchies to identify recurring themes. This process led to the synthesis of the "3 Vs" framework and a taxonomy of the MLOps stack.
The MLOps Lifecycle
A primary contribution of the study is the formalization of the routine tasks involved in MLOps. The authors describe an iterative four-stage loop that defines the daily work of an MLE.
- Data Collection: Gathering and preparing the raw material for models.
- Experimentation: Iterating on model architectures and features.
- Evaluation and Deployment: Validating model safety and pushing to production.
- Monitoring and Response: Tracking live performance and reacting to data drift or failures, which feeds back into new data collection.
Key Findings: The Three Vs
The study identifies three governing variables that MLEs must constantly balance:
- Velocity: The speed at which a team can iterate. The authors argue that a high "failure" rate (models not reaching production) is often a sign of healthy velocity, as it allows teams to "kill" bad ideas quickly.
- Validation: Ensuring model reliability. Unlike the static test sets of academia, production validation is dynamic. Engineers "slice and dice" data to find specific failure modes and create live evaluation sets to guard against them.
- Versioning: Managing the complex lineage of data, code, and models. Tension between Velocity and Validation often leads to "forked" evaluation scripts and a "pipeline jungle" where documentation is scarce.
The MLOps Stack
The paper introduces a four-layer taxonomy for understanding MLOps tooling:
- Run Layer: Tracking individual executions (e.g., experiment tracking).
- Pipeline Layer: Managing dependencies between tasks (e.g., workflow orchestration).
- Component Layer: The functional code for training or featurization.
- Infrastructure Layer: The underlying compute and storage resources.
Conclusion and Future Work
The study highlights that successful production ML relies heavily on non-ML components, such as rule-based heuristic safety nets and human-in-the-loop debugging. However, the field faces significant challenges, including "alert fatigue" and the loss of "tribal knowledge" as pipelines become overly complex.
Future work should focus on creating "virtualized" ML infrastructure that better mirrors production environments during development and developing tools that can automatically capture pipeline metadata to preserve institutional knowledge.
Summary updated