The linear SVM minimises , where and is the label. What changes if the penalty is replaced by , in the solution, the optimisation problem, the use of kernels and the meaning of the margin?
Supervised learning, Support vector machines
Level L4 Advanced. Length Medium. Nature Th+Mat Both.
What's being asked
Whether you can carry the lasso idea over to SVMs, and see which SVM properties depend on the squared norm.
Key idea
The penalty makes many exactly zero, so the SVM also selects features. The problem becomes a linear programme (LP) instead of a quadratic programme (QP). The kernel trick is lost. And the margin is now measured in the norm (the largest coordinate difference), because the distance to the hyperplane is .
Steps
- Sparsity: as in the lasso, the ball has corners on the axes, so the optimum usually has many . Features with are ignored, which is useful when there are many features and only a few matter.
- Optimisation: write with , so that at the optimum, and add slacks for the hinge terms. The problem is subject to and . Everything is linear, so it is an LP (the version is a QP). An LP solution need not be unique.
- Kernels: for the version, the representer theorem says , and the dual uses the data only through inner products , which a kernel can replace. With neither holds, so you must work with explicit features.
- Geometry: the distance from to the hyperplane , measured in a norm , is , where is the dual norm (). The dual of is , and the dual of is . So minimising maximises the margin measured in , not the usual Euclidean margin.
- What stays the same: the hinge loss is unchanged, so the solution still depends only on points with margin . Points beyond the margin can be removed without changing .
Common mistakes
- Saying the problem is still a QP. The term is piecewise linear, so the whole problem is an LP.
- Claiming the margin is still .
- Assuming kernels carry over. They rely on the structure.
How long your answer should be
4–5 points of one or two sentences each; 3–4 minutes.
Last checked on 4 December 2026.
Read this
Previous in Supervised learning: You want an ensemble of linear SVMs. What are two different ways to get different linear SVMs from one training set, why does each make the SVMs differ, and why must the ensemble combine their votes rather than average their real-valued scores?
Next in Supervised learning: Why is gradient boosting called gradient descent in function space, what are the pseudo-residuals for squared, absolute and logistic loss, and what is the full algorithm with regression trees as base learners?