Abstract
Universal Differential Equations (UDEs) combine mechanistic differential equations with data-driven artificial neural networks, forming a flexible framework for modelling complex biological systems. This hybrid approach leverages prior knowledge and data to uncover unknown processes and deliver accurate predictions. However, UDEs face challenges in efficient and reliable training due to stiff dynamics and noisy, sparse data common in biology, and in ensuring the interpretability of the parameters of the mechanistic model. We investigate these challenges and evaluate UDE performance on realistic biological scenarios, providing a systematic training pipeline. Our results demonstrate the versatility of UDEs in systems biology and reveal that noise and limited data significantly degrade performance, but regularisation can improve accuracy and interpretability. By addressing key challenges and offering practical solutions, this work advances UDE methodology and underscores its potential in tackling complex problems in systems biology.
Introduction: Bridging Mechanistic Models and Machine Learning
In systems biology, researchers often face a trade-off between highly interpretable but potentially incomplete mechanistic models (ODEs) and flexible but "black-box" machine learning models (ANNs). Universal Differential Equations (UDEs) offer a "grey-box" middle ground, allowing known biological processes to be modeled mechanistically while using neural networks to learn unknown interactions from data.
However, biological data presents unique hurdles: it is typically sparse, noisy, and characterized by "stiff" dynamics where processes occur across vastly different timescales. This study investigates whether UDEs can remain robust under these real-world conditions and proposes a rigorous training blueprint to ensure reliability.
The UDE Framework and Training Pipeline
To address the inherent instabilities of biological modeling, a systematic training pipeline was developed. The framework integrates mechanistic knowledge with neural network flexibility within a simulation and optimization loop.
Key components of the pipeline include:
- Multi-start Optimization: Given the highly rugged and multi-modal loss landscapes of UDEs, the authors utilize up to 10,000 different starting points for parameters and hyperparameters to find global optima.
- Hybrid Loss Function: Maximum Likelihood Estimation (MLE) is combined with L2 regularization (weight decay) on neural network parameters. This prevents the ANN from overfitting noise or dominating the mechanistic terms.
- Tanh-based Reparameterization: To manage parameters spanning multiple orders of magnitude, a specialized transformation mimics log-scaling while maintaining numerical stability.
- Stiff Solvers: The pipeline employs specialized numerical integration schemes (e.g.,
KenCarp4) within the Julia SciML framework to handle computational instabilities.
Experimental Evaluation
The UDE methodology was evaluated across two primary biological models:
- Synthetic Glycolysis Model: Based on the Ruoff model, used to test 20 scenarios with varying noise levels (5% to 35%) and sampling densities.
- Real-world STAT5 Dimerization Model: Based on the Boehm model, using experimental protein signaling data to test scenarios where the ANN replaced kinetic terms, species evolution, or observable mappings.
Key Insights and Results
The study reveals several critical factors for successful UDE implementation:
- Regularization is Essential: L2 regularization was found to be the most critical factor for success. Without it, ANNs frequently overfit noise or cause the dynamics to diverge.
- The Necessity of Multi-start: Standard single-start optimization methods, common in traditional machine learning, failed almost entirely in the UDE context. Extensive sampling of the parameter space is non-negotiable for finding biologically plausible solutions.
- Performance and Noise Tolerance: UDEs proved resilient up to moderate noise levels. However, at 35% noise, performance dropped as models struggled to recover true sustained oscillations, often settling for dampened ones.
As shown in the results, the multi-start pipeline (c) successfully captures the oscillatory behavior of the synthetic data, whereas standard single-start methods (a, b) fail to generalize or even fit the training data accurately. This is further reflected in the significantly lower Normalized Mean Absolute Error (NMAE) for the multi-start approach.
Discussion and Future Directions
While UDEs are powerful, they are prone to over-parameterization. Model selection criteria like AIC and BIC often favored simpler ODE models, suggesting that strict control via regularization and architectural constraints is vital. Furthermore, the "identifiability" problem remains; a UDE may fit data perfectly while the learned ANN term remains a black box. Future work should focus on integrating symbolic regression to translate learned neural terms into readable mathematical equations and engineering more "biologically informed" constraints, such as ensuring non-negative concentrations, to enhance robustness in medical and industrial applications.
Summary updated