5 backpropagation interview questions, asked at OpenAI, Anthropic, Tesla and 1 more company. Last asked Sep 2026.
Minimal reverse-mode autograd engineCodingWith PyTorch available, write the core of an automatic differentiation engine yourself. Build a small Tensor wrapper whose operations record how each result was computed, and a…
Sharded matrix multiply: forward, backward and planted bugsCodingSplit a matrix multiplication across several devices and explain how the pieces combine. Write the forward pass and the gradient computation for that layout in NumPy or PyTorch…
Last asked Jul 2026
Neural network forward and backward pass from scratchCodingBuild a small neural network and a loss function by hand, without an autodiff library. Write the forward pass, then derive and code the backward pass that computes the gradient of…