1. Home
  2. Explore
  3. Computer Science
  4. Probabilistic Machine Learning

Study methods

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

Probabilistic Machine Learning

  • 72Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: AI History

What characterized the early approach to artificial intelligence?

72 questions

  1. 1

    What characterized the early approach to artificial intelligence?

    1. A

      It emphasized logic, search, and symbolic representations

    2. B

      It emphasized probabilistic programming and Bayesian inference

    3. C

      It emphasized convolutional networks and automatic differentiation

    4. D

      It emphasized very large data sets and stochastic optimization

    Correct answer
    A

    It emphasized logic, search, and symbolic representations

    Explanation

    Early AI research was based primarily on logic, search, and symbolic AI.

  2. 2

    What major change occurred in AI research during the 1980s and early 1990s?

    1. A

      Systems increasingly relied on manually written symbolic rules

    2. B

      Systems increasingly abandoned computational models of cognition

    3. C

      Systems increasingly focused only on robotics and physical control

    4. D

      Systems increasingly learned from data through machine learning

    Correct answer
    D

    Systems increasingly learned from data through machine learning

    Explanation

    Machine learning grew from a small AI subfield, shifting emphasis toward systems that learn from data.

  3. 3

    Why did neural networks generate substantial excitement in the 1980s?

    1. A

      They provided exact solutions to all major optimization problems

    2. B

      They eliminated the need for training data and computational resources

    3. C

      They seemed capable of linking neural processing with symbolic and subsymbolic cognition

    4. D

      They were immediately more effective than every other engineering method

    Correct answer
    C

    They seemed capable of linking neural processing with symbolic and subsymbolic cognition

    Explanation

    Connectionism was viewed as a possible new model for cognition and as a bridge between symbolic, subsymbolic, and neural processing.

  4. 4

    Why did interest in neural networks decline during the mid-1990s and early 2000s?

    1. A

      They were incompatible with all forms of statistical modeling

    2. B

      They required symbolic rules instead of numerical parameters

    3. C

      They could not represent nonlinear functions or learn from examples

    4. D

      They were difficult to train and had limited engineering performance

    Correct answer
    D

    They were difficult to train and had limited engineering performance

    Explanation

    Researchers became disillusioned because neural networks were complex to train and did not produce sufficiently strong engineering results.

  5. 5

    Which methods became more prominent when researchers turned away from neural networks?

    1. A

      Kernel methods, support vector machines, and probabilistic models

    2. B

      Reinforcement learning, robotics, and evolutionary algorithms only

    3. C

      Decision trees, handwritten rules, and physical simulations only

    4. D

      Speech recognition, online commerce, and self-driving cars

    Correct answer
    A

    Kernel methods, support vector machines, and probabilistic models

    Explanation

    Researchers turned toward mathematically elegant methods such as kernel methods, support vector machines, graphical models, and Bayesian inference.

  6. 6

    What enabled the deep learning revolution of the early 2010s?

    1. A

      The abandonment of industry investment and public interest

    2. B

      The reduction of neural networks to models with very few parameters

    3. C

      Improved architectures, larger data sets, greater computing power, and better software

    4. D

      The replacement of numerical optimization with manually designed rules

    Correct answer
    C

    Improved architectures, larger data sets, greater computing power, and better software

    Explanation

    Deep learning benefited from better architectures and algorithms, much more data and computation, improved software frameworks, and increased investment.

  7. 7

    How does the lecture distinguish autonomy from intelligence?

    1. A

      Autonomy concerns symbolic reasoning, whereas intelligence concerns neural biology

    2. B

      Autonomy concerns human cognition, whereas intelligence concerns machine hardware

    3. C

      Autonomy concerns statistical accuracy, whereas intelligence concerns data storage

    4. D

      Autonomy concerns independent decision-making, whereas intelligence concerns capability

    Correct answer
    D

    Autonomy concerns independent decision-making, whereas intelligence concerns capability

    Explanation

    An autonomous system can make decisions on its own; concerns about AI often arise from autonomy combined with insufficient intelligence rather than from intelligence itself.

  8. 8

    Why does the lecture argue that specialist AI systems should be valued?

    1. A

      Specialist systems require no data because their tasks are narrowly defined

    2. B

      Specialist systems can be extremely useful even without broad general abilities

    3. C

      Specialist systems are equivalent to the full flexibility of human intelligence

    4. D

      Specialist systems are always safer because they have no autonomy

    Correct answer
    B

    Specialist systems can be extremely useful even without broad general abilities

    Explanation

    The lecture emphasizes that highly specialized systems are incredibly useful and should not be dismissed in favor of general intelligence.

  9. 9

    What is a neural network, according to the lecture?

    1. A

      A fixed symbolic program containing manually written logical rules

    2. B

      A probability distribution containing no adjustable numerical quantities

    3. C

      A tunable nonlinear function with many parameters organized as connected computational elements

    4. D

      A biological model that reproduces the brain in complete detail

    Correct answer
    C

    A tunable nonlinear function with many parameters organized as connected computational elements

    Explanation

    Neural networks are tunable nonlinear functions whose parameters are weights, composed of simple computational elements organized in a network.

  10. 10

    Why are neural networks called neural networks?

    1. A

      They use only data collected from neurons and nervous systems

    2. B

      They reproduce the anatomy and physiology of biological brains exactly

    3. C

      They require biological neurons to perform their computations

    4. D

      They contain simple computational elements arranged in a network inspired by a simplified brain model

    Correct answer
    D

    They contain simple computational elements arranged in a network inspired by a simplified brain model

    Explanation

    The name reflects inspiration from a highly simplified model of how the brain works, not an exact biological reproduction.

  11. 11

    What makes a neural network 'deep'?

    1. A

      Its input-output function is composed through many layers of computation

    2. B

      Its training data contain many different categories

    3. C

      Its parameters are represented with high numerical precision

    4. D

      Its individual computational elements are biologically realistic

    Correct answer
    A

    Its input-output function is composed through many layers of computation

    Explanation

    A deep model represents a nonlinear function as a composition of functions across many computational layers.

  12. 12

    How are deep neural networks commonly trained?

    1. A

      Using exact enumeration of every possible network configuration

    2. B

      Using likelihood-based objectives and variants of stochastic gradient descent

    3. C

      Using only manually specified logical deductions and symbolic search

    4. D

      Using biological evolution without an explicit error or likelihood objective

    Correct answer
    B

    Using likelihood-based objectives and variants of stochastic gradient descent

    Explanation

    Training commonly uses maximum likelihood or penalized likelihood together with stochastic gradient descent optimization.

  13. 13

    What is the role of automatic differentiation in deep learning?

    1. A

      It automatically selects the correct training data without measuring errors

    2. B

      It converts every neural network into a symbolic logic system

    3. C

      It removes the need for parameters and objective functions

    4. D

      It makes derivatives through computational programs easier to obtain for optimization

    Correct answer
    D

    It makes derivatives through computational programs easier to obtain for optimization

    Explanation

    Automatic differentiation accelerates training by computing derivatives needed for gradient-based optimization.

  14. 14

    Why are very large neural network models often effective?

    1. A

      Their flexibility allows them to work without substantial training data

    2. B

      Their many parameters make optimization unnecessary

    3. C

      Their flexible parameterizations can represent complex relationships in data

    4. D

      Their large size guarantees that they cannot overfit any data set

    Correct answer
    C

    Their flexible parameterizations can represent complex relationships in data

    Explanation

    Very flexible, large models can be powerful, but their successful training generally requires sufficient data and computation.

  15. 15

    Why might simulated data be useful for training deep models?

    1. A

      It eliminates the need for an appropriate model architecture

    2. B

      It allows models to learn without any assumptions about the target task

    3. C

      It guarantees that the model will be free of bias and uncertainty

    4. D

      It can supplement training when sufficiently large real-world data sets are unavailable

    Correct answer
    D

    It can supplement training when sufficiently large real-world data sets are unavailable

    Explanation

    When huge real data sets are unavailable, simulated data can sometimes provide training examples.

  16. 16

    Why are layers often designed to remain close to the identity function?

    1. A

      This makes it easier to stack many computational layers

    2. B

      This ensures that every layer performs exactly the same computation

    3. C

      This removes the need for stochastic optimization

    4. D

      This prevents the network from learning nonlinear relationships

    Correct answer
    A

    This makes it easier to stack many computational layers

    Explanation

    Keeping each layer somewhat close to the identity function helps construct and train deeper networks.

  17. 17

    What does parameter tying accomplish in neural network design?

    1. A

      It prevents the model from reusing learned representations

    2. B

      It forces every parameter to have a different value

    3. C

      It replaces data with manually written causal explanations

    4. D

      It encodes symmetries or shared structure in the data

    Correct answer
    D

    It encodes symmetries or shared structure in the data

    Explanation

    Parameter tying represents symmetries and shared structure; convolutional, recurrent, and graph neural networks use related ideas.

  18. 18

    Why are learned internal representations valuable?

    1. A

      A model trained on one task can sometimes be adapted to other tasks with little additional data

    2. B

      They ensure that the original model can perform only the task on which it was trained

    3. C

      They eliminate the need to optimize the original network

    4. D

      They make all predictions automatically interpretable

    Correct answer
    A

    A model trained on one task can sometimes be adapted to other tasks with little additional data

    Explanation

    Pretrained representations can be reused, allowing models to learn new tasks from relatively few additional examples.

  19. 19

    Which limitation is especially associated with deep learning models?

    1. A

      They cannot be trained using gradient-based optimization

    2. B

      They cannot represent nonlinear functions

    3. C

      They often require large amounts of data and computation

    4. D

      They always provide perfectly calibrated uncertainty estimates

    Correct answer
    C

    They often require large amounts of data and computation

    Explanation

    Deep models are often data hungry and computationally intensive during both training and deployment.

  20. 20

    Why can deep learning models be difficult to optimize?

    1. A

      They contain no numerical parameters to adjust

    2. B

      They can be optimized only with symbolic logical inference

    3. C

      Their optimization objectives are generally non-convex and involve many choices

    4. D

      Their objectives are always convex and therefore have too few possible solutions

    Correct answer
    C

    Their optimization objectives are generally non-convex and involve many choices

    Explanation

    Non-convex objectives and numerous optimization choices make deep learning models finicky to train.

  21. 21

    What is a major concern about the interpretability of deep learning models?

    1. A

      They are transparent because every parameter has a direct symbolic meaning

    2. B

      They expose every internal reasoning step in a simple human-readable form

    3. C

      They can function as opaque black boxes that are difficult to explain or trust

    4. D

      They cannot make predictions unless a human supplies each intermediate conclusion

    Correct answer
    C

    They can function as opaque black boxes that are difficult to explain or trust

    Explanation

    Deep learning models are often difficult to interpret, which can limit transparency and trust.

  22. 22

    What is the main purpose of probabilistic modeling in machine learning?

    1. A

      To replace all observed data with symbolic assumptions

    2. B

      To guarantee that every model has a simple structure

    3. C

      To eliminate uncertainty by selecting one unquestionable hypothesis

    4. D

      To represent uncertainty and noise mathematically using probability theory

    Correct answer
    D

    To represent uncertainty and noise mathematically using probability theory

    Explanation

    Probabilistic modeling uses probability theory to express uncertainty and noise associated with models and observations.

  23. 23

    What does a scientific or engineering model describe?

    1. A

      A fixed set of conclusions that cannot be falsified

    2. B

      Only the internal parameters that cannot be measured

    3. C

      Data that could be observed from a system

    4. D

      The preferences of the researcher without reference to observations

    Correct answer
    C

    Data that could be observed from a system

    Explanation

    A model describes possible observations from a system, allowing its adequacy to be assessed by comparing it with data.

  24. 24

    In the probabilistic framework described, what counts as a hypothesis?

    1. A

      Only quantities that are known with complete certainty

    2. B

      Only the final prediction produced by a trained model

    3. C

      Any uncertain quantity, including parameters, structure, or assumptions

    4. D

      Only directly measured observations in the data set

    Correct answer
    C

    Any uncertain quantity, including parameters, structure, or assumptions

    Explanation

    Data are observed quantities; everything else that is uncertain, such as model parameters and structure, is treated as a hypothesis.

  25. 25

    What does Bayes' rule accomplish in learning from data?

    1. A

      It removes prior knowledge before evaluating the likelihood

    2. B

      It updates a prior distribution into a posterior distribution after observing data

    3. C

      It compares observations without representing uncertainty

    4. D

      It converts every data set into a single deterministic parameter value

    Correct answer
    B

    It updates a prior distribution into a posterior distribution after observing data

    Explanation

    Bayes' rule updates knowledge from before observing data to knowledge after observing data.

  26. 26

    What is a prior distribution?

    1. A

      A distribution obtained by averaging predictions over future data

    2. B

      A probability distribution representing only measurement errors after training

    3. C

      A deterministic choice of the most complex available model

    4. D

      A probability distribution representing uncertainty before observing the current data

    Correct answer
    D

    A probability distribution representing uncertainty before observing the current data

    Explanation

    The prior represents the range of hypotheses considered plausible before the data are observed.

  27. 27

    What is the likelihood of a hypothesis?

    1. A

      The probability of every possible hypothesis averaged without data

    2. B

      The probability that the model has the fewest parameters

    3. C

      The probability of observing the data given that hypothesis

    4. D

      The probability of the hypothesis before observing any data

    Correct answer
    C

    The probability of observing the data given that hypothesis

    Explanation

    The likelihood measures how probable the observed data are under a particular hypothesis.

  28. 28

    How is a posterior distribution formed in Bayes' rule?

    1. A

      The data are divided by the number of model parameters

    2. B

      The prior and likelihood are added without any normalization

    3. C

      The prior and likelihood are multiplied and then normalized

    4. D

      The likelihood is discarded and only the prior is retained

    Correct answer
    C

    The prior and likelihood are multiplied and then normalized

    Explanation

    The posterior is proportional to the prior multiplied by the likelihood, followed by normalization over the hypotheses.

  29. 29

    How should Bayesian prediction account for uncertain model parameters?

    1. A

      It should ignore parameter uncertainty after computing the likelihood

    2. B

      It should select the parameter value that produces the most complex prediction

    3. C

      It should average predictions over parameter values weighted by their posterior probabilities

    4. D

      It should always use only the single parameter value with the highest prior probability

    Correct answer
    C

    It should average predictions over parameter values weighted by their posterior probabilities

    Explanation

    Bayesian prediction integrates or sums predictions across possible parameter values using the posterior as the weighting distribution.

  30. 30

    What is the relationship between Bayes' rule and the sum and product rules?

    1. A

      Bayes' rule replaces the sum rule but does not use the product rule

    2. B

      Bayes' rule is a corollary of the sum rule and the product rule

    3. C

      Bayes' rule is independent of all other rules of probability

    4. D

      Bayes' rule applies only to continuous variables and not to probability rules

    Correct answer
    B

    Bayes' rule is a corollary of the sum rule and the product rule

    Explanation

    The lecture describes Bayes' rule as following from two simpler probability identities: the sum rule and the product rule.

  31. 31

    What is Bayesian Occam's razor?

    1. A

      A method that always selects the model with the greatest number of parameters

    2. B

      A procedure that prevents any model from fitting the observations closely

    3. C

      An automatic preference for models whose complexity is supported by the data

    4. D

      A rule requiring the simplest model regardless of the observed data

    Correct answer
    C

    An automatic preference for models whose complexity is supported by the data

    Explanation

    Bayesian model comparison penalizes unnecessary complexity while retaining complexity that the data support.

  32. 32

    What is overfitting in the polynomial example?

    1. A

      Using a model whose parameters are averaged rather than optimized

    2. B

      Using a model that ignores all observed points and relies only on its prior

    3. C

      Using a model that is too simple to represent any pattern in the data

    4. D

      Using a model so flexible that it fits the observed points without sufficient generalization

    Correct answer
    D

    Using a model so flexible that it fits the observed points without sufficient generalization

    Explanation

    A seventh-order polynomial can exactly fit eight data points, but such a fit may capture noise rather than useful underlying structure.

  33. 33

    What is underfitting?

    1. A

      Using a model with uncertainty about its parameters

    2. B

      Failing to represent enough structure in the observed data

    3. C

      Representing every observed point with an excessively flexible model

    4. D

      Averaging predictions over all possible parameter values

    Correct answer
    B

    Failing to represent enough structure in the observed data

    Explanation

    Underfitting occurs when a model is not flexible enough to capture important structure in the data.

  34. 34

    What is the marginal likelihood?

    1. A

      The likelihood evaluated only at the single best parameter estimate

    2. B

      The prediction made without conditioning on observed data

    3. C

      The likelihood averaged over parameters according to their prior distribution

    4. D

      The posterior probability of the most complex model

    Correct answer
    C

    The likelihood averaged over parameters according to their prior distribution

    Explanation

    The marginal likelihood is obtained by integrating the likelihood with respect to the prior over parameters.

  35. 35

    Why does marginal likelihood penalize overly complex models?

    1. A

      A simple data set may be surprising under a highly complex model across its parameter space

    2. B

      Complex models are assigned zero prior probability by definition

    3. C

      Complex models cannot produce predictions for observed data

    4. D

      The marginal likelihood ignores all parameter values except the simplest one

    Correct answer
    A

    A simple data set may be surprising under a highly complex model across its parameter space

    Explanation

    Because marginal likelihood averages over parameters, a complex model that spreads probability broadly may assign low probability to a particular simple data set.

  36. 36

    What does the quantity log⁡2(1/P(D∣M))\log_2(1/P(D\mid M))log2​(1/P(D∣M)) represent?

    1. A

      The average prediction error of model MMM measured in data points

    2. B

      The number of bits of surprise in observing data DDD under model MMM

    3. C

      The posterior probability of model MMM after observing data DDD

    4. D

      The number of parameters required to define model MMM

    Correct answer
    B

    The number of bits of surprise in observing data DDD under model MMM

    Explanation

    The logarithm base 222 of the reciprocal marginal likelihood has an information-theoretic interpretation as the surprise, in bits, of the data under the model.

  37. 37

    Which task can Bayesian Occam's razor support?

    1. A

      Selecting the number of clusters or the structure of a model from data

    2. B

      Replacing all model comparison with a fixed complexity threshold

    3. C

      Guaranteeing that every input variable is relevant to prediction

    4. D

      Determining the correct model without considering any observations

    Correct answer
    A

    Selecting the number of clusters or the structure of a model from data

    Explanation

    Bayesian model selection can help identify clusters, dimensionality, relevant inputs, dynamical-system order, hidden states, and model structures.

  38. 38

    Why are calibrated uncertainties important in AI systems?

    1. A

      They help systems recognize when they may not know the correct answer

    2. B

      They ensure that all predictions have identical confidence levels

    3. C

      They guarantee that the system will never make an incorrect decision

    4. D

      They allow systems to avoid using data in critical applications

    Correct answer
    A

    They help systems recognize when they may not know the correct answer

    Explanation

    Calibrated uncertainty is especially important when AI decisions affect safety or health, because the system should indicate when it may be unreliable.

  39. 39

    Why is uncertainty useful in active learning and reinforcement learning?

    1. A

      It removes the need to choose actions under incomplete information

    2. B

      It restricts the system to repeating only previously observed actions

    3. C

      It guarantees that exploration will always outperform exploitation

    4. D

      It supports decisions about exploration, information gathering, and exploitation

    Correct answer
    D

    It supports decisions about exploration, information gathering, and exploitation

    Explanation

    Uncertainty is central to exploration-exploitation trade-offs and to deciding which information or actions are valuable.

  40. 40

    How can Bayesian methods help when data are scarce?

    1. A

      They avoid representing assumptions so that small data sets remain unbiased

    2. B

      They require more data than deep learning in every application

    3. C

      They can combine prior knowledge with limited observations in a coherent way

    4. D

      They replace observations with arbitrary guesses about the model

    Correct answer
    C

    They can combine prior knowledge with limited observations in a coherent way

    Explanation

    Bayesian inference incorporates prior knowledge and updates it with data, making it useful when large data sets are unavailable.

  41. 41

    What happens to a Bayesian neural network with infinitely many hidden units in one hidden layer under the result described?

    1. A

      It stops being a probabilistic model because it has too many units

    2. B

      It becomes a deterministic linear regression model with no uncertainty

    3. C

      It converges to a stochastic process known as a Gaussian process

    4. D

      It becomes a symbolic logic engine with no numerical parameters

    Correct answer
    C

    It converges to a stochastic process known as a Gaussian process

    Explanation

    A Bayesian neural network with infinitely many hidden units in one layer converges to a Gaussian process.

  42. 42

    What is the relationship between wide deep networks and Gaussian processes?

    1. A

      Gaussian processes can represent only shallow networks and never deep ones

    2. B

      Gaussian-process behavior occurs only when the network has one parameter

    3. C

      Wide deep networks are unrelated to kernel methods or stochastic processes

    4. D

      Deep networks with sufficiently wide layers can also converge to Gaussian-process behavior

    Correct answer
    D

    Deep networks with sufficiently wide layers can also converge to Gaussian-process behavior

    Explanation

    The lecture notes that even deep models can converge to Gaussian processes when their layers are sufficiently wide.

  43. 43

    How are Gaussian processes related to kernel machines?

    1. A

      Gaussian processes can be viewed as Bayesian versions of kernel machines

    2. B

      Gaussian processes do not use probability distributions over functions

    3. C

      Gaussian processes are deterministic versions of support vector machines

    4. D

      Kernel machines are special cases of biological neural networks only

    Correct answer
    A

    Gaussian processes can be viewed as Bayesian versions of kernel machines

    Explanation

    Gaussian processes are described as Bayesian kernel machines, related to methods such as support vector machines.

  44. 44

    Why are approximation methods needed in Bayesian deep learning?

    1. A

      Neural networks cannot be represented using parameters

    2. B

      Approximation methods are used only to increase model complexity

    3. C

      Bayesian models contain no probability distributions to compute

    4. D

      Exact Bayesian inference often requires intractable integrals or averages

    Correct answer
    D

    Exact Bayesian inference often requires intractable integrals or averages

    Explanation

    Methods such as Laplace approximations, variational inference, Monte Carlo, and dropout approximate the computations required for Bayesian inference.

  45. 45

    What is a key goal of Bayesian deep learning away from the observed data?

    1. A

      To remove all predictions outside the training distribution

    2. B

      To guarantee that extrapolation is always more accurate than interpolation

    3. C

      To provide uncertainty indicating when the model may not know the correct answer

    4. D

      To make the model produce the same confidence for every possible input

    Correct answer
    C

    To provide uncertainty indicating when the model may not know the correct answer

    Explanation

    A major goal is to obtain useful uncertainty estimates, particularly for inputs unlike the training data.

  46. 46

    What is a mixture model?

    1. A

      A single deterministic function with no latent structure

    2. B

      A model that can represent only normally distributed observations

    3. C

      A neural network containing only one computational unit

    4. D

      A probability distribution formed as a combination of simpler distributions

    Correct answer
    D

    A probability distribution formed as a combination of simpler distributions

    Explanation

    Mixture models represent complicated probability distributions as a superposition of simpler distributions.

  47. 47

    What is a deep sum-product network?

    1. A

      A compact deep representation of a potentially exponentially large mixture model

    2. B

      A shallow regression model that contains no latent variables

    3. C

      A symbolic system that cannot represent probability distributions

    4. D

      A deterministic network designed only for image classification

    Correct answer
    A

    A compact deep representation of a potentially exponentially large mixture model

    Explanation

    Deep sum-product networks provide efficient deep representations of flexible mixture models.

  48. 48

    Which capability distinguishes deep sum-product networks from many ordinary predictive models?

    1. A

      They can compute likelihoods, marginalization, and conditioning exactly

    2. B

      They can be used only as discriminative classifiers

    3. C

      They cannot handle missing observations or unusual data points

    4. D

      They require no training data or numerical optimization

    Correct answer
    A

    They can compute likelihoods, marginalization, and conditioning exactly

    Explanation

    The lecture highlights exact likelihood computation, efficient exact marginalization and conditioning, missing-data handling, and outlier detection.

  49. 49

    What two broad roles can deep sum-product networks serve?

    1. A

      They can function only as symbolic reasoners and theorem provers

    2. B

      They can function only as unsupervised clustering algorithms

    3. C

      They can function as both generative and discriminative models

    4. D

      They can function only as deterministic control systems

    Correct answer
    C

    They can function as both generative and discriminative models

    Explanation

    Deep sum-product networks can be used in both generative and discriminative settings.

  50. 50

    What is a probabilistic programming language?

    1. A

      A language that removes hidden variables from all scientific models

    2. B

      A language used exclusively to label training examples manually

    3. C

      A language that expresses only fixed algebraic equations without randomness

    4. D

      A language for expressing models as programs that generate data or simulate systems

    Correct answer
    D

    A language for expressing models as programs that generate data or simulate systems

    Explanation

    Probabilistic programming expresses scientific or engineering models as computer programs capable of generating possible data sets.

  51. 51

    What makes a probabilistic programming language universal?

    1. A

      It can express any computable probability distribution

    2. B

      It can perform inference only for hidden Markov models

    3. C

      It can compute only distributions with a finite number of parameters

    4. D

      It can simulate data but cannot represent uncertainty

    Correct answer
    A

    It can express any computable probability distribution

    Explanation

    A universal probabilistic programming language is powerful enough to express any computable probability distribution.

  52. 52

    What does a universal inference engine do?

    1. A

      It replaces the probabilistic program with a fixed neural network

    2. B

      It generates data without using the model or observed evidence

    3. C

      It performs only forward simulation and never reverses the inference process

    4. D

      It automatically infers hidden variables and parameters from data in a probabilistic program

    Correct answer
    D

    It automatically infers hidden variables and parameters from data in a probabilistic program

    Explanation

    A universal inference engine performs Bayesian inference over hidden variables and parameters given observations.

  53. 53

    How does inference in a probabilistic program differ from ordinary forward simulation?

    1. A

      Inference removes all uncertainty before running the program

    2. B

      Inference generates random data without conditioning on observations

    3. C

      Inference reasons backward from observed data to plausible hidden parameters

    4. D

      Inference changes every probabilistic model into a deterministic equation

    Correct answer
    C

    Inference reasons backward from observed data to plausible hidden parameters

    Explanation

    Forward simulation generates data from parameters; inference uses observed data to infer which hidden parameters could have generated it.

  54. 54

    Which combination best matches the mathematical tools associated with major AI capabilities?

    1. A

      Bayesian inference for perception only, symbolic search for all learning, and no formal tools for decisions

    2. B

      Decision theory for perception, logic for data collection, and deep learning only for legal regulation

    3. C

      Deep learning for perception, Bayesian inference for learning, logic for reasoning, and decision theory for decisions

    4. D

      Control theory for perception, deep learning for ethics, and logic only for numerical optimization

    Correct answer
    C

    Deep learning for perception, Bayesian inference for learning, logic for reasoning, and decision theory for decisions

    Explanation

    The lecture associates perception with deep learning, learning with Bayesian inference and optimization, reasoning with logic and probability, and decision-making with decision and control theories.

  55. 55

    What may be missing despite the availability of many mathematical principles for AI?

    1. A

      A way to represent data because AI systems cannot process observations

    2. B

      Better approximations for intractable computations, inference methods, optimization, data, and compute

    3. C

      Any mathematical foundation for perception, learning, reasoning, or decision-making

    4. D

      All possibility of using probability theory in machine intelligence

    Correct answer
    B

    Better approximations for intractable computations, inference methods, optimization, data, and compute

    Explanation

    The challenge may lie less in lacking principles and more in approximating difficult computations and obtaining sufficient algorithms, data, and computing resources.

  56. 56

    What is one major opportunity AI creates for science and technology?

    1. A

      It guarantees that scientific research will no longer require human judgment

    2. B

      It restricts scientific discovery to tasks that can be solved symbolically

    3. C

      It eliminates privacy concerns by making data collection unnecessary

    4. D

      It can accelerate progress in other scientific and technological fields

    Correct answer
    D

    It can accelerate progress in other scientific and technological fields

    Explanation

    AI offers the opportunity to accelerate other areas of science and technology.

  57. 57

    What tension arises when AI systems use large amounts of data?

    1. A

      The usefulness of automation must be balanced against avoiding all computation

    2. B

      The accuracy of predictions must be balanced against using any software

    3. C

      The need for data must be balanced against eliminating all model uncertainty

    4. D

      The value provided to users must be balanced against privacy concerns

    Correct answer
    D

    The value provided to users must be balanced against privacy concerns

    Explanation

    Because AI is often data driven, the benefits of data use must be weighed against privacy risks.

  58. 58

    How can AI systems be both difficult to interpret and potentially more transparent than humans?

    1. A

      Their internal reasoning is always understandable, while human behavior cannot be observed

    2. B

      Their code is inaccessible, while human decisions are always fully documented

    3. C

      Their predictions are transparent only because they do not use data

    4. D

      Their learned behavior may be opaque, while their code can still be examined directly

    Correct answer
    D

    Their learned behavior may be opaque, while their code can still be examined directly

    Explanation

    AI systems can be hard to explain, but examining their code may offer a form of transparency unavailable for human decision-making.

  59. 59

    Why does granting autonomy to an AI system create risks?

    1. A

      An autonomous system can make consequential decisions without direct human control

    2. B

      Autonomy guarantees that the system will ignore laws and regulations

    3. C

      An autonomous system necessarily has greater intelligence than every human

    4. D

      Autonomy prevents a system from following any programmed constraints

    Correct answer
    A

    An autonomous system can make consequential decisions without direct human control

    Explanation

    Autonomy gives a system the ability to act or decide independently, which can create risks when its actions have societal consequences.

  60. 60

    Why can AI affect power dynamics in society?

    1. A

      It affects power only when systems are used for entertainment

    2. B

      It can only distribute power evenly because algorithms are neutral

    3. C

      It can only reduce individual power because all AI access is centralized

    4. D

      It can concentrate power in institutions while also empowering individuals with new capabilities

    Correct answer
    D

    It can concentrate power in institutions while also empowering individuals with new capabilities

    Explanation

    AI may concentrate power, but it can also empower individuals through tools that provide specialized abilities.

  61. 61

    Why is diversity among AI developers important for fairness?

    1. A

      A diverse development community can better represent the varied users affected by AI systems

    2. B

      Diversity guarantees that an algorithm will contain no statistical error

    3. C

      Diversity ensures that all users will receive identical predictions

    4. D

      Diverse teams eliminate the need to inspect training data and model outputs

    Correct answer
    A

    A diverse development community can better represent the varied users affected by AI systems

    Explanation

    The lecture identifies diverse and representative designers as one important way to promote fairness for diverse users.

  62. 62

    Where can bias enter an AI model according to the lecture?

    1. A

      It can enter only through hardware defects and never through data

    2. B

      It can enter through designers, data labelers, and human-generated training data

    3. C

      It can enter only after deployment and never during model development

    4. D

      It can enter only when a model uses probability rather than logic

    Correct answer
    B

    It can enter through designers, data labelers, and human-generated training data

    Explanation

    Values and biases can be introduced by designers, labelers, and the human language or interactions used as training data.

  63. 63

    What are model cards and data cards intended to improve?

    1. A

      They guarantee that a system's predictions are causally correct

    2. B

      They replace the need for diverse development teams

    3. C

      They increase the number of neural network layers automatically

    4. D

      They improve transparency about models and the data used with them

    Correct answer
    D

    They improve transparency about models and the data used with them

    Explanation

    Model cards and data cards are examples of technical tools intended to increase transparency and support responsible AI development.

  64. 64

    Why is causal reasoning important for an intelligent system that acts?

    1. A

      Acting requires no model of consequences if the system has enough parameters

    2. B

      Causal reasoning is needed only to classify already observed images

    3. C

      The system needs to predict the effects of possible actions in the world

    4. D

      Causal reasoning replaces all forms of probability and decision theory

    Correct answer
    C

    The system needs to predict the effects of possible actions in the world

    Explanation

    An acting system must understand how interventions may produce effects, making causal models important for selecting appropriate actions.

  65. 65

    What position on counterfactuals is presented in the lecture?

    1. A

      Counterfactual reasoning is required for every Bayesian prediction

    2. B

      Causal inference may be possible without relying on counterfactuals

    3. C

      Causal inference is impossible unless every counterfactual is observed

    4. D

      Counterfactuals are identical to directly measured data

    Correct answer
    B

    Causal inference may be possible without relying on counterfactuals

    Explanation

    The lecturer supports the possibility of causal inference without counterfactuals and prefers grounding in observed or potentially observable data.

  66. 66

    How can a thermostat illustrate constrained autonomy?

    1. A

      It has no sensors or decision-making mechanism of any kind

    2. B

      It independently adjusts temperature within parameters established by humans

    3. C

      It obeys laws only because it possesses human-level intelligence

    4. D

      It makes unrestricted decisions about all aspects of household life

    Correct answer
    B

    It independently adjusts temperature within parameters established by humans

    Explanation

    A thermostat senses conditions and adjusts temperature autonomously, but its behavior is constrained by human-designed parameters.

  67. 67

    How might a self-driving car be regulated according to the lecture?

    1. A

      It could operate without constraints because autonomy prevents regulation

    2. B

      It could be programmed to follow traffic laws and governed by regulatory systems

    3. C

      It would be exempt from traffic laws because it is not a human driver

    4. D

      It would be regulated only by the training data and not by law

    Correct answer
    B

    It could be programmed to follow traffic laws and governed by regulatory systems

    Explanation

    A self-driving car can be programmed to obey traffic laws and can also be subject to regulatory environments, potentially with stricter requirements.

  68. 68

    What is a major reason humans can learn concepts from fewer examples than many deep networks?

    1. A

      Humans learn without making assumptions about the world

    2. B

      Humans can exploit prior knowledge and structured representations

    3. C

      Humans always use larger computational resources than neural networks

    4. D

      Humans require millions of labeled examples for ordinary concepts

    Correct answer
    B

    Humans can exploit prior knowledge and structured representations

    Explanation

    The discussion favors approaches such as Bayesian model selection that can use prior structure to learn from small data sets.

  69. 69

    What did Bayesian model selection achieve in the artificial-language example?

    1. A

      It required tens of millions of sequences before finding any structure

    2. B

      It learned only a discriminative label and not a generative model

    3. C

      It could identify an appropriate generative model from roughly ten or twenty examples

    4. D

      It succeeded only after removing all prior assumptions

    Correct answer
    C

    It could identify an appropriate generative model from roughly ten or twenty examples

    Explanation

    Bayesian hidden Markov model selection was described as learning the correct generative structure from as few as ten or twenty examples in some cases.

  70. 70

    When comparing a large non-Bayesian model with a smaller Bayesian model, what factor favors the larger model?

    1. A

      A small data set always favors the largest possible model

    2. B

      High uncertainty always favors abandoning Bayesian treatment

    3. C

      A tremendous amount of available data can favor training a larger model

    4. D

      Limited computation always favors using the deepest possible architecture

    Correct answer
    C

    A tremendous amount of available data can favor training a larger model

    Explanation

    The lecture suggests that with tremendous amounts of data, training larger models may often be beneficial.

  71. 71

    When may a more calibrated Bayesian treatment of a smaller model be preferable?

    1. A

      When the model must avoid representing any prior knowledge

    2. B

      When data are abundant and uncertainty is irrelevant to the application

    3. C

      When the task requires no predictions about future observations

    4. D

      When the available data are limited and uncertainty estimation is especially valuable

    Correct answer
    D

    When the available data are limited and uncertainty estimation is especially valuable

    Explanation

    With smaller amounts of data, spending computation on more calibrated uncertainty can often be worthwhile.

  72. 72

    What is one proposed compromise between very large models and expensive Bayesian inference?

    1. A

      Train a large model while cheaply retraining selected subparts to improve uncertainty estimates

    2. B

      Discard the large model and replace all computation with handwritten rules

    3. C

      Increase the data set while preventing any form of probabilistic calibration

    4. D

      Use a small model without uncertainty and assume its predictions are reliable

    Correct answer
    A

    Train a large model while cheaply retraining selected subparts to improve uncertainty estimates

    Explanation

    The lecture describes methods that retain large models while retraining smaller portions to approximate more expensive Bayesian uncertainty treatment.

Question 1 of 72
Question 1 of 72

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent