#30 Machine Learning Engineering for Production (MLOps) Specialization [Course 1, Week 3, Lesson 6]

DeepLearningAI · Intermediate ·📐 ML Fundamentals ·4y ago

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 Forward and Backward Propagation (C1W4L06)
Forward and Backward Propagation (C1W4L06)
DeepLearningAI
2 deeplearning.ai's Heroes of Deep Learning: Yuanqing Lin
deeplearning.ai's Heroes of Deep Learning: Yuanqing Lin
DeepLearningAI
3 deeplearning.ai's Heroes of Deep Learning: Ruslan Salakhutdinov
deeplearning.ai's Heroes of Deep Learning: Ruslan Salakhutdinov
DeepLearningAI
4 deeplearning.ai's Heroes of Deep Learning: Yoshua Bengio
deeplearning.ai's Heroes of Deep Learning: Yoshua Bengio
DeepLearningAI
5 deeplearning.ai's Heroes of Deep Learning: Pieter Abbeel
deeplearning.ai's Heroes of Deep Learning: Pieter Abbeel
DeepLearningAI
6 deeplearning.ai's Heroes of Deep Learning: Ian Goodfellow
deeplearning.ai's Heroes of Deep Learning: Ian Goodfellow
DeepLearningAI
7 deeplearning.ai's Heroes of Deep Learning: Andrej Karpathy
deeplearning.ai's Heroes of Deep Learning: Andrej Karpathy
DeepLearningAI
8 Using an Appropriate Scale (C2W3L02)
Using an Appropriate Scale (C2W3L02)
DeepLearningAI
9 Gradient Checking (C2W1L13)
Gradient Checking (C2W1L13)
DeepLearningAI
10 Gradient Checking Implementation Notes (C2W1L14)
Gradient Checking Implementation Notes (C2W1L14)
DeepLearningAI
11 Learning Rate Decay (C2W2L09)
Learning Rate Decay (C2W2L09)
DeepLearningAI
12 Understanding Mini-Batch Gradient Dexcent (C2W2L02)
Understanding Mini-Batch Gradient Dexcent (C2W2L02)
DeepLearningAI
13 Mini Batch Gradient Descent (C2W2L01)
Mini Batch Gradient Descent (C2W2L01)
DeepLearningAI
14 The Problem of Local Optima (C2W3L10)
The Problem of Local Optima (C2W3L10)
DeepLearningAI
15 Exponentially Weighted Averages (C2W2L03)
Exponentially Weighted Averages (C2W2L03)
DeepLearningAI
16 Tuning Process (C2W3L01)
Tuning Process (C2W3L01)
DeepLearningAI
17 Understanding Exponentially Weighted Averages (C2W2L04)
Understanding Exponentially Weighted Averages (C2W2L04)
DeepLearningAI
18 Bias Correction of Exponentially Weighted Averages (C2W2L05)
Bias Correction of Exponentially Weighted Averages (C2W2L05)
DeepLearningAI
19 Gradient Descent With Momentum (C2W2L06)
Gradient Descent With Momentum (C2W2L06)
DeepLearningAI
20 Normalizing Activations in a Network (C2W3L04)
Normalizing Activations in a Network (C2W3L04)
DeepLearningAI
21 Hyperparameter Tuning in Practice (C2W3L03)
Hyperparameter Tuning in Practice (C2W3L03)
DeepLearningAI
22 Adam Optimization Algorithm (C2W2L08)
Adam Optimization Algorithm (C2W2L08)
DeepLearningAI
23 RMSProp (C2W2L07)
RMSProp (C2W2L07)
DeepLearningAI
24 Fitting Batch Norm Into Neural Networks (C2W3L05)
Fitting Batch Norm Into Neural Networks (C2W3L05)
DeepLearningAI
25 Why Does Batch Norm Work? (C2W3L06)
Why Does Batch Norm Work? (C2W3L06)
DeepLearningAI
26 Batch Norm At Test Time (C2W3L07)
Batch Norm At Test Time (C2W3L07)
DeepLearningAI
27 Softmax Regression (C2W3L08)
Softmax Regression (C2W3L08)
DeepLearningAI
28 Deep Learning Frameworks (C2W3L10)
Deep Learning Frameworks (C2W3L10)
DeepLearningAI
29 Neural Network Overview (C1W3L01)
Neural Network Overview (C1W3L01)
DeepLearningAI
30 Training Softmax Classifier (C2W3L09)
Training Softmax Classifier (C2W3L09)
DeepLearningAI
31 Why Deep Representations? (C1W4L04)
Why Deep Representations? (C1W4L04)
DeepLearningAI
32 Gradient Descent For Neural Networks (C1W3L09)
Gradient Descent For Neural Networks (C1W3L09)
DeepLearningAI
33 Neural Network Representations (C1W3L02)
Neural Network Representations (C1W3L02)
DeepLearningAI
34 TensorFlow (C2W3L11)
TensorFlow (C2W3L11)
DeepLearningAI
35 Activation Functions (C1W3L06)
Activation Functions (C1W3L06)
DeepLearningAI
36 Explanation For Vectorized Implementation (C1W3L05)
Explanation For Vectorized Implementation (C1W3L05)
DeepLearningAI
37 Getting Matrix Dimensions Right (C1W4L03)
Getting Matrix Dimensions Right (C1W4L03)
DeepLearningAI
38 Understanding Dropout (C2W1L07)
Understanding Dropout (C2W1L07)
DeepLearningAI
39 Building Blocks of a Deep Neural Network (C1W4L05)
Building Blocks of a Deep Neural Network (C1W4L05)
DeepLearningAI
40 Why Non-linear Activation Functions (C1W3L07)
Why Non-linear Activation Functions (C1W3L07)
DeepLearningAI
41 Computing Neural Network Output (C1W3L03)
Computing Neural Network Output (C1W3L03)
DeepLearningAI
42 Backpropagation Intuition (C1W3L10)
Backpropagation Intuition (C1W3L10)
DeepLearningAI
43 Train/Dev/Test Sets (C2W1L01)
Train/Dev/Test Sets (C2W1L01)
DeepLearningAI
44 Deep L-Layer Neural Network (C1W4L01)
Deep L-Layer Neural Network (C1W4L01)
DeepLearningAI
45 Random Initialization (C1W3L11)
Random Initialization (C1W3L11)
DeepLearningAI
46 Other Regularization Methods (C2W1L08)
Other Regularization Methods (C2W1L08)
DeepLearningAI
47 Normalizing Inputs (C2W1L09)
Normalizing Inputs (C2W1L09)
DeepLearningAI
48 Derivatives Of Activation Functions (C1W3L08)
Derivatives Of Activation Functions (C1W3L08)
DeepLearningAI
49 Parameters vs Hyperparameters (C1W4L07)
Parameters vs Hyperparameters (C1W4L07)
DeepLearningAI
50 Vectorizing Across Multiple Examples (C1W3L04)
Vectorizing Across Multiple Examples (C1W3L04)
DeepLearningAI
51 What does this have to do with the brain? (C1W4L08)
What does this have to do with the brain? (C1W4L08)
DeepLearningAI
52 Dropout Regularization (C2W1L06)
Dropout Regularization (C2W1L06)
DeepLearningAI
53 Vanishing/Exploding Gradients (C2W1L10)
Vanishing/Exploding Gradients (C2W1L10)
DeepLearningAI
54 Basic Recipe for Machine Learning (C2W1L03)
Basic Recipe for Machine Learning (C2W1L03)
DeepLearningAI
55 Bias/Variance (C2W1L02)
Bias/Variance (C2W1L02)
DeepLearningAI
56 Forward Propagation in a Deep Network (C1W4L02)
Forward Propagation in a Deep Network (C1W4L02)
DeepLearningAI
57 Weight Initialization in a Deep Network (C2W1L11)
Weight Initialization in a Deep Network (C2W1L11)
DeepLearningAI
58 Numerical Approximations of Gradients (C2W1L12)
Numerical Approximations of Gradients (C2W1L12)
DeepLearningAI
59 Regularization (C2W1L04)
Regularization (C2W1L04)
DeepLearningAI
60 Why Regularization Reduces Overfitting (C2W1L05)
Why Regularization Reduces Overfitting (C2W1L05)
DeepLearningAI

This video teaches the importance of 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. By understanding HLP and its limitations, machine learning engineers can build more effective and reliable systems.

Key Takeaways
  1. Define Human Level Performance (HLP) and its use in machine learning
  2. Estimate Bayes error using HLP
  3. Establish a baseline for machine learning performance
  4. Evaluate the limitations of HLP as a benchmark
  5. Improve label consistency to enhance learning outcomes
💡 Human Level Performance (HLP) is a useful baseline for establishing a benchmark, but it can be limiting when trying to build a useful application, and label consistency is key to improving learning outcomes.

Related Reads

📰
Introduction Data Science and Machine Learning
Learn the basics of data science and machine learning to stay ahead in the emerging field
Medium · Data Science
📰
AgriScore: An Explainable AI Credit Scoring System for Smallholder Farmers
Learn how AgriScore uses explainable AI for credit scoring to help smallholder farmers access loans, and why this matters for financial inclusion
Medium · Machine Learning
📰
AgriScore: An Explainable AI Credit Scoring System for Smallholder Farmers
Learn how AgriScore uses explainable AI for credit scoring of smallholder farmers, and how to build a similar system using machine learning and Streamlit
Medium · Data Science
📰
The Sophistication Trap: Why the Smarter AI Technique Keeps Losing
Smarter AI techniques don't always guarantee better results, and understanding the sophistication trap can help you optimize your approach
Medium · Machine Learning
Up next
How to start learning AI | Complete AI Learning Path | Roadmap For Beginners (With No Background)
Career Talk
Watch →