Skip to main content
QUICK REVIEW

[Paper Review] Optimal Learners for Multiclass Problems

Amit Daniely, Shai Shalev‐Shwartz|arXiv (Cornell University)|May 10, 2014
Machine Learning and AlgorithmsComputer Science16 references34 citations
TL;DR

This paper establishes that optimal multiclass learning requires improper learning—outputting hypotheses outside the hypothesis class—demonstrating that no Empirical Risk Minimization (ERM) rule can be optimal. It introduces a new dimension, $ ext{dim}( ext{H})$, which characterizes sample complexity up to a constant factor, and proves that the one-inclusion algorithm achieves near-optimal sample complexity, while also constructing computationally efficient optimal learners for generalized linear classifiers with improved sample complexity over ERM.

ABSTRACT

The fundamental theorem of statistical learning states that for binary classification problems, any Empirical Risk Minimization (ERM) learning rule has close to optimal sample complexity. In this paper we seek for a generic optimal learner for multiclass prediction. We start by proving a surprising result: a generic optimal multiclass learner must be improper, namely, it must have the ability to output hypotheses which do not belong to the hypothesis class, even though it knows that all the labels are generated by some hypothesis from the class. In particular, no ERM learner is optimal. This brings back the fundmamental question of "how to learn"? We give a complete answer to this question by giving a new analysis of the one-inclusion multiclass learner of Rubinstein et al (2006) showing that its sample complexity is essentially optimal. Then, we turn to study the popular hypothesis class of generalized linear classifiers. We derive optimal learners that, unlike the one-inclusion algorithm, are computationally efficient. Furthermore, we show that the sample complexity of these learners is better than the sample complexity of the ERM rule, thus settling in negative an open question due to Collins (2005).

Motivation & Objective

  • To resolve the fundamental question of how to learn optimally in multiclass classification, especially given the limitations of ERM rules.
  • To characterize the sample complexity of multiclass hypothesis classes using a new combinatorial dimension, $ ext{dim}( ext{H})$, that generalizes VC dimension to multiclass settings.
  • To show that the one-inclusion algorithm achieves near-optimal sample complexity in transductive and PAC settings, improving over prior analyses.
  • To construct computationally efficient optimal learners for generalized linear classifiers, outperforming ERM in sample complexity.
  • To resolve an open question by Collins (2005) by showing ERM is suboptimal for generalized linear models.

Proposed method

  • Proposes a new notion of dimension, $\dim(\mathcal{H})$, defined as the maximal size of a set shattered by $\mathcal{H}$ under a specific multiclass shattering condition.
  • Analyzes the one-inclusion multiclass learner using a novel sequence $\mu_{\mathcal{H}}(m)$, which quantifies the best possible error rate after $m$ samples.
  • Proves that the sample complexity of the one-inclusion learner is $\Theta\left(\frac{\mu_{\mathcal{H}}(m)}{m}\right)$, showing it is optimal up to a factor of 2 in the transductive setting.
  • Establishes reductions from transductive to inductive learning to extend optimality guarantees to the PAC model, up to logarithmic factors in $\epsilon$ and $\delta$.
  • Introduces a conjecture linking $\mu_{\mathcal{H}}(m)$ to $\dim(\mathcal{H})$, suggesting $\mu_{\mathcal{H}}(m) = \Theta(\dim(\mathcal{H}))$ for $m \geq \dim(\mathcal{H})$, which would yield a clean characterization of sample complexity.
  • Constructs efficient optimal learners for generalized linear classifiers by leveraging the new dimension and showing their sample complexity is better than ERM’s, resolving a negative result from Collins (2005).

Experimental results

Research questions

  • RQ1Is there a generic optimal learning algorithm for multiclass classification, and if so, what are its properties?
  • RQ2Can the sample complexity of multiclass learning be characterized by a single combinatorial dimension, analogous to VC dimension in binary classification?
  • RQ3Why is ERM suboptimal in multiclass settings, and what structural property of learning rules makes them insufficient?
  • RQ4Can computationally efficient optimal learners be constructed for practical hypothesis classes like generalized linear models?
  • RQ5Does the new dimension $\dim(\mathcal{H})$ provide a tighter characterization of sample complexity than existing notions like Natarajan or graph dimension?

Key findings

  • The paper proves that any optimal multiclass learning rule must be improper, meaning it must output hypotheses outside the hypothesis class, thus showing ERM is fundamentally suboptimal.
  • The one-inclusion algorithm achieves sample complexity within a factor of 2 of optimal in the transductive setting, improving over the prior $\log(|\mathcal{Y}|)$-factor guarantee.
  • The new dimension $\dim(\mathcal{H})$ is bounded between the Natarajan and graph dimensions: $\Ndim(\mathcal{H}) \leq \dim(\mathcal{H}) \leq \Gdim(\mathcal{H})$, and it provides a lower bound on sample complexity matching or improving upon Natarajan’s.
  • For generalized linear classifiers, the paper constructs computationally efficient optimal learners whose sample complexity is strictly better than that of ERM, resolving an open question from Collins (2005).
  • The conjecture that $\mu_{\mathcal{H}}(m) = \Theta(\dim(\mathcal{H}))$ would yield a clean characterization of sample complexity, with $\epsilon_{\mathcal{H}}(m) = \Theta\left(\frac{\dim(\mathcal{H})}{m}\right)$, and $m_{\mathcal{H}}(\epsilon,\delta) = \Theta\left(\frac{\dim(\mathcal{H}) \log(1/\delta)}{\epsilon}\right)$.
  • The paper shows that the graph dimension does not characterize sample complexity, as it can be much larger than the actual sample complexity, making it insufficient for characterizing optimal learning.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.