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.

MediumTechnical
86 practiced

Explain the vanishing and exploding gradient problems in deep networks: the repeated-Jacobian-multiplication intuition (including the role of eigenvalues/singular values), and name at least four practical mitigations.

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.

HardTechnical
86 practiced

You must choose between transfer learning with a pretrained CNN and training from scratch for a medical-imaging classification task with only 2,000 labeled images. Discuss the advantages, the domain-shift pitfalls, and the fine-tuning strategy you would use.

HardTechnical
81 practiced

Compare triplet loss, contrastive loss, and InfoNCE/NT-Xent for representation learning. Discuss hard/semi-hard negative mining, batch size and temperature effects, and how to scale training to millions of examples.

MediumTechnical
87 practiced

Compare pretraining objectives used in representation learning: supervised pretraining, contrastive learning, masked modeling, and generative modeling. For image and text modalities, discuss which objectives fit best and the downstream adaptation cost.

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.