Linear Concepts and Hidden Variables

Adam J. Grove, Dan RothMachine Learning 2001

Abstract

This paper explores the fundamental trade-off between generative (unsupervised) and discriminative (supervised) learning. By testing both approaches on a model with a hidden variable, the authors demonstrate that while generative models are highly efficient when their assumptions are perfect, they are remarkably "fragile"—even slight deviations from the assumed model structure allow direct discriminative learners like Winnow to significantly outperform them.

Introduction

In machine learning, there are two primary ways to approach a classification task. You can either build a probabilistic model of how the data was generated (unsupervised/generative) and then use that model to make predictions, or you can skip the modeling and search directly for a function that separates the classes (supervised/discriminative).

Generative models are attractive because they can handle missing data and support various types of inference. However, they rely on strong assumptions about the underlying distribution. This research addresses a critical question: How robust are these models when those assumptions are slightly wrong? To answer this, the authors created a "fair" testing ground using the Conditionally Independent Attribute (CIA) model, where the optimal predictor is mathematically guaranteed to be a linear function, allowing a direct head-to-head comparison between model-based learning and linear classification.

The CIA Model and the Linearity Bridge

The authors focus on the binary CIA model, which postulates $n+1$ binary observed variables that are independent of each other given the value of a single binary hidden variable ($z$).

A key "aha moment" in the paper is the mathematical proof that for a binary CIA model, the Bayes-optimal predictor for any variable is a linear separator. This ensures that if a linear classifier (like Winnow) fails, it is due to the learning process or sample complexity, not a lack of expressive power. This theoretical bridge allows for a controlled comparison of how different learning paradigms handle hidden variables.

Methodology

The study compares three main algorithms:

  1. Expectation-Maximization (EM): The standard iterative approach for fitting parameters in models with hidden variables.
  2. COV (Covariance-Based): A novel algorithm developed by the authors. It uses the pairwise covariances between observed attributes to estimate the model parameters. It is generally faster than EM and serves as a check to ensure EM's failures aren't just due to local minima.
  3. Modified Winnow: A discriminative linear classifier. The authors enhanced the standard Winnow algorithm with "bagging" (averaging multiple predictors) and a "thick separator" (a margin parameter $\tau$) to improve its robustness and generalization.

Experimental Results

Synthetic Data and Model Mismatch

The study primarily uses synthetic datasets generated from CIA distributions, allowing precise control over the number of attributes ($n = 10$ to $75$) and the degree of model mismatch. Mismatch was introduced by increasing the number of hidden states ($k = 2, 3, 5$) while the learning algorithms still assumed $k=2$.

  • Perfect Match: When the data was truly binary CIA ($k=2$), EM and COV learned significantly faster than Winnow, reaching high accuracy with far fewer examples.
  • Model Mismatch: As soon as the number of hidden states increased ($k=3$ or $k=5$), Winnow became the superior choice. For $n=10$ and $k=5$, Winnow was "significantly and uniformly" better than EM.

Real-World Application

The authors validated their findings on a context-sensitive spelling correction task (e.g., distinguishing between "passed" and "past"). In this scenario, a hidden "context" variable is a plausible but likely oversimplified assumption. The binary CIA model performed no better than a simple baseline (~70% accuracy), while the modified Winnow algorithm achieved over 95% accuracy.

Key Insights

  • The Fragility of Generative Assumptions: Generative models (EM and COV) are "brittle." If the data structure deviates even slightly from the assumed model, performance degrades sharply.
  • Discriminative Robustness: Discriminative learners like Winnow do not attempt to model the underlying distribution; they simply look for a boundary. This makes them far more resilient to complexities in the data that would break a generative model.
  • COV as a Diagnostic: By introducing the COV algorithm, the authors proved that the poor performance of model-based learning in mismatched scenarios wasn't just EM getting stuck in local optima; it was a fundamental issue with the model's assumptions.

Conclusion

While generative models offer superior sample efficiency when the model is correct, they are highly susceptible to error when assumptions are violated. Unless a researcher is certain their generative model is a near-perfect match for reality, a direct discriminative approach is often the safer and more robust choice for classification tasks.

Summary updated

BibTeX
@article{grove2001linear,
  author = {Adam J. Grove and Dan Roth},
  title = {{Linear Concepts and Hidden Variables}},
  journal = {Machine Learning},
  year = {2001},
  doi = {10.1023/a:1007655119445},
}
Figure