Explainable machine learning reveals evolutionary signals in Influenza hemagglutinin
Abstract
Identifying amino acid changes that lead to phenotypic change is a central problem that is critical to viral surveillance. Common metrics used to measure protein evolution like site-wise evolutionary rates and entropy are truly measures of variability rather than phenotypic importance. Here I show that supervised, explainable machine learning models provide a complementary approach that could serve to date and classify sequences, identify important mutations for host adaptation, and control directly for confounding covariates like sampling date and geography of origin. I curated 39,121 hemagglutinin (H3) protein sequences from GISAID with passage annotations and associated sample metadata to create models of sequence change. Gradient boosted decision trees were trained with encoded amino acids plus latitude, longitude, and date; SHAP values quantified site importance. The passage classifier achieved 81% overall accuracy (balanced accuracy = 0.77), distinguishing egg grown from unpassaged isolates with nearly 90% recall, and recovering known and novel adaptive substitutions. A separate regressor, trained solely on unpassaged sequences, predicted sample collection date with R2 = 0.98 and a mean absolute error of 74.5 days. Crucially, the sites identified as most important by the models showed a strong enrichment for experimentally validated antigenic sites, with the passage model ranking these functionally critical residues far more effectively than traditional evolutionary metrics. Across both tasks, correlations between SHAP values and standard evolutionary metrics were strong (0.63[≤] {rho} [≤] 0.9), indicating a strong connection between importance and variability depending on model specification. These results demonstrate that explainable machine learning can reveal important substitutions, deliver tree free molecular dating, and may transform passage metadata from a nuisance into an experimental probe.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 1
- Organism
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Geometric constraints dominate the antigenic evolution of influenza H3N2 hemagglutinin
Austin G Meyer, Claus O Wilke·PLOS PathogensPeer-reviewed·May 28, 2015
- Interpretable sequence-based machine learning consolidates candidate H3N2 hemagglutinin antigenic sites
Austin G. Meyer, Mauricio Santillana·bioRxiv·May 1, 2026
- Language models learn to represent antigenic properties of human influenza A(H3) virus
Francesco Durazzi, Marion Koopmans, … Daniel Remondini·Scientific ReportsPeer-reviewed·Jul 1, 2025
- Sequence amplification via cell passaging creates spurious signals of positive adaptation in influenza H3N2 hemagglutinin
Claire McWhite, Austin Meyer, Claus O Wilke·bioRxiv·Jul 12, 2016
- Evolution-informed forecasting of seasonal influenza A (H3N2)
Xiangjun Du, Aaron A. King, … Mercedes Pascual·Science Translational MedicinePeer-reviewed·Oct 25, 2017
- Predicting the antigenic evolution of seasonal influenza viruses using phylogenetic convergence
Samuel A. Turner, David J. Pattinson, … Derek J. Smith·bioRxiv·Apr 10, 2026