InterviewStack.io LogoInterviewStack.io

Deep Learning: Neural Networks and Architectures Questions

How deep neural networks are built and trained. Covers network fundamentals, activation functions and non-linearity, loss function selection, backpropagation, optimization and learning-rate behavior, and diagnosing vanishing or exploding gradients, along with the major architecture families: convolutional networks for images and recurrent networks, LSTMs, and GRUs for sequences. Emphasizes both how to train deep networks stably and how to match an architecture family to the structure of the data.

HardTechnical
100 practiced

Explain the double descent phenomenon in deep learning: the two regimes (the classical bias-variance curve and the interpolation-peak-then-descent), and its practical implications for choosing model size, training length, and regularization.

HardTechnical
123 practiced

Derive the gradient of a single BatchNorm layer with respect to its input activations for a mini-batch. Explain intuitively how BatchNorm affects gradient magnitudes and stabilizes training, and note the limitations of the 'internal covariate shift' explanation.

MediumTechnical
73 practiced

How would you use framework profilers (torch.profiler or tf.profiler) to determine whether your training is GPU-bound or CPU/DataLoader-bound? Provide sample commands/code to run a trace, and list the key signals (e.g., kernel time vs host time, memcpy overhead, idle GPU) you would look for in the profiler output.

MediumTechnical
92 practiced

A model shows training accuracy near 98% and validation accuracy around 70%. Create a prioritized experiment plan to diagnose and reduce this generalization gap, including data-leakage checks, regularization tuning, augmentation, early stopping, capacity reduction, and stopping criteria.

EasyTechnical
102 practiced

Define ReLU, sigmoid, tanh, and softmax: the formula, output range, typical placement (hidden vs output), and one practical advantage and disadvantage of each.

Unlock Full Question Bank

Get access to all Deep Learning: Neural Networks and Architectures interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.