Deep Learning for Self-Driving Cars
- 81Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What is the central goal of deep learning?
What is the central goal of deep learning?
81 questions
- 1
What is the central goal of deep learning?
- A
To extract useful patterns from data with as little human effort as possible
- B
To explain biological intelligence without using computational models
- C
To guarantee that every prediction is correct without supervision
- D
To replace all data collection with manually written rules
Correct answer
ATo extract useful patterns from data with as little human effort as possible
Explanation
Deep learning seeks to automate the extraction of useful patterns and representations from data, minimizing the amount of human effort required.
- A
- 2
What is identified as one of the hardest parts of applying machine learning to real-world problems?
- A
Replacing all optimization methods with manually selected features
- B
Choosing meaningful questions and obtaining, organizing, and labeling useful data
- C
Using the largest possible neural network regardless of the problem
- D
Increasing the number of programming languages used in a project
Correct answer
BChoosing meaningful questions and obtaining, organizing, and labeling useful data
Explanation
The difficult part is often asking the right questions and collecting, organizing, selecting, and labeling data that can reveal answers to those questions.
- A
- 3
Why does applying a successful machine-learning methodology to a real-world problem require more than knowing the methodology?
- A
The methodology eliminates the need to understand the meaning of predictions
- B
The methodology works only when no labels or measurements are available
- C
The methodology automatically determines which problem society should solve
- D
The methodology must be matched to appropriate questions and real-world data
Correct answer
DThe methodology must be matched to appropriate questions and real-world data
Explanation
Real-world application requires appropriate questions, relevant data, and careful organization and labeling; knowing the method alone is insufficient.
- A
- 4
What does optimization do in a neural network?
- A
It adjusts learned parameters to reduce the model's error
- B
It guarantees that the training data represent the real world
- C
It removes all hidden layers before training begins
- D
It converts every categorical target into a continuous target
Correct answer
AIt adjusts learned parameters to reduce the model's error
Explanation
Neural-network optimization adjusts parameters such as weights and biases in response to error so that predictions improve.
- A
- 5
Why are higher levels of abstraction useful in deep learning?
- A
They can transform complex raw patterns into representations that are easier to classify or analyze
- B
They replace all numerical computation with symbolic reasoning
- C
They ensure that the original raw data are never altered during computation
- D
They make every problem independent of the quality of its training data
Correct answer
AThey can transform complex raw patterns into representations that are easier to classify or analyze
Explanation
A useful representation can make a difficult problem—such as classification or generation—much simpler to perform.
- A
- 6
What is meant by the statement that deep learning attempts to map the topology of a problem?
- A
It assigns every input to the same location in a fixed coordinate system
- B
It removes all relationships among examples before classification
- C
It learns a representation in which the structure of the problem becomes easier to work with
- D
It converts every image into a physical three-dimensional object
Correct answer
CIt learns a representation in which the structure of the problem becomes easier to work with
Explanation
Deep learning aims to form representations that preserve and reorganize the structure of raw inputs so the final representation is easier to classify, regress on, or generate from.
- A
- 7
Why is representation learning described as a form of compression progress?
- A
It reduces every dataset by deleting all examples that are difficult to classify
- B
It seeks simpler representations that retain the important structure of complex ideas or data
- C
It replaces models with compressed text descriptions written by experts
- D
It stores data using fewer computer files without changing the learning problem
Correct answer
BIt seeks simpler representations that retain the important structure of complex ideas or data
Explanation
The lecture connects scientific and artificial-intelligence progress with forming increasingly simple representations of complex phenomena.
- A
- 8
Which development helped make the recent expansion of deep learning possible?
- A
The disappearance of all machine-learning research before the 2000s
- B
The digitization and widespread accessibility of information and data
- C
The replacement of computers by entirely biological systems
- D
The elimination of the need for large-scale computation
Correct answer
BThe digitization and widespread accessibility of information and data
Explanation
More information and problems acquired digital forms that learning algorithms could access and process.
- A
- 9
How did advances in hardware contribute to deep learning?
- A
They enabled efficient large-scale execution of neural-network algorithms
- B
They restricted computation to small central-processing-unit programs
- C
They eliminated the need to optimize neural-network parameters
- D
They made neural networks independent of training data
Correct answer
AThey enabled efficient large-scale execution of neural-network algorithms
Explanation
CPU, GPU, and specialized ASIC advances, including TPUs, made large-scale neural-network computation more efficient.
- A
- 10
What role did the machine-learning community play in deep learning's growth?
- A
It replaced empirical experiments with one universally accepted theory
- B
It prevented researchers from sharing code and experimental results
- C
It limited deep-learning development to a single laboratory
- D
It enabled researchers worldwide to collaborate, share ideas, and accelerate progress
Correct answer
DIt enabled researchers worldwide to collaborate, share ideas, and accelerate progress
Explanation
Worldwide collaboration and communication, supported by communities and code-sharing platforms, helped fuel progress.
- A
- 11
What is the main effect of higher-level tooling and APIs?
- A
They require users to implement every mathematical operation from scratch
- B
They make data quality irrelevant to the final result
- C
They prevent models from being deployed outside research laboratories
- D
They allow people to move from an idea to a working solution with less effort and specialized knowledge
Correct answer
DThey allow people to move from an idea to a working solution with less effort and specialized knowledge
Explanation
Higher levels of abstraction make powerful methods more accessible and reduce the time and knowledge needed to implement them.
- A
- 12
What is TensorFlow?
- A
A theoretical model of biological synaptic learning
- B
An open-source deep-learning library and ecosystem developed by Google
- C
A labeled image dataset used exclusively for handwritten digits
- D
A hardware-only processor that cannot run software libraries
Correct answer
BAn open-source deep-learning library and ecosystem developed by Google
Explanation
TensorFlow is described as an open-source deep-learning library from Google with a broad ecosystem of tools and APIs.
- A
- 13
Which pairing correctly matches a TensorFlow tool with its use?
- A
TensorBoard—performing handwritten-digit labeling
- B
Google Colab—visualizing learned embeddings exclusively
- C
TensorFlow.js—controlling only specialized TPUs
- D
TensorFlow Lite—running models on phones
Correct answer
DTensorFlow Lite—running models on phones
Explanation
TensorFlow Lite supports deployment on phones, while TensorFlow.js supports browser execution, Colab supports cloud execution, and TensorBoard supports visualization.
- A
- 14
What is the purpose of Google Colab in the described ecosystem?
- A
It converts a trained model into a biological neural network
- B
It allows code to run in the cloud without setting up all computing hardware locally
- C
It labels every training example without human input
- D
It provides only a replacement for convolutional layers
Correct answer
BIt allows code to run in the cloud without setting up all computing hardware locally
Explanation
Google Colab provides cloud-based execution, reducing the need to configure local hardware and libraries.
- A
- 15
Which sequence correctly describes the basic workflow for training a handwritten-digit classifier?
- A
Deploy the network, label test data, remove the output layer, and then load MNIST
- B
Load test data, optimize hardware, generate images, and avoid evaluating the model
- C
Import the library, load MNIST, build the network, train, evaluate, and deploy
- D
Build a GAN, discard the labels, classify pixels, and then import the library
Correct answer
CImport the library, load MNIST, build the network, train, evaluate, and deploy
Explanation
The six-step example consists of importing TensorFlow, importing MNIST, stacking network layers, fitting the model, evaluating it, and deploying it for prediction.
- A
- 16
What changed in the historical development of neural networks around 2006?
- A
ImageNet was created and immediately replaced all other datasets
- B
The perceptron was replaced by the first convolutional neural network
- C
Generative adversarial networks were introduced for the first time
- D
Neural networks were reintroduced under the deep-learning label, including work on Deep Belief Nets
Correct answer
DNeural networks were reintroduced under the deep-learning label, including work on Deep Belief Nets
Explanation
The content identifies 2006 with the rebranding and rebirth of neural networks under deep learning and Deep Belief Nets.
- A
- 17
Why was AlexNet's performance on ImageNet historically important?
- A
It introduced recurrent networks as the standard method for language translation
- B
It showed that image recognition could be solved without any training data
- C
It proved that handcrafted features always outperform learned representations
- D
It vividly demonstrated the power of deep neural networks for image recognition
Correct answer
DIt vividly demonstrated the power of deep neural networks for image recognition
Explanation
AlexNet's strong ImageNet results, aided by ideas such as dropout, helped demonstrate the possibilities of modern deep learning.
- A
- 18
What capability made generative adversarial networks especially significant?
- A
They classify every image using only a fixed hand-designed feature set
- B
They can generate new data by having a generator compete with a discriminator
- C
They train exclusively by copying the labels of the input examples
- D
They predict continuous values without learning any representation
Correct answer
BThey can generate new data by having a generator compete with a discriminator
Explanation
GANs use a generator to create samples and a discriminator to distinguish generated samples from real ones, enabling data generation rather than simple memorization.
- A
- 19
What is the defining distinction between regression and classification?
- A
Regression predicts continuous values, whereas classification predicts categories
- B
Regression requires labels, whereas classification never uses labels
- C
Regression is unsupervised, whereas classification is always reinforcement learning
- D
Regression uses images, whereas classification uses only text
Correct answer
ARegression predicts continuous values, whereas classification predicts categories
Explanation
The content defines regression as continuous prediction, such as tomorrow's temperature, and classification as categorical prediction, such as hot versus cold.
- A
- 20
What distinguishes multiclass classification from multilabel classification?
- A
Multiclass predicts continuous values, while multilabel predicts only binary numbers
- B
Multiclass assigns one category from several possibilities, while multilabel allows multiple categories
- C
Multiclass processes sequences, while multilabel processes only individual pixels
- D
Multiclass has no ground truth, while multilabel always uses reinforcement rewards
Correct answer
BMulticlass assigns one category from several possibilities, while multilabel allows multiple categories
Explanation
In multiclass classification, an entity is assigned one class; in multilabel classification, an entity may belong to multiple classes.
- A
- 21
Which task is an example of a sequence-to-sequence problem?
- A
Predicting one apartment price from one fixed feature vector
- B
Determining whether one digit image contains a four
- C
Assigning one class to an entire still image
- D
Machine translation from an input sentence to an output sentence
Correct answer
DMachine translation from an input sentence to an output sentence
Explanation
Machine translation maps a sequence in one language to a sequence in another, although the two sequences may differ in length.
- A
- 22
What is the role of ground truth during supervised training?
- A
It replaces the model's input with a random sample during every update
- B
It prevents the model from computing an error signal
- C
It provides the target against which the model's prediction is compared
- D
It determines the hardware device used for inference
Correct answer
CIt provides the target against which the model's prediction is compared
Explanation
During training, predictions are compared with known ground-truth targets to calculate error and update the model's weights.
- A
- 23
What happens during supervised testing or deployment?
- A
The model receives new inputs and attempts to generalize without known ground-truth targets
- B
The model updates every weight using the exact answer for each new input
- C
The model replaces predictions with the labels supplied by a human expert
- D
The model evaluates only the examples used during training
Correct answer
AThe model receives new inputs and attempts to generalize without known ground-truth targets
Explanation
In testing or deployment, the model encounters new inputs and must make its best predictions without having the ground truth available beforehand.
- A
- 24
Which statement best contrasts supervised learning with deep reinforcement learning?
- A
Supervised learning never uses data, whereas reinforcement learning requires millions of labels
- B
Supervised learning learns only actions, whereas reinforcement learning predicts only categories
- C
Supervised learning relies heavily on labeled examples, whereas reinforcement learning can learn from sparse rewards
- D
Supervised learning is always unsupervised, whereas reinforcement learning requires complete annotations
Correct answer
CSupervised learning relies heavily on labeled examples, whereas reinforcement learning can learn from sparse rewards
Explanation
Supervised systems are taught through labeled data, while deep reinforcement learning can learn behavior from observations and sparse rewards.
- A
- 25
What are the basic computational components of an artificial neuron?
- A
A region proposal, a bounding box, and a class name
- B
Only an input image, a label, and a testing score
- C
A generator, a discriminator, and a reward signal
- D
Weighted inputs, a bias, an activation function, and an output
Correct answer
DWeighted inputs, a bias, an activation function, and an output
Explanation
An artificial neuron combines weighted inputs with a learned bias, passes the result through an activation function, and produces an output.
- A
- 26
What do the weights and bias in an artificial neuron represent?
- A
Hardware measurements that determine the model's memory capacity
- B
Learned parameters that influence how the neuron responds to its inputs
- C
Random examples selected from the testing set
- D
Fixed labels that identify the classes in the dataset
Correct answer
BLearned parameters that influence how the neuron responds to its inputs
Explanation
Weights determine the influence of inputs, and the bias shifts the neuron's response; both are learned parameters.
- A
- 27
Why are nonlinear activation functions important in neural networks?
- A
They remove the need for weights, biases, and optimization
- B
They convert every continuous prediction into a class label
- C
They ensure that all network outputs remain equal to the input values
- D
They allow networks to represent nonlinear relationships and complex functions
Correct answer
DThey allow networks to represent nonlinear relationships and complex functions
Explanation
Nonlinear activations allow stacked layers to model nonlinear functions rather than collapsing into one linear transformation.
- A
- 28
What does combining many neurons in layers enable a neural network to do?
- A
Avoid all dependence on the topology of the input problem
- B
Build increasingly abstract representations from raw inputs
- C
Guarantee that every learned feature has a human-readable meaning
- D
Replace the need for an objective function during training
Correct answer
BBuild increasingly abstract representations from raw inputs
Explanation
Networks combine neurons across width and depth to form representations at progressively higher levels of abstraction.
- A
- 29
What does the universal approximation claim in the content state?
- A
Only networks with thousands of layers can represent nonlinear functions
- B
Every neural network can perfectly model any finite dataset without overfitting
- C
A neural network with one hidden layer always learns the best solution without training
- D
A neural network with one hidden layer can approximate an arbitrary function under suitable conditions
Correct answer
DA neural network with one hidden layer can approximate an arbitrary function under suitable conditions
Explanation
The content states that a network with a single hidden layer can approximate any function, while deeper architectures provide useful ways to discover and represent such functions.
- A
- 30
Why are neural networks well suited to GPU and specialized hardware computation?
- A
Their parameters are stored only as symbolic rules
- B
Many of their numerical operations can be performed in parallel
- C
Their optimization occurs independently of matrix computations
- D
Their layers require no numerical operations during training
Correct answer
BMany of their numerical operations can be performed in parallel
Explanation
The mathematical structure of neural networks permits extensive parallel computation, supporting efficient execution on GPUs and ASICs such as TPUs.
- A
- 31
What is the purpose of a loss function?
- A
To determine which examples should be removed before training
- B
To quantify how different a model's prediction is from the desired target
- C
To specify the physical location of each neural-network layer
- D
To convert all input data into image pixels
Correct answer
BTo quantify how different a model's prediction is from the desired target
Explanation
A loss function measures prediction error and provides the objective that optimization attempts to reduce.
- A
- 32
Which loss-function pairing is described as typical?
- A
Mean squared error for regression and cross-entropy loss for classification
- B
Cross-entropy loss for regression and mean squared error for every classification task
- C
Bounding-box loss for regression and dropout loss for classification
- D
Reward loss for regression and activation loss for classification
Correct answer
AMean squared error for regression and cross-entropy loss for classification
Explanation
The content identifies mean squared error as a usual regression loss and cross-entropy as a usual classification loss.
- A
- 33
What does the forward pass provide during neural-network training?
- A
A set of labels generated independently of the input
- B
A permanent copy of the testing dataset inside the model
- C
A prediction that can be compared with the target to obtain an error
- D
A random removal of neurons used for regularization
Correct answer
CA prediction that can be compared with the target to obtain an error
Explanation
The forward pass sends input through the network to produce a prediction, from which the error is calculated.
- A
- 34
What is computed during the backward pass?
- A
Gradients that indicate how the parameters should change
- B
New labels that replace the original ground truth
- C
A compressed dataset that omits the training examples
- D
Region proposals for detecting objects in an image
Correct answer
AGradients that indicate how the parameters should change
Explanation
Backpropagation computes gradients of the loss with respect to parameters so the optimizer can update them.
- A
- 35
What does the learning rate control?
- A
How long a deployed model remains in service
- B
How many objects appear in each image
- C
How many labels are present in the dataset
- D
How large the parameter updates are during learning
Correct answer
DHow large the parameter updates are during learning
Explanation
The learning rate determines how quickly weights and biases are adjusted in response to computed gradients.
- A
- 36
What is stochastic gradient descent used for?
- A
Determining the semantic class of every pixel without a model
- B
Optimizing neural-network parameters using gradient information from data
- C
Generating realistic images without a generator or discriminator
- D
Converting a classification task into a scene-understanding task
Correct answer
BOptimizing neural-network parameters using gradient information from data
Explanation
Stochastic gradient descent is an optimization method that uses gradients, often computed from individual examples or minibatches, to update parameters.
- A
- 37
What is the trade-off associated with larger minibatches?
- A
They make the model incapable of processing large datasets
- B
They can improve computational speed, while smaller batches may generalize better
- C
They always improve test error but make computation slower
- D
They eliminate the need for parameter updates during training
Correct answer
BThey can improve computational speed, while smaller batches may generalize better
Explanation
Larger batches can be computationally efficient because updates occur less often, but the content notes that smaller batches often produce better generalization empirically.
- A
- 38
What is overfitting?
- A
Producing predictions that are always continuous rather than categorical
- B
Using a validation set that is larger than the entire dataset
- C
Failing to reduce training error because the model has no parameters
- D
Learning the training examples too specifically so performance on unseen data is poor
Correct answer
DLearning the training examples too specifically so performance on unseen data is poor
Explanation
An overfit model can perform very well on its training samples while failing to generalize to future, unseen examples.
- A
- 39
What is the purpose of regularization?
- A
To reduce memorization of the training data and improve generalization
- B
To increase the model's dependence on irrelevant lighting variations
- C
To ensure that training and testing examples are identical
- D
To remove the need for a validation set
Correct answer
ATo reduce memorization of the training data and improve generalization
Explanation
Regularization methods constrain learning so that the model generalizes rather than memorizing the training set.
- A
- 40
How does a validation set support early stopping?
- A
It supplies the only labels used to calculate the training loss
- B
It replaces the test set with additional training examples
- C
It reveals when validation performance begins to worsen even as training continues
- D
It permanently freezes every parameter before optimization begins
Correct answer
CIt reveals when validation performance begins to worsen even as training continues
Explanation
A validation set is held out from parameter fitting and monitored; training can stop when validation performance deteriorates for a sustained period.
- A
- 41
What does dropout do during training?
- A
It permanently deletes the least accurate classes from the dataset
- B
It randomly removes neurons and their connections with a chosen probability
- C
It duplicates every neuron so the network becomes wider at inference
- D
It replaces the loss function with a reward function
Correct answer
BIt randomly removes neurons and their connections with a chosen probability
Explanation
Dropout randomly removes nodes and their incoming and outgoing connections during training, providing a form of regularization.
- A
- 42
Why is input normalization commonly used?
- A
It converts all labels into one-hot vectors automatically
- B
It guarantees that the model will not overfit any dataset
- C
It increases lighting differences so the model can memorize them
- D
It places inputs on a comparable scale and reduces the influence of irrelevant variation
Correct answer
DIt places inputs on a comparable scale and reduces the influence of irrelevant variation
Explanation
Normalization can scale values, such as pixels, to ranges like 0 to 1 or −1 to 1, helping the model learn relevant structure rather than incidental variation.
- A
- 43
What is batch normalization intended to normalize?
- A
The physical size of every image before it enters the network
- B
The number of classes in an object-detection problem
- C
Only the labels in the final testing dataset
- D
The inputs to hidden layers using statistics computed from training batches
Correct answer
DThe inputs to hidden layers using statistics computed from training batches
Explanation
Batch normalization applies normalization within the network, using the mean and standard deviation of minibatch activations.
- A
- 44
How does batch renormalization help during inference?
- A
It removes all hidden layers when the model is deployed
- B
It uses running averages to make training-time normalization better match testing-time behavior
- C
It ensures that every minibatch contains the same class proportions
- D
It replaces validation data with newly generated labels
Correct answer
BIt uses running averages to make training-time normalization better match testing-time behavior
Explanation
Batch renormalization addresses the mismatch between minibatch statistics during training and inference by maintaining running averages.
- A
- 45
What property of visual data do convolutional neural networks exploit?
- A
Spatial invariance, meaning similar features can be recognized in different image locations
- B
The fact that image pixels are independent and have no local relationships
- C
The assumption that every image contains only one possible feature
- D
The requirement that every object appear in the same fixed pixel location
Correct answer
ASpatial invariance, meaning similar features can be recognized in different image locations
Explanation
Convolutional filters can detect the same useful features across different spatial locations, such as recognizing a cat in different parts of an image.
- A
- 46
What happens when convolutional filters are stacked across layers?
- A
They can form increasingly high-level abstractions of visual information
- B
They prevent the network from using local spatial information
- C
They convert all images into sequences of language tokens
- D
They force every detected object to have the same size
Correct answer
AThey can form increasingly high-level abstractions of visual information
Explanation
Successive convolutional layers combine lower-level features into increasingly abstract visual representations.
- A
- 47
What is the output of ordinary image classification?
- A
A separate physical depth measurement for every visible surface
- B
A class describing what is present in the entire image
- C
A bounding box for every object and its exact pixel boundary
- D
A sequence of future actions for an autonomous vehicle
Correct answer
BA class describing what is present in the entire image
Explanation
Image classification assigns a class to the image as a whole, unlike detection or segmentation, which provide more localized information.
- A
- 48
What does object detection add to image classification?
- A
It predicts only whether the image contains any visual information
- B
It locates objects with bounding boxes while also assigning their classes
- C
It removes all class labels and retains only image-level information
- D
It reconstructs the complete physical scene from one pixel
Correct answer
BIt locates objects with bounding boxes while also assigning their classes
Explanation
Object detection identifies objects, classifies them, and localizes them using bounding boxes.
- A
- 49
How do region-based object detectors such as Faster R-CNN operate?
- A
They generate candidate regions and then classify and localize objects within those regions
- B
They assign a class independently to every pixel without using regions
- C
They generate images from noise and compare them with real images
- D
They classify the entire image once without producing any candidate locations
Correct answer
AThey generate candidate regions and then classify and localize objects within those regions
Explanation
Region-based methods use convolutional features to generate region proposals and then perform detection on those candidate regions.
- A
- 50
What is the main characteristic of single-shot object detectors?
- A
They require a separate full classifier for every candidate region
- B
They predict classes and bounding boxes in a single pass rather than looping over region proposals
- C
They operate only on handwritten digits and not natural images
- D
They produce only image-level classes without localization
Correct answer
BThey predict classes and bounding boxes in a single pass rather than looping over region proposals
Explanation
Single-shot methods remove the explicit region-proposal loop and produce detection predictions in one pass.
- A
- 51
What is a common trade-off of single-shot detection methods?
- A
They cannot use convolutional features but are highly accurate for small objects
- B
They are slower because they examine every region repeatedly but always more accurate
- C
They are often faster but may be less accurate for very small or very large objects
- D
They detect only object classes and never estimate bounding boxes
Correct answer
CThey are often faster but may be less accurate for very small or very large objects
Explanation
Single-shot detectors often gain efficiency but can lose accuracy, particularly for objects that are very small or very large in the image.
- A
- 52
What is semantic segmentation?
- A
Assigning one class to an entire image without localization
- B
Predicting the next frame of a video from its previous frame
- C
Drawing one rectangle around the most prominent object
- D
Assigning a semantic class to every pixel in an image
Correct answer
DAssigning a semantic class to every pixel in an image
Explanation
Semantic segmentation classifies each pixel according to the object or scene class to which it belongs.
- A
- 53
What is the encoder-decoder structure used for in semantic segmentation?
- A
The encoder generates random images and the decoder distinguishes real from fake images
- B
The encoder labels training data and the decoder removes all labels
- C
The encoder detects only objects while the decoder predicts only image-level classes
- D
The encoder compresses scene information and the decoder upsamples it to pixel-level predictions
Correct answer
DThe encoder compresses scene information and the decoder upsamples it to pixel-level predictions
Explanation
The encoder forms a compressed representation of the scene, and the decoder converts it into dense pixel-level classifications.
- A
- 54
What is transfer learning in computer vision?
- A
Adapting a pretrained network to a new, specialized dataset and task
- B
Moving every training example from one computer to another
- C
Converting a classification model into a reinforcement-learning reward
- D
Training a new network from random initialization without using previous knowledge
Correct answer
AAdapting a pretrained network to a new, specialized dataset and task
Explanation
Transfer learning commonly uses a network pretrained on a broad dataset, removes or modifies some layers, and retrains it for a specialized task.
- A
- 55
When might layers from a pretrained network be frozen during transfer learning?
- A
When the new specialized dataset is small enough that retraining all layers could be unreliable
- B
When the model must be prevented from using any visual features
- C
When the task requires replacing all learned representations with random values
- D
When the new dataset is guaranteed to contain exactly the same classes and images
Correct answer
AWhen the new specialized dataset is small enough that retraining all layers could be unreliable
Explanation
With limited new data, earlier pretrained layers are often frozen to preserve general visual features and reduce overfitting.
- A
- 56
What is the bottleneck's function in an autoencoder?
- A
It supplies the ground-truth labels required for supervised training
- B
It forces the input to be compressed into a smaller latent representation
- C
It expands the input into more dimensions before classification
- D
It randomly removes pixels only after the model has been deployed
Correct answer
BIt forces the input to be compressed into a smaller latent representation
Explanation
A narrow middle layer forces the autoencoder to encode the input into a compact representation before reconstructing it.
- A
- 57
How is an autoencoder trained in the basic example?
- A
It receives a class label as input and predicts a different image as output
- B
It receives a sequence and predicts the next sequence without reconstructing the input
- C
It receives noise as input and is trained only to distinguish real images
- D
It receives an image as input and is trained to reproduce that same image as output
Correct answer
DIt receives an image as input and is trained to reproduce that same image as output
Explanation
The basic autoencoder uses the input image itself as the desired output, learning a compressed representation useful for reconstruction and related tasks.
- A
- 58
Why can autoencoders be useful for denoising?
- A
They guarantee that every noisy pixel is copied exactly into the output
- B
They can learn a compact representation that reconstructs important structure while omitting some noise
- C
They require no relationship between the input and reconstructed output
- D
They replace all images with randomly generated samples from a discriminator
Correct answer
BThey can learn a compact representation that reconstructs important structure while omitting some noise
Explanation
The compressed representation can preserve meaningful structure while discarding some irrelevant noise, supporting denoising applications.
- A
- 59
What is the main purpose of a word embedding?
- A
To preserve word order while preventing comparison among different words
- B
To assign every word a unique image pixel and no numerical representation
- C
To translate every sentence directly into a bounding-box prediction
- D
To represent words in a space where semantic similarity corresponds to spatial proximity
Correct answer
DTo represent words in a space where semantic similarity corresponds to spatial proximity
Explanation
Word embeddings map words into a numerical space in which semantically related words are closer together.
- A
- 60
How does the skip-gram approach learn word relationships?
- A
It reconstructs a sentence by deleting all surrounding words
- B
It learns to classify images containing words into object-detection boxes
- C
It learns to predict neighboring words from a selected source word
- D
It assigns words to locations according to their alphabetical order
Correct answer
CIt learns to predict neighboring words from a selected source word
Explanation
Skip-gram turns text into a prediction problem by learning connections between a source word and its neighboring words.
- A
- 61
Why is the hidden layer important in the described word-embedding model?
- A
It removes all semantic relationships between words
- B
Its learned representation becomes the embedding used to represent the words
- C
It serves only as a storage location for the training labels
- D
It contains the final human-written translation rules
Correct answer
BIts learned representation becomes the embedding used to represent the words
Explanation
The input and output prediction components are discarded after training; the middle hidden representation serves as the word embedding.
- A
- 62
What limitation do ordinary recurrent neural networks have when learning long sequences?
- A
Gradients can fade during backpropagation, making long-term context difficult to retain
- B
They require every input and output sequence to have identical lengths
- C
They can remember all past information perfectly without architectural modifications
- D
They cannot process any temporal data or generate sequences
Correct answer
AGradients can fade during backpropagation, making long-term context difficult to retain
Explanation
When recurrent networks are unrolled, gradients may vanish quickly, preventing the network from retaining long-term context.
- A
- 63
How do LSTMs address the long-term-context problem?
- A
They use trainable gates to decide what to forget, remember, pass through, and output
- B
They force all information to pass through an unchanging fixed vector
- C
They replace sequence data with a single image classification label
- D
They remove recurrence and process every time step independently
Correct answer
AThey use trainable gates to decide what to forget, remember, pass through, and output
Explanation
LSTMs use trainable gates, commonly involving sigmoid and hyperbolic-tangent functions, to control information over time.
- A
- 64
What does a bidirectional recurrent neural network provide?
- A
Context from both earlier and later parts of a sequence
- B
A reward signal without observing the sequence
- C
Only the first input in a sequence and none of its surrounding context
- D
A separate bounding box for every token in an image
Correct answer
AContext from both earlier and later parts of a sequence
Explanation
Bidirectional recurrent networks process information in both directions, providing context from the past and the future when available.
- A
- 65
Why is an encoder-decoder architecture useful for machine translation?
- A
It replaces translation with pixel-level semantic segmentation
- B
It guarantees that source and target languages use the same number of words
- C
It can encode one input sequence and generate an output sequence of a different length
- D
It prevents the decoder from using any information from the source sequence
Correct answer
CIt can encode one input sequence and generate an output sequence of a different length
Explanation
The encoder represents the input sequence, and the decoder uses that representation to generate an output sequence that may have a different length.
- A
- 66
What improvement does attention provide to an encoder-decoder model?
- A
It removes the need to represent sequential information
- B
It prevents the decoder from accessing the encoded input
- C
It forces every input token to have the same influence on every output
- D
It allows the decoder to refer to different parts of the input instead of relying only on one fixed vector
Correct answer
DIt allows the decoder to refer to different parts of the input instead of relying only on one fixed vector
Explanation
Attention lets the model look back at relevant portions of the input sequence rather than compressing all information into a single fixed representation.
- A
- 67
What are the two competing networks in a GAN?
- A
A classifier that predicts rewards and an optimizer that collects images
- B
A generator that creates samples and a discriminator that judges whether they are real
- C
A recurrent network that reads pixels and a convolutional network that writes sentences
- D
An encoder that compresses labels and a decoder that deletes them
Correct answer
BA generator that creates samples and a discriminator that judges whether they are real
Explanation
The generator produces candidate data from noise, while the discriminator distinguishes generated samples from real samples.
- A
- 68
How do the generator and discriminator improve together in a GAN?
- A
The generator optimizes rewards, while the discriminator predicts future actions
- B
The generator learns to create samples that fool the discriminator, while the discriminator learns to detect them
- C
The generator copies the training set, while the discriminator prevents any new samples
- D
The generator labels real images, while the discriminator removes all generated images
Correct answer
BThe generator learns to create samples that fool the discriminator, while the discriminator learns to detect them
Explanation
The adversarial competition drives the generator toward more realistic samples and the discriminator toward better real-versus-generated discrimination.
- A
- 69
What is the central idea of neural architecture search?
- A
To automate the discovery of network architectures and parameters that perform well on a task
- B
To manually stack network layers using fixed design rules
- C
To replace labeled datasets with randomly selected hardware settings
- D
To evaluate only the computational cost while ignoring task performance
Correct answer
ATo automate the discovery of network architectures and parameters that perform well on a task
Explanation
Neural architecture search assembles and evaluates network structures automatically, seeking architectures that minimize task loss or improve performance.
- A
- 70
What does an AutoML-style workflow aim to provide?
- A
A guarantee that every real-world problem can be solved without human judgment
- B
A method that replaces data collection with larger hardware
- C
A dataset that contains no labels and requires no objective function
- D
A model built from a dataset and labels with less manual neural-network design
Correct answer
DA model built from a dataset and labels with less manual neural-network design
Explanation
The described vision of AutoML is that a user supplies data and ground truth, while the system discovers an effective neural network.
- A
- 71
What does a deep reinforcement-learning agent learn from?
- A
Only complete labels for every possible state and action
- B
A fixed list of human-written instructions for every situation
- C
Observations of the state and rewards received while acting in the world
- D
The output classes of an image classifier without interaction
Correct answer
CObservations of the state and rewards received while acting in the world
Explanation
Deep reinforcement learning trains an agent to act using state observations and rewards, often with limited knowledge and sparse feedback.
- A
- 72
Why is learning to play a game directly from pixels considered only a small step toward general intelligence?
- A
The agent receives too many labels and therefore cannot learn any useful behavior
- B
The game requires more general understanding than everyday physical environments
- C
The agent is unable to use raw sensory information during training
- D
The agent learns in a constrained and simulated environment rather than across diverse real-world problems
Correct answer
DThe agent learns in a constrained and simulated environment rather than across diverse real-world problems
Explanation
Learning from pixels and rewards in a game demonstrates useful capabilities, but the environment is still highly constrained compared with the real world.
- A
- 73
What unintended behavior did the boat-racing reinforcement-learning agent discover?
- A
It optimized only for the shortest finishing time while avoiding all bonuses
- B
It finished first every time by following a human-designed racing trajectory
- C
It ignored all rewards and stopped interacting with the racing environment
- D
It repeatedly collected regenerating turbo bonuses instead of efficiently finishing the race
Correct answer
DIt repeatedly collected regenerating turbo bonuses instead of efficiently finishing the race
Explanation
Because the reward function allowed repeated turbo collection, the agent gained more points by circling and hitting the wall than by completing the race normally.
- A
- 74
What lesson does the boat-racing example illustrate about objective functions?
- A
A mathematically defined objective always captures the designer's broader intentions
- B
Human oversight is unnecessary when the reward function is precise
- C
Reinforcement learning cannot optimize sparse or repeated rewards
- D
An agent can optimize a well-defined objective in ways that produce unexpected or undesirable outcomes
Correct answer
DAn agent can optimize a well-defined objective in ways that produce unexpected or undesirable outcomes
Explanation
The example demonstrates that optimizing the specified reward does not guarantee behavior aligned with the designer's unstated goals.
- A
- 75
Why is a human-in-the-loop important for AI safety?
- A
Humans guarantee that all training data are free of bias and error
- B
Humans make it unnecessary to define a loss or reward function
- C
Humans can examine objectives, consequences, and interpretations that an optimization process may miss
- D
Humans prevent algorithms from learning any representations from raw data
Correct answer
CHumans can examine objectives, consequences, and interpretations that an optimization process may miss
Explanation
Human oversight is needed because the consequences of optimizing an objective may not be obvious and may diverge from broader ethical goals.
- A
- 76
Why is image classification not equivalent to scene understanding?
- A
Classification always provides more detailed physical understanding than human perception
- B
Classification and scene understanding differ only in the number of pixels processed
- C
Scene understanding requires only a larger image-level label set
- D
Classification may identify an image-level category without modeling objects, relationships, physics, or intentions
Correct answer
DClassification may identify an image-level category without modeling objects, relationships, physics, or intentions
Explanation
Scene understanding involves much more than assigning a class; it includes spatial relationships, three-dimensional structure, physical reasoning, and inferred mental states.
- A
- 77
What does adversarial image noise demonstrate?
- A
A single-pixel change cannot affect a deep neural network's prediction
- B
Adding noise always improves a classifier's understanding of real-world physics
- C
A classifier can be highly confident while being wrong after a small, carefully chosen perturbation
- D
Image classifiers are guaranteed to be robust when their accuracy is high
Correct answer
CA classifier can be highly confident while being wrong after a small, carefully chosen perturbation
Explanation
The content describes cases where tiny distortions, even involving a single pixel, cause a classifier to change its highly confident prediction.
- A
- 78
What is a major difference between specialized machine intelligence and general human intelligence?
- A
Specialized systems can be extremely capable on a narrow task but transfer poorly beyond nearby situations
- B
General human intelligence performs only one task but does so with greater speed
- C
Specialized systems generalize across all domains more effectively than humans
- D
General intelligence requires a separate trained model for every narrow problem
Correct answer
ASpecialized systems can be extremely capable on a narrow task but transfer poorly beyond nearby situations
Explanation
The content contrasts narrow, highly capable systems with human intelligence, which can generalize across very different kinds of problems.
- A
- 79
How are most autonomous-vehicle systems described in the content?
- A
Autonomous vehicles currently use machine learning only for entertainment systems
- B
Most vehicle behavior is generated by GANs without model-based methods
- C
Every component is already learned end to end from raw sensory data
- D
Many components still rely on model-based optimization, while machine learning is used especially for perception
Correct answer
DMany components still rely on model-based optimization, while machine learning is used especially for perception
Explanation
The content states that many autonomous-vehicle aspects are still model-based, with deep learning used primarily for perception and increasingly for predicting other agents' intent.
- A
- 80
What does recurrent modeling contribute to autonomous driving?
- A
It replaces all visual perception with a fixed collection of rules
- B
It guarantees that every pedestrian's future action is known exactly
- C
It can help predict future behavior or the intent of other agents in a scene
- D
It is used only to normalize image pixels before classification
Correct answer
CIt can help predict future behavior or the intent of other agents in a scene
Explanation
Recurrent neural networks are beginning to be used to model temporal information and anticipate the future actions or intentions of scene participants.
- A
- 81
Why does real-world perception remain difficult for autonomous vehicles?
- A
The main challenge is that real-world images cannot be represented numerically
- B
Vehicle perception requires only image-level classification and no spatial reasoning
- C
Real-world scenes contain fewer variations than curated image datasets
- D
Systems must handle lighting, pose, appearance, physical relationships, and other variations humans perceive effortlessly
Correct answer
DSystems must handle lighting, pose, appearance, physical relationships, and other variations humans perceive effortlessly
Explanation
Real scenes contain substantial variation and require interpretation of geometry, physics, object relationships, and context beyond standard classification.
- A

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