For high-dimensional hierarchical models, consider exchangeability of effects across covariates instead of across datasets

Brian L. Trippe, Hilary K. Finucane, Tamara Broderick

Introduction

Hierarchical Bayesian modeling is a cornerstone of modern statistics, traditionally used to "borrow strength" across related tasks. Since the seminal work of Lindley and Smith in 1972, the standard approach has been to assume that regression parameters are exchangeable across datasets (EData). For example, in agricultural studies across multiple counties, one assumes the underlying patterns in one county inform the others.

However, in the modern era of high-dimensional data—such as statistical genetics or deep learning—we frequently encounter settings where the number of features ($D$) far exceeds the number of related datasets or tasks ($Q$). This paper demonstrates that when $D \gg Q$, the classic EData approach fails because the strength it attempts to borrow is insufficient to overcome the noise of excessive features.

The ECov Framework

To address this limitation, the authors propose a paradigm shift: Exchangeable effects across Covariates (ECov). Instead of assuming parameters are similar across datasets, ECov assumes the vector of effects for a specific feature across all datasets is drawn from a shared distribution.

Model and Implementation

  • Prior Distribution: The model employs a Gaussian prior $\beta_d \sim N(0, \Sigma)$, where $\Sigma$ is a $Q \times Q$ covariance matrix capturing correlations between datasets.
  • Empirical Bayes Estimation: Since $\Sigma$ is typically unknown, the authors utilize an Expectation-Maximization (EM) algorithm to learn the dataset-correlation matrix directly from the data.
  • Scalability: Because $Q$ (number of datasets) is typically much smaller than $D$ (number of features), learning a $Q \times Q$ matrix is computationally efficient compared to methods requiring $D \times D$ operations.
  • Generalization: The framework extends beyond linear regression to classification tasks via Laplace approximation.

Empirical Evaluation

The authors validated ECov using synthetic simulations and diverse real-world datasets, including US crime rates, blog post popularity, and CIFAR-10 image classification via VAE embeddings.

Mean estimation error as a function of the number of covariates (D). The vertical dotted line represents the threshold where the number of tasks equals the number of features (Q=D).

As shown in the figure above, the performance of ECov (solid blue line) improves as the dimensionality $D$ increases, particularly once $D$ surpasses $Q$. Conversely, the error for the traditional EData approach (solid red line) tends to increase in these high-dimensional regimes. In real-world applications, ECov consistently outperformed EData, independent Bayes models, and pooled least-squares baselines with over 95% confidence.

Key Insights

  • The "D vs Q" Rule of Thumb: The research provides a clear heuristic for practitioners: if the number of datasets exceeds the number of features ($Q > D$), the classic EData approach remains appropriate. However, if features dominate ($D > Q$), ECov is the superior choice.
  • Theoretical Dominance: The authors prove that in high-dimensional settings, ECov mathematically "dominates" standard least-squares estimation. This implies that using the ECov prior is safer than ignoring hierarchical structure, even if the prior is not perfectly specified.
  • Computational Efficiency: The EM algorithm for ECov is highly performant, reaching solutions in seconds on standard hardware even for models with thousands of parameters.

Conclusion and Future Work

ECov offers a robust alternative for hierarchical modeling in the high-dimensional regime. While the current framework assumes all features are equally similar, future work may explore non-Gaussian, sparsity-inducing priors (such as the Lasso) to handle datasets where only a subset of features is relevant. Additionally, extending these principles to capture non-linear interactions within deep architectures remains a promising avenue for research.

Summary updated

BibTeX
@inproceedings{trippe2021high,
  author = {Brian L. Trippe and Hilary K. Finucane and Tamara Broderick},
  title = {{For high-dimensional hierarchical models, consider exchangeability of effects across covariates instead of across datasets}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=gtdX0yWygoI},
}
Figure