Gibbs Sampling with People

Peter M. C. Harrison, Raja Marjieh, Federico Adolfi, Pol van Rijn, Manuel Anglada-Tort, Ofer Tchernichovski, Pauline Larrouy-Maestri, Nori Jacoby

How do you mathematically define the "perfect" shade of lavender or the sound of a "sad" voice? In cognitive science, these abstract concepts are known as semantic representations. Researchers have recently developed a new method called Gibbs Sampling with People (GSP) that uses continuous sliders to efficiently map how humans represent these concepts. By treating human participants as components of a Gibbs sampler, GSP outperforms previous binary-choice methods, allowing scientists to navigate high-dimensional spaces—including the latent spaces of deep generative models like StyleGAN—to reveal our internal mental prototypes.

The Problem: The Bottleneck of Binary Choices

The previous gold standard for mapping semantic representations was Markov Chain Monte Carlo with People (MCMCP). In MCMCP, a person is shown two options (A or B) and asked which better fits a category.

While theoretically sound, MCMCP is incredibly slow. Because each trial only yields 1 bit of information (A or B), it takes thousands of trials to converge on a prototype. Furthermore, it requires a "proposal function"—a guess at how much to change the stimulus between trials—which is notoriously hard to calibrate. If the changes are too small, the search stalls; if they are too large, the participant gets confused.

The Solution: Gibbs Sampling with People (GSP)

Instead of forcing a binary choice, GSP gives participants a continuous slider to manipulate a single dimension of a stimulus (e.g., just the brightness of a color or the pitch of a voice) until it best matches a target concept.

Comparison of MCMCP and GSP interfaces, along with color convergence results.

This approach relies on three key technical innovations:

  • Gibbs Framework: By updating one dimension at a time while holding others fixed, the process mimics a Gibbs sampler, a classic algorithm for sampling from complex, high-dimensional probability distributions.
  • Utility Theory Formulation: The authors prove mathematically that if humans make choices based on a "noisy utility" (trying to maximize a goal but occasionally making errors), their slider responses naturally approximate the target probability distribution.
  • Aggregation: By averaging responses from multiple people at each step, researchers can shift the algorithm from "sampling" (exploring the whole range of possibilities) to "optimization" (zeroing in on the single best version of a concept). This "mode-seeking" power of crowds effectively denoises human judgment.

Experimental Domains and Scale

Unlike traditional machine learning papers that use static training datasets, this research utilizes stimulus spaces that humans navigate in real-time. The study represents a massive scale-up compared to prior work, involving 5,178 participants across 25 experiments. They explored several domains:

  • Color: The HSL (Hue, Saturation, Lightness) color space.
  • Emotional Prosody: 220 audio clips manipulated across 7 dimensions (pitch, duration, intensity, etc.) to sound "happy," "sad," or "angry."
  • Musical Chords: A continuous 2D space of two-interval pitch combinations.
  • Faces: The latent space of StyleGAN (pretrained on the FFHQ dataset), reduced via PCA to the top 10 dimensions for human adjustment.

Key Findings and Results

Humans are better at "tuning" than "choosing." GSP provides significantly more information per trial than MCMCP. Adjusting a slider is far more intuitive for a participant than choosing between two seemingly random options, leading to massive efficiency gains. In the color study, GSP converged to target colors (like "strawberry" or "lavender") much faster and with higher subjective quality ratings than the old MCMCP method.

Music Theory Validation: When participants were asked to find "pleasant" chords using GSP, the system naturally gravitated toward perfect fifths and major thirds. These are fundamental building blocks of Western music, yet the system arrived at them without any prior musical knowledge programmed into it.

Density plot showing GSP converging on fundamental Western musical intervals like perfect fifths and major thirds.

Navigating the "Black Box" of GANs: One of the most exciting applications of GSP is steering deep generative models. Instead of random sampling, GSP allows researchers to find specific vectors in a GAN's latent space that humans associate with complex adjectives. In the face study, GSP successfully navigated the 10-dimensional StyleGAN space to create prototypical faces for terms like "fun," "serious," and "youthful." Independent raters later confirmed these generated faces strongly matched their intended labels.

Limitations and Future Directions

While powerful, the authors note several limitations to the GSP method:

  • Cultural Bias: The results reflect the biases of the participant pool (mostly US-based). For example, "pleasant" chords or "trustworthy" faces might look and sound very different to participants from non-Western cultures.
  • Generative Model Bias: When using GSP with StyleGAN, the outputs are strictly limited by the GAN's training data. GSP cannot "find" faces outside of that original training distribution.
  • Subjective vs. Objective Truth: The authors warn against treating these prototypes as objective truths. Finding what a "trustworthy" face looks like to a specific group is a study of human stereotypes, not a physiognomic tool for determining actual trustworthiness.

Looking forward, the researchers suggest applying GSP to even higher-dimensional spaces, such as full musical melodies or complex 3D objects, to continue mapping the rich geography of human thought.

Summary updated

BibTeX
@inproceedings{harrison2020gibbs,
  author = {Peter M. C. Harrison and Raja Marjieh and Federico Adolfi and Pol van Rijn and Manuel Anglada-Tort and Ofer Tchernichovski and Pauline Larrouy-Maestri and Nori Jacoby},
  title = {{Gibbs Sampling with People}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
}
Figure