Abstract
# PGNN for Epidemic Threshold Prediction — Zenodo Repository **Paper:** A Hybrid AI-Mathematical Approach for Epidemic Threshold Prediction in Metapopulation Networks: Integrating Physics-Guided Neural Networks with Spectral Graph Theory **Author:** Etienne Kouokam - Department of Computer Science, Université de Yaoundé I, Cameroon - IRD-UMMISCO, Sorbonne Université, France - ORCID: 0000-0002-4064-0200 - Email: etienne.kouokam@facsciences-uy1.cm **Journal:** PLOS ONE (PONE-D-26-09719) **Zenodo DOI:** https://doi.org/10.5281/zenodo.19411519 **License:** CC BY 4.0 --- ## Repository Contents ``` ├── code/ │ ├── hybrid_model_complete.py # Complete pipeline (generation + training + evaluation) │ └── requirements.txt # Python dependencies ├── data/ │ ├── dataset.pkl # 775 synthetic networks with tau* labels │ ├── dataset.csv # Same data in CSV format (human-readable) │ └── dataset_summary.json # Summary statistics ├── results/ │ ├── table1_performance.json # Table 1: 7-method comparison │ ├── table2_ablation.json # Table 2: 8-variant ablation study │ ├── ksel_calibration.json # KSEL k* by topology │ └── shap_importance.json # SHAP feature importances ├── models/ │ └── pgnn.pt # Trained PGNN weights (PyTorch) └── README.md ``` --- ## Quick Start ```bash # 1. Install dependencies pip install -r code/requirements.txt # 2. Load and inspect the dataset python - 0.025 excluded (1 of 776 attempts) --- ## Results Description (`results/`) ### `table1_performance.json` Performance of 7 methods on the 116-network test set: - QMF, KSEL, Linear Regression, Random Forest, Gradient Boosting, MLP, PGNN - Fields per method: RMSE, CI_lo, CI_hi (95% bootstrap), MAE, R2 ### `table2_ablation.json` 8-variant ablation study of the PGNN: - PGNN_full, No_Lstab, No_Lmono, No_Lbound, No_physics_MLP, No_spectral, No_epidemio, No_tau_qmf - Fields: RMSE, MAE, R2, delta_pct (% change vs PGNN_full) ### `ksel_calibration.json` Optimal KSEL coefficient k* per network family (gradient descent calibration): - k*(ER), k*(BA), k*(WS), k*(REG), k*(ALL) ### `shap_importance.json` Mean |SHAP value| per feature from KernelExplainer applied to PGNN. --- ## Key Results (Paper Tables 1–2) | Method | RMSE | R² | |------------------|--------|-------| | QMF | 0.2668 | -0.222| | KSEL (k=0.3) | 0.3340 | -0.915| | Linear Regression| 0.1241 | 0.736 | | Random Forest | 0.0744 | 0.905 | | **Gradient Boosting** | **0.0731** | **0.908** | | Standard MLP | 0.1482 | 0.623 | | PGNN (ours) | 0.2299 | 0.093 | **Main finding:** Gradient Boosting and Random Forest outperform the PGNN in the low-to-moderate data regime. The PGNN contributes through physical consistency guarantees, ablation-validated constraint analysis, and SHAP interpretability. --- ## Reproducibility Notes - All experiments reproducible with `random_seed=42` - Verified on Python 3.10, Ubuntu 22.04 - GPU (NVIDIA T4) recommended for dataset generation (~30 min); CPU feasible (~3h) - The pre-generated dataset in `data/dataset.pkl` allows reproducing Tables 1-2 without re-running the Monte Carlo simulation --- ## Citation ```bibtex @article{kouokam2026pgnn, title = {A Hybrid {AI}-Mathematical Approach for Epidemic Threshold Prediction in Metapopulation Networks}, author = {Kouokam, Etienne}, journal = {PLOS ONE}, year = {2026}, note = {PONE-D-26-09719}, doi = {10.5281/zenodo.19411519} } ``` --- ## License Code and data are released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). You are free to share and adapt the material for any purpose with proper attribution.