← Search

Måns Magnusson

6 accepted papers

2025

posteriordb: Testing, Benchmarking and Developing Bayesian Inference Algorithms

AISTATS 2025oral

The general applicability and robustness of posterior inference algorithms is critical to widely used probabilistic programming languages such as Stan, PyMC, Pyro, and Turing.jl. When designing a new inference algorithm, whether it involves Monte Carlo sampling or variational approximation, the fund…

Cited by 0SourcecodeScholar
2024

The Swedish Parliament Corpus 1867 – 2022

COLING 2024main

The Swedish parliamentary records are an important source material for social science and humanities researchers. We introduce a new research corpus, the Swedish Parliament Corpus, which is larger and more developed than previously available research corpora for the Swedish parliament. The corpus co…

2023

The Cambridge Law Corpus: A Dataset for Legal AI Research

NeurIPS 2023poster

We introduce the Cambridge Law Corpus (CLC), a dataset for legal AI research. It consists of over 250 000 court cases from the UK. Most cases are from the 21st century, but the corpus includes cases as old as the 16th century. This paper presents the first release of the corpus, containing the raw t…

Cited by 15SourcePDFScholar
2020

Leave-One-Out Cross-Validation for Bayesian Model Comparison in Large Data

AISTATS 2020poster

Recently, new methods for model assessment, based on subsampling and posterior approximations, have been proposed for scaling leave-one-out cross-validation (LOO-CV) to large datasets. Although these methods work well for estimating predictive performance for individual models, they are less powerfu…

2020

Robust, Accurate Stochastic Optimization for Variational Inference

NeurIPS 2020poster

We examine the accuracy of black box variational posterior approximations for parametric models in a probabilistic programming context. The performance of these approximations depends on (1) how well the variational family approximates the true posterior distribution, (2) the choice of divergence, a…

Cited by 42SourcePDFScholar
2019

Bayesian leave-one-out cross-validation for large data

ICML 2019oral

Model inference, such as model comparison, model checking, and model selection, is an important part of model development. Leave-one-out cross-validation (LOO) is a general approach for assessing the generalizability of a model, but unfortunately, LOO does not scale well to large datasets. We propos…