Evaluating Generative Models¶
Definition¶
We can evaluate the generalization error for generative models, but is defined differently from predictor models.
Once we define our metric (ie. KL Divergence), and the sample estimator, then we can use all the same strategies (test sets, cross validation).
A natural choice is the KL divergence between two different distributions: the learned generative model \(p(x | \theta)\), and the true generative model \(p_{\text{true}}(x)\):
It is shown that:
Therefore we can estimate the generalization error by estimating the expected log likelihood of data generated by \(p_{\text{true}}(x)\), under model \(p(x|\theta)\). We can do this using a sample average:
\(\text{Perf}(\theta)\) is how well the model generalizes to the test data, so we want higher Perf.
Thus, if we want to minimize generalization error: