#30 Machine Learning Engineering for Production (MLOps) Specialization [Course 1, Week 3, Lesson 6]
Key Takeaways
The video discusses Human Level Performance (HLP) in machine learning, its use as a baseline for estimating Bayes error, and its limitations as a benchmark for evaluating machine learning systems. It also covers the importance of label consistency and its impact on learning outcomes.
Full Transcript
some machine learning tasks are trying to predict an inherently ambiguous output and human level performance can establish a useful baseline of performance as a reference but human level performance is also sometimes misused let's take a look one of the most important uses of measuring human level performance or hrp is to estimate bayes error or irreducible error especially on unstructured data toss in order to help with error analysis and prioritization and just establish what might be possible take a visual inspection task this may have happened to you before but i have gotten requests from business owners saying hey andrew can you please build a system that's 99 accurate or maybe 99.9 accurate so one way to establish what might be possible would be to take a data set and look at the ground truth data say you have six examples where the ground truth label is these and then to ask a human inspector to label the same data blinded to the ground truth label of course and see what they come up with and if they come up with these you would say this inspector agreed to the ground truth on four other six examples and disagreed on two out of six and so human level performance is you know 66.7 and so this would let you go back to the business owner and say look even your inspector is only 66.7 accuracy how can you expect me to get 99 accuracy so hrp is useful for establishing a baseline in terms of what might be possible there's one question that is often not asked which is what exactly is this ground truth label because rather than just measuring how well we can do compared to some ground truth label which was probably written by some other human are we really measuring what is possible or are we just measuring how well two different people happen to agree with each other when the ground truth label is itself determined by a person there's a very different approach to thinking about human level performance which i want to share with you in this and the next video beyond this purpose of estimating bayes error and establishing what's possible using that to help with error analysis and prioritization here are some other uses of human level performance in academia hlp is often used as a respectable benchmark and so when you establish that people are only 92 accurate or some of the number on a speech recognition data set and if you can beat human level performance then that establishes then that helps you to quote proof that your learning algorithm is doing something hard and helps get the paper published i'm not saying this is a great use of hlp but in academia showing you can beat hlp maybe for the first time has been a tried and true formula for establishing the academic significance of a piece of work and helps with getting something published we discussed briefly on the last slide what to do if a business or product owner asks for 99 accuracy and if you think that's unrealistic then measuring hlp may help you to establish a more reasonable target there's one other use of hlp that you might hear about that i'll be cautious about which is i've seen many projects with a machine learning team wants to use hlp or beating hlp to prove that the machine learning system is superior to the humans doing the job and as tempting as it is to go to someone and says look i've proved that my machine learning system is more accurate than humans inspecting the phones or the radiologists reading x-rays or something and now that i've mathematically proved the superiority of my learning outro you have to use it right i know the logic of that is tempting but as a practical matter this approach rarely works and you also saw last week that businesses need systems that do more than just doing well on average tested accuracy so if you ever find yourself in this situation i would urge you to just use this type of logic with caution or maybe even more preferably just don't use these arguments i've usually found other arguments than this to be more effective at working with a business to see if they should adopt a machine learning system the problem with beating human level performance as proof of machine learning superiority is multifold beyond the fact that most applications require more than just high average tested accuracy one of the problems with this metric is that it sometimes gives a learning algorithm an unfair advantage when labeling instructions are inconsistent let me show you what i mean if you have inconsistent labeling instructions so that when an audio clip says nearest gas station let's say 70 percent of laborers use this labeling convention and 30 percent of labelers use this labeling convention neither one is a superior transcript to the other both seem completely fine but just by luck of the draw 70 percent of laborers choose the first one 30 choose the second one so if the ground truth is established by a labeler maybe just a label with a slightly bigger title but really by one labeler then the chance that two random labelers will agree will be 0.7 squared plus 0.3 squared which is 0.58 so we had two labels use the first convention there's a point seven square chars of that or if both of your random labels use the second convention there's a point three squared charge of that then the two of them will agree so the chance of two labels are green is 0.58 and in the usual way of measuring human level performance you will conclude that human level performance is 0.58 but what you're really measuring is the chance of two random labelers agreeing this is where a machine learning algorithm has an unfair advantage i think either of these labeling conventions is completely fine but the learning algorithm is a little bit better at gathering statistics of how often ellipses versus commas are used in such a context then the learning algorithm may be able to always use the first labeling convention because it knows that statistically it has a 70 chance of getting it right if it uses ellipses or dot dot so a learning algorithm will agree with humans 70 percent of the time just by choosing the first laden convention but this 12 improvement in performance whereas human level performance is 58 and your learning algorithm is 12 better is 0.70 this 12 better performance is not actually important for anything between these two equally good slightly arbitrary choices the learning algorithm just consistently picks the first one so it gains what seems like a 12 advantage on this type of on this type of query but it's not actually outperforming any human in any way that a user would care about and one side effect of this is that if your speech recognition task has multiple types of audio for some there's this dot dot or ellipses versus common ambiguity and the learning algorithm does 12 percent better on this if your learning algorithm makes some more significant errors on other types of input audio then when is performance where it actually does worse could be average out by queries like these where kind of fake looks like is doing better and this will therefore mask or hide the fact that your learning algorithm is actually creating worse transcripts than humans actually are and what this means is that a machine learning system can look like it's doing better than hlp but actually be producing worse transcripts than people because it's just doing better on this type of problem which is not important to do better on while potentially actually doing worse on some other types of input audio given these problems of human level performance what are we supposed to do measuring human level performance is useful for establishing a baseline using that to drive air analysis and prioritization but using it to benchmark machines and humans sometimes runs into problematic cases like this i found that when my goal is to build a useful application not publish a paper you publish a paper let's prove we can outperform people that helps publish paper but found that when my goal is to build a useful application rather than trying to beat human level performance i found it is often useful to instead try to raise human level performance because we raise human level performance by improving label consistency and that ultimately results in better learning outcome performance as well let's take a deeper look at this in the next video
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 6 video on "Human-level performance (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 Maths Basics
View skill →Related Reads
📰
📰
📰
📰
Introduction Data Science and Machine Learning
Medium · Data Science
AgriScore: An Explainable AI Credit Scoring System for Smallholder Farmers
Medium · Machine Learning
AgriScore: An Explainable AI Credit Scoring System for Smallholder Farmers
Medium · Data Science
The Sophistication Trap: Why the Smarter AI Technique Keeps Losing
Medium · Machine Learning
🎓
Tutor Explanation
DeepCamp AI