Introduction
GP-HD is a new framework that uses Genetic Programming (GP) to automatically "evolve" mathematical equations—specifically dynamical systems—to predict patient health states. By finding a middle ground between rigid "one-size-fits-all" models and data-hungry individualized models, it produces interpretable, high-performing results for mental health forecasting that rival expert-designed systems.
The Challenge in Healthcare Modeling
In healthcare, researchers are often faced with a wealth of temporal data, such as heart rates, mood scores, and sleep quality tracked over months. Making sense of this data typically involves one of two approaches:
- Generic Models: A single model (like a standard neural network) trained on a broad population. While these capture general trends, they often fail to account for the significant heterogeneity between individual patients.
- Individualized Models: Models trained specifically for one person. While highly personalized, these require substantial data per patient to avoid overfitting and often fail to offer broader medical insights.
Dynamical systems modeling offers a potential "middle ground." These models use difference equations to describe how health states evolve over time. They provide a generic structure (the equation) while allowing for individual tailoring through specific parameters. Traditionally, these equations are hand-crafted by experts—a process that is slow and potentially biased. The GP-HD framework automates this discovery process.
Methodology: The GP-HD Framework
The authors employ Genetic Programming to search for the optimal system of difference equations.
- Representation: Each "individual" in the GP population is a vector of trees, where each tree represents a difference equation for a specific health state (e.g., mood or sleep). Nodes represent mathematical operators, while leaves are patient states or tunable parameters ($\lambda$).
- Evolutionary Loop: Starting with a random population, the system uses standard evolutionary mechanics—tournament selection, mutation, and crossover—to improve models over generations.
- Multi-objective Fitness: Models are evaluated based on four criteria: descriptive capability (fit to training data), predictive capability (forecasting future states), parameter sensitivity, and model complexity (penalizing overly complex equations).
- Parameter Tuning: For every candidate model, the NSGA-II algorithm is used to find optimal parameters for each individual patient.
Datasets and Experimental Setup
The study utilized a real-world dataset from the E-COMPARED project, focusing on 60 patients with depression. Data was collected via Ecological Momentary Assessment (EMA), where patients answered daily phone-based questions regarding their mental state for an average of 120 days.
The models specifically aimed to predict target states such as mood and sleep quality up to three days in advance.
Key Insights and Results
- Interpretability: Unlike "black-box" LSTMs, GP-HD produces human-readable equations. For example, the evolved model for mood correctly identified that future mood is a function of current mood and sleep quality—a relationship well-supported by psychological literature.
- Performance: GP-HD significantly outperformed generic LSTMs. For 1-day-ahead mood prediction, GP-HD achieved a median RMSE of 0.130, compared to 0.291 for the generic LSTM. It performed on par with individualized LSTMs for mood and significantly better for sleep, benefiting from the regularization effect of the shared equation structure.
- Generalization: The framework showed strong performance on "out-of-sample" patients, indicating that the evolved equations capture fundamental dynamics of depression rather than just memorizing specific training sets.
Limitations and Future Work
Despite its success, the computational cost of nested optimization (GP + NSGA-II) remains high. Future research may explore "racing algorithms" to discard poor candidate models more efficiently. Additionally, testing the framework on other chronic conditions, such as diabetes, will be necessary to demonstrate its broader clinical utility.
Summary updated