Drug disposition is described by a five-compartment PBPK model. Mass-balance ODEs govern drug transport between compartments according to blood flow rates, tissue volumes, and partition coefficients calibrated to literature-reported values.
E(C) = Emax·C / (EC50 + C)
The dosing optimisation problem is formulated as a Constrained Markov Decision Process (CMDP). The state space, action space, reward function, and safety constraint are carefully designed to balance tumour kill efficacy with patient safety.
+ Tumour Kill
Positive reward for tumour volume reduction per step.
− ANC Penalty
Negative reward when ANC drops below safety threshold.
− Dose Efficiency
Proportional penalty for excessive dosing beyond therapeutic need.
− Hard Constraint
Large penalty for any ANC safety constraint violation.
SAC was selected as the primary RL algorithm based on its maximum-entropy objective, which promotes robust exploration, and its demonstrated superiority in continuous-action domains — critical for precise dose recommendation.
A hierarchical safety system operates at three levels to prevent unsafe dose recommendations from reaching the virtual patient. Each tier provides an independent layer of protection, operating sequentially before any dose is administered.
Pharmacological Layer
Hard dose bounds enforced by action clipping to [0, 150 mg]. No RL output can exceed this absolute pharmacological limit regardless of policy output.
Haematological Layer
ANC-based dose hold — if predicted ANC falls below 1,500 cells/µL, dose is automatically set to zero regardless of RL output. Protects against neutropenia.
Protocol Layer
Minimum inter-dose interval (48 h) and maximum cycle dose cap enforced by rule-based override. Mimics real-world clinical treatment protocols.
Three virtual patient profiles were defined to represent the spectrum of clinical phenotypes encountered in practice — from high-burden average responders to low-burden favourable responders with varying pharmacokinetic clearance profiles.
| Patient | Initial Tumour Vol. | Emax | Clearance | Clinical Phenotype |
|---|---|---|---|---|
| P1 | 20 cm³ | 0.045 day⁻¹ | Standard | High tumour burden, average responder |
| P2 | 12 cm³ | 0.042 day⁻¹ | High | Low burden, favourable responder |
| P3 | 15 cm³ | 0.044 day⁻¹ | Slow | Intermediate burden, partial responder |
(1607.8 → 916.1)
(976.6 → 564.7)
(1230.8 → 692.3)