Abstract: Statistical learning theory under independent and identically distributed (iid) sampling and online learning theory for worst-case individual sequences are two of the best-developed branches of learning theory. Statistical learning under general non-iid stochastic processes is less mature. We provide two natural notions of learnability of a function class under a general stochastic process. We show that both notions are in fact equivalent to online learnability. Our results hold for both binary classification and regression.
Introduction
The foundation of modern machine learning theory rests largely on two pillars: statistical learning theory and online learning theory. Statistical learning typically assumes that data points are independent and identically distributed (iid). While this assumption allows for elegant mathematical guarantees, it rarely holds in real-world applications such as time-series forecasting, sensor data analysis, or natural language processing, where temporal dependencies are the norm.
Conversely, online learning theory addresses the worst-case scenario, assuming data is chosen by an adversary. However, there remains a significant theoretical gap between these two extremes. This research addresses that gap by investigating learnability under general stochastic processes—probabilistic models that allow for complex, non-stationary dependencies across time.
Defining Learnability in Non-IID Settings
To bridge the gap between iid and adversarial settings, the authors introduce two primary theoretical frameworks for learnability:
- Process Learnability: This notion measures a learner's ability to minimize "regret"—the difference between the learner's performance and the best possible fixed function in hindsight—when data is drawn from any joint distribution. Unlike iid settings, this allows for arbitrary dependencies between data points.
- Prequential Learnability: Rooted in the "prequential principle" of statistics, this framework requires the learner to make predictions sequentially. The learner must predict the next outcome using only past observations, strictly adhering to a temporal flow without any "peeking" at future data.
The Grand Equivalence
The central contribution of this work is the discovery of a "Grand Equivalence." Through a series of mathematical proofs (Theorems 6, 9, 13, and 14), the authors establish that for both binary classification and regression, a function class is learnable under a general stochastic process if and only if it is learnable in an online, adversarial setting.
This finding is profound: it implies that the difficulty of learning against a malicious adversary is fundamentally the same as the difficulty of learning against any stochastic process, no matter how complex its internal dependencies. This result effectively unifies statistical learning, time-series forecasting, and adversarial online learning under a single theoretical roof.
Complexity Measures and the Role of ERM
In classical iid learning, the VC (Vapnik-Chervonenkis) dimension is the primary arbiter of learnability. However, this research reinforces that for any data with temporal dependencies, the Littlestone dimension is the true measure of complexity. The authors utilize combinatorial tools and sequential Rademacher complexity to bound the performance of learners.
A surprising insight emerges regarding Empirical Risk Minimization (ERM). In purely adversarial online learning, ERM—the strategy of choosing the function that performed best on all previous data—often fails. However, the authors prove that in the context of general stochastic processes, ERM is a universally effective learning rule. They provide a concrete upper bound on the regret of the ERM algorithm, showing that the rate of convergence is determined by $O(\sqrt{Ldim(\mathcal{F})/n})$, where $Ldim$ represents the Littlestone dimension.
Conclusion and Future Directions
By establishing the equivalence between process learnability and online learnability, this work provides a robust framework for understanding learning beyond the iid assumption. However, several avenues for future research remain:
- High-Probability Bounds: The current results focus on expected regret. Future work is needed to derive guarantees that hold with high probability (e.g., 99% of the time).
- Convergence Rates: While the equivalence is established, the specific rates of convergence for different subclasses of stochastic processes warrant deeper investigation.
- Privacy and Learnability: Recent findings suggest that "Private Learnability" (under Differential Privacy) is also equivalent to Online Learnability. Exploring the intersection of general stochastic processes and privacy constraints represents a promising new frontier in learning theory.
This research simplifies the theoretical landscape, suggesting that if a problem is solvable in the face of an adversary, it is solvable under any probabilistic process, provided we use the correct measures of complexity.
Summary updated