1. Home
  2. Explore
  3. Computer Science
  4. Introduction to Deep Learning

Study methods

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

Introduction to Deep Learning

  • 66Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Deep Learning Foundations

Which combination best captures the two central components of deep learning described in the lecture?

66 questions

  1. 1

    Which combination best captures the two central components of deep learning described in the lecture?

    1. A

      Neural networks and differential programming

    2. B

      Decision trees and symbolic search

    3. C

      Database indexing and parallel sorting

    4. D

      Bayesian inference and reinforcement learning

    Correct answer
    A

    Neural networks and differential programming

    Explanation

    The lecture presents neural networks and differential programming as the two components that together make up deep learning.

  2. 2

    What generally distinguishes the neural network architectures used in deep learning?

    1. A

      They use only a single linear transformation without activation functions

    2. B

      They stack linear transformations with pointwise nonlinearities

    3. C

      They classify data exclusively through nearest-neighbor comparisons

    4. D

      They replace all numerical operations with symbolic rules

    Correct answer
    B

    They stack linear transformations with pointwise nonlinearities

    Explanation

    Neural networks are described as stacks of linear transformations interleaved with pointwise nonlinearities.

  3. 3

    What is differential programming?

    1. A

      A programming method that removes all parameters from a computational model

    2. B

      A programming paradigm that restricts models to predefined logical operations

    3. C

      A programming paradigm that optimizes parameterized parts of a program with gradients

    4. D

      A programming method that searches every possible program without using derivatives

    Correct answer
    C

    A programming paradigm that optimizes parameterized parts of a program with gradients

    Explanation

    Differential programming parameterizes parts of a program and uses gradient-based optimization to tune those parameters, often toward a local optimum.

  4. 4

    Why does the lecture emphasize both theory and practice in deep learning?

    1. A

      Theory is useful only for historical context, whereas practice creates all progress

    2. B

      Both are emphasized mainly because neural networks cannot be trained experimentally

    3. C

      Both are considered vital drivers of breakthroughs and future progress

    4. D

      Practice is useful only for implementation, whereas theory is unnecessary for research

    Correct answer
    C

    Both are considered vital drivers of breakthroughs and future progress

    Explanation

    The lecture argues that advances in deep learning have been driven by a mixture of theory and practice, so both dimensions are important.

  5. 5

    Why are neural networks useful for modeling complex real-world phenomena?

    1. A

      They work only when the data can be described by a single linear equation

    2. B

      They guarantee exact physical explanations for every phenomenon in the data

    3. C

      They can learn mappings involving complex data such as language, images, DNA, and ecosystems

    4. D

      They avoid the need for training data by relying entirely on human-written rules

    Correct answer
    C

    They can learn mappings involving complex data such as language, images, DNA, and ecosystems

    Explanation

    The lecture motivates deep learning as a way to model complex phenomena, including natural language, visual data, DNA, ecosystems, and climate-related processes.

  6. 6

    What does a neural network's model parameter set typically include?

    1. A

      Only the activation functions selected by the programmer

    2. B

      Only the input examples used during training

    3. C

      All weight terms and all bias terms across the network's layers

    4. D

      The labels of the training data and the final predictions

    Correct answer
    C

    All weight terms and all bias terms across the network's layers

    Explanation

    The model parameters, denoted by θ\thetaθ, consist of the weights and biases from all layers.

  7. 7

    For one output unit in a linear layer, how is the pre-activation commonly computed?

    1. A

      As the largest input value minus the smallest input value

    2. B

      As a probability assigned directly to the correct label

    3. C

      As a weighted sum of inputs plus a bias

    4. D

      As a fixed constant independent of the input vector

    Correct answer
    C

    As a weighted sum of inputs plus a bias

    Explanation

    For output component zjz_jzj​, the computation is a weighted sum of input components plus a bias, expressible as zj=xTwj+bjz_j = x^T w_j + b_jzj​=xTwj​+bj​.

  8. 8

    What role does a nonlinearity play in a neural network?

    1. A

      It ensures that every network output remains exactly proportional to its input

    2. B

      It allows the network to represent functions beyond a purely linear combination of inputs

    3. C

      It converts every input into a one-hot vector before training

    4. D

      It removes the need to learn weights and biases

    Correct answer
    B

    It allows the network to represent functions beyond a purely linear combination of inputs

    Explanation

    Without nonlinearities, stacked linear layers remain equivalent to a single linear transformation. Nonlinearities give neural networks greater expressive power.

  9. 9

    Why are activation functions generally applied pointwise in the described neural network building blocks?

    1. A

      Each component is transformed separately after the linear computation

    2. B

      Pointwise functions prevent the network from using matrix multiplication

    3. C

      All output components must always receive the same learned scalar

    4. D

      Pointwise functions ensure that every output component is independent of its weights

    Correct answer
    A

    Each component is transformed separately after the linear computation

    Explanation

    The lecture describes the nonlinearities as pointwise functions, meaning they are applied separately to the components of the linear-layer output.

  10. 10

    Why is the step function a poor activation for gradient-based training?

    1. A

      Its output is always unbounded, causing every parameter to diverge

    2. B

      It produces only negative values, which prevents classification

    3. C

      It requires more matrix multiplications than smooth activations

    4. D

      Its gradient is zero over regions, so gradient updates cannot provide useful direction

    Correct answer
    D

    Its gradient is zero over regions, so gradient updates cannot provide useful direction

    Explanation

    The step function is not differentiable at its threshold and has zero gradient elsewhere, which hinders backpropagation and prevents movement through gradient updates.

  11. 11

    What is the main representational consequence of stacking a second nonlinear layer?

    1. A

      The network eliminates the need for an output threshold

    2. B

      The network can form nonlinear decision boundaries

    3. C

      The network can no longer perform classification

    4. D

      The network becomes restricted to one linear decision surface

    Correct answer
    B

    The network can form nonlinear decision boundaries

    Explanation

    Combining multiple linear transformations with nonlinearities allows even a two-layer perceptron network to represent nonlinear classifications.

  12. 12

    In a multilayer perceptron, what does a hidden unit represent?

    1. A

      A parameter that controls only the learning rate

    2. B

      A hardware processor responsible for parallel computation

    3. C

      A fixed label supplied by the training data

    4. D

      An intermediate representation that is neither a direct input nor the final output

    Correct answer
    D

    An intermediate representation that is neither a direct input nor the final output

    Explanation

    The lecture identifies intermediate quantities such as zzz and hhh as hidden units because they occur inside the model between inputs and outputs.

  13. 13

    What did Rosenblatt's perceptron originally aim to do?

    1. A

      Generate large language models using transformer attention

    2. B

      Optimize GPU hardware for video-game graphics

    3. C

      Model probability distributions with Gaussian belief propagation

    4. D

      Recognize or categorize images using weighted inputs and a nonlinearity

    Correct answer
    D

    Recognize or categorize images using weighted inputs and a nonlinearity

    Explanation

    The perceptron, introduced in 1958, was intended to recognize or categorize images by combining inputs such as pixels and applying a nonlinearity.

  14. 14

    What was a major contribution of Minsky and Papert's work on perceptrons?

    1. A

      It introduced GPU-based training for convolutional networks

    2. B

      It demonstrated that single-layer perceptrons solve every nonlinear problem

    3. C

      It mathematically characterized important limitations of perceptrons

    4. D

      It invented the modern transformer architecture

    Correct answer
    C

    It mathematically characterized important limitations of perceptrons

    Explanation

    Their work took a critical and mathematical approach to the limitations of perceptrons, contributing to reduced enthusiasm for neural networks in the 1970s.

  15. 15

    Why was backpropagation a breakthrough for multilayer perceptrons?

    1. A

      It removed all nonlinearities from multilayer networks

    2. B

      It made a single perceptron capable of solving every classification problem

    3. C

      It replaced labeled data with randomly generated parameters

    4. D

      It enabled gradients to be propagated through multiple layers for training

    Correct answer
    D

    It enabled gradients to be propagated through multiple layers for training

    Explanation

    Backpropagation made it practical to train multilayer perceptrons by propagating gradient information through their layers.

  16. 16

    Why can a single-layer perceptron not solve the XOR problem?

    1. A

      XOR has too few examples for any neural network to train

    2. B

      XOR requires a probability output, while perceptrons produce only vectors

    3. C

      XOR is not linearly separable, while a single-layer perceptron creates a linear boundary

    4. D

      XOR can be solved only by a network without nonlinearities

    Correct answer
    C

    XOR is not linearly separable, while a single-layer perceptron creates a linear boundary

    Explanation

    A single-layer perceptron can create only a linear decision boundary, but XOR requires nonlinear separation and therefore multiple layers with nonlinearities.

  17. 17

    What hardware development was central to AlexNet's success in 2012?

    1. A

      Replacing all matrix multiplications with sequential CPU instructions

    2. B

      Repurposing GPUs for massively parallel neural-network computations

    3. C

      Using optical sensors to label ImageNet images automatically

    4. D

      Eliminating the need for specialized hardware through symbolic programming

    Correct answer
    B

    Repurposing GPUs for massively parallel neural-network computations

    Explanation

    Alex Krizhevsky programmed graphics processing units, originally designed for parallel graphics computations, to efficiently train neural networks.

  18. 18

    Why was ImageNet important to the modern resurgence of deep learning?

    1. A

      It replaced convolutional networks with belief propagation

    2. B

      It proved that neural networks require no labeled examples

    3. C

      It provided a very large-scale, curated, labeled dataset for training and evaluation

    4. D

      It supplied the first general-purpose automatic differentiation library

    Correct answer
    C

    It provided a very large-scale, curated, labeled dataset for training and evaluation

    Explanation

    The lecture identifies large-scale curated labeled data, including ImageNet, as a vital component of the success of modern machine learning.

  19. 19

    Which combination contributed to the earlier AI winter?

    1. A

      The widespread success of neural networks, the failure of GPUs, and the rise of ImageNet

    2. B

      The absence of linear algebra, the absence of image data, and the absence of classifiers

    3. C

      Excessive labeled data, excessive compute, and overly powerful activation functions

    4. D

      Insufficient training efficiency, inadequate programming tools, and limited hardware

    Correct answer
    D

    Insufficient training efficiency, inadequate programming tools, and limited hardware

    Explanation

    The lecture explains that the field had theoretical building blocks but lacked efficient training, suitable programming perspectives, and adequate hardware.

  20. 20

    What does automatic differentiation provide in frameworks such as PyTorch and TensorFlow?

    1. A

      A replacement for all model parameters with fixed constants

    2. B

      A software implementation of gradient calculations through computational operations

    3. C

      A method for selecting labels without observing the training data

    4. D

      A guarantee that optimization reaches the global minimum

    Correct answer
    B

    A software implementation of gradient calculations through computational operations

    Explanation

    Autograd systems implement operations such as the chain rule in software, allowing gradients to be computed for complex functions.

  21. 21

    What is the objective of gradient descent?

    1. A

      To adjust model parameters toward values that reduce a cost or loss function

    2. B

      To replace the training data with a smaller set of model parameters

    3. C

      To select an architecture without evaluating its predictions

    4. D

      To increase the cost function until all predictions become maximally uncertain

    Correct answer
    A

    To adjust model parameters toward values that reduce a cost or loss function

    Explanation

    Gradient descent searches for parameters, such as θ∗\theta^*θ∗, that minimize the cost function by repeatedly updating the model using gradient information.

  22. 22

    What is the role of the learning rate in gradient descent?

    1. A

      It determines the number of output classes

    2. B

      It controls the size of each parameter update

    3. C

      It converts a linear layer into a nonlinear layer

    4. D

      It specifies the number of training examples in a batch

    Correct answer
    B

    It controls the size of each parameter update

    Explanation

    The learning rate determines how far the parameters move during each gradient-based update.

  23. 23

    Why are batches useful when training neural networks?

    1. A

      They eliminate the need to calculate a loss for each data point

    2. B

      They prevent the model from using matrix multiplication

    3. C

      They guarantee that every individual example receives a unique architecture

    4. D

      They allow repeated computations for multiple examples to be performed efficiently in parallel

    Correct answer
    D

    They allow repeated computations for multiple examples to be performed efficiently in parallel

    Explanation

    Because individual losses are combined, examples can be stacked into batches and processed in parallel, improving computational efficiency.

  24. 24

    What is a tensor in the context of deep learning?

    1. A

      A hardware component that stores only model biases

    2. B

      A multidimensional array used to represent data and computations

    3. C

      A categorical label used only for classification targets

    4. D

      A scalar value used only as a learning rate

    Correct answer
    B

    A multidimensional array used to represent data and computations

    Explanation

    The lecture describes tensors as multidimensional arrays; vectors and matrices are special cases of tensors.

  25. 25

    Why are GPUs especially useful for neural-network training?

    1. A

      They remove the need for gradient calculations

    2. B

      They ensure that every neural network has the same architecture

    3. C

      They automatically determine the correct labels for every input

    4. D

      They can perform many multiplication operations in parallel

    Correct answer
    D

    They can perform many multiplication operations in parallel

    Explanation

    Neural networks can be expressed largely through matrix multiplications, and GPUs are designed to execute many such operations in parallel.

  26. 26

    What is a key characteristic of the hyperbolic tangent activation, tanh⁡\tanhtanh?

    1. A

      Its outputs are always exactly equal to the input

    2. B

      Its gradient remains constant for arbitrarily large inputs

    3. C

      Its outputs are bounded between −1-1−1 and 111

    4. D

      Its outputs are restricted to values greater than or equal to 111

    Correct answer
    C

    Its outputs are bounded between −1-1−1 and 111

    Explanation

    The tanh⁡\tanhtanh function is bounded between −1-1−1 and 111 and has outputs centered around zero.

  27. 27

    What is a disadvantage of tanh⁡\tanhtanh for gradient-based training?

    1. A

      It is not differentiable at every point

    2. B

      It is unbounded in both positive and negative directions

    3. C

      It cannot produce negative outputs

    4. D

      Its gradient approaches zero for very large positive or negative inputs

    Correct answer
    D

    Its gradient approaches zero for very large positive or negative inputs

    Explanation

    For large-magnitude inputs, tanh⁡\tanhtanh saturates and its gradient approaches zero, reducing the training signal.

  28. 28

    What is the mathematical form of the sigmoid activation described in the lecture?

    1. A

      z2+1z^2+1z2+1

    2. B

      max⁡(0,z)\max(0,z)max(0,z)

    3. C

      11+e−z\frac{1}{1+e^{-z}}1+e−z1​

    4. D

      11+z2\frac{1}{1+z^2}1+z21​

    Correct answer
    C

    11+e−z\frac{1}{1+e^{-z}}1+e−z1​

    Explanation

    The sigmoid is given by σ(z)=11+e−z\sigma(z)=\frac{1}{1+e^{-z}}σ(z)=1+e−z1​.

  29. 29

    How do sigmoid outputs differ from tanh⁡\tanhtanh outputs?

    1. A

      Sigmoid outputs lie between 000 and 111, whereas tanh⁡\tanhtanh outputs lie between −1-1−1 and 111

    2. B

      Sigmoid outputs are unbounded, whereas tanh⁡\tanhtanh outputs are always positive

    3. C

      Sigmoid outputs are linear, whereas tanh⁡\tanhtanh outputs are not differentiable

    4. D

      Sigmoid outputs lie between −1-1−1 and 111, whereas tanh⁡\tanhtanh outputs lie between 000 and 111

    Correct answer
    A

    Sigmoid outputs lie between 000 and 111, whereas tanh⁡\tanhtanh outputs lie between −1-1−1 and 111

    Explanation

    The sigmoid is bounded between 000 and 111, while tanh⁡\tanhtanh is bounded between −1-1−1 and 111.

  30. 30

    What is the definition of the ReLU activation?

    1. A

      zzz when z<0z<0z<0 and 000 otherwise

    2. B

      tanh⁡(z)\tanh(z)tanh(z)

    3. C

      11+e−z\frac{1}{1+e^{-z}}1+e−z1​

    4. D

      max⁡(0,z)\max(0,z)max(0,z)

    Correct answer
    D

    max⁡(0,z)\max(0,z)max(0,z)

    Explanation

    A rectified linear unit, or ReLU, is defined as ReLU⁡(z)=max⁡(0,z)\operatorname{ReLU}(z)=\max(0,z)ReLU(z)=max(0,z).

  31. 31

    Why is ReLU widely used in modern neural networks?

    1. A

      It is efficient to implement and often supports faster convergence

    2. B

      It is bounded between −1-1−1 and 111 and never saturates

    3. C

      It provides a nonzero gradient for every negative input

    4. D

      It guarantees that gradients cannot become large

    Correct answer
    A

    It is efficient to implement and often supports faster convergence

    Explanation

    ReLU is computationally simple and was reported to produce substantially faster convergence than tanh⁡\tanhtanh in the AlexNet work.

  32. 32

    What problem can occur when a ReLU unit remains strongly in the negative region?

    1. A

      The unit receives an increasingly large positive gradient

    2. B

      The unit can become inactive because its gradient is zero

    3. C

      The unit automatically changes into a sigmoid

    4. D

      The unit becomes unbounded on the negative side

    Correct answer
    B

    The unit can become inactive because its gradient is zero

    Explanation

    For negative inputs, ReLU has zero gradient. A unit that remains there can become “dead” and stop learning from that component.

  33. 33

    What is a potential drawback of ReLU on the positive side?

    1. A

      Its positive-side gradient is always zero

    2. B

      Its outputs are always centered around 0.50.50.5

    3. C

      Its positive outputs cannot be represented with floating-point hardware

    4. D

      Its unbounded outputs can contribute to exploding gradients

    Correct answer
    D

    Its unbounded outputs can contribute to exploding gradients

    Explanation

    ReLU is unbounded for positive inputs, so activations and gradients can sometimes become very large.

  34. 34

    Why can a two-layer network represent nonlinear decision boundaries?

    1. A

      Its second layer removes the nonlinearity from the first layer

    2. B

      Its output is always a lookup table containing every possible input

    3. C

      Its nonlinear hidden representation allows combinations of multiple linear responses

    4. D

      Its weights are fixed so that every class receives the same score

    Correct answer
    C

    Its nonlinear hidden representation allows combinations of multiple linear responses

    Explanation

    The first layer creates nonlinear features, and the second layer combines them to produce shapes and thresholds that form nonlinear decision regions.

  35. 35

    What can a single-layer network represent, according to the lecture?

    1. A

      Every possible nonlinear function regardless of its width

    2. B

      Only functions that have no trainable parameters

    3. C

      Any linear decision surface

    4. D

      Only probability distributions with exactly two classes

    Correct answer
    C

    Any linear decision surface

    Explanation

    A single-layer network can represent linear decision surfaces, such as those needed for linearly separable classification.

  36. 36

    Under the stated theoretical assumptions, what can a network with at least two layers and nontrivial nonlinearities approximate?

    1. A

      Only functions with linear decision boundaries

    2. B

      Only functions that are periodic

    3. C

      Any function, given sufficient capacity

    4. D

      No functions that cannot be represented by a single perceptron

    Correct answer
    C

    Any function, given sufficient capacity

    Explanation

    The lecture gives the universal-approximation intuition that a sufficiently capable network with at least two layers and nonlinearities can approximate any function.

  37. 37

    Why is a nonlinearity necessary between stacked linear layers?

    1. A

      Without it, the network has infinitely many nonlinear boundaries

    2. B

      Without it, matrix multiplication cannot be performed

    3. C

      Without it, multiple linear layers collapse into one linear transformation

    4. D

      Without it, the model has no weights or biases

    Correct answer
    C

    Without it, multiple linear layers collapse into one linear transformation

    Explanation

    A composition of linear transformations is still linear. A nonlinearity is required to increase the function class represented by the network.

  38. 38

    Why might a narrow, deep network be more efficient than a very wide, shallow network?

    1. A

      It avoids the need for nonlinear activation functions

    2. B

      It may approximate the same complex function with fewer parameters

    3. C

      It guarantees that every parameter has a direct human interpretation

    4. D

      It eliminates all intermediate representations

    Correct answer
    B

    It may approximate the same complex function with fewer parameters

    Explanation

    Although a sufficiently wide two-layer network can theoretically approximate complex functions, a narrower network with more layers may do so using fewer parameters.

  39. 39

    What generally happens to representations as information moves through deeper layers?

    1. A

      Later layers contain only the original input without transformation

    2. B

      Lower-level features are combined into increasingly abstract representations

    3. C

      All features are reduced to raw pixel values

    4. D

      Representations become progressively less dependent on learned parameters

    Correct answer
    B

    Lower-level features are combined into increasingly abstract representations

    Explanation

    The lecture describes early layers as learning lower-level features and later layers as combining them into more complex and abstract representations.

  40. 40

    Which architecture is most directly associated with data organized around graph relationships?

    1. A

      Convolutional neural network

    2. B

      Recurrent neural network

    3. C

      Scalar regression network

    4. D

      Graph neural network

    Correct answer
    D

    Graph neural network

    Explanation

    Graph neural networks are among the architectures discussed for modeling data whose structure is naturally represented as graphs.

  41. 41

    Which architecture is especially associated with convolutional processing of structured spatial data?

    1. A

      Graph neural network

    2. B

      Decision stump

    3. C

      Recurrent neural network

    4. D

      Convolutional neural network

    Correct answer
    D

    Convolutional neural network

    Explanation

    Convolutional neural networks are one of the major architectures discussed for structured data such as images.

  42. 42

    Which set contains only architectures explicitly identified as topics in the course?

    1. A

      Perceptrons, decision trees, k-means, and PCA

    2. B

      CNNs, GNNs, transformers, and RNNs

    3. C

      Sorting networks, hash tables, automata, and assemblers

    4. D

      Gaussian processes, SVMs, databases, and compilers

    Correct answer
    B

    CNNs, GNNs, transformers, and RNNs

    Explanation

    The lecture lists convolutional neural networks, graph neural networks, transformers, and recurrent neural networks as architectures to be covered.

  43. 43

    What is the classical expectation about model capacity and overfitting?

    1. A

      Capacity has no relationship to either training error or generalization

    2. B

      Insufficient capacity causes overfitting, while excessive capacity guarantees perfect generalization

    3. C

      Insufficient capacity causes underfitting, while excessive capacity can cause overfitting

    4. D

      Increasing capacity always causes underfitting and lowers training accuracy

    Correct answer
    C

    Insufficient capacity causes underfitting, while excessive capacity can cause overfitting

    Explanation

    Classical theory describes a capacity-versus-error pattern in which models with too little capacity underfit and models with too much capacity may overfit.

  44. 44

    What does model capacity mean in the lecture?

    1. A

      The number of parameters, determined by factors such as width and depth

    2. B

      The number of classes in the training labels

    3. C

      The amount of memory available on the input device

    4. D

      The number of examples processed in one batch

    Correct answer
    A

    The number of parameters, determined by factors such as width and depth

    Explanation

    Capacity is described as the number of model parameters, including those affected by the network's width and depth.

  45. 45

    What is the main idea of double descent?

    1. A

      Adding parameters always creates a second period of severe underfitting

    2. B

      Generalization performance can improve again after a model passes an interpolation threshold

    3. C

      A model must remain underparameterized to generalize well

    4. D

      Training error always increases whenever model capacity increases

    Correct answer
    B

    Generalization performance can improve again after a model passes an interpolation threshold

    Explanation

    In the modern interpolating regime, performance can improve after the model becomes sufficiently overparameterized to interpolate the training data.

  46. 46

    Why are large and diverse datasets important for generalization in deep networks?

    1. A

      They ensure that every possible real-world example appears exactly in the training set

    2. B

      They provide broader coverage of the data distribution for learning relationships between examples

    3. C

      They guarantee that the model has no trainable parameters

    4. D

      They make nonlinearities unnecessary in every architecture

    Correct answer
    B

    They provide broader coverage of the data distribution for learning relationships between examples

    Explanation

    Without enough data coverage, a model cannot reliably learn relationships between regions of the distribution or generalize beyond the observed examples.

  47. 47

    How does the simplicity hypothesis described in the lecture differ from classical expectations?

    1. A

      It claims that only shallow networks can learn simple functions

    2. B

      It proposes that large deep networks may learn simple functions that generalize

    3. C

      It proposes that larger networks necessarily memorize complex functions and fail

    4. D

      It argues that generalization occurs only when the model has one parameter

    Correct answer
    B

    It proposes that large deep networks may learn simple functions that generalize

    Explanation

    The emerging perspective is that deep networks can learn simple functions despite having many parameters, allowing them to generalize rather than merely memorize.

  48. 48

    Why might the theoretically best-performing model not be the practically best model?

    1. A

      Practical models are not allowed to use nonlinearities

    2. B

      Resource constraints affect only the labels and never affect model selection

    3. C

      Theoretically strong models cannot be evaluated on any dataset

    4. D

      Compute, memory, and other resource constraints limit which models can be used

    Correct answer
    D

    Compute, memory, and other resource constraints limit which models can be used

    Explanation

    The lecture notes that finite compute and memory resources can make an extremely large model impractical, even if its theoretical performance is attractive.

  49. 49

    What does the argmax operation do in a classification model's final layer?

    1. A

      It assigns every class an equal probability

    2. B

      It computes the gradient of the training loss

    3. C

      It selects the class with the highest output score

    4. D

      It averages all class scores into one value

    Correct answer
    C

    It selects the class with the highest output score

    Explanation

    The predicted class is chosen by taking the argmax of the output scores, such as selecting the class with the darkest or largest value.

  50. 50

    What is a one-hot encoding of a classification label?

    1. A

      A vector with 111 at the correct class and 000 elsewhere

    2. B

      A vector with negative values for every incorrect class

    3. C

      A vector containing the same probability for every class

    4. D

      A vector containing only the model's largest score

    Correct answer
    A

    A vector with 111 at the correct class and 000 elsewhere

    Explanation

    A one-hot target vector is zero in every position except the correct class, which has value 111.

  51. 51

    What does cross-entropy loss encourage in a classification model?

    1. A

      It rewards the model for assigning the largest score to an incorrect class

    2. B

      It encourages all classes to receive identical scores

    3. C

      It ignores the ground-truth labels and measures only input magnitude

    4. D

      It encourages the model to assign high probability-like scores to the correct classes

    Correct answer
    D

    It encourages the model to assign high probability-like scores to the correct classes

    Explanation

    Cross-entropy compares the model's output distribution with the one-hot target and encourages high probability on the correct class.

  52. 52

    Why does a wrong confident prediction receive a large cross-entropy penalty?

    1. A

      The model assigns too little probability-like score to the true class

    2. B

      The model assigns too much score to the correct class

    3. C

      The target vector contains multiple ones for the same example

    4. D

      The loss ignores the model's predicted distribution

    Correct answer
    A

    The model assigns too little probability-like score to the true class

    Explanation

    When the model is confident in an incorrect class, the score assigned to the true class is small, producing a large cross-entropy loss.

  53. 53

    Why should normalized network outputs not automatically be interpreted as true probabilities?

    1. A

      They are model scores treated as a probability distribution for training purposes

    2. B

      They are labels supplied directly by a human annotator

    3. C

      They are always negative values rather than nonnegative scores

    4. D

      They are independent of the model parameters

    Correct answer
    A

    They are model scores treated as a probability distribution for training purposes

    Explanation

    The lecture cautions that normalized outputs are often called probabilities, but they are technically model scores rather than guaranteed true probabilities.

  54. 54

    What is the main representational advantage of deep networks over simple lookup tables?

    1. A

      They store every possible input-output pair explicitly

    2. B

      They require each task to use completely unrelated parameters

    3. C

      They avoid learning any intermediate features

    4. D

      They can learn reusable lower-level building blocks for many downstream tasks

    Correct answer
    D

    They can learn reusable lower-level building blocks for many downstream tasks

    Explanation

    Deep networks provide a compact representation by learning reusable components that can support multiple downstream tasks.

  55. 55

    How can a line detector contribute to recognizing the letter T?

    1. A

      A line detector is useful only for circular objects and cannot support letter recognition

    2. B

      The T classifier must discard all line information before making a prediction

    3. C

      A line detector can recognize T without any additional combination or structure

    4. D

      Reusable line representations can be combined to represent the structure of a T

    Correct answer
    D

    Reusable line representations can be combined to represent the structure of a T

    Explanation

    The lecture uses the letter T as an example: classifiers for lines can be reused and combined, along with their connection structure, to form a T classifier.

  56. 56

    What type of features are typically learned in earlier layers of a convolutional network?

    1. A

      Entire task-specific decisions without intermediate structure

    2. B

      Final natural-language translations

    3. C

      Complete semantic categories such as fish species

    4. D

      Low-level patterns such as orientations and light-dark gradients

    Correct answer
    D

    Low-level patterns such as orientations and light-dark gradients

    Explanation

    Earlier layers tend to represent low-level visual properties, including directional orientations and light-dark gradients.

  57. 57

    What generally happens to category separation in later learned representations?

    1. A

      Examples often become more clustered by semantic category

    2. B

      Examples lose all relationship to the task being learned

    3. C

      Examples are represented only by raw pixel intensities

    4. D

      Examples become increasingly identical across all categories

    Correct answer
    A

    Examples often become more clustered by semantic category

    Explanation

    Later layers encode more abstract concepts, so representations often form clearer clusters corresponding to categories such as different types of objects.

  58. 58

    What is transfer learning?

    1. A

      Reusing knowledge or representations learned for one task in another task

    2. B

      Training every new task from randomly initialized parameters only

    3. C

      Using a model exclusively on the same data distribution as its training data

    4. D

      Removing all learned weights before evaluating a model

    Correct answer
    A

    Reusing knowledge or representations learned for one task in another task

    Explanation

    Transfer learning involves using previously learned representations or models to support a new task, often reducing the data and computation required.

  59. 59

    Why can early visual features transfer from animal classification to satellite imagery?

    1. A

      Satellite imagery requires no learned representations

    2. B

      Features such as lines, orientations, and structures may be useful in both domains

    3. C

      Animal classifiers always solve satellite tasks without further training

    4. D

      Both tasks necessarily contain identical labels and identical images

    Correct answer
    B

    Features such as lines, orientations, and structures may be useful in both domains

    Explanation

    Lower-level features such as lines, orientations, and structures can be useful across different visual tasks, even when the final categories differ.

  60. 60

    When is weight reuse especially valuable?

    1. A

      When available data or compute is insufficient to train an entire model from scratch

    2. B

      When the new task has no relationship at all to the source task

    3. C

      When the model is prohibited from using pretrained representations

    4. D

      When every parameter must be independently relearned

    Correct answer
    A

    When available data or compute is insufficient to train an entire model from scratch

    Explanation

    Reusing pretrained components can reduce the data and compute needed when resources are limited.

  61. 61

    What does modular reuse mean in the context of open-source deep learning?

    1. A

      Using pretrained weights or architectures as components within larger systems

    2. B

      Using only manually written rules instead of learned modules

    3. C

      Restricting every model to one indivisible computational block

    4. D

      Discarding pretrained weights whenever a new task is introduced

    Correct answer
    A

    Using pretrained weights or architectures as components within larger systems

    Explanation

    Modular reuse allows learned weights and architectures from one system to be incorporated as modules in another, larger system.

  62. 62

    What trend regarding openness of large modern models is mentioned?

    1. A

      All modern systems release complete weights and architectures publicly

    2. B

      Some systems provide an API without releasing their weights and architecture

    3. C

      Open-source systems have eliminated the need for model APIs

    4. D

      Large models are becoming less dependent on software frameworks

    Correct answer
    B

    Some systems provide an API without releasing their weights and architecture

    Explanation

    The lecture notes that some models are increasingly less open: users may receive API access without access to the model's weights and architecture.

  63. 63

    Why is “bigger is better” an incomplete research strategy?

    1. A

      Small models always outperform large models on every benchmark

    2. B

      Model size has no effect on computation, data needs, or research design

    3. C

      Impactful research can be achieved through creative approaches that do not require massive models or datasets

    4. D

      Large models cannot produce useful results on any task

    Correct answer
    C

    Impactful research can be achieved through creative approaches that do not require massive models or datasets

    Explanation

    The lecture emphasizes that useful research need not depend on enormous architectures and datasets; creativity can produce impact under limited resources.

  64. 64

    Which ordering correctly compares the approximate neuron counts mentioned for a worm, fruit fly, human, and elephant?

    1. A

      Worm: 302302302, fruit fly: 15,00015{,}00015,000, human: roughly 100100100 billion, elephant: roughly 250250250 billion

    2. B

      Worm: 250250250 billion, fruit fly: roughly 100100100 billion, human: 15,00015{,}00015,000, elephant: 302302302

    3. C

      Worm: 15,00015{,}00015,000, fruit fly: 302302302, human: roughly 250250250 billion, elephant: roughly 100100100 billion

    4. D

      Worm: roughly 100100100 billion, fruit fly: 250250250 billion, human: 302302302, elephant: 15,00015{,}00015,000

    Correct answer
    A

    Worm: 302302302, fruit fly: 15,00015{,}00015,000, human: roughly 100100100 billion, elephant: roughly 250250250 billion

    Explanation

    The lecture gives approximate counts of 302302302 neurons for a small worm, 15,00015{,}00015,000 for a fruit fly, 100100100 billion for humans, and 250250250 billion for elephants.

  65. 65

    Which set of resources is characteristic of deep learning today?

    1. A

      Manual derivatives, tiny datasets, single-threaded CPUs, few parameters, and negligible costs

    2. B

      Symbolic rules, unlabeled tables, no hardware acceleration, and fixed architectures

    3. C

      Small lookup tables, no optimization, no training data, and no learned representations

    4. D

      Autograd systems, billion-scale datasets, many GPUs, large parameter counts, and high training costs

    Correct answer
    D

    Autograd systems, billion-scale datasets, many GPUs, large parameter counts, and high training costs

    Explanation

    The lecture identifies automatic differentiation, billion-plus data points, parallel training on thousands of GPUs, billion-plus parameter architectures, and multimillion-dollar training costs as features of current deep learning.

  66. 66

    Why can large-scale deep learning create environmental concerns?

    1. A

      Training massive models can have significant carbon costs

    2. B

      Small models always consume more energy than large models

    3. C

      Deep learning has no computational cost once the model is initialized

    4. D

      Carbon costs arise only from collecting classification labels

    Correct answer
    A

    Training massive models can have significant carbon costs

    Explanation

    The lecture connects large-scale model training with significant carbon costs, noting that machine learning can sometimes harm efforts such as biodiversity conservation.

Question 1 of 66
Question 1 of 66

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent