GRIFT: A graphical model for inferring visual classification features from human data

Michael Ross, Andrew CohenNeurIPS 2007

This paper introduces GRIFT (GRaphical models for Inferring Feature Templates), a framework designed to peek inside the "black box" of human visual perception. Moving beyond traditional linear models of human vision, GRIFT uses a Bayesian graphical model to infer multiple, non-linear feature detectors from behavioral data. This approach allows researchers to determine whether a person classifies an image based on a single holistic template or by combining several independent parts.

The Problem with Linear Assumptions

For decades, the "classification image" (or reverse correlation) technique has been the standard for understanding human vision. It works by showing subjects images buried in noise and seeing which noise patterns correlate with their choices. However, this method assumes humans act as linear classifiers—essentially matching the whole image against a single internal template.

Psychological evidence suggests this isn't always true. We often recognize objects (like words or faces) by detecting specific parts or features and combining them. The challenge is that we don't know which features a person is using, or how many. GRIFT was created to fill this gap by modeling classification as a non-linear combination of multiple latent (unobserved) feature detectors.

Methods: The GRIFT Model

The authors represent the classification process as a Bayesian Network:

The GRIFT Bayesian Network model showing the relationship between the stimulus, latent feature detectors, and final classification.
  1. Stimulus ($S$): The raw pixels of the image shown to the subject.
  2. Feature Detectors ($F_i$): A set of $N$ independent, binary detectors. Each detector uses logistic regression on the pixels to decide if its specific feature is present.
  3. Classification ($C$): The final decision (e.g., Class 1 or Class 2), modeled as a logistic combination of the outputs from the feature detectors.

Key Innovations: * Latent Variables: Since we cannot directly observe the feature activations in a subject's brain, the model treats them as hidden variables and uses the Expectation-Maximization (EM) algorithm to infer them. * Spatial Priors: To ensure the recovered features look like real image parts rather than random noise, the authors applied a Markov Random Field (MRF) prior. This encourages neighboring pixels in a feature template to have similar weights, promoting "local structure." * Model Selection: They used Mutual Information (MI) to determine the optimal number of features ($N$). If adding a feature doesn't increase the MI between the latent features and the subject's actual choice, the simpler model is preferred.

Experimental Datasets

The model was evaluated on three distinct types of data to test its robustness across different visual tasks:

Examples of the three datasets used: four-square, faces, and light-dark tasks, showing both target images and noisy samples.
  1. Four-Square Task: An artificial task where subjects distinguish between squares in the top versus bottom corners. This included both human data and simulated "ideal" observers to validate the model.
  2. Light-Dark Task: A novel experiment where subjects classified strips containing one or two light blobs.
  3. Faces Task: Subjects distinguished between two human faces. The stimuli were downsampled and cropped to make the high-dimensional pixel space computationally manageable.

Key Insights and Results

  • Validation on Ground Truth: On simulated data, GRIFT successfully recovered the exact "ground truth" features used by the computer-simulated observers, proving the model's mathematical soundness.
  • Strategy Diversity: The model revealed that different people use different "mental programs" for the same task. In the four-square experiment, one subject used four distinct corner detectors, while another used a single, simple "top-vs-bottom" contrast strategy. Similarly, in the light-dark task, one participant clearly used a complex 4-feature strategy, while others relied on simpler linear strategies.
  • Holistic vs. Part-Based Processing: The model provides a mathematical way to test the "holistic" hypothesis. For the face task, the model generally favored a single-feature (holistic) model ($N=1$). This aligns with long-standing psychological theories that faces are processed as whole configurations rather than a collection of independent parts.
  • MI Over Traditional Metrics: Traditional statistical metrics like AIC or BIC often failed to identify the correct number of features. Mutual Information proved to be a more robust "stopping rule" for determining model complexity.

Limitations and Future Work

While powerful, GRIFT has notable limitations. Fitting these models is computationally expensive; the authors noted that cross-validation was impractical in their implementation, forcing reliance on Mutual Information for model selection. Furthermore, GRIFT currently assumes features are at fixed pixel locations and cannot handle "translation invariance" (recognizing a feature even if it shifts slightly). Future directions include extending the model to explicitly parameterize locations and orientations, allowing it to model the relative positions of features—a key component of configural object recognition.

Summary updated

BibTeX
@inproceedings{ross2007grift,
  author = {Michael Ross and Andrew Cohen},
  title = {{GRIFT: A graphical model for inferring visual classification features from human data}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2007},
}
Figure