Logo/

Deep Learning Fundamentals

Log in

Made with ScholarlyMake flashcards like these from your own notes

Deep Learning Fundamentals

Questions and answers

60 cards
  1. Question:What is the fundamental purpose of convolutional neural networks regarding data types?

    Answer:Convolutional neural networks are specifically designed for data with spatial structure, such as images.

  2. Question:How does the principle of sparse connectivity operate within a convolutional layer?

    Answer:Instead of connecting every neuron to every input, each neuron only processes a local region of the data.

  3. Question:What does the mechanism of parameter sharing entail in the context of CNN filters?

    Answer:The same filter is applied across every spatial position, allowing feature detection to occur globally.

  4. Question:What is the core objective of the Maximum Likelihood Estimation principle in training?

    Answer:The objective is to find the specific parameters that make the observed data most probable.

  5. Question:Why is Mean Squared Error mathematically justified as a loss function for regression?

    Answer:It is a direct consequence of assuming that target data follows a Gaussian distribution centered at the network prediction.

  6. Question:How does the stacking of convolutional layers contribute to feature learning?

    Answer:It builds hierarchical representations that transition from simple edges to complex objects as data moves deeper.

  7. Question:What is the primary function of pooling layers in a neural network?

    Answer:Pooling layers reduce spatial size and add robustness to small translations within the data.

  8. Question:Which loss function corresponds to the categorical distribution used in classification tasks?

    Answer:Cross-entropy is the loss function derived from the statistical assumption of a categorical distribution.

  9. Question:What is the definition of overfitting in deep learning models?

    Answer:Overfitting occurs when a model memorizes the training set but fails to generalize to new data.

  10. Question:How do L1 and L2 regularization techniques prevent the model from overfitting?

    Answer:They add a penalty for large weights to the loss function, which encourages the model to stay simple.

  11. Question:What is the mechanism by which dropout regularization functions during training?

    Answer:It randomly turns off neurons during training to force the network to learn redundant representations.

  12. Question:What are the primary components involved in the calculation of a single perceptron?

    Answer:A perceptron multiplies inputs by weights, adds a bias, and applies a nonlinear activation function.

  13. Question:Why are nonlinearities essential between the layers of a deep network?

    Answer:Without nonlinearities, the entire network collapses into a single, ineffective linear transformation.

  14. Question:Name three common types of nonlinear activation functions used in neural networks.

    Answer:ReLU, sigmoid, and tanh are commonly used nonlinear activation functions.

  15. Question:What is the negative consequence of initializing all network weights to zero?

    Answer:Every neuron receives the same gradient and learns identical features, reducing the layer's capacity to a single neuron.

  16. Question:What does the Universal Approximation Theorem state about neural networks?

    Answer:It states that a single hidden layer can approximate any continuous function, though it may require exponentially many neurons.

  17. Question:What describes the sequence of events during the forward pass of training?

    Answer:Input flows through the layers to produce a prediction and calculate an associated cost.

  18. Question:What is the fundamental role of the backpropagation algorithm?

    Answer:Backpropagation is an efficient method for computing the gradient of the cost with respect to every parameter using the chain rule.

  19. Question:How does dynamic programming enhance the efficiency of backpropagation?

    Answer:It avoids recomputing the same derivatives by storing intermediate results, which is essential for deep networks.

  20. Question:In stochastic gradient descent, what does the learning rate determine?

    Answer:The learning rate controls the magnitude of the step taken in the direction that reduces the cost.

  21. Question:How does the RMSProp optimizer differ from standard stochastic gradient descent?

    Answer:RMSProp adapts the step size for each parameter, providing larger steps for small gradients and smaller steps for large ones.

  22. Question:What characterizes hierarchical representations in stacked convolutional layers?

    Answer:Early layers detect simple features like edges, while deeper layers represent complex structures like textures and objects.

  23. Question:What is the primary objective of regularization techniques in deep learning?

    Answer:The goal is to reduce generalization error and improve performance on new data, even if training error increases.

  24. Question:Why is the chain rule from calculus critical for the backpropagation process?

    Answer:It allows the network to propagate derivatives from the cost function backward through each composition of operations to individual weights.

  25. Question:How does weight initialization impact the training of a wide neural network?

    Answer:Correct initialization ensures neurons do not learn redundant information by breaking the symmetry of their initial states.

  26. Question:What is the role of the bias term within a standard perceptron calculation?

    Answer:The bias is added to the weighted sum of inputs to allow the model to shift the activation function for better fitting.

  27. Question:Why are deeper networks generally preferred over shallow networks despite the Universal Approximation Theorem?

    Answer:Deeper networks represent complex functions much more efficiently, requiring fewer total neurons than shallow architectures.

  28. Question:How does the training process move from gradient computation to parameter updating?

    Answer:Once gradients are computed via backpropagation, an optimizer takes a step in the direction that reduces the total cost.

  29. Question:What is meant by 'translation robustness' in the context of pooling layers?

    Answer:It means the network can still identify a feature even if its position in the image changes slightly.

  30. Question:In the Gaussian noise assumption, what does the network's prediction represent?

    Answer:The prediction is treated as the mean of a Gaussian distribution for the target values given the input.

  31. Question:What is the relationship between maximizing log-likelihood and minimizing squared error?

    Answer:Maximizing the log-likelihood of a Gaussian distribution is mathematically equivalent to minimizing the squared error.

  32. Question:How does the categorical distribution relate to neural network classification outputs?

    Answer:Classification models assume target labels follow a categorical distribution, leading to the use of cross-entropy loss.

  33. Question:Why is 'memorizing the training set' considered a negative outcome in deep learning?

    Answer:Memorization prevents generalization, making the model perform poorly on any data it has not seen before.

  34. Question:What does a penalty on large weights achieve in L1 and L2 regularization?

    Answer:It discourages the model from relying too heavily on any single feature, favoring simpler and more stable models.

  35. Question:How does dropout force a network to learn more robust features?

    Answer:By removing neurons randomly, the network cannot rely on specific 'co-adaptations' and must learn independent, redundant features.

  36. Question:In a feed-forward network, how is data transformed between layers?

    Answer:Each layer takes its input, applies a transformation, and passes the result to the next layer in the sequence.

  37. Question:What role do nonlinear activation functions play in decision boundary shapes?

    Answer:They allow the network to learn complex, curved decision boundaries rather than simple linear separations.

  38. Question:What does the term 'linear collapse' refer to in multi-layer architectures?

    Answer:It describes the reduction of multiple linear layers into a single linear operation when no nonlinearities are used.

  39. Question:Why is backpropagation considered an efficient algorithm for deep networks?

    Answer:It uses the chain rule and dynamic programming to calculate all necessary gradients in a single backward pass.

  40. Question:What happens during the backward pass phase of training?

    Answer:The gradient of the cost is computed for every parameter in the network to prepare for optimization.

  41. Question:What is the primary function of an optimizer in deep learning?

    Answer:An optimizer uses gradients to update parameter values in a way that minimizes the total cost function.

  42. Question:How does training stability benefit from adaptive optimizers like RMSProp?

    Answer:By adapting individual step sizes, these optimizers prevent wild swings in weights and allow for more consistent convergence.

  43. Question:What is the relationship between filters and spatial positions in a CNN?

    Answer:A filter that detects a specific feature at one spatial position is also used to detect it elsewhere in the input.

  44. Question:What statistical assumption leads to the mathematical formulation of cross-entropy loss?

    Answer:It arises from assuming that the classification targets follow a categorical distribution.

  45. Question:What is the trade-off involved in reducing generalization error through regularization?

    Answer:Reducing generalization error often involves accepting a slight increase in training error to ensure better real-world performance.

  46. Question:Which mathematical operation is performed on inputs before a bias is added in a perceptron?

    Answer:The inputs are multiplied by their respective weights to determine their relative importance.

  47. Question:How does depth contribute to the representation power of a neural network?

    Answer:Adding layers allows the network to model functions more efficiently than can be done with a single, very wide layer.

  48. Question:Why is the learning rate considered a crucial hyperparameter in model training?

    Answer:It determines how quickly the network converges by scaling the magnitude of parameter updates after each gradient computation.

  49. Question:What defines the 'map' of core ideas that underpin deep learning technology?

    Answer:The core map consists of probability, neural networks, backpropagation, and specialized architectures fitting together.

  50. Question:How are complex objects represented within hierarchical convolutional architectures?

    Answer:Complex objects are formed by stacking convolutional layers that gradually combine low-level features into high-level concepts.

  51. Question:What is the relationship between statistical assumptions and neural network loss functions?

    Answer:Loss functions are not arbitrary; they are direct consequences of the statistical assumptions made about the data distribution.

  52. Question:What happens to training error when generalization error is prioritized through regularization?

    Answer:The training error might increase slightly as the model is forced away from rote memorization toward broader patterns.

  53. Question:Why is a linear composition of functions still linear regardless of network depth?

    Answer:Mathematically, the composition of multiple linear transformations always results in a single linear transformation.

  54. Question:What defines the forward pass of a neural network in simple terms?

    Answer:The forward pass involves input data moving through network layers to generate predictions and evaluate model costs.

  55. Question:How does the backpropagation algorithm avoid redundant computations?

    Answer:It utilizes dynamic programming to store and reuse intermediate derivative values throughout the backward pass.

  56. Question:What determines the direction of the parameter update in stochastic gradient descent?

    Answer:The gradient identifies the direction that reduces the cost, and the optimizer moves the parameters in that specific direction.

  57. Question:Why is parameter sharing essential for detecting images at various spatial positions?

    Answer:It ensures that a feature detector (like an edge filter) works consistently across the entire visual field.

  58. Question:What is the primary role of cross-entropy in neural network classification?

    Answer:Cross-entropy acts as the loss function that directs classification training based on categorical probability assumptions.

  59. Question:How does the L2 regularization penalty influence individual model weights?

    Answer:L2 regularization adds a penalty proportional to the square of the weights, discouraging any single weight from becoming too large.

  60. Question:What is the core difference between a shallow network and a deep network's efficiency?

    Answer:A shallow network may require exponentially many neurons to approximate a function that a deep network can represent compactly.