Abstract
Curriculum Learning - the idea of teaching by gradually exposing the learner to examples in a meaningful order, from easy to hard, has been investigated in the context of machine learning long ago. Although methods based on this concept have been empirically shown to improve performance of several learning algorithms, no theoretical analysis has been provided even for simple cases. To address this shortfall, we start by formulating an ideal definition of difficulty score - the loss of the optimal hypothesis at a given datapoint. We analyze the possible contribution of curriculum learning based on this score in two convex problems - linear regression, and binary classification by hinge loss minimization. We show that in both cases, the expected convergence rate decreases monotonically with the ideal difficulty score, in accordance with earlier empirical results. We also prove that when the ideal difficulty score is fixed, the convergence rate is monotonically increasing with respect to the loss of the current hypothesis at each point. We discuss how these results bring to term two apparently contradicting heuristics: curriculum learning on the one hand, and hard data mining on the other.
Introduction
Curriculum Learning—the strategy of training models by gradually increasing the difficulty of examples—has long been an intuitive heuristic in machine learning. While empirical evidence suggests it improves convergence and performance, a rigorous theoretical foundation has been lacking. This paper provides a mathematical analysis of curriculum learning in the context of convex optimization, specifically linear regression and binary classification with hinge loss.
A central challenge in this field is the apparent contradiction between Curriculum Learning (start with easy examples) and Hard Data Mining (focus on examples the model gets wrong). By distinguishing between inherent noise and model-specific error, this work reconciles these two paradigms.
Methodology
The authors analyze Stochastic Gradient Descent (SGD) updates in the parameter space. They consider two primary loss functions:
- Squared Loss for linear regression.
- Hinge Loss for binary classification (SVM).
The core of the analysis involves calculating the expected progress toward the global optimum $\bar{w}$ in a single SGD step. This is modeled geometrically in $\mathbb{R}^d$ using hyperspherical coordinates to integrate over the data distribution.
Theoretical Framework: Defining Difficulty
The paper introduces two distinct metrics for difficulty:
- Ideal Difficulty Score (IDS) / Global Difficulty ($\Psi$): Defined as the loss of the optimal hypothesis $\bar{w}$ at a given point. This represents the irreducible error or noise inherent to the data point.
- Local Difficulty ($\Upsilon$): The loss of the current hypothesis $w_t$ at a point, representing what the model has yet to learn.
Key Results
The theoretical analysis yields several critical insights:
- Monotonicity of Global Difficulty: For both linear regression and hinge loss, the expected convergence rate decreases monotonically as the Ideal Difficulty Score ($\Psi$) increases. This proves that "cleaner" data (low IDS) provides a more direct path to the optimum.
- Monotonicity of Local Difficulty: When the global difficulty $\Psi$ is held constant, the convergence rate increases with the local loss $\Upsilon$. This implies that among points with the same level of noise, the most informative ones are those the model currently misclassifies.
Discussion: Reconciling Heuristics
These results provide a unified view of training strategies. Curriculum learning is justified as a method to filter out high-noise (high-IDS) examples early in training, preventing them from pushing the model away from the optimum. Once the model is in a stable region of the parameter space, Hard Data Mining becomes effective by focusing on high-local-difficulty examples within the "clean" subset.
The theory suggests an optimal training schedule: prioritize examples that are inherently "clean" (low global difficulty) but currently "confusing" (high local difficulty). While the proofs are currently limited to convex functions, they offer a blueprint for understanding the dynamics of more complex deep learning landscapes.
Summary updated