Deep Learning interview questions
100 Machine Learning practice questions. Read what a strong answer covers, then practise it out loud against the clock.
Practise Deep Learning questionsBeginner
- Activation functions
- Backpropagation
- Choosing a model for image classification
- Classifying sounds
- Common optimizers
- Convolutional neural networks
- CUDA out of memory error
- Data augmentation
- Deploying a trained PyTorch model
- Dropout
- Epochs, batches and iterations
- Finding similar images
- Fine-tuning pretrained networks
- Forgot to normalize inputs
- How a neural network works
- Image classifier overfits with little data
- Loss barely decreases
- Loss becomes NaN during training
- Loss functions for neural networks
- Model got worse after more epochs
- Predictions change every time
- Rare defects in manufacturing images
- Recurrent neural networks
- Results can't be reproduced
- Softmax
- Tagging photos with multiple labels
- Text classification with a pretrained model
- The learning rate
- Training is very slow
- Validation looks great but real-world performance is poor
- Vanishing and exploding gradients
- Weight initialization
- When to use deep learning vs classical ML
- Why deep learning uses GPUs
Intermediate
- Autoencoders
- Batch normalization vs layer normalization
- Building an object detection system
- Choosing augmentations for medical images
- Combining images and text for product classification
- Debugging neural network training
- Deep learning for time series forecasting
- Detecting anomalies in sensor data with deep learning
- Effect of batch size
- Embedding layers
- Fine-tuned model forgot general knowledge
- Generative adversarial networks
- Gradient clipping
- Improving semantic search quality
- Key deep learning hyperparameters
- Learning rate schedules and warmup
- Local minima and saddle points
- LSTM and GRU
- Mixed precision training
- Model too slow in production
- Overconfident neural network
- Regularization techniques in deep learning
- Residual connections
- Scaling training to multiple GPUs
- Segmenting land use in satellite images
- Sequence-to-sequence models
- Shrinking a model for an edge device
- The attention mechanism
- Too many training experiments to keep track of
- Training plateaus early
- Training with noisy labels
- Transformer architecture overview
- Validation loss rising while accuracy holds
Experienced
- Adversarial examples
- Attackers fooling your image moderation model
- Building a data pipeline for training a large model
- Choosing between a large model and a small fine-tuned one
- Contrastive learning
- Diffusion models
- Distributed training strategies
- Efficient attention and FlashAttention
- Explaining an image model's decision
- Generating product images for marketing
- Getting the best model with a fixed compute budget
- GPU inference costs too high
- Graph neural networks
- Knowledge distillation
- Loss spikes during large-scale training
- Mixture of experts
- Model fails on images from a new hospital
- Model too big for a single GPU
- Multimodal models
- Optimizing deep learning inference
- Positional encodings
- Processing very long documents
- Quantization and pruning
- Reducing GPU memory during training
- Serving a mixture-of-experts model
- State space models and alternatives to transformers
- Strong benchmark scores, weak real-world performance
- Training stability in large models
- Turning a research prototype into production
- Updating a model with new classes regularly
- Using a graph neural network for fraud
- Using synthetic data to train a model
- Variational autoencoders