Incorporating network structure improves HIV risk prediction: a graph-based machine-learning study among men who have sex with men in Bali, Indonesia.
Ngakan Putu Anom Harjana, Pande Putu Ida Oktayani, Brigitta Dhyah Kunthi Wardhani, Pande Putu Januraga
Department of Public Health and Preventive Medicine, Faculty of Medicine, Udayana University, Bali, Indonesia. · PUI-PT Center for Public Health Innovation (CPHI), Udayana University, Bali, Indonesia.
Key points
From the paper's conclusion- When the network is constructed as a bipartite respondent-partner graph with individual-only node features (preserving complementarity with network structure), and evaluation is conducted with component-aware splitting, an inductive leakage check, and cross-validation, the GCN achieves a genuine and meaningful discriminative advantage over conventional classifiers for HIV risk prediction among MSM in Bali. The key methodological requirements, such as verifiable edges, complementary features and structure, and component-aware evaluation, are described and can be adopted in future network-informed HIV surveillance analyses.
Abstract
BACKGROUND: Identifying individuals at high risk of HIV infection is particularly challenging in populations where transmission is shaped by social and relational networks. Most machine learning approaches rely on individual-level characteristics and do not explicitly model network dependence. Graph convolutional networks (GCNs) enable integration of network structure with individual attributes, but their added value in applied HIV surveillance remains insufficiently evaluated., and is sensitive to how the network itself is constructed and how node features and network structure are kept complementary. METHODS: We analysed survey data from 186 MSM recruited by snowball sampling in Bali, Indonesia. We constructed a bipartite graph in which the 186 respondents and their 355 reported sexual partner codes form separate node sets (541 nodes total, 369 edges). Respondent node features were restricted to 32 individual-level variables, explicitly excluding partner-aggregate behavioral features, to preserve the complementarity assumption underlying GCN theory: the network carries structural information (who shares a partner with whom) and the features carry individual information. A two-layer GCN was compared with logistic regression, random forest, and XGBoost, and a validation-weighted ensemble of all four models was implemented and reported. Leakage was assessed via an inductive check (test-node edges removed at inference), 5-fold component-aware cross-validation, and a sensitivity analysis re-introducing status-adjacent variables. RESULTS: Under the bipartite design, the GCN achieved a test AUC of 0.833, outperforming logistic regression (0.707), random forest (0.760), XGBoost (0.620), and the validation-weighted ensemble (0.787). The inductive check confirmed the advantage was not due to label leakage (AUC 0.847 with test-node edges removed; Δ=+0.013). Five-fold cross-validated pooled out-of-fold AUCs ranged from 0.597 to 0.654 across baselines (GCN: 0.624). Predicted risk was higher among HIV-positive, with mean P(HIV-positive) was 0.513 among HIV-positive vs 0.415 among HIV-negative individuals, targeting the top 20% by predicted risk captured 31.1% of positive cases. CONCLUSION: When the network is constructed as a bipartite respondent-partner graph with individual-only node features (preserving complementarity with network structure), and evaluation is conducted with component-aware splitting, an inductive leakage check, and cross-validation, the GCN achieves a genuine and meaningful discriminative advantage over conventional classifiers for HIV risk prediction among MSM in Bali. The key methodological requirements, such as verifiable edges, complementary features and structure, and component-aware evaluation, are described and can be adopted in future network-informed HIV surveillance analyses.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Towards Scalable Network-Based Interventions for HIV Treatment and Prevention via R2C-AgentarXiv · 2026
- Structural Centrality Versus Inferred Ancestral State: Unraveling Hidden Heterogeneity in Large HIV Molecular Clusters.Viruses · 2026
- Symptom-level associations among sleep quality, depression, and social rhythm in people living with HIV: a network analysis.BMC psychology · 2026
- Why accurate risk stratification matters in HIV population modeling.Mathematical biosciences and engineering : MBE · 2026
- A Comparative Evaluation Framework Integrating Machine Learning and Deep Learning Models with ADME-Based Pharmacokinetic Assessment for HIV-Related Compounds.Pharmaceuticals (Basel, Switzerland) · 2026
- Metabolic and biochemical determinants of anal disease risk in HIV-positive MSM.Archives of physiology and biochemistry · 2026