Machine Learning Applied to Perception: Decision Images for Gender Classification

Felix A. Wichmann, Arnulf B. A. Graf, Eero P. Simoncelli, Heinrich H. Bülthoff, Bernhard SchölkopfNeurIPS 2004

TL;DR

This paper bridges machine learning and psychophysics to understand how humans classify gender from faces. By training linear classifiers on human-provided labels and visualizing their "decision images," they found that classifiers mimicking human performance (SVM, RVM) align better with human perception than others, suggesting a shared underlying mechanism for feature extraction.

What Problem Does This Paper Address?

Identifying the specific visual features humans use to make classifications, like gender from faces, is a long-standing challenge in vision science. Traditional psychophysical methods like "bubbles" or noise classification images can be indirect. This paper proposes a novel approach: using machine learning classifiers trained on human judgments to infer these features. The core question is whether machine learning models, when trained to replicate human classification behavior, can reveal the "decision boundaries" and critical features that humans themselves rely on.

Methods

The authors employ a two-stage approach:

  1. Dimensionality Reduction: Principal Component Analysis (PCA) is used to reduce the dimensionality of face images. This is justified by previous findings showing strong correlations between human and machine performance in PCA space and the potential biological plausibility of PCA.
  2. Linear Classifiers: Several linear classifiers are trained on human-labeled face data:
  3. Support Vector Machines (SVMs): A state-of-the-art maximum margin classifier.
  4. Relevance Vector Machines (RVMs): A probabilistic Bayesian classifier favoring sparse solutions.
  5. Fisher Linear Discriminant (FLD): A method for finding a direction that best separates classes.
  6. Prototype Classifier (Prot): Classifies based on the nearest mean-of-class prototype.

Crucially, by combining a linear preprocessor (PCA) with linear classifiers, the entire system acts as a linear classifier. This allows for the visualization of a "decision image," which represents the normal vector to the separating hyperplane of the classifier. This decision image highlights the regions of the face that are most important for the classifier's decision.

Datasets

  • Max Planck Institute (MPI) face database: A dataset of 200 greyscale, 256x256 pixel frontal views of human faces. This dataset was used to train the machine learning classifiers.
  • Human subject responses: The labels (gender classifications) for the MPI face database were provided by human subjects. This "subject dataset" was used to train classifiers that mimic human decision boundaries.

Key Insights and Ideas

  • Decision Images as a Window into Perception: The concept of "decision images" is powerful. By visualizing the weights assigned by a classifier to different parts of an image, we can directly see which features it prioritizes. This provides a more intuitive understanding than just looking at classification accuracy.
  • SVM/RVM vs. Prot/FLD Alignment with Human Perception: The study strongly suggests that SVMs and RVMs, when trained on human data, produce decision images that are more aligned with how humans perceive gender differences in faces compared to FLD and Prototype classifiers.
  • "Holistic" vs. "Feature-Specific" Classification: Decision images for SVM and RVM trained on "true" data tend to be more "holistic," considering broader facial regions. When trained on "subject" data, they become more focused on specific features like eyes and mouths, mirroring what appears to be a human strategy. Prot and FLD, even when trained on human data, don't show this same shift as dramatically.
  • The "Machine-Learning-Psychophysics" Paradigm: The paper champions a methodology where machine learning models are not just used for prediction but as tools to understand complex biological systems like the human brain. By analyzing the "learned" behavior of machines, we can derive testable predictions about human perception.

Key Results

  • Faster Transitions along SVM/RVM Axes: Psychophysical experiments confirmed the prediction that the transition from perceived female to male along the decision image axes of SVM and RVM is significantly faster (requires smaller stimulus changes) than along the axes of Prot and FLD. This indicates that the SVM/RVM axes are more aligned with the human "gender space."
  • Subject Data Yields More "Face-Like" Decision Images: Decision images trained on human subject data (rather than the "true" gender labels) showed a stronger emphasis on eye and mouth regions, suggesting humans rely heavily on these features for gender classification, even if it's not the most optimal strategy.
  • Quantitative Differences: The length ratio of the decision image vector required for a given performance level (75% and 90% correct) was significantly higher for Prot and FLD (averaging around 1.7) compared to SVM and RVM, indicating a "slower" transition and less efficient use of features for these classifiers.

Limitations and Future Work

  • Linearity Assumption: The study relies on linear classifiers and a linear preprocessor (PCA). While this simplifies analysis and visualization, human perception might involve more complex, non-linear computations.
  • Limited Dataset Size: The MPI face database, while standard, has 200 images. Larger and more diverse datasets could yield different insights.
  • Generalizability of Decision Images: The paper acknowledges that the downsampling for figure display makes the decision images appear more androgynous than at full resolution, suggesting that the visual representation can impact interpretation.
  • Future Work: The authors suggest that this "machine-learning-psychophysics" approach can be extended to other perceptual tasks and that the decision images and generalized portraits offer valuable visualizations for understanding categorization algorithms. They also note that while SVM and RVM capture more of the human face space, other directions might exist that yield even steeper psychometric functions.

Summary updated

BibTeX
@inproceedings{wichmann2004machine,
  author = {Felix A. Wichmann and Arnulf B. A. Graf and Eero P. Simoncelli and Heinrich H. Bülthoff and Bernhard Schölkopf},
  title = {{Machine Learning Applied to Perception: Decision Images for Gender Classification}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2004},
  url = {https://openreview.net/forum?id=SJN4mDZdWH},
}
Figure