NOF1-BCD - a framework for causal estimates with N-of-1 Bayesian Digital Twins

Juliana Schneider, Johannes E. Vedder, İbrahim Özkan, Babajide Alamu Owoyele, Stefan KonigorskiSD4H @ ICML 2026

TL;DR

NOF1-BCD is a new framework that combines Large Language Models (LLMs) with Bayesian "Digital Twins" to solve the data-scarcity problem in personalized medicine. By using LLMs to distill vast amounts of medical literature into statistical "priors," researchers can now generate more accurate and clinically plausible causal estimates of how specific treatments affect a single individual, even when data is limited.

What Problem Does This Paper Address?

In the world of medicine, the "Average Treatment Effect" is often a blunt instrument. Just because a drug works for the average patient doesn't mean it works for you. The gold standard for solving this is the N-of-1 trial, where a single person alternates between treatment and control to see what happens.

However, N-of-1 trials face a massive hurdle: data scarcity. It is difficult to collect enough high-quality data points from one person to reach a statistically significant conclusion. Furthermore, we often only have "observational" data (like steps from a Fitbit) rather than a controlled experiment. The authors address this by asking: How can we use existing medical knowledge to "fill in the gaps" of an individual's sparse data without biasing the results?

Methods

The authors propose the NOF1-BCD (N-of-1 Bayesian Causal Digital Twin) framework, which consists of three main stages:

  1. LLM-Based Prior Elicitation: Instead of a human researcher spending weeks reading papers, they use a multi-agent LLM system (running GPT-4-class models) to act as a "statistical expert." The LLM synthesizes external datasets and PubMed literature to create a weakly informative prior—a statistical starting point that represents our best guess based on existing science.
  2. Bayesian Digital Twin: This prior is integrated into a Bayesian linear regression model (the "Digital Twin") that is then fitted to the individual’s specific N-of-1 data. This allows the model to "regularize" the estimates, preventing wild swings caused by a few noisy data points.
  3. Causal Effect Estimation (MoTR): The framework uses Model-Twin Randomization (MoTR). It simulates counterfactual scenarios—essentially asking, "What would have happened to this person's sleep if they hadn't exercised today?"—by randomly permuting treatment schedules to calculate the Average Period Treatment Effect (APTE).

Datasets

The paper evaluates the framework using two primary data sources:

  • The Target Dataset: 306 days of real-world smartwatch data (Polar Pacer) from a single individual ("JS"), tracking vigorous physical activity (METs) and sleep recovery (measured via Heart Rate Variability, specifically RMSSD).
  • The Prior Elicitation Dataset: To help the LLM form its "priors" without "cheating" (looking at the target subject's data), the authors provided it with the Fitbit Fitness Tracker Dataset (a public multi-user dataset from Kaggle/MTurk) and a targeted selection of PubMed abstracts.

Key Insights and Ideas

  • LLMs as Statistical Translators: The most novel aspect is using LLMs not just to summarize text, but to output specific parametric distributions (like a Student’s t-distribution with specific $\mu$, $\sigma$, and $\nu$ values) that a Bayesian model can actually use.
  • The "Conservative" Advantage: The study found that LLM-elicited priors led to more conservative estimates. While a "naive" model might see a huge effect in a small dataset, the LLM-informed model "remembers" that, according to literature, such effects are usually more moderate, leading to a more clinically plausible result.
  • Bridging Population and Individual: The framework provides a formal mathematical way to weight population-level knowledge (the "prior") against individual-level evidence (the "likelihood"), which is essential for truly personalized healthcare.

Key Results

The case study examined the effect of vigorous physical activity on sleep recovery:

  • Naive Model (Noninformative Prior): Estimated a decrease in sleep recovery (RMSSD) of -7.27 ms.
  • NOF1-BCD (LLM-Informed Prior): Estimated a more moderate decrease of -3.91 ms.
  • Plausibility: The LLM-informed estimate was deemed more clinically plausible. The "naive" model's larger estimate was likely an artifact of the small, noisy individual dataset.
  • Uncertainty: The LLM-informed model showed a slightly higher standard deviation in its posterior, reflecting the healthy skepticism/uncertainty introduced by the external literature.

Limitations and Future Work

The authors are transparent about several limitations:

  • Human-in-the-Loop: Currently, a human expert is still needed to supervise the LLM to ensure it doesn't "hallucinate" statistical parameters.
  • Single Case Study: The framework was tested on one person for one specific use case (exercise and sleep). Its generalizability across different diseases or treatments remains to be proven.
  • Observational Noise: Smartwatch data is notoriously noisy. While the Bayesian approach helps, it cannot entirely fix fundamental measurement errors.
  • Future Direction: The authors suggest that as LLMs improve, they might eventually handle the entire pipeline autonomously, making advanced causal inference accessible to individuals interested in tracking their own health outcomes without needing a PhD in statistics.

Summary updated

BibTeX
@inproceedings{schneider2026nof,
  author = {Juliana Schneider and Johannes E. Vedder and İbrahim Özkan and Babajide Alamu Owoyele and Stefan Konigorski},
  title = {{NOF1-BCD - a framework for causal estimates with N-of-1 Bayesian Digital Twins}},
  booktitle = {SD4H @ ICML},
  year = {2026},
  url = {https://openreview.net/forum?id=WcOlxqlHKf},
}
Figure