AI2 Flashcards
Revision for AI 2 exam
Uncertainty In AI
Define Uncertainty:
Situatuions where the outcome or state of a system is not fully known
Uncertainty In AI
What are Sources of Uncertianty?
Data Uncertainty: Noisy/Incomplete Data
- e.g. missing / messy info
Modele Uncertainty: Limited or incorrect model assumptions
- e.g. if computer instructions are not great may lead to wrong results
Enviromental Uncertainty
- e.g. World changes (Unpredictable Weather)
Uncertainty In AI
What is Predictive Uncertainty?
simple, easy to understand
Example:
Imagine a computer tries to predict how tall a person will be
- Guess will be TOO high or TOO Low
The Gap/Difference between Actual value and guess is its Predictive Uncertainty
Uncertainty In AI
What is Predictive Uncertainty?
More scientific or using proper terminology
Suppose we trained a model fŵ(x) (Guess), ŵ (is the parameters of the model obtained on training set ) and (x,y) is random test example
**It is the distribution of the Residual y - fŵ(x) **
Uncertainty In AI
What are the 2 types of Uncertainty?
-Aleatoric
-Epistemic
Uncertainty In AI
What is Epistemic Uncertainty?
- Uncertainty due to lack of Knowledge
- Reducible with more data OR improved Models
example: Insuffiicient training data for a machine learing model
Uncertainty In AI
What is Aleastoric Uncertainty?
- Intrinsic / Natural Randomness in data or process
- Thus Uncertainty cannot change
- If too many data point or feature overlap could be this type (on a graph)
Example: Sesnor noise on autonomous Vehicles
Uncertianity In AI
What is the equation that the residual error can be decomposed as?
y - fŵ(x) = y - g(w * ) + g(w * ) - fŵ(x)
Uncertianity In AI
What is the Goal of this:
y - fŵ(x) = y - g(w * ) + g(w * ) - fŵ(x)?
Break difference between the actual value (y) & the AI’s prediction (fŵ(x)) into 2 types of uncertainty
Uncertainty in AI
What is the Aleatoric Uncertainty in:
y - fŵ(x) = y - g(w * ) + g(w * ) - fŵ(x)
** y - g(w * ) **
- Error of the best possible model (g(w * ))
- g (true model) and w (true parameters) are not known to use
Uncertainty in AI
What is the Epistemic Uncertainty in:
y - fŵ(x) = y - g(w * ) + g(w * ) - fŵ(x)
** g(w * ) - fŵ(x)**
- Error of our model fŵ(x) VS. g(w * )
Uncertainty in AI
What is model family?
The best possible type modle to use (e.g Linear Regression / Neural Network)
Uncertianty in AI
What happens to the equation when we know the model family?
y - fŵ(x) = y - f(w * ) + f(w * ) - fŵ(x)
Does w * = ŵ?
Not typically beacuse we only see a finite amount of data
Uncertainty in AI
How can total error be split?
- Randomness from enivroment
- Lack of knowledge about the world
Uncertainty in AI
What is the Bayesian Perspective?
- Uncertainty is represented as probability distribution (prior belief [incorporate prior knowledge]) over a set of parameter values of the model, updated based on new data
- Computer starts with a guess (prior) & gets smater when it sees new info
- Treats model parameters (w) as random
- Data is seen as non-random
- Guesses the uncertainties explicitly (Probabiliites )
- e.g. starting a problem with a map
Uncertainty in AI
What is the Frequentist Prespective?
- Uncertainty is based on long-run frequencies of outocmes
- Data is treated as random, drawn from some unknown distrubution & model parameters are non-random
- Data used to estimate parameters
- Treats model as fixed, but unknown
- Data is RANDOM & we estimate parameters from the DATA
Solves problems without knowing how big it is
Won’t say how confident it is, instead gives a range
Uncertainty in AI
What is the difference between Bayesian & Frequntist in Interpretation of Probability?
-Bayesian: Probability as a degree of belief
-Frequentist: Probability as the long-run frequency of events
Uncertainty in AI
What is the difference between Bayesian & Frequntist in Handling of Uncertainty?
-Bayesian: Quantifies and update epistemic uncertainty
-Frequentist: Captured by confidence intervals or p-values, not beliefs
Uncertainty in AI
What is the difference between Bayesian & Frequntist in Use of Data?
-Bayesian: Incorporates prior knowledge & continuously updates
-Frequentist: Relies on observed data to estimate fixed model parameters
Uncertainty in AI
What are the reasons to handle uncertainty in AI?
- Improved Decision Making
- Better Model Generalization
- Robustness & Reliability
Uncertainty in AI
What is Improved Decision-Making?
Accounts for possible errors or unknowns
example:
- if uncertain, then patient should see doctor
- if uncertain, robot should avoid obstacle, defer action, , move closer & collect more data
- id uncertian, raise query to the humans (active learning)
Uncertainty in AI
What is Better Model Generalization?
Avoids overfititng to noisy data
Uncertainty in AI
What is Robustness and Reliabilty?
- Rdeucing epistemic uncertainty facilitates performance under unpredictable condtions
- Quantifies confidence & accuracy of your model help the human users take approriate decisions