Discrete Chebyshev Classifiers

Elad Eban, Elad Mezuman, Amir GlobersonICML 2014

TL;DR

Discrete Chebyshev Classifiers (DCC) provide a robust way to build discriminative models when you only have access to summary statistics (marginals) rather than raw data. By minimizing the worst-case hinge loss over all possible distributions matching those statistics, DCC offers a principled, "adversarially robust" alternative to traditional generative models like Naive Bayes.

The Problem: Learning from Marginals

In the era of big data and strict privacy regulations (like HIPAA or GDPR), researchers often face a frustrating hurdle: they cannot store or access raw, individual-level data. Instead, they might only have access to "marginals"—summary statistics such as "the probability that a patient has a cough given they have the flu."

The traditional way to handle this relies on Maximum Entropy (MaxEnt) principles. If you have first-order marginals, you get the famous Naive Bayes classifier. With second-order marginals, you might use Tree Augmented Naive Bayes (TAN). The problem is that these models are generative; they make strong conditional independence assumptions that are often flat-out wrong in the real world. If those assumptions fail, the classifier's performance tanks.

The authors ask a critical question: Can we build a discriminative classifier that ignores fragile independence assumptions and instead prepares for the worst-case scenario?

Methods: The Discrete Chebyshev Classifier

The authors introduce the Discrete Chebyshev Classifier (DCC). The core idea is a minimax optimization: find a classifier that minimizes the maximum possible error (Worst Case Error, or WCE) across all probability distributions consistent with the observed marginals.

Key technical components include:

  • Surrogate Loss: Since minimizing zero-one loss (the actual error rate) is NP-hard, they substitute it with the multiclass hinge loss. They prove this substitution results in a 2-approximation of the original problem.
  • Lagrangian Duality: They use duality to transform a daunting maximization over an infinite space of distributions into a manageable convex optimization problem over "dual variables" on the edges of a feature graph.
  • Graph Theory & LP Relaxations: If the observed marginals form a tree structure, the problem is exactly solvable in polynomial time. For more complex, loopy graphs, they employ MAP LP relaxations to find a tight upper bound on the worst-case error.
  • Optimization: They derive an unconstrained version of the problem that can be solved efficiently using accelerated gradient methods like FISTA.

Key Insights

  • Robustness through Pessimism: Unlike Naive Bayes, which assumes features are independent to make the math work, DCC assumes an "adversary" will choose the worst possible distribution allowed by the statistics. This makes the resulting classifier highly robust.
  • Discrete vs. Continuous: Previous "Chebyshev-style" classifiers worked on continuous data. DCC is specifically tailored for discrete, categorical features, allowing it to use tighter constraints and avoid being overly pessimistic.
  • Handling Missing Data: DCC is naturally suited for learning with missing features because it only requires pairwise statistics, which can often be estimated even when full data rows are incomplete.

Results

The authors evaluated DCC against several baselines using synthetic data, real-world datasets, and missing-feature scenarios.

Beating the Assumptions on Synthetic Data

On synthetic "toy" data specifically designed to violate the independence assumptions of Naive Bayes and TAN, DCC proved its robustness.

Synthetic data structure and performance

As more variables were added to the synthetic dataset, the error rates for Naive Bayes and TAN climbed sharply. In contrast, DCC maintained a consistently low error rate, demonstrating the value of its worst-case optimization approach.

Real-World Superiority

The authors also tested DCC on 12 real-world datasets from the UCI Machine Learning Repository, covering both binary and multiclass classification tasks.

Error rates on UCI datasets

On these datasets, DCC or its greedy variant (gDCC) achieved the best performance in 10 out of 12 cases, outperforming Naive Bayes, TAN, and the continuous Minimax Probabilistic Machine (MPM). Furthermore, in experiments simulating a 25% missing feature environment, DCC outperformed standard SVMs (using mean imputation) and other specialized missing-data SVM variants on the majority of datasets.

Limitations and Future Work

  • The Tree Constraint: While the authors provide a way to handle general graphs via relaxations, the method is most efficient and exact when the marginals form a tree.
  • Deterministic vs. Stochastic: The paper focuses on deterministic classifiers. In a minimax setting, a stochastic classifier (outputting a probability distribution over labels) might actually be more optimal.
  • Structured Output: Extending this approach from simple classification to structured outputs (like predicting a sequence of tags in NLP) remains a complex but promising future direction.
  • Regret vs. Worst-Case: Minimizing "regret" (the difference between your performance and the best possible performance in hindsight) might be a less conservative and potentially more fruitful objective than minimizing absolute worst-case loss.

Summary updated

BibTeX
@inproceedings{eban2014discrete,
  author = {Elad Eban and Elad Mezuman and Amir Globerson},
  title = {{Discrete Chebyshev Classifiers}},
  booktitle = {International Conference on Machine Learning},
  year = {2014},
  url = {https://openreview.net/forum?id=By-Upobu-B},
}
Figure