Statistically valid explainable black-box machine learning: applications in sex classification across species using brain imaging
Clinical Snapshot
PICO Framework
| P — Population | Humans and macaques undergoing structural MRI and cortical thickness neuroimaging |
| I — Intervention | Oblique Random Forests (ORFs) with NEOFIT feature importance testing algorithm |
| C — Comparator | Traditional machine learning methods (random forests, LIME, SHAP) |
| O — Outcomes | Sex classification accuracy (AUC), statistically significant neuroanatomical features, cross-species brain structure differences |
Bottom Line
This methodological study presents a novel machine learning framework combining Oblique Random Forests with statistical validation for sex classification using neuroimaging data. The approach achieved good classification performance (AUC >0.80 in humans, >0.70 in macaques) while providing interpretable, statistically validated feature importance. The cross-species validation is innovative and suggests broad applicability. However, the clinical utility remains to be established, and important methodological details regarding sample characteristics and confounder control are unclear. While the statistical validation approach addresses a key limitation in neuroimaging machine learning, clinicians should await validation in larger, well-characterized clinical populations before considering diagnostic applications. The methodology shows promise for research applications in understanding sex-specific brain differences and could inform future diagnostic tool development.
Key Findings
P Value: Statistically significant features identified with corrected p-values
Effect Size: AUC >0.80 (humans), AUC >0.70 (macaques)
Primary Outcome: Sex classification accuracy using neuroimaging features
Nnt Or Sensitivity: Cross-species validation demonstrates algorithm generalizability
Confidence Interval: Not reported in abstract
Clinical Application
Requires standard MRI protocols available in tertiary centres; computational resources needed for implementation Applicable to Australian neuroimaging centres; potential integration with existing diagnostic pathways; no specific TGA or PBS implications for methodology paper Adults undergoing structural MRI for neurological or psychiatric evaluation
Abstract
Sex classification using neuroimaging data has the potential to revolutionize personalized diagnostics by revealing subtle structural brain differences that underlie sex-specific disease risks. Despite the promise of machine learning, traditional methods often fall short in providing both high classification accuracy and interpretable, statistically validated feature importance scores for high-dimensional imaging data. This gap is particularly evident when conventional techniques such as random forests, LIME, and SHAP are applied, as they struggle with complex feature interactions and managing noise in large datasets. We address this challenge by developing an integrated framework that combines Oblique Random Forests (ORFs) with a novel, permutation-based feature importance testing algorithm. ORFs extend traditional random forests by employing oblique decision boundaries through linear combinations of features, thereby capturing intricate interactions inherent in neuroimaging data. Our feature importance testing method, NEOFIT, rigorously quantifies the significance of each feature by generating null distributions and corrected p-values. We first validate our approach using simulated datasets, establishing its robustness and scalability under controlled conditions. We then apply our method to classify sex from both voxel-wise structural MRI and cortical thickness data in humans and macaques, facilitating direct cross-species comparisons. ORFs achieves AUC > 0.80 on human data, and >0.70 on macaque data, while NEOFIT identifies statistically significant features aligned with sex-dimorphic neuroanatomy. Our results demonstrate that the proposed framework not only enhances classification performance but also provides clear, interpretable insights into the neuroanatomical features that distinguish sexes. These methodological advancements pave the way for improved diagnostic tools and contribute to a deeper understanding of the evolutionary basis of sex differences in brain structure.
References
- 1.Liu, T., Dey, J., Xu, B., Bridgeford, E. W., Alldritt, S., Nenning, K. H., Byeon, K., Xu, T., & Vogelstein, J. T. (2026). Statistically valid explainable black-box machine learning: applications in sex classification across species using brain imaging. PLoS One. https://doi.org/10.1073/pnas.2424203122
Related Research
Sleep medicine reviews
Machine and deep learning in REM sleep behavior disorder: a scoping review and analysis of reporting quality
3 Aug 2026
Neurological research
Federated deep learning model for epilepsy seizure detection using electroencephalogram (EEG) signal
2 Aug 2026
Journal of psychiatric research
Systematic review of machine learning and deep learning models for EEG-based detection of depression.
2 Aug 2026
This content is for educational purposes for healthcare professionals only and does not constitute clinical advice. Clinical decisions should be based on individual patient assessment, current guidelines, and appropriate specialist consultation. Editorial Standards · Privacy Policy · Terms of Service