MLOps Manifesto with Luke Marsden from Dotscience
Key Takeaways
Luke Marsden presents the MLOps Manifesto, outlining requirements for MLOps such as reproducibility, accountability, collaboration, and continuity
Full Transcript
so we have this kind of manifesto so this is what we care about and why we get out of bed in the morning is because we we're working on trying to solve this Emma Watson manifesto and the manifesto is in the form of four tests so you can kind of apply these tests to your own ml ops pipelines and you can form an opinion about how mature you are against the the different the different requirements here and so the first requirement is that your model training and deployment pipelines have to be reproducible well that means a good test for this is if I can come along nine months later if someone else can come along nine months later and retrain a model that was trained by somebody else without even talking to them whether let's say an old version of tends to flow on an old data set with on a hardware that is sufficiently equivalent that they can retrain the models within a few percentage points then you've got a reproducible ml ops pipeline and if nine months later you can't because you upgraded the version of tends to flow on your development machines and the date has gone somewhere and you don't know where the data is gone the date has changed in your production database then you've failed the reproducibility test and if you fail the reproducibility test and you're in trouble from a governance and compliance perspective in some industries the second test is Israel ml ops pipeline accountable and we talk about accountability from the same perspective that we hold humans accountable for their decision-making process and one of the ways in which you do that is you say on what basis did you make your decision and the on what basis question with machine learning as a minimum requirement not even going into the whole area of explain ability but as a minimum requirement you have to be able to say what version of the data was the model trained on so you need to be able to track the model back to the program where that model came from what data was trained on by whom and and so on the next point and it's especially pertinent at the moment is this collaboration requirement so he has to be possible to do asynchronous collaboration and this is something that software DevOps has got sorted and ml ops doesn't yet mostly and this means that I need to be able to if for example if if my colleague Chris is working on a model I need to be able to make a fork of that model and I need to be able to make changes to it without treading on Chris's toes so we both need to be able to collaborate asynchronously and and get useful work done now this has kind of influenced the design of what we're building to a large extent because because we believe very much in the sort of github pull request style of collaboration that the data scientists are familiar with and and there are some challenges in in making that possible for for ml and then finally the model development process has to be continuous and so there are a couple of things that I mean by this the first one is that the development process must be automatic the deployment process or it must be automatic so it must be possible to automatically deploy a model into a staging environment or production environment without manually emailing Jupiters and notebooks or or tensorflow files serialized test flow models around because as soon as you start doing things manually then it introduces this possibility for the human error and the other piece is that you have to be able to statistically monitor your models and this is interesting because monitoring models is specifically is quite different to monitoring regular software that you might deploy it as micro services and the reason for that is that when you monitor software you can monitor things like Layton sees an error rate but when you monitor Mike Rosario when you monitor models machine learning models they can be giving you perfectly normal latencies and perfectly normal error rates and the model can have gone completely haywire and the reason for that is basically if you already knew the right answer for what the model was predicting then you wouldn't need the model in other words the production data is unlabeled and so this means that it's challenging to understand the behavior room of your model once it's running in production so an example might be that I might have deployed a model for four autonomous vehicles that classify road signs and so you might have a bunch of cars driving around with models running on hardware in the cars and sensors cameras basically on the cars that are looking around for the road signs and if you already knew what road sign the sensor was looking at then you wouldn't need the model right but at the same time it means that it's hard to understand the behavior of the model of production and there are some solutions to this including looking at the statistical distribution of the classifications the model is making if it's a classifier and then you can say well if the actual distribution of classifications drifts very significantly from my expected distribution like the distribution that I used in training in the training set then maybe Paige a human like fire and alert and get a human to look at what's going on because either you deployed a bad model in which case well you need to know about it so that so that you can roll back and so that you can figure out what went wrong with the new deployed model or the world changed and especially with things like computer vision it's it's often surprising like how the models actually distinguish features in the data and and you can get stupid things like I the computer vision model might never have classified any or never it never be trained on any stop signs in the snow and for some reason it can't classify stop signs in the snow so suddenly it snows over a large part of the country and then your stop sign classifier stops working and obviously you're in trouble so you need to have that statistical monitoring so those are the requirements and and so I'm going to talk about how how we can try and address those requirements using ml ops tools
Original Description
What are the requirements for MLOps? Luke Marsden gives us his Manifesto for achieving MLOps.
1. Reproducible
2. Accountable
3.Collaborative
4.Continuous
This talk was taken from our weekly MLOps.community virtual meetups. come join us or suggest a guest!
Join our open community where we discuss everything MLOps: https://mlops.community/
Join our MLOps slack channel: https://bit.ly/33wDUf1
MLOps.community forums: https://forum.mlops.community/
Sign up for the next weekly meetup: https://zoom.us/webinar/register/WN_a_nuYR1xT86TGIB2wp9B1g
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from MLOps.community · MLOps.community · 3 of 60
1
2
▶
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Our 1st MLOps Meetup // Luke Marsden // MLOps Meetup #1
MLOps.community
Remote Collaboration as a Data Scientist
MLOps.community
MLOps Manifesto with Luke Marsden from Dotscience
MLOps.community
MLOps lifecycle description
MLOps.community
What Does Best in Class AI/ML Governance Look Like in Fin Services? // Charles Radclyffe // MLOps #2
MLOps.community
Life purpose and too many spreadsheets
MLOps.community
Explainability, Black boxes and EU white paper on reproducibility
MLOps.community
Hierarchy of Machine Learning Needs // Phil Winder // MLOps Meetup #3
MLOps.community
Automatically Retrain Machine Learning Models? Are best practices worth it?
MLOps.community
Building an MLOps Team? Key ideas to keep in mind
MLOps.community
Hierarchy of MLOps Needs
MLOps.community
Bare necessities for getting an ML model into production
MLOps.community
MLOps and Monitoring
MLOps.community
How Phil Winder got into Data Science and Software Engineering
MLOps.community
Provenance and Reproducibility in Machine Learning; what is it and why you need it?
MLOps.community
Friction Between Data Scientists and Software Engineers
MLOps.community
MLOps Problems in different size companies
MLOps.community
ML tooling in large companies
MLOps.community
ML Platforms - The build vs buy question
MLOps.community
ML Services Gateway at SurveyMonkey
MLOps.community
Message buses, Async and sync architecture
MLOps.community
MLOps #4: Shubhi Jain - Building an ML Platform @SurveyMonkey
MLOps.community
Hybrid Data Science Teams @SurveyMonkey
MLOps.community
How do you handle ML version control at SurveyMonkey
MLOps.community
Doing ML with Personal Information
MLOps.community
Evolution of the ML feature store @SurveyMonkey
MLOps.community
Developing a Machine Learning Feature Store
MLOps.community
Auto retrain ML models is not the question
MLOps.community
3 key parts to Machine Learning monitoring
MLOps.community
MLOps Meetup #6: Mid-Scale Production Feature Engineering with Dr. Venkata Pingali
MLOps.community
MLOps meetup #5 High Stakes ML: Active Failures, Latent Factors with Flavio Clesio
MLOps.community
MLOps: Airflow Pros and Cons
MLOps.community
Specific challenges in Machine Learning
MLOps.community
Current State Of Machine Learning
MLOps.community
Humans in the Loop are a defining factor in Machine Learning
MLOps.community
Learning from real life Machine Learning failures
MLOps.community
Survivorship Bias in machine learning tutorials
MLOps.community
Swiss Cheese model in Machine Learning
MLOps.community
Resume driven development in Machine learning & software engineering
MLOps.community
Who has the highest standards in ML?
MLOps.community
Venkata Pingali of Scribble Data Thoughts on the Current State of Machine Learning
MLOps.community
Dependable data and being able to Trust in your Data with Venkata Pengali of Scribble Data
MLOps.community
Speed, Trust, Evolution and Scale in MLOps
MLOps.community
More difficult transition for data scientists to become ML engineers
MLOps.community
How many models in prod til I need a dedicated ML platform?
MLOps.community
Deeper thinking from data scientists around platform blackholes
MLOps.community
Checkpointing, metadata, and confidence in your data
MLOps.community
Adjacent usecases and multistep feature engineering
MLOps.community
Standardization of Machine Learning tools like in Software Engineering with Venkata Pingali
MLOps.community
Reproducability flaws in end to end Machine Learning debugging
MLOps.community
3rd wave of data scientists
MLOps.community
MLOps meetup #7 Alex Spanos // TrueLayer 's MLOps Pipeline
MLOps.community
MLOps Meetup #8 Optimizing Your ML Workflow with Kubeflow 1.0
MLOps.community
Are Kubeflow and Airflow complementary?
MLOps.community
Why Kubeflow gained so much traction=open community
MLOps.community
Who decides the dirrection of Kubeflow
MLOps.community
What do Kubeflow and Arrikto do and how do they work together?
MLOps.community
Versioning your ML steps with Kubeflow
MLOps.community
Machine Learning Lifecycles//Perception vs Reality
MLOps.community
Kubeflow vs SageMaker in Machine Learning
MLOps.community
More on: ML Pipelines
View skill →Related Reads
📰
📰
📰
📰
Comparing Two Eval Runs by Their Average Pass Rate Is the Wrong Test
Dev.to · Maya Andersson
ML Infrastructure vs. AI Infrastructure: Are They the Same Thing?
Dev.to · Conor Breathnach
Formula Solver: Step-by-Step Math & Science Help
Medium · AI
Independence you can't prove — so price it
Dev.to · Colin Easton
🎓
Tutor Explanation
DeepCamp AI