Risk Monotonicity in Statistical Learning

Zakaria MhammediNeurIPS 2021

Introduction

In machine learning, a fundamental assumption is that acquiring more data leads to better model performance. It is natural to expect the population risk to decrease monotonically as the number of data points increases. However, this is surprisingly not the case even for standard algorithms that minimize empirical risk. Phenomena such as "double descent" and "dipping" demonstrate that risk can actually increase as samples are added. This paper introduces a novel "wrapper" algorithm that guarantees risk will decrease monotonically (with high probability) as data is added, without sacrificing the overall accuracy or learning rate of the underlying model.

The Problem of Non-Monotonicity

The "more data is better" mantra is a cornerstone of statistical learning, yet it is mathematically fragile. Standard algorithms like Empirical Risk Minimization (ERM) often exhibit non-monotonic behavior. Notable examples include:

  • Peaking/Double Descent: The risk curve spikes when the number of data points roughly matches the number of model parameters.
  • Dipping: The risk reaches a minimum at a certain sample size and then increases indefinitely, often due to training on a "surrogate" loss that differs from the actual evaluation metric.
  • Perpetual Oscillation: Even in simple settings, risk curves can oscillate wildly as sample sizes grow.
Oscillating risk curve of ERM

This non-monotonicity is more than a theoretical curiosity; it makes training unstable and data acquisition unpredictable. The authors tackle a specific open problem posed at the Conference on Learning Theory (COLT): How can we provably avoid this behavior?

The Risk Monotonic Algorithm Wrapper

To solve this, the authors propose a Risk Monotonic Algorithm Wrapper. Instead of simply training on $n$ samples and accepting the result, the wrapper acts as a "gatekeeper" for any base learning algorithm (e.g., a Neural Network or Linear Regressor).

The Greedy Update Mechanism

The wrapper works iteratively. For every new data point added, it evaluates whether the model trained on $k$ samples is significantly better than the model retained at $k-1$ samples.

  • If the new model's empirical risk is lower than the previous one by a specific margin (defined by a "gap function"), the wrapper updates to the new model.
  • If not, it retains the previous model.

This gap function ensures the algorithm only updates when the improvement outweighs statistical noise, preventing the adoption of a worse model due to an unrepresentative or "unlucky" sample.

Handling Non-i.i.d. Data and New Inequalities

Most learning theory assumes data is independent and identically distributed (i.i.d.). This paper extends its theory to Martingale Difference Sequences (MDS), allowing it to apply even when data points are dependent or come from changing distributions, provided the expected loss remains consistent.

To make the greedy update mathematically sound, the authors derived new time-uniform Empirical Bernstein inequalities. By leveraging techniques from parameter-free online learning, they created tight bounds on how much empirical risk might deviate from true population risk across all sample sizes simultaneously.

Key Results and Insights

  • Provable Monotonicity: Under weak assumptions, the wrapper is guaranteed to be risk-monotonic. This means the expected risk decreases at every step with high probability.
  • Monotonicity is "Free": A major insight is that stability does not require sacrificing accuracy. The wrapper achieves "fast rates" of convergence essentially identical to the base algorithm. The authors prove that the risk of the wrapped algorithm is at most three times the risk of the base algorithm, plus a negligible lower-order term.
  • Consistency: The algorithm is consistent; it will eventually find the optimal hypothesis as more data arrives, regardless of the starting point.

Limitations and Future Directions

While theoretically robust, the approach has limitations. The primary drawback is computational efficiency. The wrapper requires calling the base learning algorithm $n$ times (once for each sample size), which is currently prohibitive for large-scale deep learning. The authors suggest mitigating this by checking for updates at specific intervals or using "warm starts." Furthermore, the current proofs require the loss function to be bounded. Extending this framework to unbounded losses and evaluating its empirical performance in real-world, large-scale training scenarios remain important open challenges.

Summary updated

BibTeX
@inproceedings{mhammedi2021risk,
  author = {Zakaria Mhammedi},
  title = {{Risk Monotonicity in Statistical Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=z5-chidgZU3},
}
Figure