When would you apply whitening to a PCA representation?

Quick Overview

Asks when whitening a PCA representation is worth doing and when it backfires. Tests understanding of what whitening does to component variances, which downstream models are sensitive to feature scale, how it treats low-variance directions, and how PCA and ZCA whitening differ.

When would you apply whitening to a PCA representation?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

When would you apply whitening to a PCA representation? ```hint Which models care about scale Think about which downstream models change their behavior when one input feature has a much larger variance than another, and which do not. ``` ```hint Watch the small components Consider what rescaling to unit variance does to a component whose variance was close to zero. ``` ### What a Strong Answer Covers - What whitening does to the PCA scores, as a formula or in words, and how to turn it on in practice. - Downstream models or methods that benefit from it, and why. - The costs, especially for low-variance components, and a way to limit them. - Models for which whitening makes no difference. - How PCA whitening differs from ZCA whitening. ### Follow-up Questions - How is Euclidean distance between whitened points related to Mahalanobis distance in the original space? - Does whitening change the predictions of an unregularized linear regression? What about ridge regression? - Why does ICA need whitened input? - How would you choose $\epsilon$, or the number of components to keep, before whitening?

Overview: Asks when whitening a PCA representation is worth doing and when it backfires. Tests understanding of what whitening does to component variances, which downstream models are sensitive to feature scale, how it treats low-variance directions, and how PCA and ZCA whitening differ.

Nov 24, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

When would you apply whitening to a PCA representation?

What a Strong Answer Covers Guidance

  • What whitening does to the PCA scores, as a formula or in words, and how to turn it on in practice.
  • Downstream models or methods that benefit from it, and why.
  • The costs, especially for low-variance components, and a way to limit them.
  • Models for which whitening makes no difference.
  • How PCA whitening differs from ZCA whitening.

Follow-up Questions Guidance

  • How is Euclidean distance between whitened points related to Mahalanobis distance in the original space?
  • Does whitening change the predictions of an unregularized linear regression? What about ridge regression?
  • Why does ICA need whitened input?
  • How would you choose ϵ\epsilon , or the number of components to keep, before whitening?