Using transfer learning and dimensionality reduction techniques to improve generalisability of machine-learning predictions of mosquito ages from mid-infrared spectra
Emmanuel P. MwangaiD, Doreen Josen SiriaiD, Joshua MittoniD, Issa H. MshaniiD, Mario González‐JiméneziD, Prashanth SelvarajiD, Klaas WynneiD, Francesco BaldiniiD, Fredros O. OkumuiD, Simon A. BabayaniD
Abstract
Accurate prediction of mosquito population age structures can improve the evaluation of mosquito-targeted interventions since old mosquitoes are more likely to transmit malaria than young ones. Mid-infrared spectroscopy (MIRS) reveals age-associated variation in the biochemical composition of the mosquito cuticle, which can then be used to train machine learning (ML) models to predict mosquito ages. However, these MIRS-ML models are not always generalisable across different mosquito populations. Here, we investigated whether dimensionality reduction applied to the MIRS input data and transfer learning could improve the generalisability of MIRS-ML predictions for mosquito ages. We reared adults of the malaria vector, Anopheles arabiensis, in two insectaries (Ifakara, Tanzania and Glasgow, UK). The heads and thoraces of female mosquitoes of two age classes (1-9 day-olds and 10-17 day-olds) were scanned using an attenuated total reflection-Fourier transform infrared (ATR-FTIR) spectrometer (4000 cm-1 to 400 cm-1). The dimensionality of the spectra data was reduced using unsupervised principal component analysis (PCA) or t-distributed stochastic neighbour embedding (t-SNE), and then the spectra were used to train deep learning (DL) and standard machine learning (ML) classifiers. Transfer learning was also evaluated for improving the computational cost of the models when predicting mosquito age classes from new populations. Model accuracies for predicting the age of test mosquitoes from the same insectary as the training samples reached 99% for DL and 92% for ML, but did not generalise to a different insectary, achieving only 46% and 48% for ML for DL, respectively. Dimensionality reduction did not improve the model generalisability between locations but reduced computational time up to 5-fold. However, transfer learning by updating pre-trained models with 2% of mosquitoes from the alternate location brought both DL and standard ML model performance to ~98% accuracy for predicting mosquito age classes in the alternative insectary. Combining dimensionality reduction and transfer learning can reduce computational costs and improve the transferability of both deep learning and standard machine learning models for predicting the age of mosquitoes. Future studies could investigate the optimal quantities and diversity of training data necessary for transfer learning, and implications for broader generalisability to unseen datasets.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 29
- FWCI
- 3.70
- Field percentile
- top 6%
- 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
- Prediction of malaria mosquito species and population age structure using mid-infrared spectroscopy and supervised machine learning
Mario González‐Jiménez, Simon A. Babayan, … Klaas Wynne·Wellcome Open ResearchPeer-reviewed·May 1, 2019
- Towards Scalable Age-Grading of Aedes albopictus mosquito using Mid-Infrared Spectroscopy and Machine Learning
M. G. Foti, Martina Micocci, … Francesco Baldini·Scientific ReportsPeer-reviewed·Nov 18, 2025
- Rapid ageing and species identification of natural mosquitoes for malaria surveillance
D. J. Siria, R. Sanou, … F. Baldini·bioRxiv·Jun 11, 2020
- Advancing age grading techniques for Glossina morsitans morsitans, vectors of African trypanosomiasis, through mid-infrared spectroscopy and machine learning
Mauro Pazmiño Betancourth, Iván Casas Gómez-Uribarri, … Lee Rafuse Haines·Biology Methods and ProtocolsPeer-reviewed·Jan 1, 2024
- Age Grading An. Gambiae and An. Arabiensis Using Near Infrared Spectra and Artificial Neural Networks
Masabho P. Milali, Maggy T. Sikulu-Lord, … Richard J. Povinelli·PLoS ONEPeer-reviewed·Aug 14, 2019
- Functional data analysis techniques to improve the generalizability of near-infrared spectral data for monitoring mosquito populations
Pedro M. Esperança, Dari Frédéric Da, … Thomas S. Churcher·bioRxiv·Apr 28, 2020