Skip to main navigation Skip to search Skip to main content

The Rhythm of Treatment: Modeling Causal Effects Over Time With Marginal Structural Models and ODEs

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

1 Downloads (Pure)

Abstract

Treatment in everyday care is reactive: doses change because patients change, creating time-varying confounding. Purely predictive models can fit well, yet encode the wrong causal story(e.g. appearing to show that insulin raises glucose simply because insulin is given when glucose is high). At the population level, we identify marginal effects using stabilized generalized propensity score weights and then learn a sparse ODE with SINDy to produce interpretable, deconfounded short-horizon glucose predictions from free-living CGM, insulin, and meal data. Stabilized generalized propensity scores reweight observations so treatment is as-if randomized given history; on this adjusted signal, we learn a sparse ODE whose terms clinicians can inspect. Using the public HUPA–UCM Type 1 diabetes dataset (5-minute CGM, insulin, carbohydrates), we compare the equations learned directly with those learned after MSM adjustment. After weighting, signs are physiologically coherent—boluses reduce glucose and meals increase it while the unweighted fit shows indication bias and achieves lower short-horizon RMSE and MAE than the unadjusted baseline, which reflects confounding by indication. In summary, the learned equations yield interpretable and deconfounded glucose trajectory predictions at the population level.

Original languageEnglish
Title of host publicationCODS 2025 - Proceedings of 13th ACM IKDD International Conference on Data Science
Place of PublicationNew York, USA
PublisherAssociation for Computing Machinery, Inc
Pages396-401
Number of pages6
ISBN (Electronic)9798400723551
DOIs
Publication statusPublished - 23 Apr 2026
Event13th ACM IKDD International Conference on Data Science, CODS 2025 - Pune, India
Duration: 17 Dec 202520 Dec 2025

Publication series

NameCODS 2025 - Proceedings of 13th ACM IKDD International Conference on Data Science

Conference

Conference13th ACM IKDD International Conference on Data Science, CODS 2025
Country/TerritoryIndia
CityPune
Period17/12/2520/12/25

UN SDGs

This output contributes to the following UN Sustainable Development Goals (SDGs)

  1. SDG 3 - Good Health and Well-being
    SDG 3 Good Health and Well-being

Keywords

  • causal inference
  • CGM
  • generalized propensity score
  • longitudinal data
  • marginal structural models
  • ordinary differential equations
  • SINDy
  • Type 1 diabetes

Fingerprint

Dive into the research topics of 'The Rhythm of Treatment: Modeling Causal Effects Over Time With Marginal Structural Models and ODEs'. Together they form a unique fingerprint.

Cite this