How does Probabilistic PCA handle missing values in the input data?

Quick Overview

Asks how Probabilistic PCA copes with missing entries in the input data. Tests your understanding of the PPCA latent-variable model, how EM works with only the observed coordinates of each sample, and the assumptions that make the resulting imputation trustworthy.

How does Probabilistic PCA handle missing values in the input data?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: hard

Interview Round: Other

How does Probabilistic PCA handle missing values in the input data? ```hint Start from the generative model Write down the PPCA model and ask what distribution the observed coordinates of a single sample follow when some coordinates are absent. ``` ```hint Fitting with unobserved quantities Think about the standard way to fit a latent-variable model by alternating between inferring what is unobserved and updating the parameters, and what each sample contributes to it. ``` ### What a Strong Answer Covers - The PPCA generative model and its parameters - Why the observed part of each sample still has a closed-form likelihood, and which parts of $W$ and $\mu$ it uses - What is inferred per sample, including the latent variable and the expected missing values with their uncertainty - How the parameters are updated, and how this differs from imputing first and running standard PCA - The assumptions behind the method and its practical costs ### Follow-up Questions - What goes wrong if values are missing not at random, for example a sensor that drops readings above a limit? - How does the cost of the per-sample step depend on the number of distinct missingness patterns, and how would you organize the computation? - How would you compare PPCA imputation with mean imputation followed by standard PCA? - How would you choose the latent dimension when the data is incomplete?

Overview: Asks how Probabilistic PCA copes with missing entries in the input data. Tests your understanding of the PPCA latent-variable model, how EM works with only the observed coordinates of each sample, and the assumptions that make the resulting imputation trustworthy.

PracHub logo
General
Nov 25, 2026
hardMachine Learning EngineerOtherMachine Learning
0
0

How does Probabilistic PCA handle missing values in the input data?

What a Strong Answer Covers Guidance

  • The PPCA generative model and its parameters
  • Why the observed part of each sample still has a closed-form likelihood, and which parts of WW and μ\mu it uses
  • What is inferred per sample, including the latent variable and the expected missing values with their uncertainty
  • How the parameters are updated, and how this differs from imputing first and running standard PCA
  • The assumptions behind the method and its practical costs

Follow-up Questions Guidance

  • What goes wrong if values are missing not at random, for example a sensor that drops readings above a limit?
  • How does the cost of the per-sample step depend on the number of distinct missingness patterns, and how would you organize the computation?
  • How would you compare PPCA imputation with mean imputation followed by standard PCA?
  • How would you choose the latent dimension when the data is incomplete?