When is Group Lasso preferred over standard Lasso?

Quick Overview

Asks when group lasso is a better choice than standard lasso in regularized regression. Tests understanding of the group penalty, why it selects or drops whole groups of coefficients, common grouped features such as one-hot categoricals and spline bases, and the method's limits.

When is Group Lasso preferred over standard Lasso?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

When is Group Lasso preferred over standard Lasso? ```hint Try a categorical Picture a categorical feature with four levels, one-hot encoded, and ask what an L1 penalty on each dummy column can do to it. Then think about what kind of penalty would treat those columns as one unit. ``` ### What a Strong Answer Covers - The situations where features form natural groups that should enter or leave the model together, with concrete examples. - The form of the group lasso penalty and why it zeros whole groups while keeping selected groups dense. - What goes wrong when standard lasso is applied to grouped features, including dependence on the encoding. - Limitations: groups fixed in advance, overlapping groups, sparsity within groups, and fairness across groups of different size. ### Follow-up Questions - Why is each group's norm scaled by the square root of the group size, and what happens if you leave that weight out? - How would you handle a feature that belongs to more than one group? - When would you choose sparse group lasso, and what extra tuning does it need? - How does group lasso relate to the mixed L2/L1 norm used for feature selection in multi-task learning?

Overview: Asks when group lasso is a better choice than standard lasso in regularized regression. Tests understanding of the group penalty, why it selects or drops whole groups of coefficients, common grouped features such as one-hot categoricals and spline bases, and the method's limits.

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

When is Group Lasso preferred over standard Lasso?

What a Strong Answer Covers Guidance

  • The situations where features form natural groups that should enter or leave the model together, with concrete examples.
  • The form of the group lasso penalty and why it zeros whole groups while keeping selected groups dense.
  • What goes wrong when standard lasso is applied to grouped features, including dependence on the encoding.
  • Limitations: groups fixed in advance, overlapping groups, sparsity within groups, and fairness across groups of different size.

Follow-up Questions Guidance

  • Why is each group's norm scaled by the square root of the group size, and what happens if you leave that weight out?
  • How would you handle a feature that belongs to more than one group?
  • When would you choose sparse group lasso, and what extra tuning does it need?
  • How does group lasso relate to the mixed L2/L1 norm used for feature selection in multi-task learning?