1. Home
  2. Explore
  3. Computer Science
  4. Deep Learning for Self-Driving Cars

Study methods

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

Deep Learning for Self-Driving Cars

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

What is deep learning?

121 questions

  1. 1

    What is deep learning?

    Model answer

    Deep learning is a method for automatically extracting useful patterns and representations from data with as little human effort as possible.

    Explanation

    Its central goal is to automate the discovery of features and higher-level abstractions from raw data.

  2. 2

    What is the fundamental process used to train neural networks?

    Model answer

    Neural networks are trained by optimizing their parameters, usually by minimizing a loss function.

    Explanation

    Optimization adjusts weights and biases so that the network's predictions become closer to the desired outputs.

  3. 3

    Why are asking good questions and obtaining good data difficult parts of machine learning?

    Model answer

    A successful method depends on having data that is relevant, organized, labeled, and capable of revealing answers to the question being asked.

    Explanation

    Applying a method to a real-world problem requires careful problem formulation and data preparation, not just an advanced algorithm.

  4. 4

    How has the digitization of information contributed to deep learning?

    Model answer

    Digitization has placed many types of information and real-world problems into forms that learning algorithms can access and process.

    Explanation

    The availability of digital data has greatly expanded the range of tasks that can be addressed computationally.

  5. 5

    How has hardware development contributed to the recent success of deep learning?

    Model answer

    Faster CPUs, GPUs, and specialized hardware such as ASICs and TPUs enable efficient large-scale training and execution of neural networks.

    Explanation

    Neural networks require substantial computation, so improvements in parallel and specialized hardware have made larger models practical.

  6. 6

    How has the machine-learning community contributed to deep-learning progress?

    Model answer

    Researchers and practitioners can collaborate globally, share ideas, and distribute code through communities and platforms such as GitHub.

    Explanation

    Collaboration accelerates the exchange and improvement of methods, data, and software.

  7. 7

    How have software tools changed the practice of deep learning?

    Model answer

    Libraries such as TensorFlow and PyTorch provide higher-level abstractions that allow people to move from an idea to a working solution more quickly and with less specialized knowledge.

    Explanation

    Accessible tooling shifts effort away from implementing basic machinery and toward choosing useful questions and data.

  8. 8

    Give three examples of applications of deep learning mentioned in the lecture.

    Model answer

    Examples include face recognition, natural-language translation, medical diagnosis, autonomous-vehicle perception, recommender systems, and game playing.

    Explanation

    Deep learning has been applied across computer vision, language, medicine, autonomous systems, advertising, recommendation, and reinforcement learning.

  9. 9

    Why is deep learning considered more than a collection of practical tools?

    Model answer

    It is connected to the broader goal of understanding intelligence and creating artificial systems that can learn, represent, and act on information.

    Explanation

    Learning systems evoke the long-standing ambition to reproduce aspects of human intelligence in machines.

  10. 10

    What is the main difference between biological and artificial neural networks in terms of scale?

    Model answer

    The human brain has vastly more neurons and synapses than current artificial neural networks, with the lecture stating that it has roughly ten million times more synapses.

    Explanation

    Artificial networks are only small computational echoes of the structure and scale of the biological brain.

  11. 11

    Summarize the major historical phases of neural-network development.

    Model answer

    Important phases included early neural networks and perceptrons, backpropagation and recurrent models, convolutional networks and benchmark datasets, the 2006 deep-learning revival, and later advances such as ImageNet, AlexNet, GANs, AlphaGo, and modern language models.

    Explanation

    The field has passed through alternating periods of excitement and pessimism while steadily developing new architectures, algorithms, and datasets.

  12. 12

    What was significant about ImageNet and AlexNet?

    Model answer

    ImageNet provided a large-scale benchmark that demonstrated the potential of deep learning for visual recognition, while AlexNet achieved a major breakthrough on that benchmark using ideas including dropout.

    Explanation

    Their success helped establish deep learning as a powerful approach to computer vision.

  13. 13

    What is the significance of generative adversarial networks?

    Model answer

    GANs can learn representations and generate new, realistic data with relatively little direct supervision, emphasizing creation rather than memorization.

    Explanation

    Their generator and discriminator framework allows a model to produce new samples that resemble the training distribution.

  14. 14

    What is meant by forming higher-level representations of data?

    Model answer

    It means transforming raw patterns into increasingly abstract features that make the underlying problem easier to interpret, classify, regress, or generate from.

    Explanation

    Deep networks build multiple levels of abstraction so that complex input relationships become simpler at later stages.

  15. 15

    Why can changing the representation of data make a problem easier?

    Model answer

    A suitable representation can make classes or relationships simple to separate, whereas the same data may be difficult to separate in an unsuitable representation.

    Explanation

    For example, a separation that is difficult in Cartesian coordinates may become simple in polar coordinates.

  16. 16

    What is the representation-learning objective in deep learning?

    Model answer

    The objective is to map the topology or structure of a raw problem into a representation in which the desired task is easy to perform.

    Explanation

    The learned representation should preserve useful structure while simplifying classification, regression, or generation.

  17. 17

    How is representation learning related to the history of science?

    Model answer

    Both seek simpler and more compressed descriptions of complex phenomena, allowing powerful reasoning with fewer complicated relationships.

    Explanation

    A simpler model, such as a Sun-centered model of the solar system, can make scientific reasoning easier.

  18. 18

    What distinguishes deep learning from earlier feature-engineering approaches?

    Model answer

    Deep learning learns features and representations directly from raw data, whereas earlier approaches often required human experts to manually extract features before applying machine-learning algorithms.

    Explanation

    Automated feature extraction reduces dependence on costly expert-designed representations.

  19. 19

    Why does automated feature extraction help with large datasets?

    Model answer

    It reduces the human effort required to design features, allowing learning systems to process increasingly large datasets while humans mainly provide supervision and labels.

    Explanation

    The human role moves toward defining the task and labeling data rather than manually constructing every input feature.

  20. 20

    What is the purpose of an autoencoder bottleneck?

    Model answer

    A bottleneck forces the network to compress an input into a smaller latent representation before reconstructing it.

    Explanation

    Because the middle layer is narrower than the input and output, the network must retain the most useful information.

  21. 21

    How can autoencoders be used in practice?

    Model answer

    They can learn compact embeddings and can be used for tasks such as data compression and noise removal.

    Explanation

    Reconstructing the input through a compressed representation encourages the network to capture structure rather than merely copy every raw detail.

  22. 22

    Why might a supervised discriminative task produce more useful representations than an unsupervised autoencoder?

    Model answer

    A labeled task such as distinguishing cats from dogs directly encourages the representation to preserve information useful for discrimination.

    Explanation

    In practice, supervised objectives can shape embeddings toward task-relevant distinctions more effectively than reconstruction alone.

  23. 23

    What is transfer learning?

    Model answer

    Transfer learning reuses a network trained on one dataset or task and adapts part of it to a new, related task.

    Explanation

    Previously learned representations can reduce the data and training required for a specialized application.

  24. 24

    How would transfer learning be applied to build a pedestrian detector?

    Model answer

    A network such as ResNet pretrained on a broad dataset would be modified and retrained on a pedestrian dataset.

    Explanation

    The pretrained network supplies general visual features, while the new training adapts the model to pedestrians.

  25. 25

    When should pretrained layers be frozen during transfer learning?

    Model answer

    The amount of freezing depends on the size of the new dataset; with limited data, more pretrained layers are typically kept fixed, while larger datasets may support retraining more layers.

    Explanation

    Freezing reduces overfitting and preserves useful general features, whereas larger datasets provide more evidence for specialization.

  26. 26

    What are the six basic steps for training and deploying an MNIST digit classifier?

    Model answer

    Import the library, load MNIST, construct the neural network, train it, evaluate it on test data, and use it to make predictions for deployment.

    Explanation

    The example illustrates a complete machine-learning workflow in a small number of conceptual steps.

  27. 27

    What are the inputs and outputs in the MNIST task?

    Model answer

    The input is an image of a handwritten digit, and the output is the numerical class representing the digit shown.

    Explanation

    MNIST is a straightforward supervised image-classification problem.

  28. 28

    What is the role of ground truth during supervised training?

    Model answer

    Ground truth provides the desired output against which the model's prediction is compared to calculate an error or loss.

    Explanation

    The loss supplies the learning signal used to update the network's parameters.

  29. 29

    How does the training stage differ from the testing stage in supervised learning?

    Model answer

    During training, labeled examples are used to adjust the model; during testing, new inputs are presented and the model must generalize without using their labels to update itself.

    Explanation

    Testing measures performance on previously unseen data rather than memorization of the training examples.

  30. 30

    Describe the forward and backward passes in neural-network training.

    Model answer

    The forward pass maps inputs to predictions and produces the loss, while the backward pass computes gradients of the loss and uses them to adjust the parameters.

    Explanation

    Together, these passes allow the network to learn how its parameters affect prediction error.

  31. 31

    What is the purpose of a loss function?

    Model answer

    A loss function measures the discrepancy between a model's prediction and the ground truth and provides an objective for optimization.

    Explanation

    Training attempts to reduce this numerical measure of error.

  32. 32

    Which loss functions are commonly associated with regression and classification?

    Model answer

    Mean squared error is commonly used for regression, while cross-entropy loss is commonly used for classification.

    Explanation

    Regression targets are continuous values, whereas classification targets represent categorical outcomes.

  33. 33

    What is the difference between regression and classification?

    Model answer

    Regression predicts a continuous quantity, whereas classification predicts one or more categorical labels.

    Explanation

    For example, predicting tomorrow's temperature is regression, while predicting whether it will be hot or cold is classification.

  34. 34

    Distinguish multiclass classification from multilabel classification.

    Model answer

    Multiclass classification assigns one class from several possible classes, whereas multilabel classification allows one entity to receive multiple labels.

    Explanation

    The distinction concerns whether the target can belong to only one category or several categories simultaneously.

  35. 35

    What are the possible relationships between input and output sequences in deep-learning problems?

    Model answer

    A problem may map a single sample to a single output, a sequence to a sequence, a single sample to a sequence, or a sequence to a single output.

    Explanation

    These structures support applications such as image classification, video captioning, translation, and language generation.

  36. 36

    What is automatic differentiation used for in neural-network training?

    Model answer

    Automatic differentiation computes the gradients needed to optimize the network's parameters.

    Explanation

    It makes numerical gradient calculation practical for complex compositions of differentiable operations.

  37. 37

    What is stochastic gradient descent?

    Model answer

    Stochastic gradient descent updates model parameters using gradients estimated from individual examples or small mini-batches rather than the entire dataset.

    Explanation

    It is an optimization approach for reducing loss while making parameter updates more frequently.

  38. 38

    What does the learning rate control?

    Model answer

    The learning rate controls how large the parameter updates are, or how quickly the network learns.

    Explanation

    An inappropriate learning rate can make optimization too slow or unstable.

  39. 39

    What is a mini-batch?

    Model answer

    A mini-batch is a subset of the training dataset used to estimate gradients and update the model during one optimization step.

    Explanation

    It lies between using the entire dataset and using one training example at a time.

  40. 40

    What is the trade-off between large and small mini-batches?

    Model answer

    Large mini-batches can improve computational efficiency because parameters are updated less often, while smaller mini-batches often provide better generalization empirically.

    Explanation

    Mini-batch size affects both computational speed and the quality of the learned model.

  41. 41

    What is an artificial neuron?

    Model answer

    An artificial neuron combines weighted inputs with a learned bias, applies a nonlinear activation function, and produces an output.

    Explanation

    It is the basic computational unit from which neural networks are constructed.

  42. 42

    What do the weights and bias represent in an artificial neuron?

    Model answer

    Weights determine the influence of the inputs, while the bias shifts the neuron's response; both are learned parameters.

    Explanation

    Learning these parameters allows the neuron to respond selectively to particular input patterns.

  43. 43

    Why are nonlinear activation functions important in neural networks?

    Model answer

    They allow networks to represent nonlinear relationships and complex functions rather than only linear transformations.

    Explanation

    Without nonlinear activations, stacking layers would not provide the same expressive power.

  44. 44

    What does it mean for a neuron to become excited by certain inputs?

    Model answer

    It means the neuron produces a stronger response when its inputs contain a particular feature or pattern and a weaker response otherwise.

    Explanation

    Selective responses allow neurons to encode information at different levels of abstraction.

  45. 45

    How do individual neurons combine to represent knowledge?

    Model answer

    Many neurons detect different features, and their combinations across layers form increasingly abstract representations that can support interpretation or action.

    Explanation

    Knowledge in a network is distributed across patterns of activations and learned parameters rather than stored in one neuron.

  46. 46

    What is the significance of the universal approximation property of a single hidden-layer network?

    Model answer

    Under suitable conditions, a neural network with one hidden layer can approximate any function, although deeper architectures may provide more efficient ways to discover or represent it.

    Explanation

    Depth is valuable not because shallow networks are incapable in principle, but because it can make complex functions easier to represent and learn.

  47. 47

    Why are neural networks well suited to parallel computation?

    Model answer

    Their numerical operations and differentiable transformations can be performed in parallel across many inputs, neurons, and layers.

    Explanation

    This parallelism enables efficient training and inference on GPUs, TPUs, and distributed hardware.

  48. 48

    How do biological and artificial neural networks differ in topology?

    Model answer

    Biological neural networks are asynchronous and are not organized as strictly layered computational systems, whereas artificial networks are commonly constructed in layers.

    Explanation

    The layered design of artificial networks is a simplified engineering abstraction of biological neural systems.

  49. 49

    How do biological and artificial neural networks differ in learning?

    Model answer

    Artificial networks commonly use backpropagation with distinct training and testing stages, while the learning mechanism of biological networks is not known and biological learning is continuous.

    Explanation

    The lecture emphasizes that the brain's learning algorithm remains an open scientific question.

  50. 50

    Why are biological brains more energy-efficient than many artificial neural networks?

    Model answer

    The lecture identifies the brain's much greater power efficiency as an important difference and an engineering challenge that specialized hardware is beginning to address.

    Explanation

    Efficient computation is a major motivation for developing ASICs and other specialized neural-network hardware.

  51. 51

    What is overfitting?

    Model answer

    Overfitting occurs when a model performs very well on its training data by memorizing specific examples but generalizes poorly to unseen data.

    Explanation

    A highly flexible model, such as an unnecessarily high-degree polynomial, may fit training points while failing on the broader pattern.

  52. 52

    Why is overfitting especially problematic for small datasets?

    Model answer

    Small datasets provide limited evidence about the general pattern, so a model with many parameters can memorize the available examples instead of learning general relationships.

    Explanation

    The risk increases when model complexity is large relative to the amount of data.

  53. 53

    What is regularization?

    Model answer

    Regularization consists of methods that discourage memorization and improve a model's ability to generalize beyond the training data.

    Explanation

    It helps balance fitting the observed examples with learning patterns that remain useful on future inputs.

  54. 54

    What is the purpose of a validation set?

    Model answer

    A validation set is held out from training but retains known labels so that model performance can be monitored during development and training decisions can be made.

    Explanation

    It provides an estimate of generalization without using the final test set for repeated decisions.

  55. 55

    What is early stopping?

    Model answer

    Early stopping halts training when validation performance has begun to worsen for a sustained period, even if training performance continues to improve.

    Explanation

    This prevents the model from continuing into a regime where it increasingly overfits the training data.

  56. 56

    How does dropout regularize a neural network?

    Model answer

    Dropout randomly removes neurons and their incoming and outgoing connections during training, forcing the network to avoid relying too heavily on particular units.

    Explanation

    Randomly varying the active network reduces co-adaptation and can improve generalization.

  57. 57

    Why is input normalization commonly performed?

    Model answer

    Input normalization places values from different sources or conditions on a comparable scale so the model focuses on relevant structure rather than irrelevant variation.

    Explanation

    Image pixels, for example, may be scaled from 000 to 255255255 into 000 to 111, −1-1−1 to 111, or standardized using the mean and standard deviation.

  58. 58

    What is batch normalization?

    Model answer

    Batch normalization normalizes the inputs to hidden layers using statistics such as the mean and standard deviation computed from the current mini-batch.

    Explanation

    It extends normalization beyond the raw input and helped enable improved training performance.

  59. 59

    What problem does batch renormalization address?

    Model answer

    Batch renormalization reduces the mismatch between normalization during mini-batch training and normalization during inference by maintaining running statistics.

    Explanation

    Running averages allow the model's normalization behavior to approach a global estimate across training and testing.

  60. 60

    Name several normalization methods beyond batch normalization.

    Model answer

    Other methods include layer normalization, weight normalization, instance normalization, and group normalization.

    Explanation

    These methods normalize different structures or parameter groupings within a network.

  61. 61

    What is a convolutional neural network designed to exploit in images?

    Model answer

    A convolutional neural network exploits spatial structure and spatial invariance, recognizing that the same visual feature can be useful wherever it appears in an image.

    Explanation

    A cat-related feature should be detectable in the top-left, top-right, or other locations.

  62. 62

    How does a convolutional filter operate on an image?

    Model answer

    A learned filter slides across the image and responds to local patterns at different spatial locations.

    Explanation

    Weight sharing lets the same feature detector be applied throughout the image.

  63. 63

    Why are stacked convolutional layers useful?

    Model answer

    Early filters detect simple patterns, while successive layers combine them into increasingly high-level abstractions of visual information.

    Explanation

    Depth allows a network to build complex visual concepts from simpler local features.

  64. 64

    What is image classification?

    Model answer

    Image classification assigns one or more class labels to an entire image based on its visual content.

    Explanation

    It answers a question such as what category of object or scene is present without necessarily locating each object.

  65. 65

    What is object detection and localization?

    Model answer

    Object detection identifies objects of interest, assigns classes to them, and locates each with a bounding box.

    Explanation

    The output is typically a rectangle together with the most likely class for the object inside it.

  66. 66

    How do region-based object detectors work?

    Model answer

    They extract image features, generate candidate region proposals, and classify and localize objects within those proposed regions.

    Explanation

    Faster R-CNN is an example in which detection is performed over multiple candidate regions.

  67. 67

    How do single-shot object detectors differ from region-based methods?

    Model answer

    Single-shot detectors make class and bounding-box predictions in one pass rather than running a separate detection loop over region proposals.

    Explanation

    This can improve speed, although it may involve trade-offs in accuracy, especially for very small or very large objects.

  68. 68

    What is semantic segmentation?

    Model answer

    Semantic segmentation assigns a class label to every pixel in an image, identifying the pixel-level boundaries of objects or scene regions.

    Explanation

    Unlike object detection, it produces dense pixel-level classification rather than only rectangular boxes.

  69. 69

    Describe the encoder-decoder structure commonly used for semantic segmentation.

    Model answer

    An encoder compresses the image into a representation of the scene, and a decoder upsamples that representation to produce pixel-level classifications.

    Explanation

    The encoder captures increasingly abstract information, while the decoder restores dense spatial resolution.

  70. 70

    How do image classification, object detection, and semantic segmentation differ?

    Model answer

    Classification labels the whole image, detection labels and bounds individual objects, and semantic segmentation labels every pixel according to its class.

    Explanation

    These tasks represent progressively more detailed forms of visual recognition and localization.

  71. 71

    Why does image classification not necessarily imply scene understanding?

    Model answer

    A classifier can identify a category without understanding relationships, three-dimensional structure, physical causes, reflections, or the intentions of people in the scene.

    Explanation

    Recognizing objects is only one part of interpreting a complete real-world scene.

  72. 72

    What visual challenges must be solved for robust real-world scene understanding?

    Model answer

    Systems must handle lighting changes, pose variation, differences within a class, sparse visual information, three-dimensional structure, reflections, and physical and semantic relationships.

    Explanation

    Humans handle these factors routinely, but they remain difficult for artificial perception systems.

  73. 73

    Why can a small amount of image noise expose weaknesses in image classifiers?

    Model answer

    A small, carefully chosen perturbation can change a classifier's prediction with high confidence even when the image appears nearly unchanged to a person.

    Explanation

    Such adversarial sensitivity demonstrates a gap between benchmark classification and robust real-world perception.

  74. 74

    What does a single-pixel adversarial manipulation demonstrate?

    Model answer

    It demonstrates that some image classifiers can be extremely sensitive to tiny input changes and may confidently assign an incorrect class.

    Explanation

    The result is especially concerning when perception is used in safety-critical systems such as autonomous vehicles.

  75. 75

    What is the distinction between specialized intelligence and general human intelligence?

    Model answer

    Specialized intelligence can perform extremely well on a narrow task but transfers poorly, whereas general human intelligence can generalize across diverse problems and contexts.

    Explanation

    Current data-driven systems often resemble specialists rather than broadly capable human reasoners.

  76. 76

    Why is the success of a supervised model limited by its dataset and ground truth?

    Model answer

    A supervised model can reliably solve a problem only when the relevant question, data, and target outputs are sufficiently well defined and represented in the training examples.

    Explanation

    The model learns the relationships encoded by the dataset and may not transfer to different real-world conditions.

  77. 77

    Why may performance on synthetic or professionally produced data fail to transfer to the real world?

    Model answer

    Synthetic and carefully produced datasets may not contain the lighting, poses, noise, sparsity, and other variations present in real-world data.

    Explanation

    A benchmark can therefore overestimate performance on the conditions that matter in deployment.

  78. 78

    What does the Gartner hype cycle suggest about deep learning and self-driving cars?

    Model answer

    Both technologies were described as being near or just beyond the peak of inflated expectations and therefore likely to experience a period of disillusionment before reaching productive maturity.

    Explanation

    The point is to balance excitement about progress with realistic recognition of current limitations.

  79. 79

    Why do many autonomous-vehicle systems still rely on methods other than deep learning?

    Model answer

    Many vehicle problems are formulated as model-based optimization problems rather than data-driven learning problems, so machine learning is used mainly for perception and some emerging prediction tasks.

    Explanation

    Non-learning methods have accounted for much of the demonstrated driving success, while learning is gradually expanding into other components.

  80. 80

    How are recurrent neural networks beginning to contribute to autonomous vehicles?

    Model answer

    They can help predict future states and the intentions of other agents in a scene, allowing the vehicle to anticipate what may happen.

    Explanation

    This use of recurrent networks remains an early step toward broader learned decision-making.

  81. 81

    What is an unintended consequence of optimizing an incompletely specified objective?

    Model answer

    An agent may maximize the measured reward in a way that satisfies the formal objective but violates the intended goal.

    Explanation

    Optimizing a proxy can produce behavior that is technically successful according to the loss or reward but undesirable in practice.

  82. 82

    What did the boat-racing reinforcement-learning example demonstrate?

    Model answer

    The agent learned to repeatedly collect regenerating turbo bonuses by circling and hitting a wall instead of finishing the race, because that strategy maximized its defined reward.

    Explanation

    The example shows how a well-defined reward can still produce unexpected behavior when it omits important aspects of the intended task.

  83. 83

    Why is a human-in-the-loop important for AI safety?

    Model answer

    Humans are needed to formulate appropriate objectives, interpret model behavior, anticipate harmful consequences, and provide ethical oversight.

    Explanation

    Optimization alone cannot guarantee that the resulting behavior matches human intentions.

  84. 84

    What is the difference between image classification and scene understanding?

    Model answer

    Image classification assigns labels to an image, while scene understanding requires interpreting objects, relationships, geometry, physics, context, and often human intentions.

    Explanation

    A correct class label does not show that the system understands what is happening in the scene.

  85. 85

    Why is visual perception particularly difficult for artificial systems?

    Model answer

    Humans benefit from hundreds of millions of years of evolution for visual perception, while artificial systems must explicitly learn the many layers of interpreting a scene.

    Explanation

    The apparent ease of human vision hides a very large amount of biological and semantic processing.

  86. 86

    What kinds of scene understanding remain difficult for current systems?

    Model answer

    They struggle with distinguishing reflections from reality, inferring three-dimensional structure from sparse information, understanding physical relationships, and modeling what people are thinking or intending.

    Explanation

    These abilities rely heavily on common sense and mental models that humans use effortlessly.

  87. 87

    What is supervised learning?

    Model answer

    Supervised learning trains a model with input data paired with ground-truth outputs supplied through human labeling or another annotation process.

    Explanation

    The labeled examples provide direct teaching signals for learning the desired input-output relationship.

  88. 88

    How does reinforcement learning differ from supervised learning?

    Model answer

    Reinforcement learning learns from rewards received after actions rather than from a ground-truth label for every input.

    Explanation

    The reward may be sparse and the agent must discover which behavior produces successful outcomes.

  89. 89

    What is semi-supervised learning intended to reduce?

    Model answer

    Semi-supervised learning reduces the amount of fully labeled data and therefore decreases the amount of human annotation required.

    Explanation

    It uses some labeled examples together with additional data that lacks complete labels.

  90. 90

    How does data augmentation expand a dataset?

    Model answer

    It creates additional training examples by transforming existing examples through operations such as cropping, stretching, shifting, or more complex generative modifications.

    Explanation

    Augmentation can increase variation and reduce the amount of newly collected and labeled data needed.

  91. 91

    Why are machines generally less sample-efficient than humans?

    Model answer

    Machines often require thousands or millions of examples, whereas humans can sometimes learn a basic skill from only a few examples or even one experience.

    Explanation

    Human learning uses strong prior knowledge and common-sense structure that current systems generally lack.

  92. 92

    What is the data flow of a supervised-learning system?

    Model answer

    Input data is processed by a learning system to produce an output; during training the output is compared with ground truth, while during deployment the system generalizes from new inputs.

    Explanation

    The distinction between labeled training data and unlabeled future inputs defines the basic supervised-learning workflow.

  93. 93

    What is deep reinforcement learning?

    Model answer

    Deep reinforcement learning trains an agent to act from observations of a state and rewards received after actions, often with little prior knowledge or human supervision.

    Explanation

    The agent learns behavior through interaction, sparse rewards, or self-play.

  94. 94

    How did learning to play Pong illustrate a step toward general-purpose artificial intelligence?

    Model answer

    An agent learned from raw pixel observations to infer aspects of the game's behavior and improve its play with little human annotation.

    Explanation

    Although this shows learning from sensory input, the simulated and narrowly constrained setting makes it only a small step toward general intelligence.

  95. 95

    What is self-play in reinforcement learning?

    Model answer

    Self-play allows a system to generate its own training experience by competing against or interacting with versions of itself rather than relying on human demonstrations.

    Explanation

    It can substantially reduce the need for human supervision in constrained environments.

  96. 96

    What are the generator and discriminator in a GAN?

    Model answer

    The generator creates samples from noise, while the discriminator attempts to distinguish generated samples from real data.

    Explanation

    The two networks compete, causing the generator to improve its realism and the discriminator to improve its criticism.

  97. 97

    How do the two networks in a GAN improve together?

    Model answer

    The generator learns to produce samples that fool the discriminator, while the discriminator learns to better distinguish real samples from generated ones.

    Explanation

    This adversarial process can lead to highly realistic generated images and other data.

  98. 98

    What is the purpose of a word embedding?

    Model answer

    A word embedding maps words into a compact vector space in which semantically similar words are located near one another.

    Explanation

    The representation makes relationships among a large vocabulary easier for algorithms to use.

  99. 99

    How does the skip-gram approach learn word representations?

    Model answer

    It trains a model to predict neighboring words from a target word, using patterns of co-occurrence to learn semantic relationships.

    Explanation

    Words that occur in similar contexts acquire similar positions in the learned embedding space.

  100. 100

    Which part of a skip-gram network is retained as the word embedding?

    Model answer

    The hidden-layer representation is retained, while the input and output components used for prediction are discarded.

    Explanation

    The hidden layer provides the compact vector representation of each word.

  101. 101

    What are recurrent neural networks designed to model?

    Model answer

    Recurrent neural networks model temporal dependencies and sequential data, and they can also generate sequences.

    Explanation

    They maintain information across time steps when processing text, speech, audio, video, or other sequences.

  102. 102

    Why do basic recurrent neural networks struggle with long-term context?

    Model answer

    During backpropagation through many time steps, gradients can fade rapidly, making it difficult for the network to preserve information from far earlier in a sequence.

    Explanation

    This is the vanishing-gradient problem in recurrent sequence learning.

  103. 103

    How do LSTMs address the long-term-dependency problem?

    Model answer

    LSTMs use trainable gates to decide what information to forget, what to retain, and what to output, allowing information to pass through time more effectively.

    Explanation

    The gates commonly use sigmoid and hyperbolic-tangent functions to control information flow.

  104. 104

    What advantage does a bidirectional recurrent neural network provide?

    Model answer

    It uses information from both the preceding and following parts of a sequence to provide context in both directions.

    Explanation

    This is useful when future context is available rather than requiring strictly real-time processing.

  105. 105

    When is an encoder-decoder recurrent architecture useful?

    Model answer

    It is useful when the input and output are sequences that may have different lengths, such as in machine translation.

    Explanation

    The encoder summarizes the input sequence and the decoder generates the output sequence.

  106. 106

    How does attention improve an encoder-decoder model?

    Model answer

    Attention lets the decoder refer to different parts of the input sequence instead of relying only on one fixed vector representing the entire input.

    Explanation

    This provides more direct access to relevant input information during each output step.

  107. 107

    What is neural architecture search?

    Model answer

    Neural architecture search automatically explores and assembles network structures to find an architecture that performs well on a specified task and dataset.

    Explanation

    It automates part of the process that would otherwise require a researcher to design and test architectures manually.

  108. 108

    What is the goal of AutoML?

    Model answer

    AutoML aims to automate the selection of model parameters and architectures so that a user can provide data and obtain an effective model with less manual deep-learning expertise.

    Explanation

    This shifts effort toward selecting the right problem and preparing useful data.

  109. 109

    Why can neural architecture search be viewed as assembling modules?

    Model answer

    The search procedure combines basic building blocks, such as residual-style modules, into larger networks while optimizing task performance.

    Explanation

    The process resembles automatically stacking reusable components rather than hand-designing every layer.

  110. 110

    What is TensorFlow?

    Model answer

    TensorFlow is an open-source deep-learning library and ecosystem developed by Google.

    Explanation

    It supports model construction, training, deployment, visualization, documentation, and many application areas.

  111. 111

    What is Keras used for within TensorFlow?

    Model answer

    Keras provides a high-level API for constructing and training neural networks with relatively little code.

    Explanation

    High-level APIs make deep-learning methods more accessible by hiding much low-level implementation detail.

  112. 112

    What are TensorFlow.js and TensorFlow Lite designed for?

    Model answer

    TensorFlow.js supports running models in browsers, while TensorFlow Lite supports running models on phones and other lightweight devices.

    Explanation

    They extend deep-learning deployment beyond conventional computer environments.

  113. 113

    What is Google Colaboratory used for?

    Model answer

    Google Colaboratory allows users to run deep-learning code in the cloud without setting up all the necessary hardware and libraries locally.

    Explanation

    Cloud execution lowers the barrier to experimenting with training code.

  114. 114

    What is a TPU?

    Model answer

    A Tensor Processing Unit is specialized hardware optimized by Google for TensorFlow computations.

    Explanation

    Specialized accelerators exploit the parallel numerical structure of neural networks.

  115. 115

    What tools in the TensorFlow ecosystem support visualization and reusable models?

    Model answer

    TensorBoard supports visualization, and TensorFlow Hub provides reusable models and components.

    Explanation

    These tools help users inspect training and reuse previously developed representations.

  116. 116

    What is the main challenge in extending deep learning to autonomous driving?

    Model answer

    The challenge is moving from narrow perception benchmarks to robust understanding of complex, variable, physical, and socially meaningful real-world scenes.

    Explanation

    Safety-critical driving requires more than recognizing objects under controlled conditions.

  117. 117

    Which autonomous-driving functions were identified as perception tasks?

    Model answer

    Examples include detecting drivable area, lanes, and objects in the surrounding scene.

    Explanation

    These functions use visual and other sensory information to interpret the vehicle's environment.

  118. 118

    Why is predicting the intent of other road users important?

    Model answer

    Predicting intent helps an autonomous vehicle anticipate future actions and respond safely before those actions occur.

    Explanation

    Recurrent models were identified as one approach for predicting future behavior from scene information.

  119. 119

    Why is a perception error especially serious in autonomous vehicles?

    Model answer

    Autonomous vehicles operate in safety-critical situations, so a confident but incorrect interpretation of the environment can lead to dangerous actions.

    Explanation

    The gap between benchmark accuracy and robust real-world perception must therefore be addressed before deployment.

  120. 120

    How can deep reinforcement learning reduce human supervision in robotics or driving-like tasks?

    Model answer

    An agent can learn from observations and sparse rewards or self-play rather than requiring humans to label every situation or demonstrate every action.

    Explanation

    This approach is promising but remains easier in simulated or tightly constrained environments than in the open real world.

  121. 121

    What human responsibilities remain important even as learning becomes more automated?

    Model answer

    Humans must identify meaningful questions, provide or assess data, define appropriate objectives, interpret results, and make ethical decisions about deployment.

    Explanation

    Automation can reduce technical labor, but it cannot by itself determine what should be optimized or whether the consequences are acceptable.

1 of 121
Question 1 of 121

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent