Inverse Probability Weighting in a Post-Bayesian World

Owen Thomas, William Denault, Valeria VitelliarXiv 2026 · DOI

TL;DR

This paper bridges the gap between frequentist and Bayesian inference by justifying Inverse Probability Weighting (IPW) within a post-Bayesian framework. This allows Bayesian methods to effectively address selection bias, a common issue in real-world data that has historically been challenging for pure Bayesian approaches.

What Problem Does This Paper Address?

Many real-world datasets suffer from "selection bias," meaning the data we observe isn't representative of the true underlying population. This is common when collecting data is expensive or difficult, leading to large, potentially biased datasets (e.g., registry data) being combined with smaller, higher-quality, but less abundant datasets. Standard Bayesian inference, which relies on the observed data's distribution, can produce biased results in such scenarios. While frequentist methods like IPW can correct for this bias, their integration into the Bayesian framework has been theoretically challenging. This paper aims to provide a principled way to use IPW within a generalized Bayesian framework to overcome selection bias.

Methods

The core idea is to reframe the bias correction provided by IPW as a reweighting of the Kullback-Leibler (KL) divergence. In essence, instead of inferring based on the biased data-generating process (G), the authors propose to infer based on a user-specified, unbiased target distribution (Q). This is achieved by:

  1. Ratio Estimation: Using classifiers (e.g., logistic regression) to estimate the ratio of probabilities $q(X)/g(X)$ for each data point $X$. This ratio, $r(X)$, quantifies how likely a data point is to come from the unbiased distribution $Q$ versus the biased distribution $G$.
  2. Reweighting the Likelihood: Incorporating these estimated ratios as weights ($w_i$) in the Bayesian update. This effectively modifies the likelihood function to reflect the target distribution $Q$.
  3. Generalized Bayesian Inference: This reweighted approach is then integrated into a generalized Bayesian framework, which allows for deviations from standard Bayes' rule. The authors provide theoretical justifications, including proofs of posterior convergence and properties of the resulting posteriors.

Datasets

The paper uses two simulated datasets and one real-world dataset for evaluation:

  • Simulated Gaussian Data: Used to demonstrate inference for the mean and variance of a Gaussian distribution under selection bias.
  • Simulated Epidemiological Model: A multivariable regression model simulating registry data with selection bias.
  • Real Data Example (Prostate Cancer): Utilizes the Norwegian Prostate Cancer Consortium data to predict 10-year mortality from prostate cancer using Prostate Specific Antigen (PSA) levels. This dataset exhibits known biases related to age and screening practices.

Key Insights and Ideas

  • Bridging Frequentist and Bayesian Worlds: The paper offers a theoretically sound way to integrate the strengths of frequentist IPW into the Bayesian framework, expanding the applicability of Bayesian methods to a wider range of real-world problems.
  • KL Divergence as the Target: Reframing IPW as a reweighting of the KL divergence provides a clear theoretical justification for its use in a Bayesian context, showing it's about projecting inference onto a desired target distribution.
  • Classifier-Based Reweighting: Using classifiers to estimate density ratios is a practical and effective approach, especially when the true distributions are not analytically tractable.
  • Addressing Intractable Problems: The proposed method opens doors to solving problems previously considered intractable within a purely Bayesian approach, particularly those involving complex selection biases.

Key Results

  • Debiased Inference: In both simulated and real-data examples, the proposed post-Bayesian IPW methods successfully debiased posterior estimates compared to standard Bayesian approaches applied to biased data.
  • Theoretical Guarantees: The paper provides theoretical results demonstrating the convergence of the generalized posteriors to the correct (unbiased) parameters under certain conditions.
  • Empirical Performance: The methods showed improved performance (reduced bias and RMSE) across various parameters in the simulated and real-data analyses. For instance, in the Gaussian example, the "odds" reweighting method significantly reduced bias for the mean parameter.
  • Effective Data Size (EDS): The EDS statistic was used to quantify the stability and influence of the reweighting. While some reweighting methods reduced EDS (indicating less stable updates), they still achieved better debiasing.

Limitations and Future Work

  • Classifier Choice and Stability: The performance of the reweighting method is sensitive to the choice and calibration of the classifier used for ratio estimation. The paper notes that while GLM classifiers worked well for lower-dimensional problems, more complex machine learning models might be needed for higher-dimensional settings. Weight stability, particularly in smaller datasets, remains a concern.
  • Computational Cost: Using cross-validation for weight estimation can be computationally intensive for very large datasets, potentially necessitating alternative approaches.
  • Generalization to Non-i.i.d. Models: The theoretical framework is primarily for i.i.d. data. Extending it to non-i.i.d. models (e.g., network models, time series) is an area for future research.
  • Practical Considerations: Further work is needed on practical aspects like optimal clipping of extreme weights and choosing weight tempering constants.

The authors suggest that their work opens avenues for applying IPW to other sources of bias, such as model misspecification and causality, and for integrating with other advanced inference techniques like Sequential Monte Carlo.

Summary updated

Abstract

We present a justification of the use of Inverse Probability Weighting (IPW) in a post-Bayesian framework, in which the bias-correction provided by IPW in a frequentist context is reframed as a reweighting of the Kullback-Leibler (KL) divergence between the statistical model and the true data-generating parameter value. We provide a coherent argument in support of this approach, including theoretical results concerning convergence and properties of the generalised belief posteriors. We present examples demonstrating the utility of post-Bayesian IPW in practice: these include two simulated examples of inference under selection bias in the observed data, and a large-scale real-data example concerning systematic biases present in registry data when using prostate-specific antigen (PSA) to predict prostate cancer mortality. The empirical and theoretical results together show the utility of IPW to address classes of problems previously intractable within a Bayesian approach.
BibTeX
@misc{thomas2026inverse,
  author = {Owen Thomas and William Denault and Valeria Vitelli},
  title = {{Inverse Probability Weighting in a Post-Bayesian World}},
  year = {2026},
  eprint = {2606.28685},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.28685},
}

Loading related content...

Figure