EasyDeepLearn

What is the standard reconstruction loss for autoencoders?

easy

Answer

  • MSE (or L1) between input and reconstruction for continuous data.
  • Binary cross-entropy per pixel for images normalized to [0, 1] (treats each pixel as a Bernoulli).
  • VAEs add a KL divergence between the posterior over latents and a prior — the ELBO objective.
  • Modern generative models use perceptual losses (feature-space MSE) or adversarial losses for sharper reconstructions.
Check yourself — multiple choice
  • Only cross-entropy
  • MSE / L1 (continuous) or pixel-wise BCE ([0,1]) plus KL for VAEs; perceptual/adversarial for sharpness
  • Same as attention loss
  • Only labels

Reconstruction loss: MSE/L1/BCE (+ KL for VAE); perceptual/adversarial for sharpness.

#losses#generative

Practise Deep Learning

214 interview questions in this topic.

Related questions