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.

EasyTechnical
146 practiced

Why do neural networks require non-linear activation functions? Show with a short argument why stacking only linear layers collapses to a single linear transform, and give a concrete task (e.g. XOR) that a purely linear network cannot solve.

EasyTechnical
146 practiced

Describe common learning-rate schedules: step decay, exponential decay, cosine annealing (with and without restarts), cyclical schedules, and linear warmup. Explain why warmup is commonly used for large models and which schedules pair well with large-batch training.

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.

HardTechnical
76 practiced

Derive the subgradient of the hinge loss L = max(0, 1 - y*f(x)) with respect to model parameters when f(x) is linear. Explain how SGD uses this subgradient at the non-differentiable point and the implications for convergence and support vectors.

EasyTechnical
95 practiced

For a given convolutional layer's input shape and kernel/stride/padding/output-channel configuration, compute the output spatial dimensions, the number of learnable parameters, and the number of multiply-add operations for one forward pass.

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.