← Lab /AI/ML

Constrained LM generates realistic clinical trajectories with near-chance privacy leakage

A train-only constrained language model improves distributional fidelity of synthetic clinical time series while achieving near-chance membership inference

AI/ML arXiv 25 Nov 2026 Method Prototype evidence

Published as “Train-Only-Constrained LM for Synthetic Clinical Trajectories: Leak-Safe Calibration and Auditable Dynamics”

Why it matters

The method provides a lightweight, auditable way to generate realistic synthetic clinical trajectories for policy prototyping with minimal privacy leakage.

Summary

The constrained LM achieves near-chance detectability (Detect AUC ≈0.5) while improving distributional fidelity (MMD2 reduced to 0.031) and showing 0 % of synthetic samples below the privacy leak threshold. It enforces per-biomarker temporal directions with train-fit 3×3 Markov chains and calibrates severities via a monotone quantile map fit only on TRAIN data. Evaluation on a 5,000-patient ODE-driven simulator shows tighter marginal and temporal matches than an unconstrained LM and external baselines, though confidence intervals are wide due to the small sample size.

What they found 1

  1. Privacy audit shows 0 % of synthetic samples fall below the leak threshold.

    “0/750 (0.0%, Clopper-Pearson 95% CI 0-0.4%) below τ”

Caveats 4

  • Detect AUC (min-max): 0.767-1.000
  • Small-N yields wide CIs in some strata; we mitigate via paired bootstraps and multi-seed summaries.
  • QMap aligns a weak severity proxy; richer outcomes are future work.
  • Markov constraints prevent LM-invented jumps, they will faithfully reproduce any rare or biased transitions present in TRAIN; auditing/curation of TRAIN dynamics remains necessary.

What’s new here 4

  • Factorized generation separating within-visit co-occurrence (compact LM) from visit-to-visit dynamics (train-only Markov chains).
  • Leak-safe calibration using a monotone quantile map fitted solely on TRAIN data, with no TEST statistics used.
  • Auditable temporal dynamics by construction, enabling exact replay of TRAIN-fit transition probabilities.
  • Multi-seed paired 95 % confidence intervals for all reported metrics.