Hierarchical Dirichlet Processes with Random Effects

Seyoung Kim, Padhraic SmythNeurIPS 2006

Introduction

In many real-world datasets, observations are naturally organized into distinct groups—such as multiple brain scans collected from different sessions or subjects. When analyzing such data, researchers often assume these groups share a common underlying "template," like a specific set of brain regions that consistently activate during a given task.

Standard Hierarchical Dirichlet Processes (HDPs) are highly effective at modeling this type of grouped data. They allow groups to share mixture components and can automatically determine the optimal number of components from the data. However, standard HDPs suffer from a rigid assumption: they require the shared components to be identical across all groups. In complex biological data like functional Magnetic Resonance Imaging (fMRI), this strict uniformity rarely holds true. A specific brain activation cluster might be slightly shifted in space or vary in intensity from one scan to the next due to physiological changes, head motion, or scanner differences.

To address this "rigidity gap," this paper introduces Hierarchical Dirichlet Processes with Random Effects (HDP-RE). This extension allows the parameters of shared components to vary systematically across groups, providing the flexibility needed to accurately model complex, real-world variations.

The HDP-RE Methodology

The HDP-RE model strikes a "Goldilocks" balance. While standard Dirichlet Processes (DP) tend to overfit by treating every group as entirely unique, and standard HDPs underfit by forcing every group to be exactly the same, HDP-RE finds the optimal middle ground through a three-step generative framework:

  1. The Global Template: The model establishes a global "template" mixture model with base parameters (representing the "true" average component across all data).
  2. Random Effects: For each specific group, the model generates a group-specific version of the component. This local component is a "noisy" realization of the global template, modeled as a draw from a prior distribution (the random effect).
  3. Flexible Inference: Because the resulting model is highly complex and lacks conjugate priors for certain non-linear applications, the authors developed a specialized Markov Chain Monte Carlo (MCMC) sampling algorithm. Crucially, this includes a Metropolis-Hastings "swap move" to prevent the sampler from getting trapped in local maxima where group-level labels might mismatch with the global template.
Illustration of the HDP-RE process: A global template of mixture components (top) adapts via random effects to fit group-specific spatial activation patterns (bottom heatmap).

Application to fMRI Data

The authors validated the HDP-RE model using both 1D simulated Gaussian mixtures and real-world fMRI data. The fMRI dataset consisted of scans from three subjects performing a sensorimotor task, collected across multiple runs at two different locations (Stanford and Duke). The analysis focused on 2D slices of the right precentral gyrus, utilizing a "mixture of experts" framework where each component represented a Gaussian-shaped spatial activation cluster.

Key Findings

  • Spatial Flexibility and Accuracy: By allowing the random effect to act on the location and intensity of brain activity, the model successfully aligned clusters across different images even when they did not overlap perfectly. In visualizations, the HDP-RE model consistently identified three primary activation "bumps" across runs. In contrast, standard HDPs struggled to capture these subtle features because they were overly constrained by a fixed template.
  • Predictive Performance: Cross-validation tests demonstrated that the HDP-RE model consistently achieved higher average predictive log-likelihood scores compared to standard HDPs across almost all subjects and scanners.
  • Robustness: The model effectively "borrowed strength" from the collective dataset to identify low-intensity activations that would likely be missed in a single-image analysis. Furthermore, like standard HDPs, it successfully learned the number of activation clusters directly from the data without requiring manual specification.

Limitations and Future Directions

While powerful, the HDP-RE model introduces significant computational complexity. Because the fMRI surface model is highly non-linear, the sampling algorithm relies on approximations for certain integrals. Additionally, the current implementation is restricted to 2D slices of brain data; scaling this approach to full 3D voxel volumes would substantially increase the computational burden.

Looking forward, a natural extension of this work is to adapt the model for labeled groups. This would allow researchers to compare, for example, a "control" template against a "patient" template, providing a robust statistical framework for identifying systematic neurological differences caused by disorders.

Summary updated

BibTeX
@inproceedings{kim2006hierarchical,
  author = {Seyoung Kim and Padhraic Smyth},
  title = {{Hierarchical Dirichlet Processes with Random Effects}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2006},
  url = {https://openreview.net/forum?id=BJ-t2OW_ZH},
}
Figure