Structured Hybrid Mechanistic Models for Robust Estimation of Time-Dependent Intervention Outcomes

Tomer Meir, Ori Linial, Danny Eytan, Uri Shalit · DOI

Abstract

Estimating intervention effects in dynamical systems is crucial for outcome optimization. In medicine, such interventions arise in physiological regulation (e.g., cardiovascular system under fluid administration) and pharmacokinetics, among others. Propofol administration is an anesthetic intervention, where the challenge is to estimate the optimal dose required to achieve a target brain concentration for anesthesia, given patient characteristics, while avoiding under- or over-dosing. The pharmacokinetic state is characterized by drug concentrations across tissues, and its dynamics are governed by prior states, patient covariates, drug clearance, and drug administration. While data-driven models can capture complex dynamics, they often fail in out-of-distribution (OOD) regimes. Mechanistic models on the other hand are typically robust, but might be oversimplified. We propose a hybrid mechanistic-data-driven approach to estimate time-dependent intervention outcomes. Our approach decomposes the dynamical system's transition operator into parametric and nonparametric components, further distinguishing between intervention-related and unrelated dynamics. This structure leverages mechanistic anchors while learning residual patterns from data. For scenarios where mechanistic parameters are unknown, we introduce a two-stage procedure: first, pre-training an encoder on simulated data, and subsequently learning corrections from observed data. Two regimes with incomplete mechanistic knowledge are considered: periodic pendulum and Propofol bolus injections. Results demonstrate that our hybrid approach outperforms purely data-driven and mechanistic approaches, particularly OOD. This work highlights the potential of hybrid mechanistic-data-driven models for robust intervention optimization in complex, real-world dynamical systems.

Introduction

In fields like medicine and engineering, predicting how a system reacts to interventions—such as drug administration or physical forces—is a fundamental challenge. Currently, researchers face a trade-off between robust but oversimplified mechanistic models (ODEs) and flexible but "brittle" data-driven models (Neural ODEs). Mechanistic models often suffer from "drift" due to unmodeled factors, while data-driven models frequently fail in out-of-distribution (OOD) scenarios because they lack an underlying understanding of the system's physical rules. This paper addresses the challenge of counterfactual prediction: estimating outcomes under treatment schedules different from those observed, particularly when latent physical parameters are unknown.

Methodology: Structured Hybrid Modeling

The proposed framework introduces a Structured Hybrid Model that decomposes the system's rate of change ($dX/dt$) into parametric mechanistic components and nonparametric neural corrections. Crucially, the model distinguishes between intervention-independent natural dynamics and intervention-dependent effects.

Figure 1: The two-stage training procedure. Step 1 involves pre-training a mechanistic encoder on simulated data. Step 2 trains the correction networks on observed data while leveraging the frozen encoder and mechanistic core.

To prevent the neural network from overshadowing the physical equations—a common failure known as "optimization pathology"—the authors employ a two-stage training procedure:

  1. Encoder Pre-training: An encoder is trained on synthetic data from a simulator to estimate latent physical parameters (e.g., metabolism rates or physical dimensions).
  2. Correction Training: With the mechanistic core and encoder frozen, neural "correction" networks are trained on real-world data to learn residual patterns missed by the equations.

Experimental Evaluation

The approach was evaluated on two distinct regimes to test its ability to correct for incomplete mechanistic knowledge.

1. The Pendulum Task

The model was tested using a dataset of 5,000 observations of a rotating cylindrical rod. To test robustness against model misspecification, the "mechanistic prior" provided to the model was a simpler point-mass pendulum equation.

Figure 4: Comparison between the true cylindrical pendulum system and the simplified point-mass pendulum used as a mechanistic prior. This setup tests the model's ability to correct for structural misspecification.

2. Propofol Pharmacokinetics (PK)

Using patient covariates from the MIMIC-IV database, drug concentrations were simulated using a complex "oracle" model (Eleveld). The hybrid model utilized a simpler, older model (Schnider) as its mechanistic base, simulating a realistic clinical scenario where the exact physiological model is unknown.

Key Results

The hybrid approach demonstrated superior generalization in OOD scenarios. In the pendulum task, while purely data-driven models (Neural ODEs) saw errors explode as intervention magnitudes deviated from training data, the hybrid model remained stable and accurate. In the Propofol experiment, the hybrid model consistently outperformed both purely mechanistic and purely ML models, particularly for "extreme" patients (e.g., very high BMI or age) not well-represented in the training set. It maintained a lower Mean Absolute Percentage Error (MAPE) across all test groups.

Conclusion

By anchoring neural networks to mechanistic cores, this framework achieves a balance of flexibility and physical grounding. While it currently assumes additive dynamics and requires a relevant mechanistic starting point, it paves the way for more robust, personalized intervention optimization in complex dynamical systems like automated anesthesia.

Summary updated

BibTeX
@misc{meir2026structured,
  author = {Tomer Meir and Ori Linial and Danny Eytan and Uri Shalit},
  title = {{Structured Hybrid Mechanistic Models for Robust Estimation of Time-Dependent Intervention Outcomes}},
  year = {2026},
  eprint = {2602.11350},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.11350},
}
Figure