MCP
DS

Daniel Simpson

48 papers in the library · Same-name authors told apart using DBLP

Papers

30
Scalable Bayesian Learning with posteriors
Samuel DuffieldKaelan DonatellaJohnathan ChiuPhoebe KlettDaniel Simpson
This paper introduces _posteriors_, an extensible PyTorch library for scalable Bayesian learning with large models and datasets. Its central contribution is a tempered framing of stochastic gradient Markov chain Monte Carlo that transitions seamlessly into optimization, and reveals a minor modification making deep ensembles asymptotically unbiased for the Bayesian posterior. The authors demonstrate utility via experiments on the cold posterior effect and large language models, with the library open-sourced on GitHub.
OpenReviewOpenReview · · September 26, 2024
0
Scalable Bayesian Learning with posteriors
Samuel DuffieldKaelan DonatellaJohnathan ChiuPhoebe KlettDaniel Simpson
This paper introduces posteriors, an extensible PyTorch library that makes Bayesian learning scalable to large data and parameter regimes by providing general-purpose implementations of posterior approximations. The library features a tempered formulation of stochastic gradient Markov chain Monte Carlo that smoothly transitions into optimization and reveals a minor modification to deep ensembles ensuring asymptotic unbiasedness for the Bayesian posterior. Experiments, including a study of the cold posterior effect and applications with large language models, demonstrate the utility of these Bayesian approximations.
arXivarXiv · · May 31, 2024
0
16
Explainable Deep Learning Models for Dynamic and Online Malware Classification
Quincy CardDaniel SimpsonKshitiz AryalMaanak GuptaSheikh Rabiul Islam
This paper explores explainable malware classification in dynamic and online execution environments. It trains Feed Forward Neural Networks (FFNN) and Convolutional Neural Networks (CNN) on features from these environments for malware classification. The central contribution is a comparative evaluation of the explanations produced by SHAP, LIME, and Permutation Importance for these models. By analyzing global and local feature attributions, the paper identifies strengths, weaknesses, and commonalities of each method and offers recommendations for a balanced interpretability-accuracy approach.
arXivarXiv · · April 18, 2024
0
8
Pareto Smoothed Importance Sampling
Aki VehtariDaniel SimpsonAndrew GelmanYuling YaoJonah Gabry
Importance sampling estimates can be highly variable when the importance ratios have a heavy right tail, which occurs when the target distribution has features poorly captured by the approximating distribution. The paper introduces a method that stabilizes importance weights by fitting a generalized Pareto distribution to the upper tail of the simulated importance ratios; empirically it outperforms existing stabilization methods. The approach also yields stabilized effective sample size estimates, Monte Carlo error estimates, and convergence diagnostics, including a Pareto $\hat{k}$ finite-sample convergence rate diagnostic useful for any Monte Carlo estimator.
JMLRJMLR · 2024
0
Thermodynamic AI and Thermodynamic Linear Algebra
Patrick J. ColesMaxwell AiferKaelan DonatellaDenis MelansonMax Hunter GordonThomas Dybdahl AhleDaniel SimpsonGavin CrooksAntonio J MartinezFaris Mouti Sbahi
This paper proposes Thermodynamic AI hardware, a novel computing device built from stochastic units (s-units) that evolve via stochastic trajectories, guided by a Maxwell's demon device to produce non-trivial states. Simple architectures like RC circuits are described. The same hardware accelerates linear algebra primitives, with thermodynamic algorithms for solving linear systems, matrix inverses, determinants, and Lyapunov equations. Under reasonable assumptions, rigorous asymptotic speedups scaling linearly in dimension are established, and numerical simulations suggest practical speedups.
OpenReviewOpenReview · October 5, 2023
0
5
Thermodynamic Linear Algebra
Maxwell AiferKaelan DonatellaMax Hunter GordonSamuel DuffieldThomas AhleDaniel SimpsonGavin E. CrooksPatrick J. Coles
This paper shows that problems in linear algebra can be solved by sampling from the thermodynamic equilibrium of a system of coupled harmonic oscillators. It presents algorithms for solving linear systems, computing matrix inverses, determinants, and Lyapunov equations. Under reasonable assumptions, these algorithms achieve asymptotic speedups over digital methods that scale linearly with matrix dimension. The work provides a near-term path to accelerating linear algebra through classical thermodynamic computing, grounded in principles such as ergodicity and equilibration.
arXivarXiv · · August 10, 2023
0
64
Assessment of fiducial motion in CBCT projections of the abdominal tumor using template matching and sequential stereo triangulation
Oluwaseyi M. OderindeHassan MostafaviDaniel SimpsonJames MurphyGwe-Ya KimLaura I. Cervino
The paper evaluates a method for assessing fiducial motion in abdominal SBRT using pre-treatment CBCT projections. A tracking algorithm combining template matching and sequential stereo triangulation tracks implanted fiducials in CBCT projections and fluoroscopic sequences. For 7 pancreatic and 6 liver patients across 49 fractions, the method predicts couch adjustments agreeing with clinical corrections within ~1.4 mm. The authors conclude that CBCT-based tracking suffices for motion assessment and setup, potentially eliminating the need for additional fluoroscopic imaging, thereby reducing imaging dose and treatment time.
arXivarXiv · · November 10, 2022
0
0
Treatment effect estimation with Multilevel Regression and Poststratification
Yuxiang GaoLauren KennedyDaniel Simpson
This paper evaluates multilevel regression and poststratification (MRP) for estimating treatment effects in experimental causal inference settings. Through simulations of a large-scale randomized control trial with stratified cluster sampling, MRP-style estimators are shown to produce treatment effect estimates for small areas (as small as 1.3% of the population) with lower bias and variance than traditional causal inference methods, even under heterogeneous treatment effects. The study also extends MRP to incorporate non-census covariates into poststratification.
arXivarXiv · · February 19, 2021
0
4
Bayesian Workflow
Andrew GelmanAki VehtariDaniel SimpsonCharles C. MargossianBob CarpenterYuling YaoLauren KennedyJonah GabryPaul-Christian BürknerMartin Modrák
The paper presents Bayesian workflow as a coherent framework for applied data analysis, where iterative model building, checking, validation, and comparison are integrated with inference. It emphasizes that solving real-world problems requires not only statistical and computational skills but also awareness of decisions throughout the analysis, and that multiple models are typically fitted even if only a subset informs conclusions.
arXivarXiv · · November 3, 2020
0
793
Using sex and gender in survey adjustment
Lauren KennedyKatharine KhannaDaniel SimpsonAndrew GelmanYajun JiaJulien Teitler
This paper examines how to adjust for nonresponse and generalize from samples when sex or gender is measured as a non-binary construct, where response categories differ between the two attributes and both may be multidimensional. Through a simulation study covering various scenarios and an application to the New York City Poverty Tracker, the authors show that there is no single best method; instead, different approaches carry distinct statistical and ethical trade-offs.
arXivarXiv · · September 30, 2020
0
26
Hamiltonian Monte Carlo using an adjoint-differentiated Laplace approximation: Bayesian inference for latent Gaussian models and beyond
Charles C. MargossianAki VehtariDaniel SimpsonRaj Agrawal
This paper introduces an efficient method for Bayesian inference in latent Gaussian models by combining a Laplace approximation to marginalize latent variables with dynamic Hamiltonian Monte Carlo (HMC) for the remaining hyperparameters. The key contribution is a novel adjoint-differentiation technique that computes the gradient of the approximate marginal likelihood with minimal information propagation, making it scalable to high-dimensional hyperparameters. The method is prototyped in Stan and tested on models with up to ~6,000 hyperparameters, showing significant speed-ups over standard differentiation and alleviation of geometric issues that hamper HMC.
arXivarXiv · · April 27, 2020
0
56
Improving multilevel regression and poststratification with structured priors
Yuxiang GaoLauren KennedyDaniel SimpsonAndrew Gelman
Multilevel regression and poststratification (MRP) is a model-based approach for estimating population quantities from non-representative samples. This work introduces a framework for specifying structured prior distributions within MRP to reduce bias that arises when the model fails to capture underlying population structure. Simulation studies and application to non-representative US survey data show that the structured priors reduce absolute bias and variance of posterior MRP estimates across a variety of data regimes.
arXivarXiv · · August 19, 2019
0
80
The Integrated Nested Laplace Approximation for fitting Dirichlet regression models
Joaquín Martínez-MinayaFinn LindgrenAntonio López-QuílezDaniel SimpsonDavid Conesa
The paper introduces a Laplace approximation for Bayesian inference in Dirichlet regression models, enabling the analysis of compositional data (proportions or percentages of disjoint categories) without transformation. Theoretical foundations and implementation details are provided. The method is made available through the R package dirinla, which extends R-INLA to handle Dirichlet likelihoods. Simulation studies and a real data case-study validate the approach's performance.
arXivarXiv · · July 9, 2019
0
8
Data integration for high-resolution, continental-scale estimation of air pollution concentrations
Matthew L. ThomasGavin ShaddickDaniel SimpsonKees de HooghJames V. Zidek
This paper proposes a spatiotemporal calibration model that integrates ground monitoring data and chemical transport model outputs at different scales to produce high-resolution (1 km × 1 km) estimates of NO₂ and PM₂.₅ across Western Europe for 2010–2016. The model allows calibration coefficients to vary over space and time, enabling downscaling where data support it. Results show decreasing pollutant concentrations but large populations still exposed to levels exceeding WHO guidelines.
arXivarXiv · · June 28, 2019
0
2
The experiment is just as important as the likelihood in understanding the prior: A cautionary note on robust cognitive modelling
Lauren KennedyDaniel SimpsonAndrew Gelman
Robust cognitive modelling cannot simply adopt prior predictive checks from Bayesian statistics, because interpreting the prior requires information from the experiment design, not only the likelihood. The authors show that in a cognitive modelling task, the experimental context alters how prior assumptions translate into observable predictions, so statistical workflows must be adapted rather than directly borrowed.
arXivarXiv · · May 24, 2019
0
Rank-normalization, folding, and localization: An improved R^\widehat{R} for assessing convergence of MCMC
Aki VehtariAndrew GelmanDaniel SimpsonBob CarpenterPaul-Christian Bürkner
This paper identifies flaws in the classic convergence diagnostic \widehat{R} for MCMC, which fails under heavy-tailed distributions or when variance differs across chains. The authors propose an improved rank-normalized, folded version of \widehat{R} that overcomes these issues. They also introduce quantile-based local efficiency measures and a method for Monte Carlo error estimation for quantiles, recommending rank plots over traditional trace plots for practical convergence assessment.
arXivarXiv · · March 19, 2019
0
6
Validating Bayesian Inference Algorithms with Simulation-Based Calibration
Sean TaltsMichael BetancourtDaniel SimpsonAki VehtariAndrew Gelman
This paper introduces simulation-based calibration (SBC), a general procedure for validating inferences from Bayesian algorithms that generate posterior samples. SBC identifies inaccurate computation and inconsistencies in model implementations, and provides graphical summaries indicating the nature of problems. It is positioned as a critical part of a robust Bayesian workflow and a useful tool for algorithm and software developers.
arXivarXiv · · April 18, 2018
0
528
Spatial modelling with R-INLA: A review
Haakon BakkaHåvard RueGeir-Arne FuglstadAndrea RieblerDavid BolinElias KrainskiDaniel SimpsonFinn Lindgren
R-INLA enables fast Bayesian inference for spatial latent Gaussian models without writing low-level code. It handles areal models (Besag, BYM) and geostatistical models via a subset of Matérn Gaussian random fields. The SPDE approach extends to non-stationary and non-separable space-time models with simple modifications. This review highlights the framework's success for problems with hundreds of thousands of observations.
arXivarXiv · · February 18, 2018
0
Yes, but Did It Work?: Evaluating Variational Inference
Yuling YaoAki VehtariDaniel SimpsonAndrew Gelman
This paper proposes two diagnostic algorithms for variational inference. The Pareto-smoothed importance sampling (PSIS) diagnostic measures the goodness of fit of the variational approximation to the joint posterior, and also improves the estimation error. The variational simulation-based calibration (VSBC) diagnostic assesses the average performance of point estimates derived from the approximation. Both methods help users detect when the approximation is poor.
arXivarXiv · · February 7, 2018
0
260
Visualization in Bayesian workflow
Jonah GabryDaniel SimpsonAki VehtariMichael BetancourtAndrew Gelman
This paper advocates for visualization as a core component of the Bayesian workflow, extending beyond standard MCMC diagnostics. It argues that practical Bayesian data analysis is an iterative process of model building, inference, model checking, and model expansion, and that visualization is helpful at each stage, especially for drawing inferences from modern, high-dimensional models. The central contribution is a framework for integrating visualization throughout the entire Bayesian workflow to enhance understanding and model evaluation.
arXivarXiv · · September 5, 2017
0
1k+
The prior can generally only be understood in the context of the likelihood
Andrew GelmanDaniel SimpsonMichael Betancourt
The paper argues that the choice of a prior distribution in Bayesian analysis cannot be made independently of the likelihood. While a prior should reflect true prior information, common default priors (uniform, Jeffreys, reference, maximum entropy, weakly informative) are implicitly motivated by a reference likelihood. The authors resolve this paradox by placing prior choice within the full context of Bayesian analysis, including inference, prediction, and model evaluation.
arXivarXiv · · August 24, 2017
0
Using stacking to average Bayesian predictive distributions
Yuling YaoAki VehtariDaniel SimpsonAndrew Gelman
The authors propose stacking for combining predictive distributions, extending stacking from point estimation to distributional combination via any proper scoring rule. The method uses Pareto smoothed importance sampling for efficient leave-one-out evaluation and regularization for stability. In the M-open setting (true model not among candidates), this approach outperforms Bayesian model averaging, stacking of means, and AIC-type weighting, as shown by simulations and real-data applications. Stacking of predictive distributions is recommended, with BB-pseudo-BMA as a cheaper approximation.
arXivarXiv · · April 6, 2017
0
905
Spatial Modeling, with Application to Complex Survey Data: Discussion of "Model-based Geostatistics for Prevalence Mapping in Low-Resource Settings", by Diggle and Giorgi
Jon WakefieldDaniel SimpsonJessica Godwin
This discussion of Diggle and Giorgi emphasizes two issues in prevalence mapping for low-resource settings: incorporating complex survey design into analysis and spatial modeling. For survey design, the authors contrast direct use of weights with a model-based approach that accounts for clustering via a spatial model. For spatial modeling, they consider continuously indexed Markovian Gaussian random field models. The central contribution is a methodological commentary on improving prevalence mapping by addressing these two key aspects.
arXivarXiv · · August 12, 2016
0
Non-stationary Gaussian models with physical barriers
Haakon BakkaJarno VanhataloJanine IllianDaniel SimpsonHåvard Rue
The Barrier model extends the stationary Matérn field to non-stationary settings with physical barriers like coastlines. Instead of modifying the distance metric or imposing boundary conditions, it reinterprets Matérn correlation through a Simultaneous Autoregressive (SAR) model and blocks paths that cross barriers. Formulated as a stochastic partial differential equation, the model yields a sparse, positive-definite precision matrix. Its computational cost matches the stationary model, and it recovers the Horseshoe test function more accurately than standard R-INLA models, demonstrated on the Finnish Archipelago Sea.
arXivarXiv · · August 12, 2016
0
196
An intuitive Bayesian spatial model for disease mapping that accounts for scaling
Andrea RieblerSigrunn H. SørbyeDaniel SimpsonHåvard Rue
This paper presents a reparameterization of the BYM spatial model for disease mapping that makes the spatially structured and unstructured components independent, facilitating the assignment of interpretable hyperpriors. The model incorporates a scaled spatial component, making hyperpriors transferable between applications with different graph structures. Implementation details preserving sparsity are provided, and simulations show the model performs well in learning and shrinkage, matching existing parameterizations while offering parameters with clear meaning.
arXivarXiv · · January 6, 2016
0
788
Asynchronous Gibbs Sampling
Alexander TereninDaniel SimpsonDavid Draper
Asynchronous Gibbs sampling ignores sequential requirements to achieve parallelism, but it is empirically unreliable. This paper introduces a theoretical framework for analyzing such non-Markovian MCMC extensions, and proves that modifying asynchronous Gibbs yields a provably convergent algorithm, named exact asynchronous Gibbs, under appropriate regularity conditions. The analysis is supported by examples comparing exact and approximate variants, including cases where the algorithm works well and one where it fails dramatically, along with heuristics for effective use.
arXivarXiv · · September 30, 2015
0
85
Beyond the Valley of the Covariance Function
Daniel SimpsonFinn LindgrenHåvard Rue
This discussion examines the central contribution of Genton and Kleiber's work on cross-covariance functions for multivariate geostatistics. It critically assesses the proposed framework for modeling spatial dependence across multiple variables, highlighting both its strengths and limitations. The commentary focuses on the practical implications and theoretical foundations of the cross-covariance models, offering constructive insights for future research in multivariate spatial statistics.
arXivarXiv · · July 30, 2015
0
3
Pareto Smoothed Importance Sampling
Aki VehtariDaniel SimpsonAndrew GelmanYuling YaoJonah Gabry
This paper introduces a method for stabilizing importance sampling estimates by fitting a generalized Pareto distribution to the upper tail of the simulated importance ratios. The method produces more stable estimates than existing approaches when the importance ratios have a heavy right tail, which occurs when the target distribution is poorly approximated. It also includes stabilized effective sample size estimates, Monte Carlo error estimates, and convergence diagnostics, notably the Pareto $\hat{k}$ finite sample convergence rate diagnostic applicable to any Monte Carlo estimator.
arXivarXiv · · July 9, 2015
0
682
The MCMC split sampler: A block Gibbs sampling scheme for latent Gaussian models
Óli Páll GeirssonBirgir HrafnkelssonDaniel SimpsonHelgi Sigurðarson
The MCMC split sampler is a block Gibbs sampling scheme for latent Gaussian models (LGMs). It splits the latent Gaussian parameters into two vectors: parameters that appear in the data density function and those that do not. The latter vector is placed in a block with hyperparameters, while the former is placed in a separate block. This design allows the sampler to handle LGMs with latent models imposed beyond the mean structure, for any parametric data density, and to scale computationally well with the latent model dimension.
arXivarXiv · · June 20, 2015
0
6
Constructing Priors that Penalize the Complexity of Gaussian Random Fields
Geir-Arne FuglstadDaniel SimpsonFinn LindgrenHåvard Rue
This paper extends the penalised complexity (PC) prior framework to construct a weakly informative joint prior for the range and marginal variance of Matérn Gaussian random fields (GRFs) with fixed smoothness in one, two, and three dimensions. The prior penalises complexity by shrinking the range to infinity and the variance to zero. The authors provide hyperparameter guidelines and show via simulation that the prior yields shorter credible intervals than reference priors while maintaining coverage. The approach is also extended to non-stationary GRFs and applied to annual precipitation data, where it improves predictive performance over the stationary model.
arXivarXiv · · March 1, 2015
0
609
Frequent collaborators
Håvard Rue (17)
Finn Lindgren (14)
Andrew Gelman (12)
Aki Vehtari (9)
Yuling Yao (5)
Lauren Kennedy (5)
Geir-Arne Fuglstad (5)
Kaelan Donatella (4)
Jonah Gabry (4)
Xiangping Hu (4)
Samuel Duffield (3)
Michael Betancourt (3)