Abstract
Apprenticeship Learning (AL) in high-stakes domains like healthcare is hindered by evolving expert objectives, the requirement for purely offline learning, and irregular temporal data. We propose THEMES (Time-aware Hierarchical EM Energy-based Sub-trajectory), a novel framework that addresses these challenges by automatically partitioning expert trajectories into distinct stages. By utilizing a hierarchical "reward regulator" and time-aware clustering, THEMES learns stage-specific policies from historical Electronic Health Records (EHRs). Experimental results on sepsis treatment data demonstrate that THEMES significantly outperforms existing offline AL methods.
Introduction
Apprenticeship Learning typically induces policies by mimicking expert demonstrations. However, applying AL to clinical decision support faces three primary hurdles. First, evolving reward functions: a clinician's objectives change as a patient's condition progresses (e.g., from early infection to septic shock). Second, the offline constraint: unethical risks preclude online exploration in medical settings. Third, irregular temporal data: EHR measurements are sampled at varying intervals, where the timing itself often reflects clinical urgency. THEMES addresses these by integrating time-awareness into a hierarchical offline learning structure.
Methods: The THEMES Framework
The THEMES framework consists of two iterative components designed to refine both trajectory segmentation and policy induction.
RMT-TICC: Reward-Regulated Partitioning
The Reward-regulated Multi-series Time-aware Toeplitz Inverse Covariance-based Clustering (RMT-TICC) component segments long patient trajectories into sub-trajectories representing distinct clinical stages. It incorporates a decay function to handle irregular sampling intervals and utilizes a Reward Regulator. This high-level signal, derived from learned policies, ensures partitioning is driven by expert decision-making patterns rather than just raw physiological shifts.
EM-EDM: Policy Induction
Once partitioned, the EM Energy-based Distribution Matching (EM-EDM) component clusters segments and induces stage-specific policies. By leveraging Energy-Based Models (EBMs), THEMES can represent complex expert behavior distributions effectively in a purely offline environment without requiring environment simulators.
Experimental Evaluation
The framework was evaluated using a real-world sepsis treatment dataset from the Christiana Care Health System, comprising over 52,000 patient visits. The study focused on 195 expert trajectories where clinical interventions successfully resolved shock states. Features included 14 sepsis-related vitals and labs, augmented to capture temporal trends.
Results and Key Insights
THEMES demonstrated superior performance across all evaluated metrics, including Accuracy, F1, AUC, and Jaccard score. Notably, it achieved an AUC of 0.905, a substantial improvement over standard Energy-based Distribution Matching (0.817) and behavior-cloning LSTMs (0.537).
Ablation studies (comparing THEMES to THEMES_0) highlighted that the iterative feedback loop between partitioning and policy induction is critical for performance. Furthermore, treating the time interval between measurements as a feature allowed the model to capture latent disease progression signals that time-agnostic models typically overlook.
Conclusion and Future Work
THEMES provides a robust solution for offline apprenticeship learning in environments with shifting goals and irregular data. While highly effective for discrete actions in sepsis treatment, future work will explore adaptive window sizes for long-range dependencies and extending the framework to support continuous action spaces, such as precise medication dosages.
Summary updated