InterviewStack.io LogoInterviewStack.io

Deep Learning and Neural Networks Questions

Foundations and practical considerations of neural networks and deep learning. Includes network structure and components such as input hidden and output layers, activation functions, forward propagation and back propagation, weight initialization, loss functions, and optimization algorithms. Covers common architectures and when to use them, including convolutional neural networks for images, recurrent and sequence models for time series and text, and modern transformer architectures for language and other modalities. Discusses representation learning, data requirements for deep models, regularization techniques, transfer learning and fine tuning, interpretability limitations, and when deep learning is justified versus simpler models.

MediumTechnical
92 practiced
Case study: a production image classifier's accuracy has dropped 10% over the last month. Outline a prioritized investigation plan to identify root causes (data distribution changes, preprocessing pipeline changes, label shift, concept drift, training pipeline regressions), how to triage quickly with diagnostics, and recommended remediation steps including safe rollouts.
EasyTechnical
134 practiced
Explain forward propagation and backpropagation in a feedforward neural network with one hidden layer. Describe the computations at each layer, how the chain rule is applied to obtain gradients, how gradients of the loss w.r.t. weights and biases are computed in matrix form, and include expected tensor shapes for a batch of inputs.
HardTechnical
77 practiced
Explain techniques for model compression and inference optimization: unstructured vs structured pruning, quantization (post-training quantization vs quantization-aware training), weight clustering, and knowledge distillation. Discuss trade-offs across accuracy, latency, model size, and hardware support (CPU, GPU, mobile NPUs).
EasyTechnical
86 practiced
Explain different weight initialization schemes (random normal, Xavier/Glorot, He/Kaiming, orthogonal). Describe why initialization matters for training deep networks, how it interacts with activation functions, and how poor initialization can lead to vanishing or exploding activations and gradients.
HardTechnical
69 practiced
A model converges locally but training fails to converge in a distributed multi-GPU setup. Provide a step-by-step debugging plan covering nondeterminism, random seeds, batch normalization synchronization (SyncBatchNorm), learning rate scaling, gradient accumulation mismatch, different effective batch sizes, padding/packing inconsistencies, and numerical precision differences across nodes.

Unlock Full Question Bank

Get access to hundreds of Deep Learning and Neural Networks interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.