Monotone Learning

Olivier Bousquet, Amit Daniely, Haim Kaplan, Yishay Mansour, Shay Moran, Uri Stemmer

Abstract

In machine learning, it is a common intuition that more training data should lead to better performance. However, many standard algorithms do not strictly follow this rule, exhibiting "non-monotone" learning curves where additional data can actually increase the expected error. This paper addresses this fundamental gap by providing a general framework to transform any multiclass classification algorithm into a monotone version. By introducing a "monotonizing" wrapper that utilizes prefix running, regularization, and a strategic update rule, the authors resolve a long-standing open question in learning theory. Their results prove that any learnable class admits a monotone learner, ensuring that more data never hurts performance.

Introduction

The relationship between sample size and predictive accuracy is a cornerstone of statistical learning. Ideally, as the number of training examples ($n$) grows, the error rate of a learning algorithm should monotonically decrease. This property, known as a monotone learning curve, is not just a theoretical desideratum but a practical necessity for reliable system scaling.

Surprisingly, many ubiquitous algorithms, such as $k$-Nearest Neighbors ($k$-NN), do not naturally possess this property. It is possible to construct scenarios where providing a $k$-NN classifier with more data points leads to a higher expected error. This non-monotonic behavior was highlighted as a major open problem in 1996 by Devroye, Györfi, and Lugosi, who questioned whether it was possible to create a "Bayes-consistent" learner—one that eventually achieves optimal error—that is also monotone. While recent work solved this for binary classification, this paper extends the solution to the general multiclass setting and provides a universal "monotonizing" transformation.

The Monotonization Framework

The core contribution of this work is a black-box transformation, denoted as $M(A)$, which can be applied to any base learning algorithm $A$. The transformation ensures monotonicity through a three-stage process:

1. Prefix Running

Rather than training only on the full dataset of size $m$, the monotonizer runs the base learner on multiple prefixes (subsets) of the data. By evaluating performance across these increasing sample sizes, the algorithm can track the progression of the learner's hypotheses.

2. Regularization through Symmetrization

The most counter-intuitive aspect of the framework is the requirement to "deteriorate" performance slightly. To guarantee monotonicity, the authors introduce a regularization step. In the multiclass case, they use a Symmetrization technique: for a given hypothesis $h$, they create a small class $B_h$ consisting of $h$ and its cyclic permutations of labels.

By applying a randomized Empirical Risk Minimizer (ERM) over this symmetrized class, the authors ensure that the "base" performance is well-behaved. This "makes room" for the update rule to function correctly, preventing the algorithm from switching to a new hypothesis based on a "lucky" but ultimately inferior performance on a small validation set.

3. The Update Rule

The final component is a model selection step. The algorithm maintains a "current" best hypothesis and compares it against a "candidate" generated from a larger data prefix. To avoid the pitfalls of noise, the update rule only switches to the candidate if its empirical error, measured on a fresh, independent block of data, is significantly lower than the current hypothesis. This conservative approach ensures that updates are only made when there is strong evidence of improvement.

Key Theoretical Insights

The paper's success hinges on several profound insights into the nature of learning:

  • The Necessity of Noise: The authors demonstrate that pure optimization often leads to non-monotonicity. By adding controlled noise or randomization, they can mathematically bound the risk of making a "bad" update, effectively smoothing the learning curve.
  • Symmetry and Chebyshev’s Inequality: The use of cyclic permutations ensures that for any single example, exactly one hypothesis in the symmetrized class is correct. This structural symmetry allows the use of Chebyshev’s sum inequality to prove that the randomized selection process is inherently monotone.
  • Black-Box Universality: Because the transformation treats the base learner as a black box, it is agnostic to the underlying architecture. It applies equally to deep neural networks, decision trees, or support vector machines.

Results and Competitive Performance

The authors provide rigorous proofs for the Monotonization Theorem, establishing that every learning algorithm can be converted into a monotone counterpart. Crucially, this transformation does not come at the cost of asymptotic accuracy.

The monotone learner $M$ is competitive with the original learner $A$. Specifically, the error of the monotone learner on $m$ examples is bounded by the error of the original learner on a smaller sample (approximately $m/30$), plus a penalty term that decays at a rate of $O(\sqrt{\frac{\log m}{m}})$. While this suggests a "data tax" for monotonicity, it proves that the property can be achieved without sacrificing the ability to reach the Bayes-optimal error rate.

Furthermore, the paper resolves open questions in Probably Approximately Correct (PAC) learning, proving that every learnable class—regardless of its complexity—admits a monotone PAC learner.

Conclusion and Future Directions

This work marks a significant milestone in learning theory by reconciling the intuitive expectation of monotonicity with the mathematical reality of algorithmic behavior. By showing that any multiclass learner can be "monotonized," the authors provide a path toward more predictable and reliable machine learning systems.

However, challenges remain. The current transformation requires a significantly larger sample size to match the performance of the non-monotone base learner. Future research will likely focus on improving this sample efficiency and exploring whether similar guarantees can be extended to other loss functions beyond the zero/one loss, such as cross-entropy or mean squared error. Additionally, the discovery that certain "symmetrized" classes admit monotone ERMs opens a new avenue of inquiry into the structural properties of learnable function classes.

Summary updated

BibTeX
@inproceedings{bousquet2022monotone,
  author = {Olivier Bousquet and Amit Daniely and Haim Kaplan and Yishay Mansour and Shay Moran and Uri Stemmer},
  title = {{Monotone Learning}},
  booktitle = {Conference on Learning Theory},
  year = {2022},
}
Figure