How is the penalized form of regularization mathematically equivalent to a constrained optimization problem?
Last updated
Minimizing
L(w) + λ·R(w)is the Lagrangian of minimizingL(w)subject toR(w) ≤ t, with λ acting as the Lagrange multiplier.For convex loss and penalty, each λ ≥ 0 maps to a budget t giving the same solution (via KKT and strong duality). Larger λ means tighter t, and the mapping is data-dependent.
The constrained view explains geometry: the L2 ball gives shrinkage, while L1 diamond corners give sparsity. For non-convex losses the equivalence can fail in one direction.
- https://medium.com/@coder_cat/nail-your-data-science-interview-day-4-regularization-techniques-7dae7cc71279
- https://medium.com/@lovelyyeswanth2002/constrained-optimization-lagrange-duality-techniques-to-handle-constraints-in-optimization-fd04b58ab8b7
- https://www.emergentmind.com/topics/regularization-constraints