SVM Optimization and Regularization
The key idea is not that regularization removes w. Instead, regularizing the norm of w makes the SVM optimization problem more useful from both a sample-complexity and a computational perspective.
Why the Norm Matters
In SVM optimization, the vector w is a central part of the solution. If the feature space is high-dimensional, working directly with w can create a computational problem. Regularizing the norm of w provides a useful response: it helps produce small sample complexity even in a high-dimensional feature space and also helps overcome the computational problem.
The key idea is not that regularization removes w. Instead, regularizing the norm of w makes the SVM optimization problem more useful from both a sample-complexity and a computational perspective.
From Training Examples to w
The Representer Theorem says that an optimal solution can be expressed using the mapped training examples. Let the training inputs be x_1 through x_m. Each input is mapped into the Hilbert space as ψ(x_i). The theorem guarantees that there is a coefficient vector α in Rm such that an optimal vector w can be written as w = Σ_i α_i ψ(x_i).
This representation separates two roles. The vector α contains m coefficients, one coefficient for each training input. The vector w is the resulting vector in the Hilbert space after each coefficient multiplies its corresponding mapped example and the contributions are summed. Therefore, α is not a second name for w.
Reading the Weighted Sum
Building w from three mapped examples
Suppose the training inputs under consideration are x_1, x_2, and x_3. Express an optimal w using the Representer Theorem.
- 1Map the inputs
Represent the three training inputs in the Hilbert space as ψ(x_1), ψ(x_2), and ψ(x_3).
- 2Attach coefficients
Use three entries of the coefficient vector α: α_1, α_2, and α_3. Each entry is paired with the mapped example having the same index.
- 3Form the combination
The optimal vector has the form w = α_1 ψ(x_1) + α_2 ψ(x_2) + α_3 ψ(x_3).
- 4Interpret the result
Each product α_i ψ(x_i) is one contribution to w, and the sum of those contributions produces an optimal solution of the relevant SVM optimization problem.
An optimal solution can be represented as w = α_1 ψ(x_1) + α_2 ψ(x_2) + α_3 ψ(x_3).
When reading the representation, match indices carefully. α_i belongs with ψ(x_i). The coefficient vector supplies the weights; the mapped training examples supply the vectors being combined.
Guarantee Versus Calculation
The Representer Theorem is an existence statement. It guarantees that a suitable coefficient vector α in Rm exists and that an optimal solution can be represented as a weighted sum of mapped training examples. It does not, by itself, give the numerical values of the coefficients.
Common Misreadings
Common mistake Treating α as another name for w.
What it looks likeWriting that α is the optimal vector in the Hilbert space.
Why it failsα is a vector of m coefficients in Rm, whereas w is the resulting vector in the Hilbert space.
Do this insteadDescribe α as supplying the weights and w as the weighted sum of the mapped training examples.
Common mistake Assuming the theorem gives the numerical coefficient values.
What it looks likeClaiming that the theorem determines α_1, α_2, through α_m without solving the optimization.
Why it failsThe theorem guarantees the existence of a suitable α but does not provide its numerical values by itself.
Do this insteadState that optimization determines the coefficient values.
Common mistake Applying the representation to every possible vector w.
What it looks likeClaiming that every vector in the Hilbert space must have the form Σ_i α_i ψ(x_i).
Why it failsThe theorem's statement concerns the existence of an optimal solution with this form.
Do this insteadLimit the claim to an optimal solution of the relevant SVM optimization problem.
Common mistake Forgetting the role of the mapped examples.
What it looks likeWriting w = Σ_i α_i without including ψ(x_i).Why it failsThe coefficients are weights; they must multiply the mapped training examples whose sum forms w.
Do this insteadWrite the relationship as w = Σ_i α_i ψ(x_i).
Practice and Takeaways
A learner says: The Representer Theorem calculates α and proves that every possible w is a weighted sum of the mapped training examples. Correct this statement in two parts: first explain what the theorem guarantees, and then explain what still has to be determined.
Hints
- Separate the existence of a suitable α from the numerical values of α.
- Use the phrase optimal solution rather than every possible vector w.
- Remember that α and w have different roles.
- 1Regularizing the norm of w helps SVM optimization address both sample complexity and computation, especially when the feature space is high-dimensional. The Representer Theorem guarantees that an optimal w can be expressed as w = Σ_i α_i ψ(x_i). The vector α belongs to Rm and supplies the weights, while w is the resulting Hilbert-space vector. The theorem guarantees that suitable coefficients exist, but it does not calculate their numerical values or claim that every possible w has this form.
At a glance
- Regularizing the norm of w helps both sample complexity and computation.
- The Representer Theorem expresses an optimal w as a weighted sum of mapped training examples.
- The coefficient vector α is in Rm and is different from w.
- Each α_i weights the corresponding mapped example ψ(x_i).
- The theorem guarantees the existence of suitable coefficients but does not provide their numerical values by itself.