Natarajan Dimension for Multiclass Classification
One-versus-All represents a multiclass hypothesis using one binary hypothesis for each label.
The Counting Question
One-versus-All turns a multiclass problem into several binary classification problems. This creates a natural complexity question: if one binary classifier has a known capacity, how should we describe the capacity of the complete multiclass construction? The answer comes from counting the binary hypotheses that must be selected.
The central idea is that a One-versus-All hypothesis contains one binary hypothesis for each label.
From One Classifier to a Tuple
Let H bin denote the binary hypothesis class. In a One-versus-All construction with k labels, the multiclass hypothesis is formed by selecting k binary hypotheses from H bin: one component for each label. These components are arranged as a tuple. The resulting object is therefore not one isolated binary hypothesis; it is a collection of k label-specific binary choices.
The Role of H bin
H bin is the source class from which the label-specific binary hypotheses are selected. Every component in the One-versus-All tuple comes from this binary hypothesis class. If H bin has VC dimension d, then d supplies the capacity value for each binary component in the construction.
Multiplying the Capacity
Ndim(H OvA,k bin) = kd
When applying the relationship, identify both quantities before calculating: d is the VC dimension of H bin, and k is the number of labels or binary components. Then use kd for the Natarajan dimension of the One-versus-All class.
A Numerical Calculation
Finding the Natarajan Dimension
Suppose H bin has VC dimension d = 4 and the One-versus-All construction uses k = 3 labels. What is the Natarajan dimension of the resulting class?
Identify d: The binary class has VC dimension 4, so d = 4.
Identify k: There are 3 labels, so the One-versus-All class contains 3 binary components.
Apply the relationship: Use Ndim(H OvA,k bin) = kd and substitute k = 3 and d = 4.
Calculate: The product is 3 times 4.
The Natarajan dimension is 12.
Two Dimensions, Two Roles
VC dimension describes the capacity value supplied by the binary hypothesis class H bin. Natarajan dimension describes the capacity of the resulting multiclass One-versus-All class. In this construction, the Natarajan dimension is obtained by using the binary VC dimension for each of the k components.
| Quantity | Class it describes | Role in One-versus-All |
|---|---|---|
| VC dimension d | H bin | Provides the capacity value for one binary component |
| Natarajan dimension kd | One-versus-All multiclass class | Accounts for all k binary components |
Common Counting Mistakes
Using d as the final complexity of the One-versus-All class.
The One-versus-All class contains k binary components, so the binary value must be used once for each component.
Fix:
Calculate kd for the Natarajan dimension.Multiplying by the wrong quantity.
The number of components is determined by k, the number of labels.
Fix:
Identify k first, then apply Ndim(H OvA,k bin) = kd.Treating H bin as the complete multiclass class.
H bin supplies one binary hypothesis at a time; the multiclass construction selects one such hypothesis for each label.
Fix:
Distinguish the binary source class H bin from the resulting class of k-component tuples.
Check Your Calculation
A binary hypothesis class H bin has VC dimension d = 5. A One-versus-All construction uses k = 4 labels. Calculate the Natarajan dimension of the resulting class and explain what each factor represents.
Hints
- Use Ndim(H OvA,k bin) = kd.
- The value 5 is the VC dimension of one binary component.
- The value 4 is the number of binary components.
- The expected calculation is 4 times 5, giving a Natarajan dimension of 20. The factor 5 comes from the VC dimension of H bin, while the factor 4 counts the label-specific binary components.
Key Takeaways
- One-versus-All represents a multiclass hypothesis with one binary hypothesis for each label.
- H bin is the binary hypothesis class from which the label-specific components are selected.
- If H bin has VC dimension d and there are k labels, the One-versus-All class has Natarajan dimension kd.
- VC dimension supplies the capacity of one binary class, while Natarajan dimension describes the resulting multiclass construction.
- The multiplication by k counts the k binary choices contained in the multiclass hypothesis.
Key Takeaways
- One-versus-All decomposes a multiclass hypothesis into k binary components.
- Each component is selected from the binary hypothesis class H bin.
- If H bin has VC dimension d, then the Natarajan dimension of the One-versus-All class is kd.
- VC dimension describes the binary class, whereas Natarajan dimension describes the resulting multiclass class.