Made with ScholarlyMake flashcards like these from your own notes
Question:What does a convolutional layer use filters to perform?
Answer:Convolution operations scanning input for features.
Question:What is the purpose of pooling layers in CNNs?
Answer:Downsample feature maps and introduce spatial invariance.
Question:How is the output size of a convolution computed?
Answer:O = I - F + Pstart + Pend + 1.
Question:What parameter determines the movement of the window in convolution?
Answer:Stride (S).
Question:What is a key feature of the ReLU activation function?
Answer:Outputs max(0, z), adding non-linearity.
Question:How does max pooling differ from average pooling?
Answer:Max pooling selects maximum values; average pooling computes mean.
Question:What role do zero-padding modes like 'valid' and 'same' play in CNNs?
Answer:Control feature map size and feature detection.
Question:What is a fully connected (FC) layer's main characteristic?
Answer:Each input connects to all neurons.
Question:What is the main purpose of the softmax function in neural networks?
Answer:Convert scores into probability distributions.
Question:What does the receptive field in a CNN indicate?
Answer:Input area influencing each activation map pixel.
Question:What is the primary purpose of object detection algorithms like YOLO and R-CNN?
Answer:Classify objects and locate them with bounding boxes.
Question:How does IoU measure the accuracy of predicted bounding boxes?
Answer:Computes intersection over union of boxes.
Question:What is the primary difference between face verification and face recognition?
Answer:Verification is one-to-one; recognition is one-to-many.
Question:What is the purpose of the Gram matrix in neural style transfer?
Answer:Quantifies channel correlation for style.
Question:What do content and style loss functions optimize in neural style transfer?
Answer:Content: similarity with original image; Style: similarity with style image.
Question:What are a Generative Adversarial Network's main components?
Answer:Generator and discriminator.
Question:In RNNs, what problem does the vanishing gradient cause?
Answer:Difficulty capturing long-term dependencies.
Question:What is the purpose of the forget gate in LSTM?
Answer:To erase or retain cell state information.
Question:How does the skip-gram model in word2vec learn embeddings?
Answer:By predicting context words given a target word.
Question:What is perplexity in language modeling?
Answer:Inverse probability of the dataset; lower is better.
Question:What does cosine similarity measure between two word vectors?
Answer:Cosine of the angle between them.
Question:What is the main goal of attention mechanisms in models?
Answer:Focus on important input parts.
Question:What does the hyperparameter 'beam width' in beam search control?
Answer:Trade-off between search quality and computational cost.
Question:How does dropout regularization help neural networks?
Answer:Prevents overfitting by randomly deactivating neurons.
Question:What is the purpose of data augmentation?
Answer:Increase training data variability artificially.
Question:How does batch normalization improve training?
Answer:Normalizes layer inputs to stabilize learning.
Question:What is the primary purpose of cross-entropy loss?
Answer:Measure divergence between predicted and true distributions.
Question:How does backpropagation update weights?
Answer:Computes gradients via chain rule and adjusts weights accordingly.
Question:What role does batch normalization play in training?
Answer:Reduces dependence on initialization and allows higher learning rates.
Question:What is Xavier initialization designed to do?
Answer:Set initial weights considering layer characteristics for stability.
Question:What does the Adam optimizer adapt during training?
Answer:Learning rates for each parameter dynamically.
Question:Why is early stopping used in training?
Answer:Halt training when validation loss plateaus or increases to prevent overfitting.
Question:What is the main goal of weight regularization like LASSO or Ridge?
Answer:Constrain weights to reduce complexity and overfitting.
Question:What is the key concept behind transfer learning?
Answer:Leverage pre-trained weights on large datasets for new tasks.
Question:Why perform gradient checking during model implementation?
Answer:Verify analytical gradients against numerical estimates for correctness.