Skip to main content
PLOS One logoLink to PLOS One
. 2026 Apr 16;21(4):e0346575. doi: 10.1371/journal.pone.0346575

Statistically valid explainable black-box machine learning: applications in sex classification across species using brain imaging

Tingshan Liu 1,#, Jayanta Dey 1,#, Beiya Xu 1,#, Eric W Bridgeford 2, Samuel Alldritt 3, Karl-Heinz Nenning 4, Kyoungseob Byeon 3, Ting Xu 3, Joshua T Vogelstein 5,*
Editor: Ravi Bansal6
PMCID: PMC13086332  PMID: 41989998

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.

Introduction

The opportunity to harness high-dimensional medical imaging data to improve diagnostic precision and treatment outcomes is immense. Prior studies in radiography and ultrasound have reported clinically relevant diagnostic performance from Machine Learning-based pipelines [1,2]. In neuroimaging, structural Magnetic Resonance Imaging (MRI) measurements offer a wealth of information that can reveal subtle brain differences linked to neurodevelopmental, cognitive, and behavioral traits, as well as susceptibility to disorders such as autism, schizophrenia, and Alzheimer’s disease [3–9]. To realize this promise in clinical settings, methods are needed that not only deliver high predictive accuracy but also provide interpretable, statistically validated insights into which features are truly significant.

A major challenge in neuroimaging classification is ensuring biological interpretability. Feature selection and rigorous statistical validation are crucial when models handle thousands of features. While popular post-hoc explanation techniques such as Local Interpretable Model-Agnostic Explanations (LIME) and Shapley Additive Explanations (SHAP) offer valuable insights [10,11], they face challenges in high-dimensional settings. LIME relies on local linear approximations, which can lead to variability in the explanations when the feature space is large and complex. Similarly, although SHAP’s Shapley values are theoretically robust, their computation in high-dimensional data can be computationally intensive and may result in noisy estimates. A critical gap remains in the absence of a robust method that consistently discriminates genuine signal from noise in high-dimensional neuroimaging data.

We address this gap by developing an integrated framework that combines Oblique Random Forests (ORFs) with a permutation-based feature importance testing algorithm. ORFs, which use linear combinations of features at each split [12], are particularly adept at capturing complex interactions inherent in neuroimaging data. Our feature importance testing framework statistically validates feature contributions by generating null distributions and applying Bcorrected p-values, thereby reducing overfitting and enhancing interpretability.

To systematically evaluate our approach, we first benchmark it on simulated datasets to assess its effectiveness in feature selection under controlled conditions. We then apply it to human and macaque neuroimaging data to classify biological sex using both voxel-wise MRI features and parcellated cortical thickness (CTh) data.

This workflow allows us to validate our method’s robustness before interpreting real neuroanatomical differences across species. Our results highlight both conserved and species-specific patterns of sex-related structural variation, with key differentiating regions emerging in the limbic system, sensory processing areas, and motor-associated regions. By integrating machine learning with statistical validation, our framework provides an interpretable and scalable approach for neuroimaging classification, with broader applications beyond sex classification.

Materials and methods

Overview

To evaluate our classification framework, we first apply it to simulated datasets, providing a controlled benchmark for assessing feature selection and classification accuracy. This establishes the effectiveness of our approach before transitioning to structural MRI data. We then analyze human and macaque MRI datasets, using oblique random forests and feature importance testing to classify biological sex. MRI preprocessing ensures cross-species comparability, with both structural MRI volume and cortical thickness data serving as primary feature spaces for classification. This two-stage workflow—benchmarking on simulations followed by real-data application—allows a rigorous assessment of our method’s reliability in identifying key brain regions relevant to sex classification.

Oblique random forest

We employed Oblique Random Forests (ORF) for classification tasks, specifically leveraging two variants from the treeple library: Sparse Projection Oblique Random Forest (SPORF) [13] and Manifold Oblique Random Forest (MORF) [14]. These methods are beneficial for addressing high-dimensional data with complex relationships, as they extend traditional axis-aligned decision trees by allowing each decision tree to split data using random projections, enhancing the ability to capture non-linear patterns and interactions within the feature space. ORFs are particularly advantageous in neuroimaging analysis, where data are often high-dimensional, and the relationships between features are non-linear and complex and may not align with traditional grid-like partitions of the data.

We specifically selected SPORF and MORF for their suitability in handling cortical thickness and MRI volume data, respectively. SPORF has advantages over other oblique random forests primarily because it integrates sparsity-inducing regularization [13]. This feature is particularly beneficial when working with datasets that may contain a large number of irrelevant or redundant features, as it helps to focus the model on the most important variables. For our cortical thickness data, SPORF’s ability to select a subset of relevant features improves interpretability and reduces overfitting, which is crucial for our sex classification task. On the other hand, MORF was chosen for MRI volume data due to its robust handling of correlated features [14]. Since MRI data may have intricate spatial correlations between features, incorporating feature locality could improve model performance by capturing these spatial dependencies. Both SPORF and MORF handle high-dimensional data efficiently, making them well-suited for the relatively high-dimensional nature of our data [13,14].

To validate model performance, we used the out-of-bag (OOB) score, which provides an internal validation metric. The OOB score is computed by evaluating each tree on the data points that were not used during its construction (i.e., those not included in the bootstrap sample). This technique helps estimate the generalization ability of the model without requiring a separate validation dataset. The OOB score is particularly useful in neuroimaging studies, where cross-validation can be computationally expensive. Using OOB scoring, we were able to efficiently assess model performance and avoid overfitting by providing a robust estimate of classification accuracy. S1 Fig depicts a flow diagram for our classification framework.

Feature importance testing

Feature importances from Random Forest (RF) provide insights into how strongly each feature contributes to the model’s predictions [15]. In RFs, feature importances are typically computed using the Gini impurity-based measure: each feature’s importance is proportional to the total reduction in Gini impurity it achieves when used to split nodes across all trees in the forest. For SPORF, this process is enhanced by the sparse projection mechanism, where only a subset of features is considered at each split, ensuring that the feature importance estimates focus on the most relevant variables while mitigating noise from irrelevant ones. In MORF, feature importances are computed similarly but are influenced by the method’s consideration of feature locality, allowing it to capture spatial correlations in MRI volume data. This leads to a more nuanced understanding of how spatially distributed voxel values contribute to classification tasks.

To further contextualize the feature importance analysis, we compare our approach with two popular model-agnostic algorithms for feature importance: Local Interpretable Model-Agnostic Explanations (LIME) and Shapley Additive Explanations (SHAP). LIME, introduced by Ribeiro et al. [10], aims to explain individual predictions by approximating the complex model locally with a simpler, interpretable model. It computes feature importances by perturbing the input data and observing the changes in model predictions, providing insight into the local behavior of the classifier. SHAP, on the other hand, is grounded in cooperative game theory and computes feature importance by calculating the Shapley values, which represent the average contribution of each feature across all possible permutations of feature combinations [11]. Both LIME and SHAP are widely adopted in machine learning for interpreting black-box models and provide global and local feature importance measures. While these methods are powerful, they can be computationally expensive and may not scale well to high-dimensional neuroimaging data. Our feature importance testing algorithm, which adapts the tree permutation method, offers a more scalable solution for assessing the statistical significance of features in such high-dimensional settings.

To evaluate the significance of feature importances, we adapt and extend the tree permutation method proposed by Coleman et al. [16] to address the unique challenges of high-dimensional neuroimaging data. This method enables scalable and efficient hypothesis testing in random forests by generating null distributions of feature importance values through tree permutations [16]. Rather than generating n independent forests for permutation testing, it constructs a null distribution by randomly shuffling trees within an ensemble, preserving the dependency structure while drastically reducing computional overhead. To make it feasible for neuroimaging, we modify the framework by leveraging a two-forest approach: one baseline forest and another with permuted features. Additionally, we incorporate Bonferroni-Holm correction to control for multiple comparisons across millions of features, ensuring robust significance assessment. This allows us to assess which cortical thickness or voxel features have statistically significant contributions to sex classification. The details of this method are outlined in Algorithm 1, Neuro-Explainable Optimal Feature Importance Testing (NEOFIT).

Algorithm 1: Training an Explainable Classifier using NEOFIT: Neuro-Explainable Optimal Feature Importance Testing.

Input: Dataset 𝒟 with features and labels, number of trees ntrees, number of permutations nperm, number of bootstraps B.

Output: Feature importance scores I, adjusted p-values.

1:  for b∈B do

2:   𝒟b ← BOOTSTRAP ( 𝒟 )

3:   𝐈b ← FITDECISIONTREE ( 𝒟b )  ▷ Train tree, compute feature importances

4:   𝒟b′←SHUFFLELABELS(𝒟b)

5:   𝐈b′←FITDECISIONTREE(𝒟b′)

6:  end for

7:  function ComputeTestStatistic(I, I’)

8:   𝐑 ← Rank ( 𝐈 ) , 𝐑′ ← RANK ( 𝐈′ )  ▷ Rank importances

9:   Ti+=𝕀(Ri′>Ri) for all i∈{1,…,d} ▷ Update statistics

10:   Ti←Ti/ntrees

11:  end function

12:  for p∈{1,…,nperm} do

13:   for t∈{1,…,ntrees} do

14:    (𝐈tperm,𝐈t′perm)← PermutePairs(𝐈t,𝐈t′)

15:   end for

16:   𝐓pnull←COMPUTETESTSTATISTIC(𝐈perm,𝐈′perm) ▷ Compute null statistic

17:  end for

18:  pi←1+∑p=1nperm𝕀(Tinull>Ti)1+nperm for all i ▷ Compute p-values

19:  𝐏 ← BONFERRONI − HOLM ( 𝐩 )

   • Bootstrap(𝒟): Draw a bootstrap sample from dataset D.

   • FitDecisionTree(𝒟): Train a decision tree on sample and compute feature importances.

   • ShuffleLabels(D=(X,y)): Apply a random permutation such that y′=σ(y).

   • Rank(I): Rank feature importances I from the largest. Assign rank d to missing features.

   • PermutePairs(I, I’): Shuffle the feature importance values in I and I’ together while maintaining their pairwise associations.

   • Bonferroni-Holm(p): Apply the Bonferroni-Holm correction to p-values p.

Simulated datasets

To demonstrate the efficacy of our feature importance testing algorithm, NEOFIT, we performed simulations using the MNIST and Trunk datasets. These simulations allowed us to evaluate the algorithm’s performance in controlled settings before applying it to real-world human and macaque MRI data.

For the MNIST dataset, we followed the setup described in Li et al. [14], specifically Fig 5, where the goal was to classify digits 3 and 5 out of the full MNIST set. The MNIST dataset contains images of handwritten digits (28 × 28 pixels), resulting in a high-dimensional feature space of 784 features per image. In our simulation, we used a subset of the dataset with only 3 and 5 for a binary classification task. This allowed us to test our algorithm’s ability to identify significant features in a relatively simple, yet high-dimensional, dataset. The MNIST dataset is commonly used to benchmark classification methods, especially when assessing the performance of algorithms designed to handle nonlinearities in data.

For the Trunk simulation, we replicated the setup from Tomita et al. [13], specifically Fig 4, which involves comparing two Gaussian distributions. Both distributions have an identity covariance matrix, with the first distribution having a mean vector starting at −1 and decreasing by a factor of i for each dimension i, while the second distribution’s mean vector is the negative of the first. As the dimensionality d of the data increases, the two distributions become closer, making the task of classification progressively more difficult. The mathematical formulation of these two distributions is provided in S1 Appendix. The Trunk dataset is specifically designed to simulate high-dimensional, sparse data and tests the ability of algorithms like SPORF to efficiently identify relevant features in a sparse and increasingly challenging classification task. The simplicity of the Trunk dataset makes it an ideal setting for evaluating the feature importance and selection abilities of our algorithm in a controlled, synthetic environment.

Both of these simulations allowed us to rigorously test the performance of our feature importance testing Algorithm in scenarios that mimic real-world challenges in feature selection and classification. By applying this method to both the MNIST and Trunk datasets, we can demonstrate its ability to reduce computational overhead while maintaining classification accuracy, showcasing its suitability for handling high-dimensional neuroimaging data.

Simulated performance

In our simulation experiments, we aimed to compare the performance of four feature selection algorithms—RF, LIME, SHAP, and NEOFIT—across two datasets: MNIST, a widely used benchbark dataset, and Trunk, a simulated dataset. The main objective was to evaluate how effectively each algorithm selects the most informative features for classification tasks when varying the number of features, ranging from 1 to 512 features.

For each feature dimension d, the dataset was partitioned into three subsets: training (60%), validation (20%), and testing (20%). In each iteration, we trained a RF on the training set and ranked the features by their importance using the Gini impurity measure. Then, we selected the top d features based on this ranking, trained a new RF on the validation set using only these features, and evaluated the resulting model on the testing set. This procedure was repeated for 50 iterations to ensure stability and robustness in the results.

We also tested the performance of LIME, SHAP, and our feature importance testing algorithm on the same feature importances derived from RF. LIME and SHAP are popular techniques for model interpretability: LIME approximates the model locally, and SHAP uses Shapley values to attribute contributions to individual features. Our algorithm, NEOFIT, applied the tree permutation method to generate null distributions of feature importances and selected features based on statistically significant p-values, providing a more rigorous approach to feature selection.

In both MNIST and Trunk simulations, our algorithm consistently outperformed the others. In the MNIST dataset, we achieved over 97% accuracy using fewer features than any other method, demonstrating the efficiency of our approach (Fig 1). For the Trunk dataset, we obtained over 80% accuracy, which was higher than the best performance of all other algorithms, even with a relatively small number of features (Fig 1). These results underscore the superiority of our method, particularly in high-dimensional data, where both accuracy and feature efficiency are crucial.

Fig 1. Simulation results for feature selection performance.

Fig 1

A: Classification accuracy (mean ± standard deviation) for MNIST digits 3 vs. 5 across different numbers of selected features. B: Results for the Trunk dataset. 5 repetitions were run per condition. Our method, NEOFIT, is indicated by the red dot, with red horizontal and vertical lines marking the corresponding accuracy and feature count. C: ROC curve for Trunk simulation including n = 17 top features where n is determined by NEOFIT.

Structural MRI dataset

The human MRI volume data were sourced from publicly available repositories, including the 1000 Functional Connectomes (FCON1000), Healthy Brain Network (HBN), and several other initiatives. A full list of the datasets can be found in S1 Table in the supplementary materials. We included data from unrelated participants across multiple cohorts to ensure diversity and replicability. Specifically, T1-weighted anatomical MRI data were analyzed. Detailed preprocessing protocols, as well as demographic and acquisition parameters, can be found on the respective dataset portals. There are 14,380 subjects in total, with 7,416 females and the remaining 6,964 males, having a mean age of 39 for females and 31 for males. S2 Fig provides the full age and sex distribution for human data.

The Non Human Primate (NHP) MRI data were sourced from the PRIME-DE consortium [17] and included 592 rhesus macaques (Macaca mulatta), including 265 females and 327 males, scanned under anesthesia. Throughout this manuscript, NHP and macaque are used interchangeably to refer to rhesus macaques. The mean age is 2.0 for females and 1.8 for males. Final volumes were resampled to match the resolution of the human data, facilitating direct comparisons across humans and macaques. For further details, please refer to the source of the data at PRIME-DE: UW-Madison. Detailed age and sex distributions for macaque data are also shown in S2 Fig.

MRI preprocessing

The MRI preprocessing pipeline was designed to ensure high-quality input data for subsequent analyses. Following established preprocessing protocols [18], the raw T1-weighted images underwent several key steps, including denoising, brain extraction, and tissue segmentation. First, noise reduction was applied to enhance image quality while preserving anatomical details. Brain extraction (or skull stripping) was then performed to remove non-brain tissues, facilitating accurate cortical and subcortical measurements. The images were subsequently segmented into different tissue classes, such as gray matter, white matter, and cerebrospinal fluid.

To ensure data reliability, an initial quality control step was conducted to screen for artifacts, motion-related distortions, or structural anomalies. Preprocessed data were further reviewed through visual inspection, and scans that failed at any stage of processing were either corrected or excluded from the final dataset.

To generate gray and white matter density maps, we employed voxel-based morphometry (VBM) using the Statistical Parametric Mapping (SPM) framework. For human data, preprocessing was performed using CAT12, an advanced and optimized pipeline for high-resolution human brain imaging [19]. The CAT12 toolbox enabled improved tissue segmentation and bias field correction, ensuring robust gray and white matter probability maps [19]. For macaque data, a customized template was used in conjunction with methods adapted from SPM-mouse [20]. This approach accounted for structural differences between human and macaque brains, improving segmentation accuracy and ensuring valid cross-species comparisons.

Cortical thickness dataset

Cortical thickness (CTh) measurements were derived from surface-based morphometric analyses tailored for both human and macaque brains. For human subjects, CTh was extracted using the CAT12 toolbox, an advanced framework optimized for surface reconstruction and thickness estimation [19]. This pipeline includes topology correction, spherical mapping, and projection-based thickness estimation to ensure accurate and reliable measurements. For macaques, CTh was computed using a species-specific pipeline based on a customized surface template, following methodologies from the Macaque CHART framework [18], which improves precision in non-human primate surface morphometry.

To enable cross-species comparisons, CTh measurements were parcellated using an established alignment framework [21], ensuring that homologous cortical regions were systematically mapped between humans and macaques. This approach minimizes species-specific biases and enhances the biological interpretability of interspecies analyses.

CTh data were processed under two parcellation schemes: Schaefer and Markov. The Schaefer parcellation, based on functional connectivity gradients, provides a data-driven, hierarchical atlas designed to balance spatial resolution and functional specificity [22]. We used the 200-region version to optimize computational efficiency while retaining detailed cortical representation. In contrast, the Markov parcellation is derived from anatomical connectivity patterns in macaques, based on tracer studies that define 182 structurally connected cortical regions [23]. While originally designed for different species, both atlases were adapted for cross-species analysis through mapping transformations, enabling direct comparison between human and macaque cortical organization.

The dataset includes CTh measurements from 10,608 human and 572 macaque subjects, each analyzed under both parcellation schemes, yielding four datasets: {Human, Macaque} × {Schaefer, Markov}. These datasets provide a comprehensive framework for investigating species-specific and evolutionarily conserved cortical patterns, facilitating robust statistical analysis of sex-related cortical differences and their biological significance. A detailed depiction of the age and sex distributions for CTh data in both species is provided in S3 Fig.

Variable specification and relationship identification for within- and cross-species MRI analysis

To make our structural assumptions underpinning our analysis explicit, we employ a directed acyclic graph (DAG) framework [24,25]. DAGs formalize causal relationships between variables and provide graphical criteria for whether particular effects can be identified within the context of a given analysis. Fig 2 illustrates our assumed causal structure, where our primary interest is the effect of biological sex (the exposure, green) on brain structural features (the outcomes, blue): voxel-wise gray and white matter density maps, or parcellated cortical thickness. The total effect includes pathways mediated by intracranial volume (ICV) and hormonal status (the mediators, tan). Since the relationship between ICV and brain structure is well-established and represents a nuisance scaling factor rather than our primary interest [3], we employed species-specific spatial normalization, which intends to control for ICV differences (indicated by the boxed border in Fig 2). Hormonal status, conversely, represents a key biological mechanism through which sex differences manifest; controlling for hormones would remove the effect we aim to study. Therefore, our within-species analyses seeks to quantify brain regions where biological sex has a significant effect, conditional on ICV normalization but preserving hormone-mediated pathways. Age (white) is a common cause of hormonal status and brain features. Finally, our cross-species analysis examines whether species (the effect modifier, pink) modifies the magnitude of sex effects on brain features, testing for evolutionary conservation versus species-specific adaptation.

Fig 2. Directed acyclic graph illustrating the assumed causal structure for sex classification analysis.

Fig 2

Nodes represent variables, with biological sex (green) as the exposure and brain features (blue) as outcomes. Mediators (tan) include intracranial volume (ICV, boxed to indicate that our analysis controls for ICV differences) and hormonal status. Age (white) affects hormonal status and brain features. Species (pink) acts as an effect modifier. Arrows indicate assumed causal relationships.

Results

Hyper-parameter tuning

We fine-tuned several hyper-parameters for both SPORF and MORF implemented with treeple (https://treeple.ai/):

  • max_features: Determines the maximum number of features considered for each split. A lower value encourages diversity among trees, preventing overfitting; a higher value can lead to stronger splits and higher accuracy for individual trees while too high a value may lead to less randomization and poorer generalization.

  • max _patch_ dim (for MORF): Defines the dimensionality of the patches used for splitting the data. Adjusting this parameter allows the model to explore different feature subspaces and balance model complexity and accuracy.

  • feature_combinations (for SPORF): Controls the number of linear combinations of features evaluated at each split in the tree. A higher value leads to a less sparse model, as it incorporates more features into each decision. Increasing the number of combinations improves the flexibility of the model but may reduce interpretability and increase computational complexity.

Neither max_features nor max_patch_dim affect the OOB score for MRI volume data (results not shown). For CTh data, feature_combinations and max_features influence human data far more than macaque data (Fig 3). Given that SPORF applies linear combinations of features at each split, we tested three types of feature normalization and evaluated their impact on classification performance. Based on these comparisons (S2 Fig), we selected z-score normalization as it yielded the most stable and consistent performance across datasets.

Fig 3. Performance comparison of oblique random forest (SPORF) using cortical thickness data across various hyper-parameters.

Fig 3

The figure displays the impact of different model configurations, including feature_combinations, and max_features on performance. Blue dots are achievable by traditional random forest models. In subsequent experiments, we set max_features to 4p for all CTh data. For feature_combinations, we used 10 for human Markov, 2 for macaque Markov, 1.75 for human Schaefer, and 10 for macaque Schaefer. The number of estimators was set to 5,000 for human data and 20,000 for macaque data. All other parameters followed the default settings of the treeple implementation (https://treeple.ai/).

Performance of the sex classifier

After hyper-parameter optimization, we evaluated the performance of our random forest models using the area under the curve (AUC) from the receiver operating characteristic (ROC) curve, which quantifies classifier performance across various decision thresholds. Fig 4 illustrates the ROC curves and corresponding AUC scores for both MRI volume and CTh data. Our model demonstrates an especially high AUC for human MRI volume data, while exhibiting moderate classification performance for macaque data. Overall, the human data consistently outperforms the macaque data across both imaging modalities.

Fig 4. Comparison of True Positive Rate versus False Positive Rate for sex classification models on MRI volume data (top row) and CTh data (bottom row).

Fig 4

Panels show results for (left) humans and (right) NHPs. Curves are color-coded by tissue type (gray/white matter) for MRI volume data and by parcellation scheme (Markov/Schaefer) for CTh data. The AUC is annotated for each category.

Performance of the feature importantce testing

To compare our method with previous interpretable feature importance testing approaches on the sex-classification task, we replicated the procedure described in the Materials and Methods section on CTh data.

Features were selected using LIME and SHAP applied to trained Random Forests, with the number of trees matched across species (5,000 for human and 20,000 for macaque). We then trained classifiers using only the selected significant features and reported accuracy as a proxy for the reliability of each selection method. For LIME and SHAP, we varied the number of top features to examine performance as a function of the selected-feature count; our methods, NEOFIT, yields a single, data-driven estimate of the number of significant features. Fig 5 reports results on the Markov parcellation data; corresponding results for Schaefer parcellation are provided in S5 Fig.

Fig 5. Comparison of feature selection performance on Markov CTh data.

Fig 5

Classification accuracy on human Markov CTh data (left) and macaque Markov CTh data (right) versus the number of selected features for each method. Mean and standard deviation are computed over five repetitions per condition. NEOFIT is shown as a red point at its chosen feature count.

On the human Markov CTh data, NEOFIT reaches around an accuracy of 0.70 with 29 features, whereas LIME requires a comparable subset and SHAP requires a much larger subset to match the same level. On the NHP Markov CTh data, NEOFIT achieves an accuracy of approximately 0.66 using 44 features, which is above the standard deviation bands of LIME and SHAP across most feature-subset sizes. Unlike the post hoc methods, NEOFIT does not require tuning the feature-subset size and shows lower variance. Taken together, these results indicate that NEOFIT delivers comparable accuracy with fewer features, improving the interpretability of sex classification.

We recorded importance–building times for each feature-selection method under a unified protocol. On the Markov CTh dataset, the human cohort required LIME: 288.57 seconds, SHAP: 447.71 seconds, and NEOFIT: 107.04 seconds to build feature importances; for the macaque cohort the corresponding times were 1064.00 seconds, 100.62 seconds, and 194.47 seconds. Times are the median over 5 stratified resamples, and all experiments were executed on a dual-socket Intel Xeon Gold 6248R system (2×24 physical cores, 96 hardware threads; base 3.0 GHz, turbo 4.0 GHz), using 50 parallel workers for both training and inference.

Voxel-wise feature importance maps

We applied MORF to gray matter and white matter MRI volume data for both humans and macaques separately, generating feature importance values for each voxel along with their corresponding p-values. Fig 6 illustrates the p-values generated using our feature importance testing algorithm, NEOFIT (see Algorithm 1), while figures (S6–S9 Figs) displaying the corresponding raw feature importance values are provided in the supplementary material.

Fig 6. Voxel-wise feature importance values and corrected p-values for human (left column) and NHP (right column).

Fig 6

Results are computed using our feature importance testing algorithm with npermutations = 50,000,000. Selected horizontal slices of structural MRI volume on the MNI template show regions with at least 20 voxels and significant feature importance values (p < 0.05). All slices were visually examined, and only those with visibly large regions are presented here.

Regions with significant feature importance for sex classification in humans were identified primarily in the limbic system, including the amygdala, hippocampus, and thalamus, as well as in occipital regions (Fig 6). The involvement of the limbic structures, which are implicated in motor coordination, sensory integration, and emotion regulation [26], aligns with previous findings that link sexual dimorphism in humans to emotional regulation and memory processing, functions predominantly associated with the amygdala and hippocampus [3]. Similarly, the occipital regions, responsible for visual processing, have shown structural differences between sexes, potentially reflecting sex-specific adaptations in sensory processing [3].

In macaques, feature importance was also primarily concentrated in the limbic system, encompassing the superior temporal gyrus, dentate gyrus (part of hippocampus), putamen, and caudate nucleus (Fig 6). Additional contributions were observed in regions directly connected to the limbic system, such as the orbital gyrus, insula, and claustrum, and in regions with indirect interactions, including the precentral gyrus which is primarily associated with motor function (Fig 6).

Parcel-wise feature importance maps

For the CTh data, we applied SPORF to the parcellated data, utilizing both the Schaefer and Markov parcellation schemes for humans and macaques. The feature importance maps, showing raw feature importance values across all parcels, as well as their corresponding p-values, are provided in the supporting information (S10–S13 Figs). To facilitate comparisons of significance patterns between the species, we merged the p-value maps for humans and macaques into a single surface, displayed with distinct color schemes (Fig 7). For parcels where both species exhibit significant p-values, we use a mosaic coloring pattern to highlight the significance levels for each species (Fig 7). This approach emphasizes regions where both species show consistent patterns of significance, as well as where differences exist.

Fig 7. Parcel-wise feature importance values and corrected p-values mapped onto brain surfaces for human (green) and NHP (purple).

Fig 7

Results are computed using our feature importance testing algorithm with npermutations = 5000. Rows show parcellations: top – Markov, bottom – Schaefer. Significance is determined using a threshold of p < 0.05 for either species. Parcels where both species meet the significance threshold are highlighted with a mosaic pattern, indicating overlap of significant results while preserving species-specific contributions. This visualization enables direct comparison of significant brain regions across humans, non-human primates, or both.

The Markov parcellation reveals that human-specific regions are concentrated in networks associated with higher-order cognitive processes, including the dorsal and ventral attention networks and the default mode network (DMN). These cortical thickness differences likely reflect species-specific traits related to social cognition and complex behaviors. In contrast, macaque-specific regions overlap primarily with the posterior ventral attention network (Fig 7), indicating sex-related differences predominantly in sensory-driven or attentional systems. The orbitofrontal–limbic network emerges as a significant shared region across species (Fig 7), consistent with its conserved role in emotion and reward processing among primates.

For the Schaefer parcellation, shared significant regions are largely part of the posterior ventral attention network (Fig 7), underscoring the evolutionary conservation of attentional mechanisms underlying sex-related cortical differences. In humans, a broader array of networks, including somatomotor, frontoparietal, DMN, and visual networks, is implicated (Fig 7), highlighting the functional and structural complexity of human cortical organization. This diversity is likely linked to advanced motor control, cognition, and social interaction. Similar to the Markov parcellation, macaque-specific regions are confined to posterior networks, such as the posterior dorsal and ventral attention networks and the DMN (Fig 7), suggesting a more limited scope of sex-based cortical differences compared to humans.

We conducted a network-level analysis of the CTh data by aggregating parcels according to the 7-Yeo brain network scheme [27]. A Wilcoxon signed-rank test was applied to compare feature importances at the network level between humans and macaques across the seven Yeo networks: Visual, Somatomotor, Dorsal Attention, Ventral Attention, Limbic, Frontoparietal, and Default. The Frontoparietal network showed a significant difference in feature importances between species in the Schaefer parcellation, with humans exhibiting higher feature importance values (Fig 8).

Fig 8. Comparison of network-wise classification feature importances across species for the Schaefer parcellation (a similar plot for the Markov parcellation can be found in the supporting information S14 Fig).

Fig 8

For each species, the raw feature importance values for all parcels corresponding to the same network, according to Yeo’s 7-network, were aggregated. The differences in feature importances across species were then evaluated using the Wilcoxon signed-rank test. The short horizontal line above each strip indicates the mean, and the red star highlights the pair with a significant difference (p < 0.05).

Discussion

Our study demonstrates that the integration of oblique random forests (ORFs) with permutation-based feature importance testing fills a critical gap in neuroimaging analysis. By capturing complex, non-linear interactions through oblique splits and rigorously validating feature importance, our method reliably distinguishes true signal from noise in high-dimensional data. This advancement is evident in our simulation studies, where our approach outperforms conventional methods such as LIME and SHAP, and is further validated in the classification of sex from both voxel-wise MRI and parcellated CTh data.

Our analysis estimated the overall effect of biological sex on brain structure, representing sex effects averaged across the age distributions observed in our sample. Under the causal framework outlined in (Fig 2), this can be conceptualized as an average treatment effect (ATE) [28]. Our human data exhibited an age imbalance between sexes (females: mean 39 years, males: mean 31 years) arising from aggregation of datasets with different demographic compositions. If sample inclusion depended jointly on both sex and age, conditioning on the selected sample could induce collider bias [29]. While we found no explicit evidence of such joint selection mechanisms in the data collection protocols, we cannot definitively rule out this possibility in large-scale multi-site aggregations.

Structural MRI volume and CTh data introduce distinct challenges for classification. Voxel-wise MRI data is inherently high-dimensional, leading to challenges such as feature redundancy, increased measurement noise, and the curse of dimensionality. While MORF addresses local feature dependencies by considering spatially correlated feature patches, distinguishing meaningful biological signals from noise remains difficult, particularly given the variability in MRI acquisition protocols across datasets.In contrast, CTh data is lower-dimensional but relies on template-driven parcellation schemes, which may not optimally capture fine-grained anatomical differences across individuals. Parcellation choices can constrain classification performance, as predefined regions may not align with the most relevant biological variations. This limitation can be exacerbated when parcellations are derived from standard population-based templates rather than subject-specific cortical features.

Our sex classification results provide important insights into the underlying neuroanatomical patterns. Specifically, the identification of both shared and species-specific regions suggests a balance between evolutionary conservation and species adaptation. In humans, significant regions—primarily within the limbic system and higher-order cognitive areas—underscore the role of emotion and memory processing in sex differentiation. Conversely, in macaques, regions linked to sensory processing and motor control appear more prominent. This dichotomy aligns with prior evidence of conserved neural mechanisms across primates while also reflecting species-specific adaptations [3,5,21]. While both species demonstrate significant sex-related differences in the limbic system, the specific regions implicated differ, reflecting species-specific neurobiological adaptations. Humans show pronounced involvement of the amygdala and hippocampus, emphasizing emotional and memory-related sex differences, whereas macaques exhibit a broader network involving motor, sensory, and integrative regions such as the precentral gyrus and insula. These findings may reflect evolutionary divergence in sex-specific neural functions, with humans demonstrating more specialization in cognitive and emotional domains. Collectively, our findings highlight the potential of our method to reveal meaningful structural markers that can inform our understanding of neurobiological sex differences and their evolutionary origins.

Limitations

Despite these promising results, several limitations remain. First, although our permutation-based feature importance testing improves statistical validation, voxel-wise data—with a vast number of features—require an extremely high number of permutations to reliably correct p-values, resulting in significant computational cost. Second, our current classification accuracy for human MRI volume and cortical thickness data is moderate, which raises concerns regarding the robustness of the identified features as reliable markers. Finally, while our approach outperforms established methods like LIME and SHAP in our simulations, further validation on independent datasets and exploration of computational efficiency in extremely high-dimensional settings remain important avenues for future research.

Future work

Building on the above limitations, we outline several directions for future work. First, incorporating additional MRI-derived features (e.g., cortical curvature and white-matter connectivity) could improve classification and yield a more comprehensive view of sex-linked structural variation. Second, extending cross-species analyses to additional primates would help clarify evolutionary patterns and the extent to which observed differences are conserved across species. Third, transfer-learning approaches—such as training on human data and adapting to macaque data—may leverage shared structure while accounting for species-specific differences, thereby improving cross-species comparability. Furthermore, evaluating our method on a population‐scale dataset such as the UK Biobank would provide a stringent test of out-of-sample generalization and scalability [31,32].

In addition, future work could examine conditional average treatment effects (CATEs) across age to assess whether sex differences vary across developmental stages and aging [24,28,30], providing a temporal perspective on sexual dimorphism while potentially mitigating selection-bias concerns introduced by conditioning on ICV. In the context of Fig 2, such an analysis would permit identification of causal effects [?].

We also plan to incorporate honest tree procedures (sample-splitting trees in which one subsample determines splits and a separate subsample estimates leaf predictions and related quantities), as proposed in [33,34]. Coupling NEOFIT with honest splitting is expected to reduce adaptive bias in importance estimates and improve the reliability of importance estimators.

To reduce NEOFIT build time, we leveraged Google’s Yggdrasil Decision Forests (YDF; https://github.com/google/yggdrasil-decision-forests) to accelerate SPORF training, yielding substantial speedups on cortical-thickness (CTh) classification tasks. As a next step, we will integrate a YDF-backed ORF backend into the NEOFIT implementation to further reduce training and inference times.

Beyond fundamental structural differences, future work should examine sex-related brain variation in the context of neurological and psychiatric disorders, where sex is a known risk factor (e.g., autism, schizophrenia, depression). Understanding how these differences manifest in both healthy and clinical populations may refine diagnostic tools and inform personalized treatment strategies. More broadly, integrating machine learning with rigorous statistical validation has the potential to reshape neuroimaging analysis, paving the way for more interpretable and biologically meaningful discoveries in neuroscience.

Supporting information

S1 Appendix. Mathematical Formulation of the Trunk Simulation.

(DOCX)

pone.0346575.s001.docx (17KB, docx)
S1 Table. List of human structural MRI volume datasets.

(DOCX)

pone.0346575.s002.docx (14.6KB, docx)
S1 Fig. Flow diagram for the classification framework.

(TIF)

pone.0346575.s003.tif (353.7KB, tif)
S2 Fig. Sex and age distributions in human and macaque MRI volume datasets.

(TIF)

pone.0346575.s004.tif (145.7KB, tif)
S3 Fig. Sex and age distributions in human and macaque cortical thickness datasets.

(TIF)

pone.0346575.s005.tif (148.4KB, tif)
S4 Fig. Performance comparison of oblique random forest (SPORF) on macaque cortical thickness data under different normalization methods, with n_estimators values set to 20,000 and max_features set to p.

The results indicate that data normalization improves performance across both parcellation schemes. Notably, Z-score normalization yields a substantial improvement in the Markov parcellation, whereas in the Schaefer parcellation, all three normalization methods exhibit comparable performance.

(TIF)

pone.0346575.s006.tif (644.8KB, tif)
S5 Fig. Comparison of feature selection performance on Schaefer parcellation data.

(TIF)

pone.0346575.s007.tif (239.6KB, tif)
S6 Fig. Raw feature importance values for MRI volume human gray matter.

(TIF)

pone.0346575.s008.tif (568.3KB, tif)
S7 Fig. Raw feature importance values for MRI volume macaque gray matter.

(TIF)

pone.0346575.s009.tif (584.3KB, tif)
S8 Fig. Raw feature importance values for MRI volume human white matter.

(TIF)

pone.0346575.s010.tif (479.6KB, tif)
S9 Fig. Raw feature importance values for MRI volume macaque white matter.

(TIF)

pone.0346575.s011.tif (481.4KB, tif)
S10 Fig. Parcel-wise feature importances and corrected p values for human on Schaefer parcellation.

(TIF)

pone.0346575.s012.tif (2.8MB, tif)
S11 Fig. Parcel-wise feature importances and p values for macaque on Schaefer parcellation.

(TIF)

pone.0346575.s013.tif (2.9MB, tif)
S12 Fig. Parcel-wise feature importances and corrected p values for human on Markov parcellation.

(TIF)

pone.0346575.s014.tif (2.8MB, tif)
S13 Fig. Parcel-wise feature importances and corrected p values for macaque on Markov parcellation.

(TIF)

pone.0346575.s015.tif (2.9MB, tif)
S14 Fig. Comparison of network-wise classification feature importances across species for the Markov parcellation.

For each species, the raw feature importance values for all parcels corresponding to the same network, according to Yeo’s 7-network, were aggregated. The differences in feature importances across species were then evaluated using the Wilcoxon signed-rank test. The short horizontal line above each strip indicates the mean.

(TIF)

pone.0346575.s016.tif (544.1KB, tif)

Code availability

The code used to perform the analysis and generate results for sex classification can be accessed at https://github.com/neurodata/sex_classification. NEOFIT implementation can be tracked at https://github.com/neurodata/treeple.

Acknowledgments

The authors would like to thank Yuxin Bai and Haoyin Xu for their valuable insights and advice on this work.

Data Availability

All relevant links to the data are within the manuscript and its Supporting Information files.

Funding Statement

This work was supported by the National Institutes of Health (https://www.nih.gov) under award numbers RF1MH128696 and U19NS104653, and by the National Science Foundation (https://www.nsf.gov) under award number NSF 20–540. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

References

  • 1.Babukarthik RG, Chandramohan D, Tripathi D, Kumar M, Sambasivam G. COVID-19 identification in chest X-ray images using intelligent multi-level classification scenario. Comput Electr Eng. 2022;104:108405. doi: 10.1016/j.compeleceng.2022.108405 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2.Ouyang D, He B, Ghorbani A, Yuan N, Ebinger J, Langlotz CP, et al. Video-based AI for beat-to-beat assessment of cardiac function. Nature. 2020;580(7802):252–6. doi: 10.1038/s41586-020-2145-8 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Ruigrok ANV, Salimi-Khorshidi G, Lai M-C, Baron-Cohen S, Lombardo MV, Tait RJ, et al. A meta-analysis of sex differences in human brain structure. Neurosci Biobehav Rev. 2014;39(100):34–50. doi: 10.1016/j.neubiorev.2013.12.004 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Marwha D, Halari M, Eliot L. Meta-analysis reveals a lack of sexual dimorphism in human amygdala volume. Neuroimage. 2017;147:282–94. doi: 10.1016/j.neuroimage.2016.12.021 [DOI] [PubMed] [Google Scholar]
  • 5.Cahill L. Why sex matters for neuroscience. Nat Rev Neurosci. 2006;7(6):477–84. doi: 10.1038/nrn1909 [DOI] [PubMed] [Google Scholar]
  • 6.Breach MR, Lenz KM. Sex Differences in Neurodevelopmental Disorders: A Key Role for the Immune System. Curr Top Behav Neurosci. 2023;62:165–206. doi: 10.1007/7854_2022_308 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Hanamsagar R, Bilbo SD. Sex differences in neurodevelopmental and neurodegenerative disorders: Focus on microglial function and neuroinflammation during development. J Steroid Biochem Mol Biol. 2016;160:127–33. doi: 10.1016/j.jsbmb.2015.09.039 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.DuMont M, Agostinis A, Singh K, Swan E, Buttle Y, Tropea D. Sex representation in neurodegenerative and psychiatric disorders’ preclinical and clinical studies. Neurobiol Dis. 2023;184:106214. doi: 10.1016/j.nbd.2023.106214 [DOI] [PubMed] [Google Scholar]
  • 9.Ziemka-Nalecz M, Pawelec P, Ziabska K, Zalewska T. Sex Differences in Brain Disorders. Int J Mol Sci. 2023;24(19):14571. doi: 10.3390/ijms241914571 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Ribeiro MT, Singh S, Guestrin C. Why should I trust you? Explaining the predictions of any classifier. In: Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. 2016. p. 1135–44. 10.1145/2939672.2939778 [DOI]
  • 11.Lundberg S. A unified approach to interpreting model predictions. arXiv preprint arXiv:170507874. 2017. 10.48550/arXiv.1705.07874 [DOI]
  • 12.Menze BH, Kelm BM, Splitthoff DN, Koethe U, Hamprecht FA. On oblique random forests. In: Machine Learning and Knowledge Discovery in Databases: European Conference, ECML PKDD 2011, Athens, Greece, September 5-9, 2011, Proceedings, Part II 22. Springer; 2011. p. 453–469. [Google Scholar]
  • 13.Tomita TM, Browne J, Shen C, Chung J, Patsolic JL, Falk B. Sparse projection oblique randomer forests. J Mach Learn Res. 2020;21(104):1–39.34305477 [Google Scholar]
  • 14.Li A, Perry R, Huynh C, Tomita TM, Mehta R, Arroyo J, et al. Manifold Oblique Random Forests: Towards Closing the Gap on Convolutional Deep Networks. arXiv preprint arXiv:190911799. 2019. 10.1137/21M1449117 [DOI]
  • 15.Breiman L. Random Forests. Mach Learn. 2001;45(1):5–32. doi: 10.1023/a:1010933404324 [DOI] [Google Scholar]
  • 16.Coleman T, Peng W, Mentch L. Scalable and efficient hypothesis testing with random forests. J Mach Learn Res. 2022;23(170):1–35. [Google Scholar]
  • 17.Milham MP, Ai L, Koo B, Xu T, Amiez C, Balezeau F, et al. An Open Resource for Non-human Primate Imaging. Neuron. 2018;100(1):61–74. doi: 10.1016/j.neuron.2018.08.039 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.Alldritt S, Ramirez JS, de Wael RV, Bethlehem R, Seidlitz J, Wang Z. Brain Charts for the Rhesus Macaque Lifespan. BioRxiv. 2024. doi: 10.1101/2024.08.28.610193 [DOI] [Google Scholar]
  • 19.Gaser C, Dahnke R. Computational Anatomy Toolbox 12 (CAT12). 2022. Available from: https://neuro-jena.github.io/cat12-help/
  • 20.Sawiak S, Schwarz AJ, Claussen J, Storkey A, Bulat I, Leitner T, et al. SPM-Mouse: A Toolbox for Voxel-Based Morphometry of the Mouse Brain. 2009. Available from: https://ismrm.gitlab.io/2009/1086.html
  • 21.Xu T, Nenning K-H, Schwartz E, Hong S-J, Vogelstein JT, Goulas A, et al. Cross-species functional alignment reveals evolutionary hierarchy within the connectome. Neuroimage. 2020;223:117346. doi: 10.1016/j.neuroimage.2020.117346 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22.Schaefer A, Kong R, Gordon EM, Laumann TO, Zuo X-N, Holmes AJ, et al. Local-Global Parcellation of the Human Cerebral Cortex from Intrinsic Functional Connectivity MRI. Cereb Cortex. 2018;28(9):3095–114. doi: 10.1093/cercor/bhx179 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Markov NT, Ercsey-Ravasz MM, Ribeiro Gomes AR, Lamy C, Magrou L, Vezoli J, et al. A weighted and directed interareal connectivity matrix for macaque cerebral cortex. Cereb Cortex. 2014;24(1):17–36. doi: 10.1093/cercor/bhs270 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24.Pearl J. Causality: Models, Reasoning and Inference. 2nd ed. Cambridge: Cambridge University Press; 2009. [Google Scholar]
  • 25.Textor J, van der Zander B, Gilthorpe MS, Liskiewicz M, Ellison GT. Robust causal inference using directed acyclic graphs: the R package “dagitty”. Int J Epidemiol. 2016;45(6):1887–94. doi: 10.1093/ije/dyw341 [DOI] [PubMed] [Google Scholar]
  • 26.Catani M, Dell’acqua F, Thiebaut de Schotten M. A revised limbic system model for memory, emotion and behaviour. Neurosci Biobehav Rev. 2013;37(8):1724–37. doi: 10.1016/j.neubiorev.2013.07.001 [DOI] [PubMed] [Google Scholar]
  • 27.Yeo BTT, Krienen FM, Sepulcre J, Sabuncu MR, Lashkari D, Hollinshead M, et al. The organization of the human cerebral cortex estimated by intrinsic functional connectivity. J Neurophysiol. 2011;106(3):1125–65. doi: 10.1152/jn.00338.2011 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28.Imbens GW, Rubin DB. Causal Inference for Statistics, Social, and Biomedical Sciences: An Introduction. Cambridge: Cambridge University Press; 2015. [Google Scholar]
  • 29.Mathur MB, Shpitser I. Simple graphical rules for assessing selection bias in general-population and selected-sample treatment effects. Am J Epidemiol. 2025;194(1):267–77. doi: 10.1093/aje/kwae145 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30.Künzel SR, Sekhon JS, Bickel PJ, Yu B. Metalearners for estimating heterogeneous treatment effects using machine learning. Proc Natl Acad Sci U S A. 2019;116(10):4156–65. doi: 10.1073/pnas.1804597116 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31.Sudlow C, Gallacher J, Allen N, Beral V, Burton P, Danesh J, et al. UK biobank: an open access resource for identifying the causes of a wide range of complex diseases of middle and old age. PLoS Med. 2015;12(3):e1001779. doi: 10.1371/journal.pmed.1001779 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32.Miller KL, Alfaro-Almagro F, Bangerter NK, Thomas DL, Yacoub E, Xu J, et al. Multimodal population brain imaging in the UK Biobank prospective epidemiological study. Nat Neurosci. 2016;19(11):1523–36. doi: 10.1038/nn.4393 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 33.Curtis SD, Liu T, Bai Y, Wang Y, Panda S, Li A, et al. Fragmentation signatures in cancer patients resemble those of patients with vascular or autoimmune diseases. Proc Natl Acad Sci U S A. 2025;122(34):e2426890122. doi: 10.1073/pnas.2426890122 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 34.Curtis SD, Panda S, Li A, Xu H, Bai Y, Ogihara I, et al. Minimizing and quantifying uncertainty in AI-informed decisions: Applications in medicine. Proc Natl Acad Sci U S A. 2025;122(34):e2424203122. doi: 10.1073/pnas.2424203122 [DOI] [PMC free article] [PubMed] [Google Scholar]

Decision Letter 0

Ravi Bansal

2 Oct 2025

-->PONE-D-25-39004-->-->Statistically valid explainable black-box machine learning: applications in sex classification across species using brain imaging-->-->PLOS ONE

Dear Dr. Liu,

Thank you for submitting your manuscript to PLOS ONE. After careful consideration, we feel that it has merit but does not fully meet PLOS ONE’s publication criteria as it currently stands. Therefore, we invite you to submit a revised version of the manuscript that addresses the points raised during the review process.

Please submit your revised manuscript by Nov 16 2025 11:59PM. If you will need more time than this to complete your revisions, please reply to this message or contact the journal office at plosone@plos.org. When you're ready to submit your revision, log on to https://www.editorialmanager.com/pone/ and select the 'Submissions Needing Revision' folder to locate your manuscript file.

Please include the following items when submitting your revised manuscript:

  • A rebuttal letter that responds to each point raised by the academic editor and reviewer(s). You should upload this letter as a separate file labeled 'Response to Reviewers'.

  • A marked-up copy of your manuscript that highlights changes made to the original version. You should upload this as a separate file labeled 'Revised Manuscript with Track Changes'.

  • An unmarked version of your revised paper without tracked changes. You should upload this as a separate file labeled 'Manuscript'.

If you would like to make changes to your financial disclosure, please include your updated statement in your cover letter. Guidelines for resubmitting your figure files are available below the reviewer comments at the end of this letter.

-->

If applicable, we recommend that you deposit your laboratory protocols in protocols.io to enhance the reproducibility of your results. Protocols.io assigns your protocol its own identifier (DOI) so that it can be cited independently in the future. For instructions see: https://journals.plos.org/plosone/s/submission-guidelines#loc-laboratory-protocols. Additionally, PLOS ONE offers an option for publishing peer-reviewed Lab Protocol articles, which describe protocols hosted on protocols.io. Read more information on sharing protocols at . Additionally, PLOS ONE offers an option for publishing peer-reviewed Lab Protocol articles, which describe protocols hosted on protocols.io. Read more information on sharing protocols at . Additionally, PLOS ONE offers an option for publishing peer-reviewed Lab Protocol articles, which describe protocols hosted on protocols.io. Read more information on sharing protocols at . Additionally, PLOS ONE offers an option for publishing peer-reviewed Lab Protocol articles, which describe protocols hosted on protocols.io. Read more information on sharing protocols at https://plos.org/protocols?utm_medium=editorial-email&utm_source=authorletters&utm_campaign=protocols....

We look forward to receiving your revised manuscript.

Kind regards,

Ravi Bansal, Ph.D.

Academic Editor

PLOS ONE

Journal Requirements:

When submitting your revision, we need you to address these additional requirements.

1. Please ensure that your manuscript meets PLOS ONE's style requirements, including those for file naming. The PLOS ONE style templates can be found at

https://journals.plos.org/plosone/s/file?id=wjVg/PLOSOne_formatting_sample_main_body.pdf and

https://journals.plos.org/plosone/s/file?id=ba62/PLOSOne_formatting_sample_title_authors_affiliations.pdf

2. Please note that PLOS One has specific guidelines on code sharing for submissions in which author-generated code underpins the findings in the manuscript. In these cases, we expect all author-generated code to be made available without restrictions upon publication of the work.

Please review our guidelines at https://journals.plos.org/plosone/s/materials-and-software-sharing#loc-sharing-code and ensure that your code is shared in a way that follows best practice and facilitates reproducibility and reuse.

3. We note that the grant information you provided in the ‘Funding Information’ and ‘Financial Disclosure’ sections do not match.

When you resubmit, please ensure that you provide the correct grant numbers for the awards you received for your study in the ‘Funding Information’ section.

4. If the reviewer comments include a recommendation to cite specific previously published works, please review and evaluate these publications to determine whether they are relevant and should be cited. There is no requirement to cite these works unless the editor has indicated otherwise.

Additional Editor Comments:

Dear Authors:

Please see attached the comments from the reviewers. I agree with the reviewers that the performance of your proposed method should be compared with other machine learning algorithms. And that your procedures needs to be detailed better for ease of understanding.

I am therefore glad to offer reconsideration of your manuscript after you have addressed the reviewers' concerns.

Kindly submit a revised manuscript with and without track changes and a cover letter detailing how each of the reviewer concern was addressed in the revised manuscript.

Sincerely,

Ravi Bansal, Ph.D.

[Note: HTML markup is below. Please do not edit.]

Reviewers' comments:

Reviewer's Responses to Questions

-->Comments to the Author

1. Is the manuscript technically sound, and do the data support the conclusions?

The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented. -->

Reviewer #1: Yes

Reviewer #2: Yes

**********

-->2. Has the statistical analysis been performed appropriately and rigorously? -->

Reviewer #1: Yes

Reviewer #2: Yes

**********

-->3. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.-->requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.-->

Reviewer #1: Yes

Reviewer #2: Yes

**********

-->4. Is the manuscript presented in an intelligible fashion and written in standard English?

PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.-->

Reviewer #1: Yes

Reviewer #2: Yes

**********

-->5. Review Comments to the Author

Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)-->

Reviewer #1: Could you provide a quantitative comparison of your ORF+NEOFIT framework against other state-of-the-art classifiers standard Random Forests, SVMs, or simple neural networks and interpretability methods (LIME, SHAP) in terms of both classification accuracy and the reliability of feature importance scores on your datasets?

What were the key performance metrics Accuracy, AUC, F1-Score achieved by your model on the human sMRI and cortical thickness datasets, as well as on the macaque data?

Beyond capturing intricate interactions, what is the specific neuroscientific or data-driven rationale for believing that oblique (linear) decision boundaries are more appropriate than axis-aligned ones for modeling the relationship between voxels/cortical features and sex?

Please elaborate on the NEOFIT algorithm. Specifically, how is the null distribution for each feature's importance score generated permuting labels, permuting features? What specific procedure is used to correct the p-values for multiple comparisons across thousands of features?

The results promise "interpretable insights." Can you provide examples of the top neuroanatomical features identified by NEOFIT and discuss whether they align with previously established sex differences in the literature in the limbic system, cortex thickness patterns?

A key claim is the facilitation of cross-species comparisons. Were there any notable similarities or differences in the important features identified between humans and macaques? What might the evolutionary implications of these findings be?

Could you provide details on the human and macaque datasets used? This includes the number of subjects, age range, sex distribution, and scanner protocols, as these factors can significantly influence the results.

Sex differences in brain structure are known to be influenced by factors like age, brain size (ICV), and hormonal status. How were these potential confounders controlled for in your analysis, either during data preprocessing or within the model itself?

Highlighted article might be considered for related work section. (https://doi.org/10.1016/j.compeleceng.2022.108405

)

ORFs and permutation-based testing are computationally intensive. Could you comment on the training and inference time of your framework compared to traditional methods, and its scalability to even larger datasets UK Biobank?

Will the code for the integrated ORF+NEOFIT framework be made publicly available? This is crucial for the adoption of the method by the wider neuroscience community.

Reviewer #2: - The research idea and writing were good.

- It's best to include a related works on this topic and compare the proposed work with previous results.

- The number of samples taken from each dataset is assumed to be mentioned.

- Mention the results obtained in the abstract.

**********

-->6. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.). If published, this will include your full peer review and any attached files.). If published, this will include your full peer review and any attached files.). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our For information about this choice, including consent withdrawal, please see our For information about this choice, including consent withdrawal, please see our For information about this choice, including consent withdrawal, please see our Privacy Policy..-->..-->

Reviewer #1: No

Reviewer #2: No

**********

[NOTE: If reviewer comments were submitted as an attachment file, they will be attached to this email and accessible via the submission site. Please log into your account, locate the manuscript record, and check for the action link "View Attachments". If this link does not appear, there are no attachment files.]

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com/. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Registration is free. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email PLOS at . PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Registration is free. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email PLOS at . PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Registration is free. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email PLOS at . PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Registration is free. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email PLOS at figures@plos.org. Please note that Supporting Information files do not need this step.. Please note that Supporting Information files do not need this step.. Please note that Supporting Information files do not need this step.. Please note that Supporting Information files do not need this step.

PLoS One. 2026 Apr 16;21(4):e0346575. doi: 10.1371/journal.pone.0346575.r002

Author response to Decision Letter 1


20 Feb 2026

Statistically valid explainable black-box machine learning: applications in sex classification across species using brain imaging (PLOS One)

REVIEWER #1

1. Reviewer: Could you provide a quantitative comparison of your ORF+NEOFIT framework against other state-of-the-art classifiers standard Random Forests, SVMs, or simple neural networks and interpretability methods (LIME, SHAP) in terms of both classification accuracy and the reliability of feature importance scores on your datasets?

Authors: Thank you for bringing this question to the table. This is an important question and added to our manuscript’s results. For classification performance, we have added Random Forest (RF), support vector machine (SVM), and a simple multilayer perceptron (MLP) as baselines for the cortical thickness (CTh) task and report classification accuracy as the primary metric. Details of each model for classification are provided as follows: In SPORF, we used the hyperparameters determined in the Hyperparameter Tuning section. For parity, the number of estimators was set to 5,000 for human data and 20,000 for macaque data to match the same tree counts in SPORF, and SVM used an RBF kernel. The MLP was implemented using MLPClassifier in scikit-learn, configured with two hidden layers (256, 256). All methods use identical preprocessing (normalization) and the same fixed train-validation-test splits. Rebuttal Fig 1 shows the learning curves of each model.

We notice that in human data, SPORF consistently outperforms axis-aligned RF and remains competitive with SVM and MLP, showing the most monotonic increase of accuracy as data increases. In macaque data, where sample size is smaller and heterogeneity higher, variance grows for all methods, yet SPORF retains a stable edge over RF. The pattern is consistent across parcellations.

For feature-selection performance on CTh, we used a common RF backbone for all post-hoc methods. Specifically, we applied LIME and TreeSHAP to RF and also evaluated Gini-impurity feature importances from the scikit-learn RF. To assess the reliability of each explanation method, we re-train each classifier by using only the significant features selected by that method and report the resulting accuracy, see lines 352-363 and Fig 5 in the Results section. Code and scripts to reproduce all figures are available at the GitHub repository cited in the Data and code availability section.

Due to the large scale of voxel-wise volume data, baseline methods would presently require substantial additional computation under a fair protocol (hyperparameter optimization, compute-matched evaluation, etc.), description is added to Discussion - Limitations subsection, lines 489-492. Therefore, experiments on MRI data are not included in this revision. We have queued voxel-wise baselines as a planned extension (see Discussion - Future Work subsection, lines 500-503).

================================================================

2. Reviewer: What were the key performance metrics Accuracy, AUC, F1-Score achieved by your model on the human sMRI and cortical thickness datasets, as well as on the macaque data?

Authors: Thank you for your comment for adding performance metrics. In the Results section, Fig 3 presents out-of-bag (OOB) accuracies for SPORF on cortical thickness (CTh) data across the feature_combinations and max_features hyper-parameters, with peaks of about 0.74 in humans and around 0.66 in macaques, consistent across both parcellations.

Fig 4 shows ROC curves for the eight experiments. AUCs are reported for ORFs in both parcellations, human volume ≈ 0.97, human CTh = 0.81, macaque volume = 0.73, and macaque CTh ≈ 0.69. The statement can be found between line 344-351.

We agree that F1 Score can be informative and reliable, especially under substantial class imbalance. In our data, the sex proportions are near balanced in both species, so AUC with OOB accuracy could capture the main performance characteristics without introducing a thresholding choice.

================================================================

3. Reviewer: Beyond capturing intricate interactions, what is the specific neuroscientific or data-driven rationale for believing that oblique (linear) decision boundaries are more appropriate than axis-aligned ones for modeling the relationship between voxels/cortical features and sex?

Authors: Thank you for raising this important question. This is one of the key points for ORFs. To explain this better, we introduce Figure 4 in Sparse Projection Oblique Randomer Forests from Tomita et al. as our Rebuttal Fig 2.

Rebuttal Fig 2A & B show that the top split-node projections in SPORF are linear combinations of dimensions, whereas RF is restricted to single dimensions. These SPORF projections preferentially load on the early, signal-bearing dimensions. As summarized in Rebuttal Fig 2C & D, the normalized Gini importances of SPORF’s top projections exceed those of RF (except the first RF feature), and Bayes error rates of SPORF’s projects are much lower than RF’s, indicating that SPORF learns more informative, identifiable features, while RF is limited to create new features beyond axis-aligned thresholds.

In conclusion, in high-dimensional, correlated voxel/cortical feature spaces, oblique boundaries offer a principled and empirically supported way to capture network-level and distributed effects that are expected in sex classification using MRI structural data.

================================================================

4. Reviewer: Please elaborate on the NEOFIT algorithm. Specifically, how is the null distribution for each feature's importance score generated permuting labels, permuting features? What specific procedure is used to correct the p-values for multiple comparisons across thousands of features?

Authors: Thank you for the opportunity to clarify NEOFIT; we apologize for any confusion. The procedure can be described as follows: (i) For each bootstrap sample, we fit two trees on identical inputs, one with the original labels (observed importances) and one with randomly permuted labels (null importances). In this step, we do not permute features, but only permute labels. (ii) For each feature, we compute a paired statistic that records how often the null importance exceeds the observed across trees. (iii) We construct the null distribution by repeatedly and randomly swapping the “observed/null” labels within each tree pair’s importance vectors and recomputing the statistic many times. (iv) The feature-level p-value is the proportion of permuted statistics that exceed the observed statistic.

To address multiple comparisons across thousands of features, we apply the Holm-Bonferroni correction to the feature-wise p-values and report adjusted p-values, declaring significance based on these.

Full pseudocode is provided as Algorithm 1 in the Materials and methods - Feature importance testing subsection. And the description can be found between lines 115-129 in the same section.

================================================================

5. Reviewer: The results promise "interpretable insights." Can you provide examples of the top neuroanatomical features identified by NEOFIT and discuss whether they align with previously established sex differences in the literature in the limbic system, cortex thickness patterns?

Authors: Thank you for this question. The statistically significant features selected by NEOFIT are concentrated in neuroanatomically plausible systems.

In humans, we observe limbic structures (amygdala, hippocampus including dentate gyrus, thalamus) and occipital/visual cortex among the highest-ranking regions (see Fig 6), with cortical thickness effects spanning dorsal and ventral attention and default-mode networks under the Markov parcellation and extending to somatomotor, frontoparietal, default-mode, and visual networks under the Schaefer parcellation (see Fig 7). These patterns align with prior reports of sex differences in affective and memory-related circuitry, as well as in visual cortex.

In macaques, significant features cluster in limbic and basal-ganglia territories (superior temporal gyrus, dentate gyrus, putamen, caudate nucleus) and in regions connected to limbic circuitry (orbitofrontal gyrus, insula, claustrum, precentral gyrus), with a predominance in posterior dorsal and ventral attention networks and the default-mode network under the parcel-wise analyses (Fig 7), indicating a stronger sensory–attentional emphasis. Cross-species, the orbitofrontal–limbic network emerges as a shared substrate (Fig 7).

At the network level, aggregating cortical thickness feature importances according to Yeo’s 7-network parcellation shows higher frontoparietal importance in humans under the Schaefer scheme, consistent with more extensive higher-order control systems in humans. Together, these results provide concrete, interpretable features that are consistent with established sex-dimorphic neuroanatomy while highlighting species-specific emphases.

================================================================

6. Reviewer: A key claim is the facilitation of cross-species comparisons. Were there any notable similarities or differences in the important features identified between humans and macaques? What might the evolutionary implications of these findings be?

Authors: We really appreciate this question, and we made it more clearer in our current submission. In our work, we observed both conserved and species-specific patterns among NEOFIT-identified features. Shared signal concentrated in limbic circuitry (amygdala/hippocampus and orbitofrontal–limbic regions), consistent across Markov and Schaefer parcellations and aligned with prior reports of sex-linked differences in emotion/reward systems in primates. Human-specific emphasis appeared in association cortex—frontoparietal, default-mode, and attention networks—suggesting that sex-related effects in humans involve distributed higher-order systems. Macaque-specific emphasis was more posterior and sensorimotor/attentional (e.g., precentral gyrus, insula; posterior ventral attention network). A network-level summary (Yeo-7) echoed this pattern, with stronger frontoparietal weighting in humans and relatively greater posterior attention/sensorimotor weighting in macaques. Detailed description can be found in the Results section, specifically in the Voxel-wise feature importance maps and Parcel-wise feature importance maps subsection

================================================================

8. Reviewer: Could you provide details on the human and macaque datasets used? This includes the number of subjects, age range, sex distribution, and scanner protocols, as these factors can significantly influence the results.

Authors: Thank you for raising this very important point to consider. For MRI volume data, we described details of age and sex distributions between lines 231-240 in Materials and methods - Structural MRI dataset subsection. For cortical thickness data, we mentioned the distributions between lines 293-294 in Materials and methods - Cortical thickness dataset subsection.

In order to characterize the sex and age distributions better, we also added additional histograms with small bin widths. See S4 Fig and S5 Fig in Supplementary Information section.

Information for scanner protocols of each dataset can be found in each dataset’s original paper. Every work for the dataset has been cited in S2 Table in the Supplementary Information section.

================================================================

9. Reviewer: Sex differences in brain structure are known to be influenced by factors like age, brain size (ICV), and hormonal status. How were these potential confounders controlled for in your analysis, either during data preprocessing or within the model itself?

Authors: Thank you for the comment, these factors are very important to be considered. Age, intracranial volume (ICV), and hormonal status can indeed act as confounders in sex-related analyses. In our original submission, we did not adjust for these factors during preprocessing or within our classifiers, in order to present an initial benchmark of ORF+NEOFIT on the raw imaging features.

We added a new subsection titled Variable specification and relationship identification for within and cross-species MRI analysis under Materials and methods section (lines 295-317) and an accompanying directed acyclic graph (Fig. 2) describing the assumed causal structure for sex classification analysis.

We acknowledge this as a limitation of our present study and have outlined concrete robustness checks for subsequent analyses in the future between lines 511-514 in the Discussion - Future Work.

================================================================

10. Reviewer: Highlighted article might be considered for related work section. (https://doi.org/10.1016/j.compeleceng.2022.108405)

Authors: Thank you for highlighting this excellent work. We have incorporated it into the Introduction section as an introductory sentence in lines 3-5 to contextualize our study. We believe this addition strengthens the background and situates our contribution within evidence of strong predictive performance from ML-based pipelines in medical imaging, while motivating our structural MRI focus on pairing accuracy with statistically validated, interpretable feature importance for sex classification.

================================================================

11. Reviewer: ORFs and permutation-based testing are computationally intensive. Could you comment on the training and inference time of your framework compared to traditional methods, and its scalability to even larger datasets UK Biobank?

Authors: This comment raises a very crucial point to consider. We have addressed this question by running NEOFIT and baseline methods on CTh for both species, then recording the training time and inference time of each method. Time results are reported between lines 372-379 in the Results Section.

We did not add a UK Biobank experiment at this time, since it would require substantial additional resources for very long-time experiments. However we note that our classifier accepts all kinds of data, so it is compatible with UK Biobank tasks. We agree that including such a public large dataset is a crucial step to validate the generalization ability for our ORFs and we have added this to Discussion - Future Work between lines 508-510 as a planned generalization experiment.

================================================================

12. Reviewer: Will the code for the integrated ORF+NEOFIT framework be made publicly available? This is crucial for the adoption of the method by the wider neuroscience community.

Authors: Thank you very much for this comment. We share PLOS One’s commitment to open science. The full code for the integrated ORF+NEOFIT framework and all the analysis/experiments in our paper is publicly available and the link of the code is provided in the newly added Data and code availability section in lines 571-577. The GitHub repository includes primary analysis, training scripts and figure generation for reproducibility. We also expose a callable class, Neuro-Explainable Optimal Feature Importance Testing (NEOFIT), via the treeple package. This enables NEOFIT with ORF backbones for feature-importance inference across datasets. Installation guidance and examples are documented in Pull Request #356 in the treeple repository. We sincerely expect this work will provide useful insights to the neuroscience community.

================================================================

REVIEWER #2

1. Reviewer: It's best to include related works on this topic and compare the proposed work with previous results.

Authors: Thank you for emphasizing the importance of situating our work within prior results. Our primary aim in this paper is to establish a statistically valid, interpretable pipeline for high-dimensional neuroimaging; accordingly, in this revision we prioritized focused updates over an exhaustive survey. Specifically, we added concise references to ML-based diagnostic pipelines in radiography and ultrasound to motivate the broader imag

Attachment

Submitted filename: Response_to_Reviewers.pdf

pone.0346575.s017.pdf (762.4KB, pdf)

Decision Letter 1

Ravi Bansal

23 Mar 2026

Statistically valid explainable black-box machine learning: applications in sex classification across species using brain imaging

PONE-D-25-39004R1

Dear Dr. Liu,

We’re pleased to inform you that your manuscript has been judged scientifically suitable for publication and will be formally accepted for publication once it meets all outstanding technical requirements.

Within one week, you’ll receive an e-mail detailing the required amendments. When these have been addressed, you’ll receive a formal acceptance letter and your manuscript will be scheduled for publication.

An invoice will be generated when your article is formally accepted. Please note, if your institution has a publishing partnership with PLOS and your article meets the relevant criteria, all or part of your publication costs will be covered. Please make sure your user information is up-to-date by logging into Editorial Manager at Editorial Manager® and clicking the ‘Update My Information' link at the top of the page. For questions related to billing, please contact  and clicking the ‘Update My Information' link at the top of the page. For questions related to billing, please contact  and clicking the ‘Update My Information' link at the top of the page. For questions related to billing, please contact  and clicking the ‘Update My Information' link at the top of the page. For questions related to billing, please contact billing support....

If your institution or institutions have a press office, please notify them about your upcoming paper to help maximize its impact. If they’ll be preparing press materials, please inform our press team as soon as possible -- no later than 48 hours after receiving the formal acceptance. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information, please contact onepress@plos.org.

Kind regards,

Ravi Bansal, Ph.D.

Academic Editor

PLOS One

Additional Editor Comments (optional):

Reviewers' comments:

Reviewer's Responses to Questions

-->Comments to the Author

1. If the authors have adequately addressed your comments raised in a previous round of review and you feel that this manuscript is now acceptable for publication, you may indicate that here to bypass the “Comments to the Author” section, enter your conflict of interest statement in the “Confidential to Editor” section, and submit your "Accept" recommendation.-->

Reviewer #1: All comments have been addressed

**********

-->2. Is the manuscript technically sound, and do the data support the conclusions?

The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented. -->

Reviewer #1: Yes

**********

-->3. Has the statistical analysis been performed appropriately and rigorously? -->

Reviewer #1: Yes

**********

-->4. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.-->requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.-->

Reviewer #1: Yes

**********

-->5. Is the manuscript presented in an intelligible fashion and written in standard English?

PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.-->

Reviewer #1: Yes

**********

-->6. Review Comments to the Author

Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)-->

Reviewer #1: The revised article have incorporated all suggested review comments in the updated manuscript. It might be considered for further process.

**********

-->7. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.). If published, this will include your full peer review and any attached files.). If published, this will include your full peer review and any attached files.). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our For information about this choice, including consent withdrawal, please see our For information about this choice, including consent withdrawal, please see our For information about this choice, including consent withdrawal, please see our Privacy Policy..-->..-->

Reviewer #1: No

**********

Acceptance letter

Ravi Bansal

PONE-D-25-39004R1

PLOS One

Dear Dr. Liu,

I'm pleased to inform you that your manuscript has been deemed suitable for publication in PLOS One. Congratulations! Your manuscript is now being handed over to our production team.

At this stage, our production department will prepare your paper for publication. This includes ensuring the following:

* All references, tables, and figures are properly cited

* All relevant supporting information is included in the manuscript submission,

* There are no issues that prevent the paper from being properly typeset

You will receive further instructions from the production team, including instructions on how to review your proof when it is ready. Please keep in mind that we are working through a large volume of accepted articles, so please give us a few days to review your paper and let you know the next and final steps.

Lastly, if your institution or institutions have a press office, please let them know about your upcoming paper now to help maximize its impact. If they'll be preparing press materials, please inform our press team within the next 48 hours. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information, please contact onepress@plos.org.

You will receive an invoice from PLOS for your publication fee after your manuscript has reached the completed accept phase. If you receive an email requesting payment before acceptance or for any other service, this may be a phishing scheme. Learn how to identify phishing emails and protect your accounts at https://explore.plos.org/phishing.

If we can help with anything else, please email us at customercare@plos.org.

Thank you for submitting your work to PLOS ONE and supporting open access.

Kind regards,

PLOS ONE Editorial Office Staff

on behalf of

Dr. Ravi Bansal

Academic Editor

PLOS One

Associated Data

    This section collects any data citations, data availability statements, or supplementary materials included in this article.

    Supplementary Materials

    S1 Appendix. Mathematical Formulation of the Trunk Simulation.

    (DOCX)

    pone.0346575.s001.docx (17KB, docx)
    S1 Table. List of human structural MRI volume datasets.

    (DOCX)

    pone.0346575.s002.docx (14.6KB, docx)
    S1 Fig. Flow diagram for the classification framework.

    (TIF)

    pone.0346575.s003.tif (353.7KB, tif)
    S2 Fig. Sex and age distributions in human and macaque MRI volume datasets.

    (TIF)

    pone.0346575.s004.tif (145.7KB, tif)
    S3 Fig. Sex and age distributions in human and macaque cortical thickness datasets.

    (TIF)

    pone.0346575.s005.tif (148.4KB, tif)
    S4 Fig. Performance comparison of oblique random forest (SPORF) on macaque cortical thickness data under different normalization methods, with n_estimators values set to 20,000 and max_features set to p.

    The results indicate that data normalization improves performance across both parcellation schemes. Notably, Z-score normalization yields a substantial improvement in the Markov parcellation, whereas in the Schaefer parcellation, all three normalization methods exhibit comparable performance.

    (TIF)

    pone.0346575.s006.tif (644.8KB, tif)
    S5 Fig. Comparison of feature selection performance on Schaefer parcellation data.

    (TIF)

    pone.0346575.s007.tif (239.6KB, tif)
    S6 Fig. Raw feature importance values for MRI volume human gray matter.

    (TIF)

    pone.0346575.s008.tif (568.3KB, tif)
    S7 Fig. Raw feature importance values for MRI volume macaque gray matter.

    (TIF)

    pone.0346575.s009.tif (584.3KB, tif)
    S8 Fig. Raw feature importance values for MRI volume human white matter.

    (TIF)

    pone.0346575.s010.tif (479.6KB, tif)
    S9 Fig. Raw feature importance values for MRI volume macaque white matter.

    (TIF)

    pone.0346575.s011.tif (481.4KB, tif)
    S10 Fig. Parcel-wise feature importances and corrected p values for human on Schaefer parcellation.

    (TIF)

    pone.0346575.s012.tif (2.8MB, tif)
    S11 Fig. Parcel-wise feature importances and p values for macaque on Schaefer parcellation.

    (TIF)

    pone.0346575.s013.tif (2.9MB, tif)
    S12 Fig. Parcel-wise feature importances and corrected p values for human on Markov parcellation.

    (TIF)

    pone.0346575.s014.tif (2.8MB, tif)
    S13 Fig. Parcel-wise feature importances and corrected p values for macaque on Markov parcellation.

    (TIF)

    pone.0346575.s015.tif (2.9MB, tif)
    S14 Fig. Comparison of network-wise classification feature importances across species for the Markov parcellation.

    For each species, the raw feature importance values for all parcels corresponding to the same network, according to Yeo’s 7-network, were aggregated. The differences in feature importances across species were then evaluated using the Wilcoxon signed-rank test. The short horizontal line above each strip indicates the mean.

    (TIF)

    pone.0346575.s016.tif (544.1KB, tif)
    Attachment

    Submitted filename: Response_to_Reviewers.pdf

    pone.0346575.s017.pdf (762.4KB, pdf)

    Data Availability Statement

    All relevant links to the data are within the manuscript and its Supporting Information files.


    Articles from PLOS One are provided here courtesy of PLOS

    RESOURCES