Compare convolutions and transformers
SnapchatMachine Learning Engineer · Technical ScreenLast updated
This question evaluates understanding of neural network architectures, focusing on inductive biases, data and compute trade-offs, mechanisms for handling long-range dependencies, domain-specific roles in vision and NLP, and modern hybrid approaches that address architecture limitations.
Explain the key differences between convolutional neural networks and transformer architectures. Compare their inductive biases, data and compute requirements, handling of long-range dependencies, typical applications in vision and NLP, and how modern hybrid approaches address their limitations.
Solution walkthrough is for members
Get the full walkthrough with reference code and complexity analysis, plus Kitty Coach at 300 messages a day. Hints, the code runner and community answers stay free.