When is Group Lasso preferred over standard Lasso?

Last updated 3 November 2026

  • 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.

  • https://medium.com/@nate.schweizer/lasso-regression-do-it-better-fbc31810482b
  • https://mcpanalytics.ai/whitepapers/whitepaper-group-lasso
  • https://medium.com/@wassim.mazouz01/group-lasso-python-accelerate-your-machine-learning-with-skglm-3ee45510e04a
All Regularization interview questions