#31 Machine Learning Engineering for Production (MLOps) Specialization [Course 1, Week 3, Lesson 7]
Key Takeaways
The video discusses the importance of Human Level Performance (HLP) in machine learning, its limitations, and how to improve it by ensuring consistent labeling instructions, with a focus on applications where human performance provides a useful reference, such as medical imaging and visual inspection, using techniques like error analysis and prioritization to drive improvement
Full Transcript
i think the use of hlp and machine learning had taken off partly because it helped people get papers published to show they can beat hlp there's also been a bit misused in settings where the goal is to build a valuable application not just to publish a paper when the ground truth is externally defined then there are fewer problems with hlp when the ground tree really is some real ground truth for example i've done a lot of work on medical imaging uh working on you know ai for diagnosing from x-rays or things like these and given an x-ray image if you want to predict the diagnosis if the diagnosis is defined according to say a biopsy so a biological or medical test then hlp helps you measure how well does a doctor versus a learning algorithm predict the outcome of a biopsy or a biological medical test i find that to be really useful but when the ground truth is defined by a human maybe even a doctor labeling an x-ray image then hlp is just measuring how well can one doctor predict another doctor's label versus how well can one learning algorithm predict another doctor's label and that too is useful but it's different than if you're measuring how well you versus a doctor are predicting some ground truth outcome from a medical biopsy so to summarize when the ground truth label is externally defined such as the medical biopsy then hrp gives an estimate for base error and irreducible error in terms of predicting the outcome of that medical test the biopsy but there are also a lot of problems where the ground truth is just another human label the visual inspection example we had from the previous video showed this where the inspector had 66.7 accuracy rather than just aspiring to beat the human inspector it may be more useful to see why the ground truth which is just some other inspector compared to this inspector don't agree for example if we look at the length of the different scratches that they label say on these six examples these were the lengths of the scratches and if we speak of the inspectors and have them agree that 0.3 mm is the threshold above which a stretch becomes a defect then what we would do is then what we realize is that for the first example both labeled it one totally appropriately for the second example the ground truth here is one but is less than 0.3 so we really should change this to 0 then 0.5 gets 1 1 0.200.1 and this example has a stretch of 0.1 but really this should have been a zero if we go through this exercise of getting the ground truth labor and this inspector to agree then we actually just raise human level performance from 66.7 percent to 100 at least as measured on these six examples so but notice what we've done by raising hlp to 100 we've made it pretty much impossible for a learning algorithm to beat hlp so that seems terrible you can't tell the business owner anymore you beat hlp and does they must use your system but the benefit of this is you now have much cleaner more consistent data and that ultimately will allow your learning algorithm to do better so when you go is to come up with a learning algorithm that actually generates accurate predictions rather than just prove for some reason that you can beat hlp i find this approach of working to raise hlp to be more useful to summarize when the ground truth label y comes from a human hlp being quite a bit less than 100 may just indicate that the labeling instructions or labeling convention is ambiguous on the last slide you saw an example of this in visual inspection you also see this in speech recognition where the um comma versus um ellipsis dot dot that type of ambiguous labeling convention will also cause hlp to be less than 100 improving labor consistency will raise human level performance and this makes it harder unfortunately for your learning algorithm to beat hlp but the more consistent labels will raise your machine learning algorithm performance which is ultimately likely to benefit the actual application so far we've been discussing hrp on unstructured data but some of these issues apply to structured data as well you already know that structured data problems are less likely to involve human labors and thus hlp is less frequently used but there are exceptions you saw previously the user id merging example where you might have a human label where the two records belong to the same person or i've worked on projects where we will look at network traffic into a computer to try to figure out if the computer was hacked and we asked human i.t experts to provide labels for us sometimes it's hard to know if a transaction is fraudulent and you just ask a human to label that or is this account a spam account or a bot generated account or from gps what is the mode of transportation is this person on foot or on a bike or in the car or on the bus it turns out buses stop at bus stops and so you can actually kind of tell if someone's in the bus or in the car based on their gps trace and for problems like these it would be quite reasonable to ask a human to label the data at least on the first pass for a learning algorithm to make such predictions as these and so when the ground truth label you're trying to predict comes from one human the same questions of what does hlp mean it is a useful baseline to figure out what is possible but sometimes when measuring hlp you realize that low hlp stems from inconsistent labels and working to improve hlp by coming up with a more consistent labeling standard will both raise hlp and give you cleaner data with which to improve your learning algorithms performance here's what i hope you take away from this video first hlp is important for problems where human level performance can provide a useful reference i do measure it and use it as a reference for what might be possible and to drive error analysis and prioritization having said that when you're measuring hlp if you find the hlp is much less than 100 also ask yourself if some of the gap between hlp and complete consistency is due to inconsistent labeling instructions because if that turns out to be the case then improving labeling consistency will raise hlp and also give cleaner data for your learning algorithm which will ultimately result in better machine learning algorithm performance here's what i hope you take away from this video hlp is useful and important for many applications for problems where i think how well humans perform is a useful reference i do measure hrp and i use that to get a sense of what might be possible and also use hlp to drive error analysis and prioritization having said that if in the process of measuring hlp you find that hlp is much less than perfect performance much lower than 100 this is also worth asking yourself if that gap between hlp and 100 accuracy may be due to inconsistent labeling instructions because if that's the case then improving labeling consistency will both raise hlp but more importantly help you get cleaner and more consistent labels which will improve your learning algorithm's performance
Original Description
The Machine Learning Engineering for Production (MLOps) Specialization teaches you how to conceptualize, build, and maintain integrated systems that continuously operate in production. In this Specialization, you will become familiar with the capabilities, challenges, and consequences of machine learning engineering in production. By the end, you will be ready to employ your new production-ready skills to participate in the development of leading-edge AI technology and solve real-world problems.
This is a video from Course 1, Week 3, Lesson 7 video on "Raising HLP".
To learn more about this and other topics and access the full course videos and assignments, enroll in the Specialization here: https://bit.ly/3v8pxwA
Check out all our programs: https://bit.ly/3L9rnmQ
Subscribe to The Batch, our weekly newsletter: https://bit.ly/3vxv52R
Follow us:
Twitter: https://twitter.com/deeplearningai_
Facebook: https://www.facebook.com/deeplearningHQ/
Linkedin: https://www.linkedin.com/company/deep...
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from DeepLearningAI · DeepLearningAI · 0 of 60
← Previous
Next →
1
2
3
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
Forward and Backward Propagation (C1W4L06)
DeepLearningAI
deeplearning.ai's Heroes of Deep Learning: Yuanqing Lin
DeepLearningAI
deeplearning.ai's Heroes of Deep Learning: Ruslan Salakhutdinov
DeepLearningAI
deeplearning.ai's Heroes of Deep Learning: Yoshua Bengio
DeepLearningAI
deeplearning.ai's Heroes of Deep Learning: Pieter Abbeel
DeepLearningAI
deeplearning.ai's Heroes of Deep Learning: Ian Goodfellow
DeepLearningAI
deeplearning.ai's Heroes of Deep Learning: Andrej Karpathy
DeepLearningAI
Using an Appropriate Scale (C2W3L02)
DeepLearningAI
Gradient Checking (C2W1L13)
DeepLearningAI
Gradient Checking Implementation Notes (C2W1L14)
DeepLearningAI
Learning Rate Decay (C2W2L09)
DeepLearningAI
Understanding Mini-Batch Gradient Dexcent (C2W2L02)
DeepLearningAI
Mini Batch Gradient Descent (C2W2L01)
DeepLearningAI
The Problem of Local Optima (C2W3L10)
DeepLearningAI
Exponentially Weighted Averages (C2W2L03)
DeepLearningAI
Tuning Process (C2W3L01)
DeepLearningAI
Understanding Exponentially Weighted Averages (C2W2L04)
DeepLearningAI
Bias Correction of Exponentially Weighted Averages (C2W2L05)
DeepLearningAI
Gradient Descent With Momentum (C2W2L06)
DeepLearningAI
Normalizing Activations in a Network (C2W3L04)
DeepLearningAI
Hyperparameter Tuning in Practice (C2W3L03)
DeepLearningAI
Adam Optimization Algorithm (C2W2L08)
DeepLearningAI
RMSProp (C2W2L07)
DeepLearningAI
Fitting Batch Norm Into Neural Networks (C2W3L05)
DeepLearningAI
Why Does Batch Norm Work? (C2W3L06)
DeepLearningAI
Batch Norm At Test Time (C2W3L07)
DeepLearningAI
Softmax Regression (C2W3L08)
DeepLearningAI
Deep Learning Frameworks (C2W3L10)
DeepLearningAI
Neural Network Overview (C1W3L01)
DeepLearningAI
Training Softmax Classifier (C2W3L09)
DeepLearningAI
Why Deep Representations? (C1W4L04)
DeepLearningAI
Gradient Descent For Neural Networks (C1W3L09)
DeepLearningAI
Neural Network Representations (C1W3L02)
DeepLearningAI
TensorFlow (C2W3L11)
DeepLearningAI
Activation Functions (C1W3L06)
DeepLearningAI
Explanation For Vectorized Implementation (C1W3L05)
DeepLearningAI
Getting Matrix Dimensions Right (C1W4L03)
DeepLearningAI
Understanding Dropout (C2W1L07)
DeepLearningAI
Building Blocks of a Deep Neural Network (C1W4L05)
DeepLearningAI
Why Non-linear Activation Functions (C1W3L07)
DeepLearningAI
Computing Neural Network Output (C1W3L03)
DeepLearningAI
Backpropagation Intuition (C1W3L10)
DeepLearningAI
Train/Dev/Test Sets (C2W1L01)
DeepLearningAI
Deep L-Layer Neural Network (C1W4L01)
DeepLearningAI
Random Initialization (C1W3L11)
DeepLearningAI
Other Regularization Methods (C2W1L08)
DeepLearningAI
Normalizing Inputs (C2W1L09)
DeepLearningAI
Derivatives Of Activation Functions (C1W3L08)
DeepLearningAI
Parameters vs Hyperparameters (C1W4L07)
DeepLearningAI
Vectorizing Across Multiple Examples (C1W3L04)
DeepLearningAI
What does this have to do with the brain? (C1W4L08)
DeepLearningAI
Dropout Regularization (C2W1L06)
DeepLearningAI
Vanishing/Exploding Gradients (C2W1L10)
DeepLearningAI
Basic Recipe for Machine Learning (C2W1L03)
DeepLearningAI
Bias/Variance (C2W1L02)
DeepLearningAI
Forward Propagation in a Deep Network (C1W4L02)
DeepLearningAI
Weight Initialization in a Deep Network (C2W1L11)
DeepLearningAI
Numerical Approximations of Gradients (C2W1L12)
DeepLearningAI
Regularization (C2W1L04)
DeepLearningAI
Why Regularization Reduces Overfitting (C2W1L05)
DeepLearningAI
More on: ML Pipelines
View skill →Related Reads
📰
📰
📰
📰
I Stopped Using Multiple If Statements After Discovering This Python Pattern
Medium · Data Science
I Built My First Web Scraper in Python — Here’s What Broke Immediately
Medium · Python
nvprobe Zero-Setup GPU Benchmarking: How I Automated HPL, MLPerf, and CUDA Audits
Medium · Machine Learning
nvprobe Zero-Setup GPU Benchmarking: How I Automated HPL, MLPerf, and CUDA Audits
Medium · Python
🎓
Tutor Explanation
DeepCamp AI