Made with ScholarlyMake flashcards like these from your own notes
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Question:Name three common types of nonlinear activation functions used in neural networks.
Answer:ReLU, sigmoid, and tanh are commonly used nonlinear activation functions.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.