What parameters are updated during the M-step of fitting a Gaussian mixture model?

Quick Overview

Asks which parameters of a Gaussian mixture model the M-step of EM updates and how each update is computed. Tests knowledge of responsibility-weighted maximum-likelihood estimates, why they have closed form, and how covariance constraints and regularization change them.

What parameters are updated during the M-step of fitting a Gaussian mixture model?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

What parameters are updated during the M-step of fitting a Gaussian mixture model? Give the update for each parameter and explain where it comes from. ```hint Hold the E-step output fixed During the M-step the responsibilities are constants. Write the expected complete-data log-likelihood with them fixed and see how it separates across components. ``` ### What a Strong Answer Covers - Every parameter set the M-step updates for each component - The closed-form update for each, and how the E-step responsibilities and effective counts enter it - Why the updates have closed form, including how the constraint on the mixing weights is handled - How constrained covariance types and covariance regularization change the update - What EM guarantees about the likelihood across iterations, and what it does not ### Follow-up Questions - What happens to the likelihood if one component's covariance collapses onto a single data point, and how do you prevent it? - How is k-means related to EM on a Gaussian mixture? - How would you choose the number of components? - How does the mixing-weight update change if you place a Dirichlet prior on the weights?

Overview: Asks which parameters of a Gaussian mixture model the M-step of EM updates and how each update is computed. Tests knowledge of responsibility-weighted maximum-likelihood estimates, why they have closed form, and how covariance constraints and regularization change them.

Nov 24, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

What parameters are updated during the M-step of fitting a Gaussian mixture model?

Give the update for each parameter and explain where it comes from.

What a Strong Answer Covers Guidance

  • Every parameter set the M-step updates for each component
  • The closed-form update for each, and how the E-step responsibilities and effective counts enter it
  • Why the updates have closed form, including how the constraint on the mixing weights is handled
  • How constrained covariance types and covariance regularization change the update
  • What EM guarantees about the likelihood across iterations, and what it does not

Follow-up Questions Guidance

  • What happens to the likelihood if one component's covariance collapses onto a single data point, and how do you prevent it?
  • How is k-means related to EM on a Gaussian mixture?
  • How would you choose the number of components?
  • How does the mixing-weight update change if you place a Dirichlet prior on the weights?