When is Group Lasso preferred over standard Lasso?
Last updated
Use group lasso when features form natural groups that should enter or leave together: one-hot categoricals, spline or polynomial expansions, multi-task outputs, gene pathways.
Its penalty λ Σ_g √p_g·||β_g||₂ acts like L1 across groups (whole groups go to zero) and like L2 within groups. Standard lasso may keep only some dummy columns of a categorical, in an encoding-dependent way.
Groups must be predefined and are usually non-overlapping. For sparsity within groups as well, use sparse group lasso.