How can you use AIC or BIC to select the number of components in a Gaussian mixture model?

Quick Overview

Asks how to choose the number of components in a Gaussian mixture model using AIC or BIC. Tests knowledge of both formulas, how to count a mixture's free parameters, how the two penalties differ and the practical pitfalls of reading the criterion curve.

How can you use AIC or BIC to select the number of components in a Gaussian mixture model?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

How can you use AIC or BIC to select the number of components in a Gaussian mixture model? ```hint Count what each component adds Work out how many free parameters a mixture with K components has in d dimensions. How fast does that number grow with K and with d? ``` ```hint Compare the penalties Both criteria trade likelihood against parameter count. Look at how each penalty depends on the number of samples. ``` ### What a Strong Answer Covers - The procedure of fitting several K and comparing the criterion, including which direction is better - The AIC and BIC formulas and a correct count of free parameters for the covariance type used - How AIC and BIC differ in strictness and in what each one is trying to select - Practical issues such as local optima, non-Gaussian clusters and how to read the criterion curve ### Follow-up Questions - How many free parameters does a 5-component mixture with diagonal covariances in 20 dimensions have? - Why might BIC keep decreasing up to the largest K you tried, and what would you do then? - How does a Bayesian Gaussian mixture with a Dirichlet process prior settle on a number of components? - How would you choose K by cross-validated log-likelihood instead, and when is that the better choice?

Overview: Asks how to choose the number of components in a Gaussian mixture model using AIC or BIC. Tests knowledge of both formulas, how to count a mixture's free parameters, how the two penalties differ and the practical pitfalls of reading the criterion curve.

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

How can you use AIC or BIC to select the number of components in a Gaussian mixture model?

What a Strong Answer Covers Guidance

  • The procedure of fitting several K and comparing the criterion, including which direction is better
  • The AIC and BIC formulas and a correct count of free parameters for the covariance type used
  • How AIC and BIC differ in strictness and in what each one is trying to select
  • Practical issues such as local optima, non-Gaussian clusters and how to read the criterion curve

Follow-up Questions Guidance

  • How many free parameters does a 5-component mixture with diagonal covariances in 20 dimensions have?
  • Why might BIC keep decreasing up to the largest K you tried, and what would you do then?
  • How does a Bayesian Gaussian mixture with a Dirichlet process prior settle on a number of components?
  • How would you choose K by cross-validated log-likelihood instead, and when is that the better choice?