Comparative Performance of Molecular Fingerprints and Distance Metrics for Predicting Anti-aging Activity in Caenorhabditis elegans
- VernacularTitle:分子指纹与距离度量在秀丽隐杆线虫抗衰老活性预测中的性能比较
- Author:
Xing-Chen XIAN
1
;
Qin-Hua GUO
1
;
Hui YUE
1
;
Si-Jing AN
1
;
Lin MIAO
1
Author Information
- Publication Type:Journal Article
- Keywords: machine learning; molecular fingerprints; distance metrics; anti-aging; Caenorhabditis elegans
- From: Progress in Biochemistry and Biophysics 2026;53(11):3000-3013
- CountryChina
- Language:Chinese
- Abstract: ObjectiveMachine learning can establish relationships between molecular representations and biological activity using structural and activity data from known compounds, thereby predicting the potential activity of structurally similar compounds. However, systematic guidance on selecting molecular representations and similarity measures for practical applications remains limited. Different representations encode distinct chemical information, while different measures capture molecular differences in different ways; subjective or arbitrary choices may therefore affect predictive performance. Therefore, molecular representation-metric combinations should be systematically evaluated for specific prediction tasks to determine their suitability for different screening objectives and data conditions, guiding the development of practical computational strategies that reduce trial and error and improve predictive accuracy. MethodsUsing anti-aging activity prediction in Caenorhabditis elegans as a case study, we selected nine representative molecular representations, including 6 binary fingerprints—MACCS, ECFP, RDKit, PubChem, Topological Torsion, and Atom Pairs—each paired with Tanimoto similarity, the Dice coefficient, and the Tversky index, yielding 18 combinations. Three continuous molecular descriptor sets—physicochemical, topological, and structural descriptors—were each paired with four measures suitable for continuous data: cosine similarity and Euclidean, Manhattan, and Mahalanobis distances, yielding 12 combinations. This yielded 30 combinations in total. All combinations of the selected molecular representations and measures were exhaustively evaluated using a K-nearest neighbors (KNN) model for activity classification. Predictive performance was systematically compared within the binary and continuous groups separately using seven classification metrics: accuracy, precision, recall, specificity, F1 score, ROC-AUC, and PR-AUC. Overall performance was assessed using the mean of the seven metrics, with particular attention to precision and recall to distinguish the combinations’ ability to improve the reliability of positive predictions and minimize missed true positives. To address practical challenges such as class imbalance and limited sample size, simulation experiments were conducted by reducing the proportion of positive samples and the total sample size to assess each combination’s performance and robustness under changes in class distribution and dataset size. To further evaluate the suitability of molecular representations across modeling approaches, XGBoost, a model that does not rely on distance measures, was used to compare the predictive performance of the nine representations for anti-aging activity in C. elegans. ResultsFor binary representations, MACCS-Tanimoto achieved the highest mean score across the seven metrics, ECFP-Tanimoto achieved the highest precision, and MACCS-Tanimoto and MACCS-Tversky achieved the highest recall. For continuous representations, the corresponding best-performing combinations were Structure-Cosine, PhysChem-Cosine, and Structure-Cosine/Structure-Mahalanobis, respectively. Besides, MACCS-Dice demonstrated good robustness to both increasing class imbalance and decreasing sample size. Among the continuous descriptor-distance combinations, Structure-Mahalanobis maintained relatively high mean metric values across different proportions of positive samples but showed greater variability as sample size decreased. With XGBoost, ECFP and Structure achieved the highest overall scores for binary fingerprints and continuous descriptors, respectively. ConclusionUnder the dataset and experimental conditions of this study, MACCS-Tanimoto and Structure-Cosine were the best-performing binary and continuous representation-metric combinations, respectively, for predicting anti-aging activity in C. elegans. When precision and the reliability of positive predictions are prioritized, ECFP-Tanimoto and PhysChem-Cosine are recommended for binary and continuous representations, respectively. When recall is prioritized to identify true positive compounds and minimize missed potentially active compounds, MACCS-Tanimoto and MACCS-Tversky are recommended for binary representations, while Structure-Cosine and Structure-Mahalanobis are recommended for continuous representations. For predicting anti-aging activity in C. elegans, the MACCS-Dice combination is recommended when class imbalance or limited sample size compromises predictive performance. Although it does not achieve the highest performance under baseline conditions, it exhibits greater robustness to these data limitations. For XGBoost, ECFP and Structure are the preferred binary and continuous molecular representations, respectively. The identified combinations provide guidance on selecting molecular representations and metrics for predicting anti-aging activity in C. elegans, while offering a methodological framework for evaluating representation suitability and optimizing input strategies in other drug activity prediction tasks.
