InterviewStack.io LogoInterviewStack.io

Deep Learning Concepts and Theory Questions

Conceptual understanding of important deep learning ideas: representation learning, why deep networks work, CNNs for feature extraction in images, RNNs for sequential data, attention mechanisms, and transformers. Understanding when to use deep learning vs simpler methods.

MediumTechnical
42 practiced
Write a Python/NumPy function that performs a 2D convolution forward pass for a single-channel image with a single filter, supporting padding and stride. Specify input shape (H, W), kernel shape (kH, kW), stride, and padding. Describe how you would extend it to multi-channel and batched inputs and how im2col could accelerate the computation.
HardSystem Design
47 practiced
Design an end-to-end platform for training and serving large transformer models (10B–100B parameters) in production that supports multi-tenant fine-tuning, on-demand inference with low latency (<200 ms for 1k tokens), model versioning and rollback, cost controls, and compliance. Address compute architecture, model parallelism choices, storage, orchestration, autoscaling, monitoring, safety filters, and tenant isolation.
EasyTechnical
53 practiced
Compare RNN, LSTM, and GRU at a high level. Explain the gating mechanisms and how they help with vanishing gradients. For a sequence classification task with moderate-length sequences, how would you decide which cell type to use and why?
MediumTechnical
57 practiced
Compare SGD with momentum, RMSProp, Adam, and AdaBelief in terms of convergence speed, generalization behavior, and hyperparameter sensitivity for deep networks. For training a large transformer with many layers and long sequences at scale, which optimizer and schedule would you choose and why?
EasyTechnical
51 practiced
Explain the concept of attention in neural networks. Contrast additive (Bahdanau) attention with dot-product (Luong / scaled dot-product) attention and give an intuitive example (e.g., machine translation) showing why attention improves sequence-to-sequence models.

Unlock Full Question Bank

Get access to hundreds of Deep Learning Concepts and Theory interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.