What is the difference between training and inference in machine learning, and why do their costs differ?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: easy
Interview Round: Other
Overview: Asks how training and inference differ in machine learning and why their compute, memory and total costs are so different. Tests understanding of backward passes and optimizer state, serving at scale under latency limits, and mode-dependent layers like dropout and batch norm.