SVM Optimization and Regularization
Regularizing the norm of w helps both sample complexity and computation.
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 R^m 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.
Map the inputs: Represent the three training inputs in the Hilbert space as ψ(x_1), ψ(x_2), and ψ(x_3).
Attach coefficients: Use three entries of the coefficient vector α: α_1, α_2, and α_3. Each entry is paired with the mapped example having the same index.
Form the combination: The optimal vector has the form w = α_1 ψ(x_1) + α_2 ψ(x_2) + α_3 ψ(x_3).
Interpret 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 R^m 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
Treating α as another name for w.
α is a vector of m coefficients in R^m, whereas w is the resulting vector in the Hilbert space.
Fix:
Describe α as supplying the weights and w as the weighted sum of the mapped training examples.Assuming the theorem gives the numerical coefficient values.
The theorem guarantees the existence of a suitable α but does not provide its numerical values by itself.
Fix:
State that optimization determines the coefficient values.Applying the representation to every possible vector w.
The theorem's statement concerns the existence of an optimal solution with this form.
Fix:
Limit the claim to an optimal solution of the relevant SVM optimization problem.Forgetting the role of the mapped examples.
The coefficients are weights; they must multiply the mapped training examples whose sum forms w.
Fix:
Write 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.
- Regularizing 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 R^m 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.
Key Takeaways
- 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 R^m 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.