What is the conceptual difference between reconstruction loss and KL divergence in a variational autoencoder?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Asks what the reconstruction loss and the KL divergence each do in a variational autoencoder's training objective. Tests how each term shapes the latent code, why the two pull against each other, and what happens when one of them dominates.