Why does learning the data distribution P(X) qualify as an unsupervised generative objective?

Quick Overview

Asks why modeling the data distribution P(X) counts as both unsupervised and generative. Tests how well you can separate generative from discriminative models, connect density modeling to clustering and anomaly detection, and place common model families.

Why does learning the data distribution P(X) qualify as an unsupervised generative objective?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

Why does learning the data distribution $P(X)$ qualify as an unsupervised generative objective? ```hint Look at the objective Check which variables appear in the training objective, then list what you can do with a fitted model of $P(X)$ that you cannot do with a model of $P(Y \mid X)$. ``` ### What a Strong Answer Covers - Why the objective counts as unsupervised, including the usual training criterion - What makes it generative, contrasted with a discriminative model - How other unsupervised tasks (anomaly detection, clustering, representation learning) fall out of a density model - The main model families and whether each gives an exact, approximate or no density - Where self-supervised next-token prediction fits ### Follow-up Questions - How would you evaluate a generative model that can sample but cannot compute a likelihood? - Why can a density model assign high likelihood to inputs far from its training data, and what does that mean for anomaly detection? - How does the ELBO relate to the true log-likelihood in a VAE? - With only a few labels available, how could a model of $P(X)$ help you train a classifier?

Overview: Asks why modeling the data distribution P(X) counts as both unsupervised and generative. Tests how well you can separate generative from discriminative models, connect density modeling to clustering and anomaly detection, and place common model families.

Nov 24, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

Why does learning the data distribution P(X)P(X) qualify as an unsupervised generative objective?

What a Strong Answer Covers Guidance

  • Why the objective counts as unsupervised, including the usual training criterion
  • What makes it generative, contrasted with a discriminative model
  • How other unsupervised tasks (anomaly detection, clustering, representation learning) fall out of a density model
  • The main model families and whether each gives an exact, approximate or no density
  • Where self-supervised next-token prediction fits

Follow-up Questions Guidance

  • How would you evaluate a generative model that can sample but cannot compute a likelihood?
  • Why can a density model assign high likelihood to inputs far from its training data, and what does that mean for anomaly detection?
  • How does the ELBO relate to the true log-likelihood in a VAE?
  • With only a few labels available, how could a model of P(X)P(X) help you train a classifier?