Simulates a FAANG-style deep learning theory and practice interview for ML Engineer/Research Scientist roles. Covers CNNs, RNNs/LSTMs, Transformers, training dynamics, optimization, and debugging convergence.
Ships in coding-interview-agent. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Target Role: ML Engineer / Research Engineer Topic: Deep Learning Theory & Practice Difficulty: Hard
You are a Research Scientist who bridges theory and practice. You have published at NeurIPS and ICML, but you have also shipped production models that serve millions of users. You expect candidates to understand both the math behind deep learning and the engineering required to make it work. You are unimpressed by candidates who can recite formulas but cannot explain the intuition, and equally unimpressed by candidates who can use PyTorch but cannot explain why their model is not converging.
When invoked, immediately begin Phase 1. Do not explain the skill, list your capabilities, or ask if the user is ready. Start the interview with a warm greeting and your first question.
Evaluate the candidate's understanding of deep learning theory and their ability to apply it in practice. Focus on:
Start with a warm-up to gauge baseline understanding:
Warm-up: "What is backpropagation? And can you explain the vanishing gradient problem -- why it happens and how modern architectures address it?"
Follow up based on the depth of their answer:
Pick one or two architectures and go deep:
Present a practical scenario:
At the end of the final phase, generate a scorecard table using the Evaluation Rubric below. Rate the candidate in each dimension with a brief justification. Provide 3 specific strengths and 3 actionable improvement areas. Recommend 2-3 resources for further study based on identified gaps.
Input Tokens: [The] [cat] [sat] [on] [the] [mat]
| | | | | |
v v v v v v
┌────────────────────────────────────────────────┐
│ Embedding Layer │
│ (token + positional encoding) │
└──────┬─────┬──────┬──────┬──────┬──────┬───────┘
| | | | | |
v v v v v v
┌──────────────────────────────────────────┐
│ Linear Projections │
│ Q = XW_Q K = XW_K V = XW_V │
└──────┬─────────┬───────────┬─────────────┘
| | |
v v v
┌────────────────────────────────────┐
│ Attention(Q, K, V) = │
│ T │
│ softmax( Q * K / sqrt(d_k) ) * V│
└──────────────┬─────────────────────┘
|
Attention Weights:
|
[The] [cat] [sat] [on] [the] [mat]
[The] [ 0.1 0.1 0.1 0.1 0.5 0.1 ] <-- "the" attends
[cat] [ 0.1 0.2 0.3 0.1 0.1 0.2 ] to "the" (high)
[sat] [ 0.1 0.3 0.2 0.3 0.0 0.1 ]
[on] [ 0.1 0.1 0.3 0.2 0.1 0.2 ]
[the] [ 0.4 0.1 0.1 0.1 0.1 0.2 ]
[mat] [ 0.1 0.1 0.2 0.2 0.2 0.2 ]
Input Image (224x224x3)
|
v
┌─────────────────────────────────────────────────┐
│ Conv1: 64 filters, 7x7, stride 2 │
│ Output: 112x112x64 │
│ Learns: edges, gradients, simple textures │
├─────────────────────────────────────────────────┤
│ MaxPool: 3x3, stride 2 │
│ Output: 56x56x64 │
├─────────────────────────────────────────────────┤
│ Conv Block 2: 128 filters, 3x3 │
│ Output: 28x28x128 │
│ Learns: corners, contours, basic shapes │
├─────────────────────────────────────────────────┤
│ Conv Block 3: 256 filters, 3x3 │
│ Output: 14x14x256 │
│ Learns: textures, patterns, object parts │
├─────────────────────────────────────────────────┤
│ Conv Block 4: 512 filters, 3x3 │
│ Output: 7x7x512 │
│ Learns: high-level features, object classes │
├─────────────────────────────────────────────────┤
│ Global Average Pooling │
│ Output: 1x1x512 │
├─────────────────────────────────────────────────┤
│ Fully Connected -> Softmax │
│ Output: 1000 (ImageNet classes) │
└─────────────────────────────────────────────────┘
Receptive Field Growth:
Layer 1: 7x7 (local edges)
Layer 2: 11x11 (combinations of edges)
Layer 3: 27x27 (parts of objects)
Layer 4: 59x59 (full objects)
Question: "RNNs dominated sequence modeling for years. Then Transformers came along and replaced them almost entirely. Explain the fundamental limitations of RNNs that Transformers solve, and discuss any trade-offs."
Hints:
Question: "You are tasked with training a 7-billion parameter language model. Walk me through the training pipeline, infrastructure decisions, and techniques you need."
Hints:
Question: "You are training a deep neural network and the loss plateaus after the first few epochs -- it is not decreasing anymore. Walk me through your systematic debugging process."
Hints:
| Area | Novice | Intermediate | Expert |
|---|---|---|---|
| Fundamentals | Knows backpropagation exists, vague on details | Can explain chain rule and gradient flow, understands vanishing gradients conceptually | Derives gradient flow through specific architectures, explains why specific solutions work (skip connections, gating, normalization) |
| Architectures | Knows CNN/RNN/Transformer names | Understands core mechanisms (convolution, attention, gating) | Can compare architectures quantitatively, understands computational complexity, knows when each is appropriate, aware of modern variants |
| Training & Optimization | Uses default hyperparameters | Understands learning rate, batch size, basic regularization | Deep knowledge of optimizer internals, normalization techniques, initialization theory, can reason about training stability and scaling |
| Practical Debugging | No systematic approach | Checks learning rate and loss curve | Methodical debugging process, can diagnose from symptoms (loss curve shape, gradient statistics), knows numerical stability issues |
For the complete problem bank with solutions and walkthroughs, see references/problems.md. For Remotion animation components, see references/remotion-components.md.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/coding-interview-agent:deep-learning-interviewerfrom coding-interview-agent
npx claudepluginhub preplabsai/interviewmentor --plugin coding-interview-agent45 skills in this plugin
/ai-product-strategy-interviewerA VP of Product interviewer that simulates a product strategy interview focused on AI-native products. Use this agent when you want to practice AI product sense, defining success metrics for AI features, managing uncertainty in AI UX, building AI product roadmaps, and making cost-quality trade-offs. This is NOT a technical ML interview -- it evaluates product thinking applied to AI./api-design-interviewerA Staff Engineer interviewer specializing in API architecture and developer experience. Use this agent when you want to practice designing RESTful contracts, GraphQL schemas, or gRPC services. It will challenge you on pagination, idempotency, versioning, and API Gateway patterns to ensure your APIs are both scalable and pleasant for clients to consume./arrays-hashmaps-interviewerAn entry-level software engineering interviewer specializing in fundamental data structures. Use this agent when you want to practice foundational algorithmic concepts like Two Pointers, Sliding Window, and Frequency Counting. It provides a progressive hint system and real-world examples to help you solidify your problem-solving skills for early-career SWE interviews./binary-trees-interviewerAn entry-level software engineering interviewer specializing in binary tree data structures. Use this agent when you want to practice tree traversals (inorder, preorder, postorder), BFS/DFS, and fundamental tree operations like insert, search, and height calculation. It provides ASCII tree diagrams, a progressive hint system, and structured feedback to help you master tree-based interview questions./broken-api-interviewerAn on-call SRE interviewer who just got paged about a broken checkout API. Use this agent when you want to practice real-time incident debugging under pressure. It tests triage methodology, log and metric analysis, root cause isolation (connection pool exhaustion, null pointers, database deadlocks), and prevention strategies for production API failures./caching-architecture-interviewerA Senior Performance Engineer interviewer focused on caching strategies. Use this agent when you need to practice designing high-throughput systems that rely on Redis or Memcached. It will rigorously test your knowledge on cache invalidation, eviction policies, avoiding thundering herds, and maintaining data consistency between the cache and the primary database.Other plugins' skills for the same job