Hybrid2 Neural ODE Causal Modeling and an Application to Glycemic Response

Bob Junyi Zou, M. Levine, D. Zaharieva, R. Johari, Emily B. Fox
2/1/2024

No official code found. Best implementation: bobjz/H2NCM (4 stars, last commit 2024-06-11).

Abstract

Hybrid models composing mechanistic ODE-based dynamics with flexible and expressive neural network components have grown rapidly in popularity, especially in scientific domains where such ODE-based modeling offers important interpretability and validated causal grounding (e.g., for counterfactual reasoning). The incorporation of mechanistic models also provides inductive bias in standard blackbox modeling approaches, critical when learning from small datasets or partially observed, complex systems. Unfortunately, as the hybrid models become more flexible, the causal grounding provided by the mechanistic model can quickly be lost. We address this problem by leveraging another common source of domain knowledge: \emph{ranking} of treatment effects for a set of interventions, even if the precise treatment effect is unknown. We encode this information in a \emph{causal loss} that we combine with the standard predictive loss to arrive at a \emph{hybrid loss} that biases our learning towards causally valid hybrid models. We demonstrate our ability to achieve a win-win, state-of-the-art predictive performance \emph{and} causal validity, in the challenging task of modeling glucose dynamics post-exercise in individuals with type 1 diabetes.

View on arXivView PDF

Code Implementations(1)

bobjz/H2NCMCommunity100%
40Python, Jupyter NotebookMay 6, 20242 years ago

Similar Papers

Cite this paper

@article{zou2024hybrid,
  title  = {Hybrid2 Neural ODE Causal Modeling and an Application to Glycemic Response},
  author = {Bob Junyi Zou and M. Levine and D. Zaharieva and R. Johari and Emily B. Fox},
  year   = {2024},
  eprint = {2402.17233},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2402.17233},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.17233.svg)](https://codeofpaper.com/paper/2402.17233)

Discussion