Uncovering Bias Mechanisms in Observational Studies

Ilker Demirel, Zeshan Hussain, Piersilvio De Bartolomeis, David Sontag

Introduction

Observational studies (OS)—which leverage real-world data such as electronic health records—are often more cost-effective and representative than randomized controlled trials (RCTs). However, they are notoriously susceptible to systematic biases. While researchers have developed numerous statistical tools to detect bias (typically by benchmarking against a "gold standard" RCT) or mitigate it through debiasing techniques, there remains a critical gap: identifying the underlying mechanism of that bias.

Is a study skewed because of a hidden confounder (e.g., wealthier patients are more likely to receive a treatment and inherently have better health outcomes)? Or is it driven by selection bias (e.g., patients experiencing adverse side effects dropping out of the study)? Understanding the "why" is essential for practitioners aiming to refine study designs and generate reliable causal inferences. This paper introduces a novel framework to diagnose why observational studies disagree with RCTs by analyzing the relationship between bias magnitude and the predictive performance of nuisance function estimators.

Methodology

The authors propose that "nuisance functions"—the models used in causal inference to predict treatment assignment (propensity scores), study selection, or outcomes—contain the statistical signatures necessary to diagnose bias mechanisms. Their framework is built on four key pillars:

  1. Taxonomy of Biases: The authors categorize common biases into four distinct causal graph families: Transportability, Confounding, Selection Type 1 (unobserved covariate), and Selection Type 2 (collider bias).
  2. The "Informed Clinician" Model: The methodology assumes a generative model where clinical decisions are "informed." As a predictive model gains more context about a patient, its uncertainty should naturally decrease. If an unobserved factor is simultaneously driving the bias and the model's uncertainty, a measurable correlation will emerge.
  3. Covariance Signals: The core innovation lies in calculating the covariance between the absolute bias (estimated by comparing OS data to RCT data) and the prediction error (variance) of the nuisance functions.
  4. The Diagnostic Hash Table: The authors mathematically prove that different bias mechanisms produce unique patterns of these covariance signals across selection ($S$), treatment ($A$), and outcome ($Y$) models. For instance, confounding bias exhibits positive signals in both treatment and outcome models, whereas transportability bias only shows a signal in the outcome model.

Datasets and Experimental Setup

To validate their theoretical "hash table" signatures, the authors utilized both synthetic and real-world data:

  • Synthetic Data: Populations were generated with varying covariate dimensions ($d=2$ to $7$) and different unobserved factors (both binary and continuous) to rigorously test the framework under controlled conditions.
  • Women’s Health Initiative (WHI): A landmark real-world dataset containing both an RCT and an OS regarding the effects of Hormone Replacement Therapy (HRT) on heart disease and stroke. The historical disagreement between the OS and RCT findings in this dataset makes it an ideal test case for uncovering complex bias mechanisms.

Key Insights and Results

Bias as a Function of Uncertainty

A central insight of the paper is that bias is not a static, population-wide constant; it varies across individual patients. In regions of the data where a model struggles to predict an outcome due to "missing information," the bias is likely to be higher if that missing information is a true causal factor. By grouping complex causal graphs into distinguishable "families" (the hash table approach), the authors bypass the mathematically daunting task of reconstructing exact causal graphs.

Empirical Validation

  • Synthetic Success: In synthetic experiments, the empirical covariance signals correctly identified the underlying bias mechanism in the vast majority of runs, frequently exceeding 90% accuracy in controlled settings.
  • WHI Case Study: Applied to the WHI dataset, the framework successfully diagnosed "immortal time bias" (a specific form of Selection Type 2 bias) in the observational study.
  • Uncovering Layered Biases: Interestingly, when the authors statistically "corrected" the WHI data for this selection bias, a secondary signal for transportability bias remained. This finding suggests that the original OS-RCT disagreement was not caused by a single error, but rather a layered combination of selection issues and fundamental differences in the studied populations.

Limitations and Future Work

While the framework offers a powerful new lens for characterizing bias, the authors note several limitations and avenues for future research:

  • Requirement for RCT Data: Currently, the method relies on patient-level data from an RCT to estimate the baseline bias function. Relaxing this requirement is a primary goal for future iterations.
  • Generative Assumptions: The underlying theory depends heavily on the "informed decision-making" model. While evidence suggests this holds true in medical contexts, it may not seamlessly translate to fields where decisions are more random or less context-dependent.
  • Measurement Bias: The current framework does not account for measurement bias (systematic errors in how variables are recorded), which remains a pervasive challenge in observational research.
  • Statistical Efficiency: The estimators used are currently "plug-in" models. Developing more statistically efficient or cross-fitted versions of these estimators would further strengthen the methodology's robustness.

Summary updated

BibTeX
@inproceedings{demirel2026uncovering,
  author = {Ilker Demirel and Zeshan Hussain and Piersilvio De Bartolomeis and David Sontag},
  title = {{Uncovering Bias Mechanisms in Observational Studies}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=072o1IbwJi},
}
Figure