Location: Diet, Microbiome and Immunity Research
Title: TaxaHFE: A machine learning approach to collapse microbiome datasets using taxonomic structureAuthor
OLIVER, ANDREW - Orise Fellow | |
KAY, MATTHEW - University Of California, Davis | |
Lemay, Danielle |
Submitted to: Bioinformatics
Publication Type: Peer Reviewed Journal Publication Acceptance Date: 11/7/2023 Publication Date: 11/28/2023 Citation: Oliver, A., Kay, M., Lemay, D.G. 2023. TaxaHFE: A machine learning approach to collapse microbiome datasets using taxonomic structure. Bioinformatics. 3(1). Article vbad165. https://doi.org/10.1093/bioadv/vbad165. DOI: https://doi.org/10.1093/bioadv/vbad165 Interpretive Summary: Investigating the relationship between diet, the microbiome, and health often necessitates the use of high-throughput methods such as DNA sequencing combined with dietary recalls. The datasets generated by these methods are feature-rich and require special consideration in their analysis. One common method employed is machine learning (ML), but ML algorithms can suffer from the "curse of dimensionality" due to many features describing relatively few samples. Feature engineering can help address this problem by preprocessing the data prior to ML model evaluation. Feature engineering can exploit a common thread between microbiome and dietary data, which is the hierarchical structure of the features themselves. We introduce a method for hierarchical feature engineering called TaxaHFE, which dynamically collapses hierarchical data based on taxonomic information together with information gain, maximizing the information contained at various taxonomic levels while reducing redundancy in the feature space. We demonstrate its utility on microbiome data and hierarchical food data represented by taxonomic trees and show that TaxaHFE often improves the performance of ML models while simultaneously increasing interpretability of the models. Technical Abstract: Background: DNA sequencing combined with dietary recalls are powerful, high-throughput, approaches to study the relationship between nutrition, the microbiome, and health. However, inherent to both data types is a problem and its potential solution: the high dimensionality of the data output (problem), and the hierarchical (i.e., taxonomic) relationship between the features themselves (solution). Although machine learning (ML) can be a powerful tool to comb through high dimensional data, it can suffer from too many features describing too few samples (i.e., p >> n). To reduce dimensionality for ML applications, and subsequently increase model performance and interpretability, we sought to exploit the hierarchical relationships between features using an algorithmic approach to feature pre-processing. Results: Using six previously published datasets, we show that TaxaHFE results in an 85% reduction in number of features (s.d = 14.2%) compared to using the most complete taxonomy. Comparing the most resolved taxonomic level (e.g., species) against TaxaHFE preprocessed features using machine learning showed that models based on TaxaHFE features achieved an average increase in receiver operator curve area under the curve (ROC-AUC) of 3.7%. Conclusions: Here we present a tool for dynamically collapsing hierarchical data (such as taxonomies in microbiome data) to reduce feature rich datasets. The primary strengths of this method are threefold: 1) a dramatic decrease in the number of features, 2) an increase in the performance of machine learning models after preprocessing with TaxaHFE, and 3) the ability to use both categorical and continuous dependent variables. Future work should examine the utility of TaxaHFE on other hierarchically represented data, such as dietary data represented by food trees. |