Green = exact question bank answerAmber = clarification only
GA vs PSO (Q23)
Side-by-side comparison
Genetic Algorithm
Inspired by genetics
selectioncrossovermutation
More explorative
vs
Particle Swarm (PSO)
Inspired by flocking
velocityposition
Converges faster
Q23
What are the main differences between GA and Particle Swarm Optimization (PSO)?
๐ Question bank answer
GA is inspired by genetics and uses selection, crossover, and mutation. PSO is inspired by social behavior and uses velocity and position updates. GAs are more explorative; PSO tends to converge faster.
๐ก Clarification
The side-by-side cards above visualize the same comparison.
Transfer Learning chain
These questions form a logical chain โ learn them in this order:
Transfer learning is a method where a model trained on one task (e.g., ImageNet classification) is reused and adapted for another task. This reduces the need for large datasets and allows faster development of models for new applications.
Q11
What are frozen layers in Transfer Learning?
๐ Question bank answer
Frozen layers are layers whose weights are fixed during training. They retain the pre-learned features from the source dataset and help maintain general knowledge, especially in the early convolutional layers.
Q28
What are trainable layers in Transfer Learning?
๐ Question bank answer
Trainable layers are updated during fine-tuning. They are typically the last few layers in the network, and they adapt the model to the new task by learning task-specific patterns from the new dataset.
Q12
What is fine-tuning in deep learning?
๐ Question bank answer
Fine-tuning is the process of continuing training a pre-trained model on a new task or dataset. It usually involves unfreezing some layers and updating them to specialize the model without losing its general capabilities.
Q18
What is additive fine-tuning?
๐ Question bank answer
Additive fine-tuning involves adding new layers or adapter modules to the pre-trained model while keeping the original weights unchanged. These new components are trained for the target task, preserving the base model's stability.
๐ก Clarification
The layer stack diagram above shows frozen (๐) vs trainable (โ๏ธ) vs additive (โ) layers.
CNN architectures
Q30
What is the key characteristic of VGG16 architecture?
๐ Question bank answer
VGG16 uses 3x3 convolutional filters, consistent architecture, and depth (16 layers) to learn complex image features. Its simplicity and uniformity make it widely used, despite its large number of parameters (138 million).
Q10
What makes GoogleNet (Inception v1) efficient compared to VGG?
๐ Question bank answer
GoogleNet uses Inception modules to process features at multiple scales using 1x1, 3x3, and 5x5 convolutions in parallel. It significantly reduces the number of parameters while maintaining high accuracy on image classification tasks.
Q13
What is an Inception Module?
๐ Question bank answer
An Inception module is a network block that applies multiple convolutions (1x1, 3x3, 5x5) and pooling operations in parallel, then concatenates the outputs. This allows the model to learn both local and global features simultaneously.
Q29
Why is 1x1 convolution used before larger filters in Inception modules?
๐ Question bank answer
1x1 convolutions are used for dimensionality reduction. They reduce the number of input channels before applying larger filters, making the model more efficient and reducing computational cost.
๐ก Clarification
See the VGG vs Inception architecture diagram below โ 1ร1 "reduce" blocks sit before the larger 3ร3 and 5ร5 filters.
VGG16 vs Inception โ architecture comparison
VGG16 (Q30) โ uniform & heavy
3ร3
โ
3ร3
โ
3ร3
โ
3ร3
โ
โฆร16
Same 3ร3 filters stacked deep ยท 138M parameters
Inception module (Q10, Q13, Q29)
Input
1ร1 conv
1ร1 reduce then 3ร3
1ร1 reduce then 5ร5
3ร3 pool
Concatenate โ Output
Parallel paths ยท 1ร1 cuts channels first (Q29) ยท fewer params than VGG