Sub topic 17
Who does what: roles in an ML team
This chapter assumes you know the lifecycle stages from earlier chapters (framing, data, training, evaluation, registry, deployment, monitoring, retraining). It also assumes basic Git use and a general idea of how a web service is deployed. Here you will map people to those stages, find where handoffs break, and learn how to write ownership down so that nothing in production is left without an owner.
Roles are responsibilities, not job titles
Job titles differ between companies. A "data scientist" at one firm writes production services, and at another only runs notebooks. So think of roles as bundles of responsibilities. In a small team, one person holds several bundles. In a large organization, each bundle may be a separate team.
The common bundles are:
- Product owner or domain expert. Defines the business problem, the success metric, and the cost of a wrong prediction. Decides whether a model is worth shipping.
- Data engineer. Builds and runs the pipelines that collect, clean, validate, and store data. Owns data quality checks and schemas.
- Data scientist. Explores data, builds features, trains and evaluates models, and proposes release criteria.
- ML engineer. Turns a working experiment into reliable code: training pipelines, tests, packaging, serving interfaces, and feature code shared by training and serving.
- MLOps or platform engineer. Builds the shared tooling: experiment tracker, registry, orchestrator, CI/CD templates, and monitoring stack. Serves the other roles as customers.
- Software or backend engineer. Integrates predictions into the product and owns the calling application.
- SRE or DevOps engineer. Owns infrastructure reliability, scaling, on-call, and incident response.
- Governance, security, and compliance reviewers. Check privacy, fairness, audit requirements, and access control.
Mapping roles to lifecycle stages
Each stage has one accountable role (the one who answers for the outcome) and several contributing roles. The table shows a typical split. Treat it as a starting point and adjust it to your team.
| Lifecycle stage | Accountable | Contributes |
|---|---|---|
| Problem framing and success metrics | Product owner | Data scientist |
| Data collection, validation, versioning | Data engineer | Data scientist, compliance |
| Features and training-serving consistency | ML engineer | Data scientist, data engineer |
| Experiments and reproducibility | Data scientist | ML engineer, platform engineer |
| Evaluation and release criteria | Data scientist | Product owner, ML engineer |
| Registry and CI/CD | Platform engineer | ML engineer |
| Deployment and serving | ML engineer | SRE, backend engineer |
| Monitoring and drift detection | ML engineer | SRE, data scientist |
| Retraining | ML engineer | Data engineer, data scientist |
| Governance and lineage | Compliance lead | Platform engineer |
Notice that evaluation is not owned by the person who trains the model alone. The product owner must agree that the metric reflects business value, because a model can score well on accuracy and still fail the actual goal.
The two arrows leaving the last node matter most. Monitoring results must reach the people who can act on them: the data scientist for model changes, and the product owner for decisions about value and risk.
Handoffs and the contracts that protect them
Most MLOps failures happen at handoffs, not inside one person's work. Each handoff needs a written contract, which is an agreement about what is passed over and what is guaranteed.
- Data engineer to data scientist. A schema, freshness expectations, and validation rules. If a column changes type, the pipeline should fail loudly before training starts.
- Data scientist to ML engineer. The training code, the pinned environment, the random seed, the dataset version, and the evaluation report. Without these, the ML engineer cannot reproduce the result and cannot tell a porting bug from a modeling difference.
- ML engineer to platform and SRE. A model signature (input and output types), resource needs, latency target, and a rollback procedure.
- Monitoring to everyone. Alert thresholds, who is paged, and what the first response step is.
A practical test: if a role leaves for a month, can the next person run the handoff from documents and tooling alone? If not, the contract lives only in someone's head.
Ownership in the repository
Ownership should be visible in version control, not only in a wiki. In Git hosting platforms such as GitHub, a CODEOWNERS file routes review requests to the right team. This example gives data checks, training code, and release criteria different reviewers.
# CODEOWNERS: each path requires review from the listed owners
/data_validation/ @example-org/data-engineering
/features/ @example-org/ml-engineering @example-org/data-science
/training/ @example-org/data-science
/release_criteria/ @example-org/data-science @example-org/product
/serving/ @example-org/ml-engineering @example-org/sre
/monitoring/ @example-org/ml-engineering @example-org/srePutting release_criteria/ under joint ownership means no one can lower the promotion threshold alone. This ties directly to the release gate from the evaluation chapter.
Common team structures and their trade-offs
Embedded model. ML engineers sit inside each product team. Handoffs are short and context is shared. The cost is duplicated tooling, because each team solves registry, CI, and monitoring on its own.
Platform model. A central platform team provides shared tooling, and product teams build models on it. Tooling is consistent and cheaper per project. The risk is a platform that nobody asked for. Treat product teams as customers and measure adoption.
Centralized model team. One team builds models for the whole company. Expertise is concentrated, but the team becomes a bottleneck and is far from the business problem.
Small team, many hats. Two or three people cover everything. This works if you accept that each person holds several roles and write down who is accountable for each stage. The most common failure here is that monitoring has no owner because everyone assumes someone else watches it.
Failure modes to watch for
- Throwing the model over the wall. The data scientist hands over a notebook and moves on. The ML engineer rewrites it, and the rewrite behaves differently. Fix this by sharing feature code between training and serving and by requiring a reproducible run before handoff.
- No owner for production behavior. The model is deployed, the project closes, and drift goes unnoticed. Fix this by naming an on-call owner at deployment time.
- Metric disputes after launch. The data scientist optimized accuracy, and the product owner cares about cost per false alarm. Fix this by agreeing on the metric during framing.
- Platform without customers. Tooling is built before anyone's workflow is understood.
- Governance as a final gate. Compliance sees the model only on release day and blocks it. Involve reviewers early, when data sources are chosen.
A short checklist for your team
- For every lifecycle stage, can you name one accountable person or team?
- Is each handoff backed by a contract that tooling checks, such as a schema test or a registry entry?
- Who is paged when a drift alert fires, and what do they do first?
- Who can change the release criteria, and who must approve it?
- If the model owner leaves, can another person retrain from the repository and registry alone?
Exercise
Your three-person team has a data scientist, an ML engineer, and a backend engineer. A fraud model has been in production for two months. Accuracy on live labels has fallen, but nobody noticed until a customer complained. Name the likely ownership gap, name one role you would make accountable for fixing it, and give two concrete changes that would prevent a repeat.
Show answer
The gap is that production monitoring had no named owner, so no one watched live metrics or drift. Make the ML engineer accountable for monitoring, with the data scientist contributing thresholds and the backend engineer contributing the logging of predictions and labels. Two changes: first, add automated drift and live-accuracy alerts that page a named on-call person. Second, add a monitoring owner and a response runbook to the deployment checklist, so no model is released without them. A CODEOWNERS entry for the monitoring code and a periodic review of alert history also help.