1. Home
  2. Explore
  3. Computer Science
  4. Probability and Uncertainty in AI

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Probability and Uncertainty in AI

  • 65Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Uncertainty Models
  • spaceFlip card
  • KI knew it
  • DI didn't know it
  • ←Previous card
  • →Next card

What role does probabilistic reasoning play in AI?

Tap to flipClick to flipspace

It provides a formal way to represent and reason about uncertainty.

Or swipe the card

65 cards

  1. What role does probabilistic reasoning play in AI?

    It provides a formal way to represent and reason about uncertainty.

  2. Why can symbolic rules alone be insufficient for modeling the real world?

    Real-world models may be incomplete or impossible to compute fully, leaving uncertainty about outcomes.

  3. What is a probabilistic model?

    A description of random variables and the probabilistic relationships among them.

  4. What is evidence in a probabilistic model?

    The observed values of variables that are known.

  5. What is a query variable?

    A variable whose value or distribution is the target of an inference question.

  6. What are hidden variables in probabilistic inference?

    Variables whose values are unknown and are not part of the query.

  7. How is uncertainty in a sensor represented?

    With random variables and probabilities describing possible sensor readings under different conditions.

  8. In the Ghostbusters example, what are the prior and posterior distributions?

    The prior describes ghost-location probabilities before readings; the posterior describes them after conditioning on readings.

  9. What is the value-of-information question in the Ghostbusters example?

    Whether the benefit of another sensor reading is worth its cost.

  10. Why might the most likely outcome not be the best action?

    The best action depends on expected utility, not probability alone.

  11. What is a random variable?

    A named aspect of the world whose possible values represent outcomes of interest.

  12. How are random variables and their values commonly distinguished in probability notation?

    Variables use capital letters, while particular values commonly use corresponding lowercase letters.

  13. What shorthand can represent the true and false values of a Boolean variable RRR?

    +r+r+r means RRR is true, and −r-r−r means RRR is false.

  14. What kinds of domains can random variables have?

    Binary, discrete nonbinary, structured, or continuous domains.

  15. How do probability calculations change for continuous variables?

    Sums over discrete values generally become integrals over continuous values.

  16. What does a probability distribution over a discrete variable provide?

    A probability for each value in that variable’s domain.

  17. What is the difference between P(W)P(W)P(W) and P(W=w)P(W=w)P(W=w)?

    P(W)P(W)P(W) is the full distribution over WWW; P(W=w)P(W=w)P(W=w) is one scalar probability for a particular value.

  18. What conditions must a discrete probability distribution satisfy?

    Every probability must be nonnegative, and all probabilities must sum to 111.

  19. Why are exact zero probabilities usually avoided in practical models?

    A zero rules out an outcome permanently, even if later evidence would otherwise support it.

  20. When may a value be written without naming its variable, as in P(hot)P(\text{hot})P(hot)?

    When the variable associated with that value is unambiguous.

  21. What does a joint distribution over several variables specify?

    A probability for every complete assignment of values to those variables.

  22. Why does a full joint distribution become impractical as the number of variables grows?

    Its number of entries grows exponentially with the number of variables.

  23. How does a probabilistic model differ from a CSP over the same variables?

    A CSP marks assignments as legal or illegal; a probabilistic model assigns probabilities to assignments.

  24. What is an event in a probabilistic model?

    A set of possible outcomes.

  25. How do you find the probability of an event containing multiple outcomes?

    Add the probabilities of all outcomes in the event.

  26. What does it mean for an outcome to be consistent with a partial assignment?

    The outcome agrees with every variable value specified in that assignment.

  27. How would you compute the probability that it is hot from a joint distribution over temperature and weather?

    Add the probabilities of all rows in which temperature is hot.

  28. In the temperature-and-weather example, what is the probability of hot or sunny?

    0.70.70.7.

  29. What is a marginal distribution?

    A distribution over a subset of variables, with the other variables summed out.

  30. What does it mean to sum out a variable?

    For each assignment to the remaining variables, add the probabilities across all values of the eliminated variable.

  31. How do you calculate P(+x)P(+x)P(+x) from a joint distribution over XXX and YYY?

    Add the joint probabilities of all rows where XXX is true, regardless of YYY.

  32. Can marginal distributions alone generally recover the original joint distribution?

    No. Marginals omit information about how variables are related.

  33. What is the definition of a conditional probability?

    P(A∣B)=P(A,B)P(B)P(A\mid B)=\frac{P(A,B)}{P(B)}P(A∣B)=P(B)P(A,B)​

  34. How can you interpret P(A∣B)P(A\mid B)P(A∣B) using events?

    It is the fraction of the probability mass for BBB that also belongs to AAA.

  35. In the example joint table, how is P(sun∣cold)P(\text{sun}\mid\text{cold})P(sun∣cold) calculated?

    0.2/0.5=0.40.2/0.5=0.40.2/0.5=0.4.

  36. What is a conditional distribution?

    A distribution over a query variable’s values, given specified evidence.

  37. How does a conditional distribution differ from a marginal distribution?

    A conditional distribution incorporates evidence; a marginal distribution sums out other variables without conditioning on evidence.

  38. What is the select-and-normalize method for computing a conditional distribution?

    Select joint-distribution rows consistent with the evidence, then normalize the remaining probabilities.

  39. Why does normalizing selected rows produce the desired conditional probabilities?

    Each selected joint probability is divided by the total probability of the evidence.

  40. For the example table, what is P(X∣−y)P(X\mid -y)P(X∣−y)?

    P(+x∣−y)=0.75P(+x\mid -y)=0.75P(+x∣−y)=0.75 and P(−x∣−y)=0.25P(-x\mid -y)=0.25P(−x∣−y)=0.25.

  41. How can new evidence affect an agent’s beliefs?

    It can change the conditional probabilities assigned to query outcomes.

  42. When more variables become observed, what typically happens to selection and summing out?

    More outcomes are excluded by evidence, and fewer unknown variables may need to be summed out.

  43. Why is a full conditional distribution often more useful than one probability value?

    It supports choices such as selecting the most likely outcome or calculating expected utility.

  44. What is probabilistic inference?

    Computing a desired probability from other probabilities in a model.

  45. How are variables divided for a general inference query?

    Into evidence variables, query variables, and hidden variables.

  46. What are the steps of inference by enumeration?

    Select assignments consistent with evidence, sum out hidden variables, and normalize over the query values.

  47. Why are hidden variables summed out during inference by enumeration?

    Their possible values are not part of the answer, but all must be accounted for.

  48. In the example, what is the weather distribution before observing evidence?

    P(W=sun)=0.65P(W=\text{sun})=0.65P(W=sun)=0.65 and P(W=rain)=0.35P(W=\text{rain})=0.35P(W=rain)=0.35.

  49. In the example, how does observing winter change the weather distribution?

    It becomes P(W=sun∣winter)=0.5P(W=\text{sun}\mid\text{winter})=0.5P(W=sun∣winter)=0.5 and P(W=rain∣winter)=0.5P(W=\text{rain}\mid\text{winter})=0.5P(W=rain∣winter)=0.5.

  50. In the example, what weather distribution results from observing both winter and hot?

    P(W=sun∣winter,hot)=23P(W=\text{sun}\mid\text{winter},\text{hot})=\frac{2}{3}P(W=sun∣winter,hot)=32​ and P(W=rain∣winter,hot)=13P(W=\text{rain}\mid\text{winter},\text{hot})=\frac{1}{3}P(W=rain∣winter,hot)=31​.

  51. Why is inference by enumeration usually impractical for large models?

    It requires an exponentially large joint table and an exponentially large computation.

  52. Why can learning every entry of a full joint distribution also require extensive data?

    Each entry must be estimated, so a table with exponentially many entries can require exponentially much evidence.

  53. What is the purpose of using compact probabilistic models instead of full joint tables?

    To represent relationships in smaller pieces and make storage, learning, and inference more efficient.

  54. What does the product rule state?

    P(X,Y)=P(X∣Y)P(Y)P(X,Y)=P(X\mid Y)P(Y)P(X,Y)=P(X∣Y)P(Y)

  55. How can the product rule calculate the probability that a day is both wet and sunny?

    Multiply the probability of sun by the probability of wet given sun.

  56. What does a table of conditional distributions such as P(D∣W)P(D\mid W)P(D∣W) represent?

    A family of distributions, one for each value of the conditioning variable.

  57. What does the chain rule express for variables X1,…,XnX_1,\ldots,X_nX1​,…,Xn​?

    P(X1,…,Xn)=P(X1)∏i=2nP(Xi∣X1,…,Xi−1)P(X_1,\ldots,X_n)=P(X_1)\prod_{i=2}^{n}P(X_i\mid X_1,\ldots,X_{i-1})P(X1​,…,Xn​)=P(X1​)∏i=2n​P(Xi​∣X1​,…,Xi−1​)

  58. Why does multiplying the chain-rule factors recover a joint distribution?

    Each conditional factor contributes a joint probability divided by the joint of the preceding variables, causing intermediate terms to cancel.

  59. How can Bayes’ rule be derived from the product rule?

    Factor the same joint distribution in both directions and rearrange.

  60. What is Bayes’ rule?

    P(X∣Y)=P(Y∣X)P(X)P(Y)P(X\mid Y)=\frac{P(Y\mid X)P(X)}{P(Y)}P(X∣Y)=P(Y)P(Y∣X)P(X)​

  61. Why is Bayes’ rule useful in inference?

    It can turn a conditional probability that is available or easier to model into the reverse conditional that is needed.

  62. In medical diagnosis, how can Bayes’ rule relate symptoms to a possible cause?

    It can compute the probability of a condition given a symptom from the symptom probability given the condition and relevant prior probabilities.

  63. What does a symptom generally do to the probability of a rare condition in the meningitis example?

    It raises the probability above the prior, though the posterior can still remain small.

  64. Why might a person seek medical attention even when a condition remains unlikely?

    Because the expected utility of checking can be high when the cost of missing the condition is severe.

  65. How can a prior ghost-location distribution and a sensor model support localization?

    Bayesian inference combines the prior with sensor-reading probabilities to compute a posterior over ghost locations.

Card 1 of 65
Card 1 of 65

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent