Statistical Learning Theory
- 24Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
Define the VC-dimension for a set of indicator functions.
24 questions
- 1
Define the VC-dimension for a set of indicator functions.
Model answer
The VC-dimension is the largest integer h such that there exists a set of h vectors that can be shattered (separated in all possible 2h ways) by indicator functions from the set.
Explanation
VC-dimension measures the capacity or diversity of a set of functions. If the set can shatter h vectors but not h+1, its VC-dimension is h.
- 2
What condition must the VC-dimension of a set of functions satisfy for empirical risk minimization to guarantee good generalization?
Model answer
The VC-dimension h must be finite. If h is infinite, uniform convergence fails and generalization cannot be guaranteed.
Explanation
Finite VC-dimension ensures that the uniform law of large numbers holds, bounding the difference between empirical and expected risk for all functions in the set.
- 3
State the fundamental VC bound: for a set of functions with VC-dimension h, what inequality holds with probability at least 1−η for all functions in the set?
Model answer
For all functions f in the set, the expected risk R(f) is bounded by the empirical risk Remp(f) plus a complexity term that depends on h and the number of training examples l: R(f)≤Remp(f)+lh(ln(2l/h)+1)−ln(η/4).
Explanation
This bound holds uniformly for all functions, so minimizing empirical risk with a complexity penalty controls generalization.
- 4
For linear classifiers in a ball of radius R and weight vectors bounded by C, how is the VC-dimension bounded?
Model answer
The VC-dimension is bounded by min(R2C2,n)+1, where n is the dimensionality of the space.
Explanation
This shows VC-dimension can be smaller than the input dimension, and controlling the norm of weights controls capacity.
- 5
How can one handle a set of functions with infinite VC-dimension in the VC framework?
Model answer
Create a nested structure of subsets of functions, each with finite VC-dimension. Then choose the subset and function to minimize the trade-off between empirical risk and complexity (VC-dimension of the subset).
Explanation
By imposing structure, even if the full set has infinite VC-dimension, one can restrict to finite-capacity subsets and perform structural risk minimization.
- 6
Why is the squared loss L(y,f(x))=(y−f(x))2 commonly used in pattern recognition instead of the indicator loss?
Model answer
The squared loss is differentiable, allowing gradient-based optimization, while the indicator loss is piecewise constant. Moreover, the minimizer of squared loss is the conditional probability P(y=1∣x).
Explanation
Although the squared loss leads to the optimal Bayes decision via thresholding, it introduces a second integral that slows convergence compared to directly minimizing the first integral.
- 7
In the context of pattern recognition, what is the target function we ultimately wish to estimate?
Model answer
The conditional probability P(y=1∣x), from which the optimal decision rule (choose class 1 if P(y=1∣x)>0.5) is derived.
Explanation
The learning problem reduces to estimating this conditional probability, as it minimizes the expected error.
- 8
What is the main inductive step in statistics used to replace unknown probability measures with empirical ones?
Model answer
Approximating the cumulative distribution function by the empirical cumulative distribution function, justified by Kolmogorov's bound on the maximum deviation.
Explanation
This allows replacing integrals over the unknown distribution with sums over the training data, enabling practical algorithms.
- 9
Derive the V-matrix functional for estimating conditional probability from the integral equation.
Model answer
Starting from the integral equation ∫P(y=1∣x)G(x−x∗)dx=∫yG(x−x∗)dP(x,y), replace the measure with empirical measure and minimize the squared difference. This yields the functional (Y−F)TV(Y−F), where Vij=∫G(xi−x)G(xj−x)dx (or its empirical estimate).
Explanation
The V-matrix functional is an improvement over least squares because it accounts for the correlation structure induced by the kernel G.
- 10
What is the key difference between strong convergence and weak convergence in a Hilbert space?
Model answer
Strong convergence of a sequence fl to f0 means ∥fl−f0∥→0. Weak convergence means ⟨fl,ϕ⟩→⟨f0,ϕ⟩ for every ϕ in the Hilbert space.
Explanation
Strong convergence implies weak convergence, but the converse holds only on compact sets.
- 11
Explain the 'duck test' logic in terms of predicates and admissible functions.
Model answer
The duck test says: if it looks like a duck, swims like a duck, and quacks like a duck, then it probably is a duck. In learning, we define predicates (e.g., 'looks like a duck', 'swims like a duck') and constrain the admissible set to functions that satisfy equalities on these predicates with the data.
Explanation
Each predicate imposes a linear condition on the function, reducing the admissible set and focusing on functions consistent with observed invariants.
- 12
What is the complete learning problem formulation that combines V-matrix minimization with predicate constraints?
Model answer
Minimize (Y−F)TV(Y−F) subject to the constraints ΦTF=ΦTY, where Φ is the matrix of predicate values on training data.
Explanation
This is a constrained optimization: the first term ensures good approximation, while the constraints enforce that the learned function preserves statistical invariants (predicate expectations) from the data.
- 13
How can the constrained optimization be approximated by an unconstrained one?
Model answer
Add a penalty term: minimize (Y−F)TV(Y−F)+γ∥ΦTF−ΦTY∥2, where γ balances approximation and invariant satisfaction.
Explanation
This leads to a functional with combined matrix V+γΦΦT, which is easier to optimize.
- 14
What does the representer theorem state for a reproducing kernel Hilbert space (RKHS)?
Model answer
The minimizer of a regularized empirical risk functional in an RKHS has the form f(x)=∑i=1lαiK(xi,x), a linear combination of kernel functions centered at training points.
Explanation
This reduces the infinite-dimensional optimization to a finite-dimensional problem over coefficients αi.
- 15
Write the closed-form solution for the constrained learning problem in an RKHS with norm bound ∥f∥K≤C.
Model answer
The solution is f(x)=∑i=1lαiK(xi,x) where α=(V+λK+μΦΦT)−1(VY+μΦΦTY), with Lagrange multipliers λ for the norm bound and μ for constraints.
Explanation
This involves solving a linear system that incorporates the V-matrix, kernel matrix, and predicate matrix.
- 16
Describe how a support vector machine (SVM) fits into this framework.
Model answer
An SVM minimizes the squared loss (Y−F)T(Y−F) subject to a norm bound ∥f∥K≤C, without predicates (i.e., V=I and no constraints). The solution is f(x)=∑αiK(xi,x) with α=(K+λI)−1Y.
Explanation
SVM is a special case where V is identity and no invariants are enforced; it relies purely on strong convergence (empirical risk minimization).
- 17
What does the predicate ϕ(x)=1 (constant function) enforce as an invariant?
Model answer
It enforces that the expected number of points classified as class 1 equals the observed number in the training data, i.e., l1∑f(xi)=l1∑yi.
Explanation
This simple predicate ensures the learned function matches the class prior on average, which can significantly improve performance as shown in neural network experiments.
- 18
How can Lie derivatives be used to construct predicates for image recognition?
Model answer
Apply Lie derivatives (e.g., translation, rotation, scaling) to create transformed copies of an image. Use these copies as predicate functions: the invariant is that the function's output on the transformed image should be close to that on the original.
Explanation
By enforcing invariance under small transformations, the learned function becomes robust to those variations, a key aspect of convolutional neural networks.
- 19
What is tangent distance, and how does it relate to predicates?
Model answer
Tangent distance measures the minimal distance between two images after applying infinitesimal transformations (Lie derivatives). It can be used as a predicate to enforce that similar images under transformation have similar function values.
Explanation
This is a way to encode invariance to transformations directly into the learning problem.
- 20
Give an example of a symmetry predicate for digit recognition.
Model answer
For a digit image, create a horizontal mirror image. The predicate enforces that the function value on the original and mirror image are close (e.g., using tangent distance to measure similarity).
Explanation
Symmetry is a common invariant in natural images; enforcing it reduces the effective capacity of the function class.
- 21
What challenge does Vapnik propose regarding deep networks and data efficiency?
Model answer
Use only 1% of the training data (e.g., 600 examples instead of 60,000) and achieve the same error rate (0.5%) by employing smart predicates.
Explanation
This challenges the brute-force data approach and highlights the potential of intelligent invariant-based learning.
- 22
According to Vapnik, what is the essence of intelligence in learning?
Model answer
The ability to choose smart predicates (invariants) that capture the underlying structure of the problem, rather than simply imitating human behavior or using brute-force data.
Explanation
Intelligence involves discovering a small set of abstract concepts (predicates) that explain the data, analogous to Propp's 31 predicates for folk tales.
- 23
How does Vapnik relate his framework to Plato's theory of ideas?
Model answer
Predicates correspond to Plato's world of ideas (abstract concepts), while invariants (derived from data) correspond to the world of things. The learning process connects the two.
Explanation
This philosophical view suggests that understanding a domain means identifying the essential predicates (ideas) that govern it.
- 24
What is the significance of Vladimir Propp's 31 predicates for machine learning?
Model answer
Propp showed that all Russian folk tales can be synthesized from 31 elementary narrative predicates. Similarly, Vapnik hypothesizes that a small number of predicates can describe 2D images, and finding them is key to intelligent learning.
Explanation
This suggests that complex domains may be governed by a finite set of abstract invariants, making learning data-efficient.

Ask anything
We've read this whole study set, so questions about it get the best answers.