Article view

Scalable Bayesian computation for crossed and nested hierarchical models

By Omiros Papaspiliopoulos, Timothée Stumpf-Fétizon, Giacomo Zanella

Article information

Publication
Published 1 January 2023
Institutions at publication
Bocconi University
21 Citations OpenAlex, 5 December 2026 FULL LIST: Citations
7 Countries with citations Where the citing authors were FULL LIST: Countries with citations
Usage Phase 3: not collected yet

Abstract

We develop sampling algorithms to fit Bayesian hierarchical models, the computational complexity of which scales linearly with the number of observations and the number of parameters in the model. We focus on crossed random effect and nested multilevel models, which are used ubiquitously in applied sciences. The posterior dependence in both classes is sparse: in crossed random effects models it resembles a random graph, whereas in nested multilevel models it is tree-structured. For each class we identify a framework for scalable computation, building on previous work. Methods for crossed models are based on extensions of appropriately designed collapsed Gibbs samplers, where we introduce the idea of local centering; while methods for nested models are based on sparse linear algebra (SLA) and data augmentation. We provide a theoretical analysis of the proposed algorithms in some simplified settings, including a comparison with previously proposed methodologies and an average-case analysis based on random graph theory. Numerical experiments, including two challenging real data analyses on predicting electoral results and real estate prices, compare with off-the-shelf Hamiltonian Monte Carlo, displaying drastic improvement in performance. The code for replicating the experiments in the article and for implementing our methods can be found at https://github.com/timsf/crossed-effects and https://github.com/timsf/nested-effects.

Citations per year

Citations per year
YearCitations
2023 1
2024 6
2025 5
2026 6

OpenAlex counts citations by year for the last ten years only, so the total and the list of citing works can include earlier ones.

Works citing this article

All 23 citing works

Where its authors are based

Countries of the institutions the article's authors were affiliated to when it was published.

  • Changes the map only; the tables list the figures.
  • USAGE Phase 3
Authors by country
CountryAuthors
Italy3
Citations from 7 countries
Citations by the country of the citing authors
CountryCitations
Italy11
United States9
United Kingdom3
Switzerland2
Australia1
Canada1
Singapore1

Where the authors of the works citing these were, from the citing works OpenAlex lists. A citation whose authors were in several countries counts in each.