InterviewStack.io LogoInterviewStack.io

Common Deep Learning Architectures Questions

Familiarity with CNNs for images, RNNs/LSTMs for sequences, attention mechanisms, and Transformers for NLP. Understanding when and why to use each. Basic knowledge of pre-trained models and transfer learning.

EasyTechnical
76 practiced
Describe batch normalization and how it stabilizes training. Compare batch normalization to layer normalization and group normalization, and explain which you would prefer in training Transformers or RNNs for production stability.
EasyTechnical
75 practiced
List a few widely used pre-trained models for computer vision and NLP (e.g., ResNet, EfficientNet, BERT, RoBERTa, GPT) and describe one realistic example use-case for each where using the pre-trained checkpoint is a clear advantage in production.
HardTechnical
68 practiced
Implement a Transformer encoder block in PyTorch-like pseudocode that supports configurable pre-norm or post-norm, multi-head attention, dropout, residual connections, and a two-layer feed-forward network. Ensure the block accepts a mask and batched inputs, and note shape assumptions.
HardSystem Design
91 practiced
Design an explainability plan for a production Transformer-based recommendation model to satisfy regulatory requirements: which explainability techniques you would implement (feature attribution, counterfactuals, example-based explanations), how to log explanations, maintain audit trails, and integrate human-in-the-loop review for critical decisions.
MediumTechnical
95 practiced
Explain gradient accumulation: why it's used, how it mimics larger batch sizes, and trade-offs compared to increasing physical batch size or using multi-GPU data-parallel training. Include pseudo-implementation details for PyTorch optimizer steps with accumulation.

Unlock Full Question Bank

Get access to hundreds of Common Deep Learning Architectures interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.