Research Article
Print
Research Article
From order to species: Modelling Amphipoda distributions in the Hamersley Range
expand article infoMaria Clara Lopes Paula‡§, Lesley Gibson§|#, Mark Lindsay§‡¤, Guillaume Pirot«‡, Mark Jessell§‡, Edward Cripps§»
‡ School of Earth Sciences, The University of Western Australia, Perth, Australia
§ ARC Centre for Data Analytics for Resources and Environments (DARE), Sydney, Australia
| School of Biological Sciences, University of Western Australia, Perth, Australia
¶ Department of Biodiversity, Conservation and Attractions, Perth, Australia
# Western Australian Biodiversity Institute, Perth, Australia
¤ Mineral Resources, Commonwealth Scientific and Industrial Research Organization (CSIRO), Australian Resources Research Centre, Perth, Australia
« Mineral Exploration Cooperative Research Centre (MinEx CRC), School of Earth and Oceans, The University of Western Australia, Perth, Australia
» Department of Mathematics and Statistics, The University of Western Australia, Perth, Australia
Open Access

Abstract

Groundwater amphipods in the Pilbara region of Western Australia are under pressure from the impacts of mining operations, particularly from groundwater extraction. To help inform conservation planning for this subterranean group, we model their distribution using a suite of environmental variables and occurrence data, and a Random Forest (RF) classification method. Given the taxonomic uncertainty and cryptic diversity in groundwater amphipods, we compared model results across nested taxonomic datasets to assess the potential benefits and limitations of higher-level taxonomic modelling. In this analysis, we compared all amphipods (Order: Amphipoda), the Paramelitidae family, which comprises 92.2% of filtered amphipod records used in the model, and the species B08 Paramelitidae SOLOMON 1, which accounts for 40.36% of filtered Paramelitidae records. We investigated which environmental factors most strongly influenced patterns in fauna distribution to better understand habitat requirements. Species probability maps offer a geospatial view of species distribution based on model predictions. A range of metrics were used to evaluate models in terms of predictive performance. Comparing the three models, the Amphipoda model achieved higher accuracy (80.4%) than the Paramelitidae model (68.3%), and the B08 Paramelitidae SOLOMON 1 model (69.8%), but lower sensitivity (77.8% vs 84.9% vs 100%), implying that the latter may be more appropriate when detecting species presence is the priority over species absence. Variable importance analysis revealed factors such as the gradient of the landscape, distance to the nearest dyke, and seasonal precipitation played important roles in shaping the distribution of each taxonomic group. The results demonstrate the ability of RF to reliably predict the presence of taxa alongside a set of informative metrics. Our results suggest that order-level modelling may retain some broad-scale ecological patterns observed at the species level under data-limited scenarios. Such information aids the development of effective conservation strategies. The analytical framework developed in this study is adaptable for use in other underground systems, facilitating further research on subterranean environments and adding a vital perspective to conservation decision-making.

Keywords

Groundwater-dependent ecosystems, Pilbara, Random Forest, Species distribution modelling, Stygofauna

Introduction

Western Australia has historically been ranked as the third largest producer of iron ore globally, contributing 17% of the world’s supply, with over 95% coming from the Pilbara region (Halse et al. 2014). Ore extraction primarily uses open-pit mining, which often requires significant lowering of groundwater levels to access deposits (Johnson and Wright 2001; Moser et al. 2024). The Environment Protection Authority (2016) acknowledges the potential risk that this poses to groundwater invertebrate communities (stygofauna), requiring proponents to evaluate the impact of proposed mining activities in the development footprint as part of the environmental impact assessment process.

Gibson (2018) explains that understanding the distribution of stygofauna species is important for informed environmental assessments, both within and outside a development area. However, the current lack of knowledge on species distributions has contributed to high uncertainty in environmental decisions, resulting in delays in project approvals and more stringent regulatory conditions (Gibson et al. 2019). This underscores the importance of improving our understanding of stygofauna distributions to facilitate more accurate impact assessments and ensure effective conservation measures (Gibson 2018). A key challenge and a significant knowledge gap is the lack of information about the habitat requirements of stygofauna species (Gibson et al. 2019).

Amphipods make up much of stygofaunal crustacean communities in Australian groundwater ecosystems, with an estimated 12% of the global freshwater amphipod fauna found here (King et al. 2024). Much of this diversity in the Pilbara region was revealed by environmental surveys linked to mining, which provide aquifer access through exploration drill holes (Halse et al. 2014). In this region, and the nearby North West Cape Peninsula and Barrow Island, four amphipod families and 35 species have been documented (King et al. 2022). These families include Bogidiellidae (Hertzog 1936), Eriopisidae (Lowry and Myers 2013), Hadziidae (Karaman 1943), and Paramelitidae (Bousfield 1977). Only Paramelitidae and Eriopisidae were present in the study region.

Amphipods lack a pelagic larval stage, leading to limited dispersal, reduced gene flow between the populations, and high local endemism (Fišer et al. 2018; King et al. 2024). Their small size and confinement to isolated freshwater systems further restrict movement, making them highly vulnerable to local habitat disturbances.

Estimating amphipod distributions is challenging due to coarse taxonomic resolution and the difficulty of species identification, which requires detailed morphological and molecular analyses (Halse et al. 2014). Many Australian freshwater amphipods remain undescribed, and many morphologically similar populations are often distinct species (Murphy et al. 2015; King et al. 2022, 2024). As a result, species diversity and distribution are likely underestimated.

We evaluated the extent to which distribution models based on higher taxonomic levels retain ecological patterns observed at finer taxonomic resolutions. Because higher taxonomic datasets aggregate lower-level records, comparisons among taxonomic resolutions are inherently nested, and similarities in model performance may partly result from shared occurrence records.

Although species-level models provide the highest taxonomic resolution, they may overlook ecological and evolutionary information shared among closely related taxa. For example, Smith et al. (2019) highlighted that species-level approaches may fail to capture local adaptations and shared traits that occur at higher taxonomic levels. Incorporating information from related taxa can therefore improve niche estimates by accounting for broader evolutionary relationships. Similarly, Qiao et al. (2017) demonstrated that combining occurrence records from focal and related species within a Bayesian framework improved model performance, particularly for species with high niche overlap. These studies suggest that incorporating higher taxonomic information may provide a useful approach when species-level data are limited.

We focused on the amphipod family Paramelitidae, one of the most species-rich families in the Pilbara (King et al. 2024), and on the provisional species-level lineage Paramelitidae sp. B08 (“Paramelitidae SOLOMON 1 B08”), which is likely relatively wide-ranging within individual tributaries (Flinders Mines Ltd 2011). We selected this species because it had the highest number of occurrence records among Paramelitidae taxa in our study area, allowing us to compare model performance across taxonomic resolutions using a well-represented species-level dataset. Species distribution models (SDMs), combined with machine learning techniques such as Random Forest (RF), provide a robust framework for investigating the influence of abiotic factors on subterranean fauna distributions (Mammola and Leroy 2018). In a previous study, Paula et al. (2025) applied RF-based SDMs to investigate habitat drivers and areas of predicted presence of troglofauna species in the Pilbara, demonstrating the effectiveness of RF in handling sparse and complex ecological data. Building on that approach, this study focuses on stygofauna. By modelling stygofauna species distributions in relation to environmental predictors and comparing different taxonomic levels, this work aims to deepen our understanding of habitat preferences and potential distribution patterns in groundwater ecosystems.

We sought to answer the following questions: (1) How does predictive performance vary among order-, family-, and species-level SDMs in the context of uneven species representation? (2) Are the same abiotic variables consistently important? (3) How accurately do species-, family-, and order-level models identify areas of high predicted probability relevant to conservation planning? By exploring these questions, we aim to contribute to the ongoing discussion on taxonomic certainty in ecology and provide a versatile framework for applying SDMs in other subterranean biodiversity hot-spots.

Materials and methods

Study area

The Pilbara region of northwestern Australia includes the Hamersley and Chichester ranges and features rugged terrain, drainage channels, and alluvial fans (Department of Water 2016; Rojas et al. 2018). Subterranean habitats are common in mesas and consolidated rock formations, especially where channel iron deposits (CIDs) fill ancient river channels, creating vugs and cavities through iron enrichment and mineral replacement, ideal for stygofaunal habitats (Callan and Gunawardene 2017; Clark et al. 2021).

We selected an 11,560 km2 area within the Hamersley Range between the Robe River and Fortescue River drainages (Fig. 1). This area encompasses a high density of sampling sites primarily accessed by exploration bore holes drilled by the mining industry. The number of presences of amphipods in these samples further guided study area location. Sample sites are concentrated along exposed stratigraphy of the Mount Bruce Supergroup (see Fig. 1), including the Fortescue, Hamersley and Turee Creek Groups, overlying the Archaean granite-greenstone terrane of the Pilbara Craton (Rojas et al. 2018).

Figure 1. 

Map of the study area in northwestern Australia, displaying the unit names, linear structures, and sampling locations for the target fauna analyzed in this study. Sampling points are categorized by taxonomic level, and only sites where amphipods were found are included. Sampling points are classified according to the focal taxonomic groups present at each site (green circles = Amphipoda order; red circles = Paramelitidae family; white circles = specie Paramelitidae sp. B08). Sample locations are sourced from Framenau et al. (2021), major streamlines sourced from Department of Water and Environmental Regulation [DWER] (2007), river drainage sourced from Geoscience Australia (1997), and geological information sourced from Department of Energy, Mines, Industry Regulation and Safety (2024).

The study area experiences a semi-arid climate influenced by the Australian monsoon and tropical cyclones, resulting in high summer temperatures and variable rainfall (Rojas et al. 2018). High evaporation rates, approaching 100% under extreme conditions, limit runoff and recharge in this region, with approximately 60% of precipitation lost to evapotranspiration and 40% contributing to groundwater (Skrzypek et al. 2016, 2019).

Recharge occurs mainly through surface runoff and stream flow during heavy rainfall events from cyclones and monsoonal low-pressure systems (Skrzypek et al. 2019; Clark et al. 2021), especially near active drainage systems (Department of Water 2016; Rojas et al. 2018). In the northwest Hamersley, aquifers recharge via infiltration along valley margins, downward leakage via faults and fractures, sheet flow across alluvial fans, and direct rainfall (Department of Water 2016; Winter et al. 1998). Recharge efficiency is influenced by local hydrogeology, including clay layers in alluvium and shallow water tables that can restrict infiltration (Department of Water 2016).

Data

Amphipod sampling in the Pilbara typically occurs near or within sedimentary siliciclastic rocks (Fig. 1), such as CID and alluvial formations, due to reliance on mining boreholes. These formations also support stygofauna habitats (Clark et al. 2021). The majority of sample sites we selected for this study are located in sedimentary rock types within the Brockman Iron Formation or the Wittenoom Formation (Fig. 1). Amphipod occurrence data at these sites was sourced from Framenau et al. (2021). Within our study area, the dataset comprised 5776 samples collected between 1899 and 2016.

Following filtering (see below), each sample site was spatially linked to a set of 122 environmental predictor variables with a pixel size of 0.0025° (Table A1) to characterise local climatic, geological, soil, hydrological and terrain conditions relevant to species distributions. This specific spatial resolution was chosen because it represents the highest and most comprehensive common scale available for the suite of environmental variables covering the study area.

Table 1.

Comparison of RF Classification Model Performance in the Amphipoda order, the Paramelitidae family, and the lineage Paramelitidae sp. B08. Key evaluation metrics include Accuracy, Sensitivity, Specificity, Balanced accuracy, and MCC.

Amphipoda order
Resampling: Cross-Validated (5 fold, repeated 10 times)
Number of trees: 1000
No. of variables tried at each split: 2
Optimal Threshold: 0.5000
Confusion Matrix Accuracy = 0.8040
Prediction Reference Sensitivity = 0.7778
0 1 Specificity = 0.8098
0 132 8 Balanced accuracy = 0.7938
1 31 28 MCC = 0.4953
Paramelitidae family
Resampling: Cross-Validated (5 fold, repeated 10 times)
Number of trees: 1000
No. of variables tried at each split: 2
Optimal Threshold: Youden (0.3805)
Confusion Matrix Accuracy = 0.6834
Prediction Reference Sensitivity = 0.8485
0 1 Specificity = 0.6506
0 108 5 Balanced accuracy = 0.7495
1 58 28 MCC = 0.3747
Specie B08 Paramelitidae SOLOMON 1
Resampling: Cross-Validated (5 fold, repeated 10 times)
Number of trees: 1000
No. of variables tried at each split: 2
Optimal Threshold: Youden (0.3005)
Confusion Matrix Accuracy = 0.6985
Prediction Reference Sensitivity = 1
0 1 Specificity = 0.6774
0 126 0 Balanced accuracy = 0.8387
1 60 13 MCC = 0.3473

Climate variables (see Table A1), sourced from Williams et al. (2010) and Gibson et al. (2015), were chosen because they are likely to influence amphipod distributions, mainly through their influence on groundwater recharge, temperature, and chemistry, which shape habitat stability and resource availability (Saccò et al. 2019). Terrain variables, extracted from analyses done by Williams et al. (2010) and used by Gibson et al. (2015), are likely to influence hydrological connectivity and habitat heterogeneity, which in turn, shape amphipod distributions (Halse et al. 2014). Soil variables, sourced from The Atlas of Australian Soils (Northcote et al. 1960), available through the Australian Soil Resource Information System (Australian Soil Resource Information System 2024), are likely to influence nutrient availability and substrate properties that regulate above-ground primary productivity (Mokany et al. 2019).

Geological variables and linear structures mapped at 1:2,500,000 were sourced from Department of Energy, Mines, Industry Regulation and Safety (2024). Linear structures, including faults, fractures, and dykes, were included in the analyses as they are geological discontinuities that significantly impact rock permeability and groundwater flow paths. We derived variables of these line features using the “Distance to the Nearest Hub” function in QGIS. These include the minimum distance to the nearest respective line feature in kilometres. A second set of derived variables, “Dyke,” or “Hydro” (Table A1) identifies the categorical description of the nearest dyke or hydrographic feature to each sampling point. Additionally, major streamlines were sourced from Department of Water and Environmental Regulation [DWER] (2007).

Data filtering

We assigned presence (1) if the target taxa was ever found at a given borehole, and absence (0) if it was never found. Thus, overlapping sampling records (i.e., presences or absences recorded at the same site that were repeatedly sampled over different time periods) were removed from this analysis to minimise spatial autocorrelation and sampling bias (Valavi et al. 2021).

Variables that showed clear raster artifacts within the study area, such as abrupt spikes in values, irregular frequency distributions, or systematic striping patterns visible in the raster grid when inspected in QGIS, were excluded, as these features reflect resolution inconsistencies rather than true environmental variation Kuhn and Johnson 2013). Variables with near-zero variance were also excluded to improve model reliability (Kuhn and Johnson 2013).

Using the function “findCorrelation()” from the caret package (Kuhn et al. 2007), we removed highly correlated variables (Pearson correlation coefficient > 0.7 or <-0.7) while retaining one representative from each correlated group, to ensure statistical independence (Aliverti et al. 2021). For each highly correlated pair, the variable with the larger average absolute correlation with all other variables was removed, as it was considered more redundant.

The original database contained 122 variables and 5,776 presence and absence records from multiple sampling events, including repeated observations at the same locations. After applying the filtering process described in Fig. 2, the final modelling dataset was reduced to 999 sampling sites and 31 variables. Of these sites, Amphipoda were present at 180, Paramelitidae at 166, and Paramelitidae sp. B08 at 67.

Figure 2. 

Flowchart illustrating the filtering process applied to this study dataset.

Random Forest modelling process

We first evaluated Generalized Linear Models, Linear Discriminant Analysis, Neural Networks, and Random Forest (RF) models using Accuracy and Kappa Coefficient metrics. A detailed comparison is provided in Suppl. material 1. RF was selected as our classification method based on its superior evaluation metrics. RF algorithm was used as a binary classification model to predict the probability of species presence or absence based on environmental variables.

RF is an ensemble machine learning method that builds many decision trees, each trained on a bootstrap sample, that is, a new dataset created by randomly sampling the original data rows with replacement (Kuhn and Johnson 2013). During training, each tree learns a set of decision rules by repeatedly splitting the data into groups based on the predictor variables, and during prediction, every tree casts a vote for presence or absence; the majority vote determines the final classification (Breiman 2001).

Key RF parameters are the number of trees and predictor variables considered at each split; tuning them manages model complexity and improves predictive performance (Kuhn and Johnson 2013). Bootstrap sampling and random variable selection reduce overfitting and improve stability, enabling RF to model complex, non-linear patterns (Breiman 2001).

To ensure an unbiased evaluation of model performance, the dataset was divided into three parts following the recommendations of Kassambara (2018) and Kuhn and Johnson (2013). The first part is the training set (50% of the dataset). This is the portion of the data used to fit the model, to allow the algorithm to learn the relationships between environmental variables and species presence or absence. The second part is the testing set (30% of the dataset), which is used during model development to assess how well the model performs on data it has not yet seen and to help tune model parameters. Finally, the validation set (20% of the dataset) provides an independent dataset used only at the end of the process to evaluate the model’s ability to generalise to completely new observations.

We developed RF models for the three target taxonomic groups, each trained on an unbalanced dataset (i.e., a dataset where the number of presence records does not match the number of absence records). Such an imbalance can affect how well the model learns to detect the minority class (Kuhn and Johnson 2013). Model performance was evaluated using the receiver operating characteristic (ROC) curve.

ROC analysis assesses the balance between sensitivity (true positive rate) and specificity (true negative rate) across classification thresholds (Sammut and Webb 2011). The threshold is the probability cut-off for classifying sites as “presence” or “absence” (Hoo et al. 2017). Sensitivity is the proportion of true presences correctly identified; specificity, the proportion of true absences (Kuhn and Johnson 2013; Kassambara 2018); see Suppl. material 2.

To improve model performance, we tuned the “mtry” parameter of the RF, which controls how many predictor variables are randomly tested at each split of a decision tree (Kuhn et al. 2007). This procedure does not remove or select variables from the dataset; instead, all predictor variables are used since each tree has many splits, and the forest consists of many trees. Therefore, every variable has the opportunity to be used throughout the forest, even if “mtry” is small. We only adjust how many of them the model is allowed to consider at each split. We tested “mtry” values ranging from 2 to 26 (in steps of two) to identify the value that produced the best predictive performance (Kuhn et al. 2007). Model training was performed by averaging several runs (10) to achieve better performance (Barbet-Massin et al. 2012). The models were built using 1000 trees. These tuning steps were implemented using the “train” function of the “caret” package (v6.0-92) (Kuhn et al. 2007).

Because our dataset has many more absences than presences, during model training, we used stratified sampling to ensure that presence and absence classes are represented proportionally using the “train” function in the “caret” package (v6.0-92) (Kuhn et al. 2007) and the “sampsize” parameter from the “randomForest” package (Liaw and Wiener 2002).

In addition, we used balanced accuracy and Matthews correlation coefficient (MCC) to assess the performance of the models. The balanced accuracy metric calculates the average of sensitivity (true positive rate) and specificity (true negative rate), making it appropriate for unbalanced datasets where one class (e.g., absence) dominates (Chopra and Dixit 2020; Joloudari et al. 2023), see Suppl. material 2. In general, balanced accuracy values below 0.6 suggest poor performance, while values between 0.6 and 0.7 are considered modest but acceptable in ecological modelling contexts (Allwright 2022).

The MCC metric is a measure of binary classification performance that ranges from −1 to +1. MCC considers all four elements of the confusion matrix (see Suppl. material 2) and produces high scores only when the model performs well across both classes; a positive MCC indicates that predictions are better than random chance (Matthews 1975; Chicco et al. 2021).

To determine the optimal threshold for classifying a case as a predicted presence, we employed two widely used methods based on the ROC curve: Youden’s J statistic and the Closest-Top-Left method. The Youden J statistic (also known as Youden’s index) identifies the threshold that maximises the difference between sensitivity and specificity, thereby balancing the trade-off between true positive and false positive rates (Youden 1969). The Closest-Top-Left method selects the threshold that minimises the Euclidean distance from the point (0,1) on the ROC curve, prioritising an optimal balance by reducing both false positive and false negative errors (Jones and Athanasiou 2005).

Variable importance

We assessed variable importance by ranking each variable’s contribution to the ability of the model to distinguish species presence from absence. Breiman (2001) explains that RF assesses variable importance by measuring the decrease in model accuracy when the values of a variable are randomly shuffled. One common approach described by Breiman (2001) is the Mean Decrease in Accuracy (MDA), which indicates how much the model relies on each variable, with larger drops in accuracy indicating greater importance.

Variable importance for each taxonomic group was calculated using the function “varImp” of the “caret” package (version 7.0.1) (Kuhn et al. 2007), based on the MDA scores computed by the “randomForest” package (see Fig. 3). We defined the argument “scale = TRUE” in the function to scale the importance scores so that the maximum importance score is set to 100, and all other scores are scaled relative to this maximum (Kuhn et al. 2007).

Figure 3. 

Variable importance and category contributions for the top 20 environmental variables in five categories: climate, geology, hydrology, soil, and terrain. A. Amphipoda model; B. Paramelitidae model; C. Paramelitidae sp. B08 model.

Partial dependence plots

Partial dependence plots (PDPs) help make complex machine-learning models, such as RF, easier to understand by showing how a single variable influences model predictions (Molnar 2022). They display the marginal effect of one variable while averaging out the effects of all others, making it easier to see how changes in that variable affect the predicted outcome (ŷ) (Greenwell 2017). PDPs were performed using the package “pdp” (Greenwell 2017) to examine the contribution of the five top-ranked numerical variables for each taxa in predicting presence. To enhance interpretation, PDPs are presented alongside histograms that display the distribution of the values of each variable.

The histograms highlight the values where each variable is most frequently observed, with higher frequencies indicating regions of greater data coverage. Such regions enable the model to make more confident predictions, as they are supported by robust data (Kuhn and Johnson 2013). We also used the “rug()” function of the “graphics” package (R Core Team 2024) to mark along the x-axis the locations of the data points in the given variable. This gives a visual sense of how different values of the variables are distributed along the axis, helping to interpret the PDP in relation to the actual data distribution.

Predicted probability maps

To create a predicted probability map for our model, we generated a grid of points spaced 750 metres apart using the “Regular Points” function in QGIS version 3.34.3 (QGIS Development Team 2023). We applied the “Point Sampling Tool” to extract variable information at each grid location. We calculated the distance from each grid point to nearby linear structures and identified structure types using the “distance to nearest hub” tool.

Some categories within the hydrology, rock type, and dyke variables are present in the grid of points used to generate the predicted probability map but are not represented in the training subset used to build the model. Since the model cannot make predictions for categories it has not encountered during training, grid points with these unseen categories were excluded. This exclusion resulted in gaps in the predicted probability maps (Fig. 7), corresponding to areas with missing categorical coverage in the training set.

To show spatial variation in prediction consistency across taxonomic levels, we calculated the standard deviation of predicted probabilities at each grid cell for species-, family-, and order-level models. We then plotted this grid together with the true-positive locations predicted by each model using the validation dataset (Fig. 8). Higher standard deviation values indicate greater disagreement among taxonomic resolutions predicted probabilities.

The R code and tables used for building SDMs in this study are available on Figshare (https://doi.org/10.6084/m9.figshare.29192723). Table A2 presents the ODMAP (Overview, Data, Model, Assessment, and Prediction) protocol (Zurell et al. 2020).

Results

We compare model performance across taxonomic groups using key metrics (Table 1). The Amphipoda model achieved higher overall accuracy, reflecting its utility when taxonomic data are limited. In contrast, the specie Paramelitidae sp. B08 model showed higher sensitivity, not missing any presence. This likely reflects the broader scope of family- and order-level models, which include additional species and families, compared with the more specific species-level model.

Ranking of variable contributions to model predictions

For clarity, the variables are grouped into five categories: climate, geology, hydrology, soil, and terrain, with their respective contributions from each category to the respective models shown in Fig. 3.

Terrain variables contributed 52.2%, 44%, and 41.4% to the Amphipoda, Paramelitidae, and Paramelitidae sp. B08 models, respectively (Fig. 3), with the standard deviation of the percent slope ranking high for all taxonomic groups, and slope ranking second for Amphipoda, and first for Paramelitidae sp. B08 (Fig. 3).

The contribution of geological variables was higher for Paramelitidae sp. B08 (22%) and lower in the Amphipoda and Paramelitidae model (15.6% v. 21%). Minimum distance to a dyke ranked among the top five variables across all taxonomic levels. In the Paramelitidae sp. B08 model, distance to the nearest fold ranked third, while distance to the nearest fault was not present as in the other two models (Fig. 3).

Contribution of climate variables is similar across models, with precipitation of the coldest quarter ranking high in all (Fig. 3). Proximity to major tributaries ranks low but appears in the top 20 in all models. Proximity to minor rivers ranks within the top 20 for the Paramelitidae and Paramelitidae sp. B08 models (Fig. 3). The low relative importance of soil variables in influencing the probability of presence (Fig. 3) is not surprising given that amphipods live in groundwater (Gibson 2018).

Influence of the most important variables on predicted outcomes

Figs 4, 5, 6 indicate that areas with less variation in percent slope tend to have higher predicted outcomes. This suggests that amphipods occur in areas with relatively flat terrain with minimal variation in slope. This trend is particularly apparent for all amphipoda, with the PDP for terrain ruggedness (Fig. 4) showing higher predicted values at lower ruggedness and as percent slope decreases. Predicted outcomes peak at a distance of 10 km from a dyke for the Amphipoda and Paramelitidae models (Figs 4, 5).

Figure 4. 

The partial dependence plots and histograms for the top five most significant variables (see Table A1) for the Amphipoda order. Vertical black lines on the x-axis indicate the observed values of each variable.

Figure 5. 

The partial dependence plots and histograms for the top five most significant variables (see Table A1) for the Paramelitidae family. Vertical black lines on the x-axis indicate the observed values of each variable.

Figure 6. 

The partial dependence plots and histograms for the top five most significant variables (see Table A1) for the specie Paramelitidae sp. B08. Vertical black lines on the x-axis indicate the observed values of each variable.

The coefficient of variation for monthly diurnal temperature range reaches its highest predicted outcome at low values (around 9.2) for the Amphipoda and Paramelitidae models (Figs 4, 5), suggesting a preference for stable diurnal temperatures. All models show higher predicted outcome for less than 57 mm of precipitation during the coldest quarter (Figs 5, 6, A1), but this is also where the data are most concentrated.

Environmental associations with predicted habitat areas

Analysis of observed and predicted species presence, along with key predictors for each taxonomic group, indicates that most confirmed and predicted occurrences of amphipods are located in areas characterized by low slope values and low standard deviation of percent slope (Fig. 7).

Figure 7. 

Probability maps of predicted fauna presence across a grid of points, alongside predicted presence, based on the validation dataset for each fauna and confirmed presence data based on the original dataset from Framenau et al. (2021). A. Amphipoda model; B. Paramelitidae model; C. Paramelitidae sp. B08 model. At the bottom of the map, three key environmental variables relevant to fauna distribution in the calibration area are displayed. Samples sourced from Framenau et al. (2021); raster data from Williams et al. (2010) and Gibson et al. (2015); background image from Esri Imagery.

Figure 8. 

True positives calculated with the validation dataset and spatial variation in prediction agreement among taxonomic levels, represented by the standard deviation of species-, family-, and order-level predicted probabilities. Background image from Esri Imagery.

The northwestern part of the predicted probability maps (Fig. 7) corresponds to the sedimentary rock areas of the Marra Mamba and Wittenoom Formations (Fig. 1), which form a narrow, diagonally oriented band extending toward the southeastern part of the study area and continuing northeastward. This region, characterised by low variability of the monthly diurnal temperature and percent slope, coincides with valley fill alluvium, CID and paleovalley areas (Rojas et al. 2018).

In the northwestern area (Fig. 7), the Amphipoda and Paramelitidae models predict a high probability of presence (>0.5), while Paramelitidae sp. B08 model predicts values near zero. The Paramelitidae sp. B08 model shows a slightly higher probability in the southwestern portion of the map, overlapping with high values from the Amphipoda and Paramelitidae models. Low standard deviation values in this region (Fig. 8) indicate strong agreement among the models’ predicted probabilities.

In the eastern side of the maps (Fig. 7), high predicted probability of presence for all taxonomic groups align with the Fortescue River catchment (Fig. 1). The predicted probabilities of presence increase from the eastern side of the map toward the bottom-centre, where most true positives are concentrated. The lower standard deviation in this region suggests it meets the shared ecological requirements of each taxon (Fig. 8). This area is aligned with minor streamlines near the Queens Valley, Firetail, and Kings Valley mines, extending south toward Hamersley Road.

Discussion

The specific drivers influencing the distribution of stygofauna are poorly understood, mainly due to the challenges in identifying environmental variables applicable to subterranean ecosystems in the third dimension below-ground (Mammola and Leroy 2018; Mokany et al. 2019). We show that using a machine learning-based modelling approach offers a valuable tool for better understanding amphipod taxa distributions, especially under increasing climatic pressures. By mapping areas with a high likelihood of fauna occurrence, these models identify zones where fauna are most likely to be present, and support the identification of future study sites, monitoring locations, and areas of high conservation value. In the context of climate change and expanding human activities, such predictive frameworks are essential for guiding adaptive management, monitoring and regulating land-use impacts, and preserving subterranean biodiversity (Mammola et al. 2019; Saccò et al. 2022a).

SDMs can improve future sampling and support targeted fieldwork for biodiversity assessments by converting scattered point-occurrence data into continuous predictions of suitable habitat (Mammola et al. 2024). When species-level data are unavailable or incomplete, training models at higher taxonomic levels allows for the utilization of broader datasets to assess habitat suitability (Niamir et al. 2016). The dominance of Paramelitidae sp. B08 within the occurrence dataset may have influenced family- and order-level models, and therefore results should be interpreted in the context of uneven species representation.

Association with environmental variables

Terrain variables accounted for roughly half of the total importance in all models, making topography the strongest predictor for all taxonomic groups of amphipods. For Amphipoda, climate variables were the second-largest contributor after terrain, whereas for Paramelitidae, and Paramelitidae sp. B08, it was the geological variables. Hydrological and soil variables made only minor contributions in all cases. Perina et al. (2024) suggests that stygofauna distributions are shaped more by paleohydrological patterns rather than current river catchments.

Mouron et al. (2022) reported comparable results, with slope making a secondary contribution to explained variance in amphipod models, while the highest contributions were associated with water properties, and geological variables not included in our study due to substantial missing data.

Our quantitative results align with qualitative observations that stygofauna are commonly associated with paleochannels or paleodrainage valleys in the Pilbara (Humphreys 2008; Rojas et al. 2018). The higher probability of amphipod occurrence in low-relief terrains also aligns with findings from Mokany et al. (2019), who reported species richness of stygofauna to be highest in the valleys where groundwater is close to the surface. These relatively low-relief areas may act as groundwater recharge hotspots or provide stable aquifer structures that support amphipod populations (Halse et al. 2014; Hose et al. 2015; Perina et al. 2024). Flatter terrains may allow more water to percolate, recharge the aquifer, and increase the input of nutrients to subterranean ecosystems (Perina et al. 2024), whereas steeper slopes may lead to faster runoff, reducing the amount of water that infiltrates the ground. Valley bottoms accumulate sediments, forming floodplains or fans that act as hydrological buffers and improve the connectivity of the catchment (Gallant and Dowling 2003).

Distance to the geological linear features of dykes, folds and faults are all included in the top 20 ranked variables influencing occurrence of amphipods. Intrusive dykes compartmentalise the fractured-rock aquifers of the Hamersley Range by cutting across the stratigraphy and disrupting groundwater connectivity, creating semi-isolated hydrogeological blocks that can restrict stygofauna dispersal and generate distinct species assemblages across adjacent gullies (Perina et al. 2024).

However, a dyke may also function as an aquifer if it meets certain criteria (Gupta et al. 2012). It must consist of deeply weathered rock (e.g., dolerite), contain dense fracture networks to boost permeability, align with the hydraulic gradient, and possess structures that allow groundwater storage and transmission.

In folded terrains, aquifers become interlayered with variable dips, while large-displacement faults juxtapose units of contrasting hydraulic properties, generating both permeable conduits and barrier zones (Ball et al. 2014). Faults, which often occur together with folds, enhance the downward movement of water and promote more intense weathering (Perina et al. 2024). These linear structures modify aquifer connectivity, recharge pathways, and the scale of groundwater flow systems. They frequently separate valley aquifers from the recharge that comes from areas of high elevation and transfer flow control from topographic gradients to systems regulated by permeability (Ball et al. 2014).

As such, it may be that these geological features influence the occurrence of amphipods in complex ways by affecting the influx and flow of water from above and below the ground (Rojas et al. 2018) as well as nutrient and oxygen levels (Maurice and Bloomfield 2012; Marmonier et al. 2023). As mentioned above, this level of complexity in the three dimensional context requires further investigation using geophysical techniques to assess the dynamics of subsurface water. For example, Kirsch (2006) explains that electrical resistivity measurements from geophysics can be used to estimate water content and porosity, which then allows calculation of percolation time.

Boucher et al. (2009) have also used electrical resistivity tomography, resistivity logging, time-domain electromagnetic, and magnetic resonance sounding to assess how water moves through an unconfined sandstone aquifer in semi-arid southwestern Niger. Their study provided direct estimates of water content, regional groundwater recharge, and highlighted zones of enhanced infiltration and focused drainage beneath gullies and alluvial fans. However, this level of detail is only likely to be achievable in a more local context and remains a challenge for understanding the distribution of stygofgauna at regional scales.

It is important to note that the modelled climate variables used in this study do not accurately capture local underground conditions. As Roghanchi et al. (2017) points out, subterranean climates are influenced by site-specific factors such as geology, rock properties, groundwater flow, and elevation, factors that can vary significantly even over short distances. While Mammola and Leroy (2018) also highlights the limitations of bioclimatic variables in representing subterranean systems, they note that the temperature of surrounding rock tends to equilibrate with the mean temperature of infiltrating water. This suggests that external climatic predictors can still offer a useful approximation of underground microclimates.

The negative relationship between amphipod presence and increasing variation in the monthly diurnal temperature range may indicate a narrow thermal tolerance consistent with the stable thermal regime of groundwater systems (Hose et al. 2015). Because temperatures below ≈ 10 m remain effectively constant in the absence of sunlight, stygofauna evolve under highly stable thermal conditions and may be particularly sensitive to environments where subsurface temperatures fluctuate (Hose et al. 2015). This pattern may also reflect their preference for flatter terrain (Eberhard et al. 2005), where surface and subsurface temperatures tend to vary less than on steep slopes that are shaded for part of the day.

The negative relationship of fauna presence with increasing winter rainfall may indicate that a period of low groundwater recharge is needed to stabilise trophic conditions following the summer months when rainfall events are likely to be highly sporadic and extreme (Rojas et al. 2018; Saccò et al. 2019).

Spatial model outputs

In our spatial models, the highest predicted probabilities for all fauna followed major valleys in the Marra Mamba and Wittenoom formations and in the catchment area of Serpentine Creek, Duck Creek, Caves Creek, the Robe River, and the Fortescue River. The southeastern portion of the study area within the Brockman Iron Formation shows low standard deviation and consistently high predicted probabilities across taxonomic levels, likely indicating environmentally optimal conditions and a core area of habitat suitability.

These low-relief valley floors and gullies, where recharge is focused, and groundwater is shallower, receive greater inputs of oxygen and nutrients than adjacent elevated ridges, and likely provide more favourable habitat for stygofauna (Halse et al. 2014; Hose et al. 2015; Perina et al. 2024).

The high standard deviation in the northwestern and northeastern areas within the Marra Mamba and Wittenoom formations likely results from missing presence records for Paramelitidae sp. B08. While presence is consistently predicted at the family and order levels, this pattern may indicate either a sampling gap or the presence of another paramelitid species with distinct ecological requirements; this discrepancy warrants further investigation.

The high predicted probability areas also match the geological and hydrological context described by Rojas et al. (2018), where high-permeability, mineralised banded iron formations in the Marra Mamba Iron Formation host spatially restricted aquifers sustained by local groundwater recharge, but capable of producing significant yields under dewatering conditions. In such hydraulically constrained systems, groundwater abstraction and dewatering may disproportionately affect subterranean habitats and fauna (Perina et al. 2024).

Rojas et al. (2018) describes groundwater in the Wittenoom Formation as primarily recharged by downward leakage from overlying inland alluvial and CID/pisolite aquifers associated with paleovalley systems in the Hamersley Basin. Pisolite deposits often provide suitable subterranean fauna habitat due to their extensive cavities and secondary porosity (Perina et al. 2024). These sediments are hydraulically connected to the underlying fractured and karstified dolomites, facilitating vertical groundwater transfer. As a result, the Wittenoom Formation is known to host significant groundwater resources, with discharge largely driven by mining dewatering and water supply operations (Rojas et al. 2018).

Limitations of our approach

A key limitation of this study is that our models do not account for physical or geographical barriers. This leads to an assumption of unlimited dispersal for the target species, overestimating accessible habitat. Future work should include data on physical dispersal barriers or simulate spatial dispersal limitations (Leroy et al. 2016).

Another key limitation of this study is the clustering of sample locations and the coarse taxonomic resolution of specimen identifications (Halse et al. 2014; Mokany et al. 2019). Order-level models in our study may be affected by uneven family representation, as Paramelitidae is over-represented in the sample. This can bias model predictions toward the environmental associations of this over-represented family and may not accurately reflect the ecological diversity of the entire taxonomic group (Kuhn and Johnson 2013). Incorporating higher-resolution taxonomic data enhance model precision and ecological inference.

Key aquifer properties like water chemistry, oxygen levels, and salinity influence species distribution at fine scales (Humphreys 2008), but are excluded here due to limited informative data at sampled boreholes. While these coarse-resolution surface variables successfully predicted stygofauna distribution, they may not fully capture all local-scale sub-surface attributes driving these communities.

Future refinements to improve model performance could include integrating high taxonomic resolution through eDNA-based identification (Saccò et al. 2022b) and expanding the environmental variable set to increase discriminatory power (Kuhn and Johnson 2013). Our findings are consistent with those of Seeland et al. (2019), who noted that while higher taxonomic levels may share characteristics that facilitate classification, the loss of species-specific information can negatively affect predictive performance. Similarly, the species-level model in our analysis achieved higher sensitivity and balanced accuracy than the family- and order-level models. By addressing current limitations, future SDMs can provide more robust tools for understanding and conserving subterranean biodiversity in the face of environmental change.

Conclusions

While our findings show that order-level SDMs can achieve predictive performance comparable to family- and species-level models, this outcome is, to some extent, expected due to the nested nature of the datasets. Similar environmental variables were highly ranked across both taxa, indicating consistent broad environmental drivers of subterranean amphipod distributions. However, the use of taxonomically coarse datasets should be handled with care, keeping in mind that this approach leads to lower specificity of presence predictions, which may be particularly problematic in the case of narrowly distributed and rare species. Therefore, while this framework provides a practical tool for guiding initial field surveys, identifying potential fauna habitat, and informing broad environmental impact assessments, field sampling remains essential. On-the-ground validation is necessary to test these models and refine taxonomic resolution, ensuring that conservation planning for localized subterranean fauna is both precautionary and evidence-based (Guisan et al. 2013).

References

  • Aliverti E, Lum K, Johndrow JE, Dunson DB (2021) Removing the influence of group variables in high-dimensional predictive modelling. Journal of the Royal Statistical Society Series A: Statistics in Society 184: 791–811. https://doi.org/10.1111/rssa.12613
  • Ball LB, Caine JS, Ge S (2014) Controls on groundwater flow in a semiarid folded and faulted intermountain basin. Water Resources Research 50: 6788–6809. https://doi.org/10.1002/2013WR014451
  • Boucher M, Favreau G, Descloitres M, Vouillamoz JM, Massuel S, Nazoumou Y, Cappelaere B, Legchenko A (2009) Contribution of geophysical surveys to groundwater modelling of a porous aquifer in semiarid niger: An overview. Comptes Rendus Geoscience 341: 800–809. https://doi.org/10.1016/j.crte.2009.07.008
  • Callan S, Gunawardene N (2017) Eliwana project – subterranean fauna assessment 2017. Biologic Environmental Survey, Fortescue Metals Group Ltd.
  • Chicco D, Tötsch N, Jurman G (2021) The matthews correlation coefficient (mcc) is more reliable than balanced accuracy, bookmaker informedness, and markedness in two-class confusion matrix evaluation. BioData Mining 14: 1–22. https://doi.org/10.1186/s13040-021-00244-z
  • Chopra AB, Dixit VS (2020) Balanced accuracy of collaborative recommender system. In: ICT Systems and Sustainability: Proceedings of ICT4SD 2020, Volume 1. Springer, 341–356. https://doi.org/10.1007/978-981-15-8289-9_32
  • Clark HL, Buzatto BA, Halse SA (2021) A hotspot of arid zone subterranean biodiversity: The robe valley in Western Australia. Diversity 13: 482. https://doi.org/10.3390/d13100482
  • Department of Energy, Mines, Industry Regulation and Safety (2024) Geological map dataset. https://www.dmirs.wa.gov.au [accessed 2024-12-06]
  • Department of Water (2016) Groundwater assessment of the north-west Hamersley Range: Securing Western Australia’s water future. Technical Report HG62. Department of Water. Perth, Western Australia. www.water.wa.gov.au
  • Eberhard SM, Halse SA, Humphreys WF (2005) Stygofauna in the Pilbara region, north-west Western Australia: a review. Journal of the Royal Society of Western Australia 88: 167.
  • Environment Protection Authority (2016) Environmental Factor Guideline: Subterranean Fauna. EPA, Western Australia, Perth WA.
  • Fišer C, Robinson CT, Malard F (2018) Cryptic species as a window into the paradigm shift of the species concept. Molecular Ecology 27: 613–635. https://doi.org/10.1111/mec.14486
  • Framenau V, McMains C, Campos M (2021) Optimizing species detection: Subterranean fauna survey review project. The Western Australian Biodiversity Science Institute and Harry Butler Institute: Murdoch University, Perth.
  • Gibson L (2018) Shedding new light on the cryptic world of subterranean fauna - A research program for Western Australia. The Western Australian Biodiversity Science Institute.
  • Gibson L, Williams K, Pinder A, Harwood T, McKenzie N, Ferrier S, Lyons M, Burbidge A, Manion G (2015) Compositional patterns in terrestrial fauna and wetland flora and fauna across the Pilbara biogeographic region of western australia and the representativeness of its conservation reserve system. Records of the Western Australian Museum Supplement 78: 515. https://doi.org/10.18195/issn.0313-122x.78(2).2015.515-545
  • Gibson L, Humphreys WF, Harvey M, Hyder B, Winzer A (2019) Shedding light on the hidden world of subterranean fauna: A transdisciplinary research approach. Science of the Total Environment 684: 381–389. https://doi.org/10.1016/j.scitotenv.2019.05.316
  • Guisan A, Tingley R, Baumgartner JB, Naujokaitis-Lewis I, Sutcliffe PR, Tulloch AI, Regan TJ, Brotons L, McDonald-Madden E, Mantyka-Pringle C, Martin TG, Rhodes JR, Maggini R, Setterfield SA, Elith J, Schwartz MW, Wintle BA, Broennimann O, Austin M, Ferrier S, Kearney MR, Possingham HP, Buckley YM (2013) Predicting species distributions for conservation decisions. Ecology Letters 16: 1424–1435. https://doi.org/10.1111/ele.12189
  • Gupta G, Erram VC, Kumar S (2012) Temporal geoelectric behaviour of dyke aquifers in northern deccan volcanic province, India. Journal of Earth System Science 121: 723–732. https://doi.org/10.1007/s12040-012-0180-z
  • Halse S, Scanlon M, Cocking J, Barron H, Richardson J, Eberhard S (2014) Pilbara stygofauna: deep groundwater of an arid landscape contains globally significant radiation of biodiversity. Records of the Western Australian Museum 78: 443–483. https://doi.org/10.18195/issn.0313-122x.78(2).2014.443-483
  • Hertzog L (1936) Crustacés de biotopes hypogées de la vallée du Rhin d’Alsace. Bulletin de la Société Zoologique de France 61: 356–372.
  • Hose GC, Sreekanth J, Barron O, Pollino C (2015) Stygofauna in australian groundwater systems: Extent of knowledge. Report to Australian Coal Association Research Program. Macquarie University and CSIRO.
  • Humphreys WF (2008) Rising from down under: developments in subterranean biodiversity in Australia from a groundwater fauna perspective. Invertebrate Systematics 22: 85–101. https://doi.org/10.1071/IS07016
  • Johnson S, Wright A (2001) Central Pilbara groundwater study. Water and Rivers Commission.
  • Joloudari JH, Marefat A, Nematollahi MA, Oyelere SS, Hussain S (2023) Effective class-imbalance learning based on smote and convolutional neural networks. Applied Sciences 13: 4006. https://doi.org/10.3390/app13064006
  • Karaman S (1943) Die unterirdischen amphipoden südserbiens. Srpska Kraljevska Akademia.
  • Kassambara A (2018) Machine learning essentials: Practical guide in R. Sthda.
  • King RA, Fagan-Jeffries EP, Bradford TM, Stringer DN, Finston TL, Halse SA, Eberhard SM, Humphreys G, Humphreys BF, Austin AD, Cooper SJB (2022) Cryptic diversity down under: defining species in the subterranean amphipod genus Nedsia Barnard & Williams, 1995 (Hadzioidea: Eriopisidae) from the Pilbara, Western Australia. Invertebrate Systematics 36: 113–159. https://doi.org/10.1071/IS21041
  • King RA, Cooper SJ, Schwartz B, Leijs R, Stringer DN, Humphreys WF, Thornhill J, Guzik MT (2024) Diversity and distribution of Australian stygobiont and other groundwater-associated amphipods (Crustacea: Malacostraca: Peracarida). Diversity 16: 650. https://doi.org/10.3390/d16100650
  • Kuhn M, Wing J, Weston S, Williams A (2007) The caret package. Gene Expression.
  • Leroy B, Meynard CN, Bellard C, Courchamp F (2016) virtual species: an R package to generate virtual species distributions. Ecography 39(6): 599–607. https://doi.org/10.1111/ecog.01388
  • Mammola S, Piano E, Cardoso P, Vernon P, Domínguez-Villar D, Culver DC, Pipan T, Isaia M (2019) Climate change going deep: The effects of global climatic alterations on cave ecosystems. The Anthropocene Review 6: 98–116. https://doi.org/10.1177/2053019619851594
  • Mammola S, Altermatt F, Alther R, Amorim IR, Băncilă RI, Borges PA, Brad T, Brankovits D, Cardoso P, Cerasoli F, Chichorro F, Ciessielski M, Cormier A, Di Lorenzo T, Faille A, Fišer C, Galassi DMP, Griebler C, Howarth FG, Lunghi E, Martínez A, Nanni V, Niemiller ML, Pavlek A, Reboleira ASPS, Salgado VT, Saccò A, Stoch F, Truchy A, Wynne JJ, Zagmajster M, Ficetola GF (2024) Perspectives and pitfalls in preserving subterranean biodiversity through protected areas. npj Biodiversity 3: 2. https://doi.org/10.1038/s44185-023-00035-1
  • Marmonier P, Galassi DMP, Korbel K, Close M, Datry T, Karwautz C (2023) Groundwater biodiversity and constraints to biological distribution. In: Malard F, Griebler C, Rétaux S (Eds) Groundwater Ecology and Evolution. Elsevier, London, 113–140. https://doi.org/10.1016/B978-0-12-819119-4.00003-2
  • Maurice L, Bloomfield J (2012) Stygobitic invertebrates in groundwater—a review from a hydrogeological perspective. Freshwater Reviews 5: 51–71. https://doi.org/10.1608/FRJ-5.1.443
  • Mokany K, Harwood TD, Halse SA, Ferrier S (2019) Riddles in the dark: Assessing diversity patterns for cryptic subterranean fauna of the Pilbara. Diversity and Distributions 25: 240–254. https://doi.org/10.1111/ddi.12852
  • Moser B, Cook PG, Miller AD, Dogramaci S, Wallis I (2024) The hydraulic evolution of groundwater-fed pit lakes after mine closure. Groundwater 62(6): 889–903. https://doi.org/10.1111/gwat.13419
  • Mouron S, Eme D, Bellec A, Bertrand M, Mammola S, Liébault F, Douady CJ, Malard F (2022) Unique and shared effects of local and catchment predictors over distribution of hyporheic organisms: does the valley rule the stream? Ecography 2022(5): e06099. https://doi.org/10.1111/ecog.06099
  • Murphy NP, King RA, Delean S (2015) Species, ESUs or populations? Delimiting and describing morphologically cryptic diversity in Australian desert spring amphipods. Invertebrate Systematics 29(5): 457–467. https://doi.org/10.1071/IS14036
  • Niamir A, Skidmore AK, Toxopeus AG, Real R (2016) Use of taxonomy to delineate spatial extent of atlas data for species distribution models. Global Ecology and Biogeography 25: 227–237. https://doi.org/10.1111/geb.12405
  • Northcote KH, Beckmann GG, Bettenay E, Churchward HM, Van Dijk DC, Dimmock GM, Hubble GD, Isbell RF, McArthur WM, Murtha GG, Nicolls KD, Paton TR, Thompson CH, Webb AA, Wright MJ (1960) Atlas of Australian Soils, Sheets 1 to 10 with Explanatory Data. CSIRO Australia and Melbourne University Press, Melbourne.
  • Paula MCL, Jessell M, Cripps E, Lindsay M, Pirot G, Gibson L (2025) Machine learning to assess troglofauna occurrences in the northern part of Western Australia. Next Research 2(3): 100693. https://doi.org/10.1016/j.nexres.2025.100693
  • Perina G, Camacho AI, White NE, Callan SK, Abello JS, Morgan L, Guzik MT (2024) An integrated study of Atopobathynella (Parabathynellidae, Bathynellacea) species reveals restricted distributions in a complex hydrogeological setting: two new species from the PilbaraPilbara (Australia). Contributions to Zoology 1: 1–47. https://doi.org/10.1163/18759866-bja10063
  • QGIS Development Team (2023) QGIS Geographic Information System. Open Source Geospatial Foundation. Version 3.x. https://qgis.org [accessed on 19/11/2024]
  • Qiao H, Peterson AT, Ji L, Hu J (2017) Using data from related species to overcome spatial sampling bias and associated limitations in ecological niche modelling. Methods in Ecology and Evolution 8(12): 1804–1812. https://doi.org/10.1111/2041-210X.12832
  • R Core Team (2024) R: A language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria. https://www.R-project.org/
  • Roghanchi P, Kocsis KC, Danko G, Powell A (2017) Underground climatic monitoring and modeling: Are we missing something? Quality-Access to Success 18(S1): 308–313.
  • Rojas R, Commander P, McFarlane D, Ali R, Dawes W, Barron O, Hodgson G, Charles S (2018) Groundwater resource assessment and conceptualization in the Pilbara region, Western Australia. Earth Systems and Environment 2: 345–365. https://doi.org/10.1007/s41748-018-0051-0
  • Saccò M, Blyth AJ, Douglas G, Humphreys WF, Hose GC, Davis J, Guzik MT, Martínez A, Eberhard SM, Halse SA (2022a) Stygofaunal diversity and ecological sustainability of coastal groundwater ecosystems in a changing climate: The Australian paradigm. Freshwater Biology 67: 2007–2023. https://doi.org/10.1111/fwb.13987
  • Saccò M, Guzik MT, van der Heyde M, Nevill P, Cooper SJ, Austin AD, Coates PJ, Allentoft ME, White NE (2022b) Edna in subterranean ecosystems: Applications, technical aspects, and future prospects. Science of the Total Environment 820: 153223. https://doi.org/10.1016/j.scitotenv.2022.153223
  • Seeland M, Rzanny M, Boho D, Wäldchen J, Mäder P (2019) Image-based classification of plant genus and family for trained and untrained plant species. BMC Bioinformatics 20: 1–13. https://doi.org/10.1186/s12859-018-2474-x
  • Skrzypek G, Dogramaci S, Rouillard A, Grierson PF (2016) Groundwater seepage controls salinity in a hydrologically terminal basin of semi-arid northwest australia. Journal of Hydrology 542: 627–636. https://doi.org/10.1016/j.jhydrol.2016.09.033
  • Skrzypek G, Dogramaci S, Page GF, Rouillard A, Grierson PF (2019) Unique stable isotope signatures of large cyclonic events as a tracer of soil moisture dynamics in the semiarid subtropics. Journal of Hydrology 578: 124124. https://doi.org/10.1016/j.jhydrol.2019.124124
  • Smith AB, Godsoe W, Rodríguez-Sánchez F, Wang HH, Warren D (2019) Niche estimation above and below the species level. Trends in Ecology & Evolution 34(3): 260–273. https://doi.org/10.1016/j.tree.2018.10.012
  • Valavi R, Elith J, Lahoz-Monfort JJ, Guillera-Arroita G (2021) Modelling species presence-only data with random forests. Ecography 44: 1731–1742. https://doi.org/10.1111/ecog.05615
  • Williams KJ, Ferrier S, Rosauer D, Yeates D, Manion G, Harwood T, Stein J, Faith DP, Laity T, Whalen A (2010) Harnessing Continent-wide Biodiversity Datasets for Prioritising National Conservation Investment: Appendices. CSIRO Ecosystem Sciences.
  • Winter T, Harvey JW, Franke OL, Alley WM (1998) Ground water and surface water – a single resource. Volume 1139 of Circular. US Geological Survey. https://doi.org/10.3133/cir1139
  • Youden W (1969) Statistical techniques. NBS Special Publication, 421.
  • Zurell D, Franklin J, König C, Bouchet PJ, Dormann CF, Elith J, Fandos G, Feng X, Guillera‐Arroita G, Guisan A, Lahoz‐Monfort JJ (2020) A standard protocol for reporting species distribution models. Ecography 43(9): 1261–1277. https://doi.org/10.1111/ecog.04960

Appendix 1

Table A1 shows the names, types, and descriptions of the variables in this study.

Table A1.

Names, types, and descriptions of the variables used in this study.

Name Type Description
LONGITUDE Geographic Geographic coordinates (longitude) of fauna sampling locations
LATITUDE Geographic Geographic coordinates (latitude) of fauna sampling locations
Amphipoda_order Fauna Binary indicator of Amphipoda order presence (1) or absence (0) in samples
Paramelitidae_family Fauna Binary indicator of Paramelitidae family presence (1) or absence (0) in samples
B08 Paramelitidae SOLOMON 1 Fauna Binary indicator of the specie B08 Paramelitidae SOLOMON 1 presence (1) or absence (0) in samples
ROCKTYPE1 Geological Dominant rock type at each location, based on geological mapping
Hydro Hydrological Streamline type of the nearest watercourse, calculated using QGIS
HydroDist_km Hydrological Distance to nearest streamline (km), calculated using QGIS
Dyke Geological Description of nearest dyke (QGIS)
DykeDist_km Geological Distance to nearest dyke (km) (QGIS)
FaultDist_km Geological Distance to nearest fault (km) (QGIS)
FoldDist_km Geological Distance to nearest fold (km) (QGIS)
MIN_AGE_MA Geological Minimum age in million years ago
vpd_min Climate Minimum month vapour pressure deficit (KPa)
vpd_mean Climate Mean annual vapour pressure deficit (KPa)
vpd_max Climate Maximum month vapour pressure deficit (KPa)
vpd_9_x Climate Maximum month vapour pressure deficit at 9 am (KPa)
vpd_9_i Climate Minimum month vapour pressure deficit at 9 am (KPa)
vpd_9_cv Climate Coefficient of variation of monthly vapour pressure deficit at 9 am (index)
trngx Climate Maximum month diurnal temperature range
trngi Climate Minimum month diurnal temperature range
trngcv Climate Coefficient of variation of monthly diurnal temperature range (index)
srain2mp Climate Equinox rainfall seasonality ratio
srain1mp Climate Solstice rainfall seasonality ratio
srain0mp Climate Annual rainfall seasonality ratio
slrain2 Climate Spring or autumn (log) rainfall season
slrain1 Climate Summer or winter (log) rainfall season
slrain0 Climate Annual (log) rainfall seasonality index
rh2mean Climate Mean annual relative humidity (\%)
rh2max Climate Maximum month relative humidity (\%)
rh_9_x Climate Maximum month relative humidity at 9 am (\%)
rh_9_i Climate Minimum month relative humidity at 9 am (\%)
rh_9_cv Climate Coefficient of variation of monthly relative humidity at 9 am (index)
rancv Climate Coefficient of variation of monthly rainfall (index)
rainx Climate Precipitation of the wettest month (mm)
raini Climate Precipitation of the driest month (mm)
radnx Climate Maximum month rainfall-modified solar radiation (MJ/m2/day)
radni Climate Minimum month rainfall-modified solar radiation (MJ/m2/day)
mintx Climate Minimum temperature warmest month
minti Climate Minimum temperature coldest month
mintcv Climate Coefficient of variation of monthly minimum temperature (index)
maxtx Climate Maximum temperature coolest month
maxti Climate Maximum temperature hottest month
maxtcv Climate Coefficient of variation of monthly maximum temperature (index)
evapx Climate Maximum month evaporation (mm)
evapi Climate Minimum month evaporation (mm)
ecapcv Climate Coefficient of variation of monthly evaporation (index)
bio35 Climate Mean Moisture Index of Coldest Quarter
bio33 Climate Mean Moisture Index of Lowest Quarter
bio32 Climate Mean Moisture Index of Highest Quarter
bio31 Climate Moisture Index Seasonality (C of V)
bio30 Climate Lowest Period Moisture Index
bio29 Climate Highest Period Moisture Index
bio28 Climate Annual Mean Moisture Index
bio27 Climate Radiation of Coldest Quarter
bio22 Climate Lowest Period Radiation
bio20 Climate Annual Mean Radiation
bio19 Climate Precipitation of Coldest Quarter
bio17 Climate Precipitation of Driest Quarter
bio16 Climate Precipitation of Wettest Quarter
bio15 Climate Precipitation Seasonality (C of V)
bio14 Climate Precipitation of Driest Period
bio13 Climate Precipitation of Wettest Period
bio12 Climate Annual Precipitation
bio11 Climate Mean Temperature of Coldest Quarter
bio10 Climate Mean Temperature of Warmest Quarter
bio08 Climate Mean Temperature of Wettest Quarter
bio07 Climate Temperature Annual Range (5–6)
bio06 Climate Min Temperature of Coldest Period
bio05 Climate Max Temperature of Warmest Period
bio04 Climate Temperature Seasonality (C of V)
bio03 Climate Isothermality (bio02/bio07)
bio02 Climate Mean Diurnal Range (Mean of max–min)
bio01 Climate Annual Mean Temperature
adefx Climate Minimum month precipitation deficit (Rain–Evap) (mm)
adefi Climate Maximum month precipitation deficit (Rain–Evap) (mm)
adefcv Climate Coefficient of variation of monthly precipitation deficits (index)
rugg500cv Terrain Coefficient of variation of ruggedness within 9 sec grid based on 500 m window (3 sec DEM)
rugg500rn Terrain Range (max–min) ruggedness within 9 sec grid based on 500 m window (3 sec DEM)
rugg500mn Terrain Mean ruggedness within 9 sec grid based on 500 m window (3 sec DEM)
rugg500s Terrain Standard deviation of terrain ruggedness within 9 sec grid based on 500 m window (3 sec DEM)
rugg500cvn Terrain Coefficient of variation (Standard dev to mean) adjusted for ruggedness
sloper Terrain Range (max–min) slope within 9 sec grid based on 3 sec DEM
slope Terrain Slope based on 9 sec DEM v3.1
elevations Terrain Standard deviation of elevation within 9 sec grid based on 3 sec DEM
elevationr Terrain Range (max–min) elevation within 9 sec grid based on 3 sec DEM
elevationm Terrain Mean elevation within 9 sec grid based on 3 sec DEM
pil_twisn Terrain Standard deviation of topographic wetness index applied to 1 sec DEM with lakes filled (3×3 window)
pil_twirn Terrain Range of topographic wetness index applied to 1 sec DEM with lakes filled (3×3 window)
pil_twim Terrain Mean of topographic wetness index applied to 1 sec DEM with lakes filled (3×3 window)
pil_twicv Terrain Coefficient of variation of TWI (Standard dev / mean) from 9 sec zonal stats (1 sec DEM)
pil_topos Terrain Standard deviation of yellowbook topographic class from 1 sec DEM with lakes filled
pil_toporn Terrain Range of yellowbook topographic class from 1 sec DEM with lakes filled
pil_topomn Terrain Mean of yellowbook topographic class from 1 sec DEM with lakes filled
pil_topocv Terrain Coefficient of variation of yellowbook class (9 sec zonal stats) from 1 sec DEM
pil_slps Terrain 9 sec grid zonal standard deviation of percent slope applied to the 1 sec DEM with lakes filled using the FOCALMEAN function with a 3×3 cell window
pil_slprnc Terrain Range of slope from 1 sec DEM with lakes filled (3×3 window)
pil_slpmn Terrain Mean slope from 1 sec DEM with lakes filled (3×3 window)
pil_slpcv Terrain Coefficient of variation of slope from 1 sec DEM (9 sec zonal stats)
pil_elr3sn Terrain Standard deviation of elevation range (300 m window) from 1 sec DEM with lakes filled
pil_elr3s Terrain Standard deviation of elevation range (300 m window) from 1 sec DEM
pil_elr3rn Terrain Range of elevation range (300 m window) from 1 sec DEM
pil_elr3mn Terrain Mean of elevation range (300 m window) from 1 sec DEM
pil_elr3cv Terrain Coefficient of variation of elevation range (300 m window) from 1 sec DEM
mrvbf Terrain Multi-resolution valley bottom flatness index (9 sec DEM)
mrrtf Terrain Multi-resolution ridgetop flatness index (9 sec DEM)
lf7rup Terrain Topographic class (ridge tops, slopes, valleys) from 9 sec DEM
nutrientsn Soil Gross soil nutrient status (PPF mosaics)
minfertf Geological Inherent rock fertility index (1 to 6 scale)
ksatn Soil Saturated hydraulic conductivity (depth-weighted from PPF mosaics)
hstructn Soil Hydrological pedality score (based on \citet{lin1999effects})
geolrngaggn Geological Range in geological age in millions of years before present derived from the 1:1 million surface geology of Australia
geolmnaggn Geological Mean geological age in millions of years before present derived from the 1:1 million surface geology of Australia
datasuptn Soil Soil data reliability index (based on PPF availability)
coarsen Soil Percentage of coarse fragments throughout the soil profile based on weighted average of PPF mosaics
clay50n Soil Solum average clay content (\%) (A and B horizon)
calcreten Soil Presence (1) or absence (0) of calcrete
bdensity50n Soil Bulk density (depth-weighted) from PPF mosaics
wr_unrn Soil Percentage of unreliable water retention values (weighted PPFs)
solpawhcn Soil Soil plant available water holding capacity (mm)
soldepthn Soil Solum depth (m)

Appendix 2

Table A2 outlines the complete ODMAP (Overview, Data, Model, Assessment, and Prediction) protocol used in this study.

Table A2.

ODMAP (Overview, Data, Model, Assessment, and Prediction) protocol used in this study.

section subsection element Value
Overview Authorship Study title From order to species: modeling Amphipoda distributions in the Hamersley Range
Overview Authorship Author names Maria Clara Lopes Paula
Overview Authorship Contact mariaclara.lopespaula@gmail.com
Overview Authorship Study link https://doi.org/10.6084/m9.figshare.29192723
Overview Model objective Model objective Mapping and interpolation
Overview Model objective Target output presence
Overview Focal Taxon Focal Taxon Amphipoda
Overview Location Location Hamersley Range
Overview Scale of Analysis Spatial extent 117, 118, 22, 21 (xmin, xmax, ymin, ymax)
Overview Scale of Analysis Spatial resolution 0.278
Overview Scale of Analysis Temporal extent 31/12/1899–12/04/2016
Overview Scale of Analysis Temporal resolution
Overview Scale of Analysis Boundary rectangle
Overview Biodiversity data Observation type field survey
Overview Biodiversity data Response data type presence/absence
Overview Predictors Predictor types topographic; climatic; edaphic; habitat
Overview Hypotheses Hypotheses Topographic, climatic, edaphic, and habitat variables can predict stygofauna presence by acting as direct proxies for the spatial distribution of surface water recharge, which dictates the subterranean food webs.
Overview Assumptions Model assumptions Subterranean environmental properties vary in direct response to surface environmental variables.
Overview Algorithms Modelling techniques randomForest
Overview Algorithms Model complexity Model complexity is justified through comparative empirical testing against alternative modeling frameworks.
Overview Algorithms Model averaging No
Overview Workflow Model workflow The modeling workflow is structured according to a three-phase conceptual framework: (1) model fitting and hyperparameter tuning, (2) receiver operating characteristic analysis to select the optimal threshold, and (3) mapping of predicted presence probabilities.
Overview Software Software R, “caret” package (v6.0-92)
Overview Software Code availability https://doi.org/10.6084/m9.figshare.29192723
Overview Software Data availability https://doi.org/10.6084/m9.figshare.29192723
Data Biodiversity data Taxon names Amphipoda, Paramelitidae, B08 Paramelitidae SOLOMON 1
Data Biodiversity data Taxonomic reference system Not applicable
Data Biodiversity data Ecological level populations
Data Biodiversity data Data sources https://doi.org/10.6084/m9.figshare.29192723
Data Biodiversity data Sampling design census of the species in the study area
Data Biodiversity data Sample size 403 Amphipoda records, 310 Paramelitidae records, and 102 B08 Paramelitidae SOLOMON 1 records.
Data Biodiversity data Clipping Australia
Data Biodiversity data Scaling Not applicable
Data Biodiversity data Cleaning Boreholes lacking targeted fauna sampling were excluded, as were duplicate samples from individual boreholes. Rasters with insufficient resolution were removed. Rows containing missing data, constant variables, and highly correlated variables were also excluded.
Data Biodiversity data Absence data Professionals conducted field sampling for targeted taxa. Boreholes without records of these taxa were recorded as absences.
Data Biodiversity data Background data Not applicable
Data Biodiversity data Errors and biases Sampling bias occurs because boreholes are drilled specifically for mining exploration purposes.
Data Data partitioning Training data training set (50% of the dataset)
Data Data partitioning Validation data validation set (20% of the dataset)
Data Data partitioning Test data testing set (30% of the dataset)
Data Predictor variables Predictor variables A set of 122 environmental predictor variables was used, encompassing climatic, geological, soil, hydrological, and terrain types.
Data Predictor variables Data sources https://doi.org/10.6084/m9.figshare.29192723
Data Predictor variables Spatial extent 117, 118, 22, 21 (xmin, xmax, ymin, ymax)
Data Predictor variables Spatial resolution 0.278 km
Data Predictor variables Coordinate reference system EPSG 4283 - GDA 94
Data Predictor variables Temporal extent Not applicable
Data Predictor variables Temporal resolution Not applicable
Data Predictor variables Data processing Not applicable
Data Predictor variables Errors and biases Not applicable
Data Predictor variables Dimension reduction Not applicable
Data Transfer data Data sources Not applicable
Data Transfer data Spatial extent Not applicable, Not applicable, Not applicable, Not applicable (xmin, xmax, ymin, ymax)
Data Transfer data Spatial resolution Not applicable
Data Transfer data Temporal extent Not applicable
Data Transfer data Temporal resolution Not applicable
Data Transfer data Models and scenarios Not applicable
Data Transfer data Data processing Not applicable
Data Transfer data Quantification of Novelty Not applicable
Model Variable pre-selection Variable pre-selection Constant, and/or highly correlated variables were excluded.
Model Multicollinearity Multicollinearity Pearson correlation coefficient > 0.7 or <-0.7
Model Model settings Model settings (fitting) randomForest: no settings provided
Model Model settings Model settings (extrapolation) Not applicable
Model Model estimates Coefficients Not applicable
Model Model estimates Parameter uncertainty Cross-Validated (5 fold, repeated 10 times)
Model Model estimates Variable importance Yes
Model Model selection – model averaging – ensembles Model selection A detailed comparison of model performance (Accuracy and Kappa Coefficient) across Generalized Linear Models, Linear Discriminant Analysis, Neural Networks, and Random Forest (RF). RF was selected as our classification method based on its superior evaluation metrics.
Model Model selection – model averaging – ensembles Model averaging Not applicable
Model Model selection – model averaging – ensembles Model ensembles Not applicable
Model Analysis and Correction of non-independence Spatial autocorrelation Not applicable
Model Analysis and Correction of non-independence Temporal autocorrelation Not applicable
Model Analysis and Correction of non-independence Nested data Not applicable
Model Threshold selection Threshold selection Using the receiver operating characteristic (ROC) curve.
Assessment Performance statistics Performance on training data AUC; False negative rate; False positive rate; True negative rate; True positive rate
Assessment Performance statistics Performance on validation data AUC; True negative rate; True positive rate; False negative rate; False positive rate
Assessment Performance statistics Performance on test data AUC; False negative rate; False positive rate; True negative rate; True positive rate
Assessment Plausibility check Response shapes Not applicable
Assessment Plausibility check Expert judgement Not applicable
Prediction Prediction output Prediction unit Predicted probability of fauna presence
Prediction Prediction output Post-processing Visualization of predicted probabilities of fauna presence across a spatial grid
Prediction Uncertainty quantification Algorithmic uncertainty We minimized algorithmic uncertainty by tuning the Random Forest hyperparameters to prevent overfitting.
Prediction Uncertainty quantification Input data uncertainty Not applicable
Prediction Uncertainty quantification Parameter uncertainty Not applicable
Prediction Uncertainty quantification Scenario uncertainty Not applicable
Prediction Uncertainty quantification Novel environments Not applicable

Appendix 3

Fig. A1 shows the PDP and histogram for precipitation during the coldest quarter for the Amphipoda order.

Figure A1. 

Partial dependence plot and histogram for precipitation during the coldest quarter for the Amphipoda order.

Additional information

Conflict of interest

The authors have declared that no competing interests exist.

Ethical statement

No ethical statement was reported.

Artificial Intelligence (AI) use

The authors accept full responsibility for the content of the manuscript, including the disclosure of any use of AI.

No AI tools were used in the preparation of this manuscript.

Funding

This study was possible because of the contribution from the Western Australian Biodiversity Science Institute (WABSI), the Subterranean Fauna Survey Review Project, the Harry Butler Institute, and the funding from the ARC Training Centre in Data Analytics for Resources and Environments (DARE ITTC: IC190100031), and the Scholarship for International Research Fees (SIRF) from the University of Western Australia.

Author contributions

Conceptualization: ML, LG. Data curation: LG. Formal analysis: MCLP. Methodology: MCLP. Supervision: LG, ML, MJ, GP, EC. Writing – original draft: MCLP. Writing – review and editing: LG, MCLP, ML, GP.

Author ORCIDs

M.C. Lopes Paula https://orcid.org/0000-0003-3607-1516

L. Gibson https://orcid.org/0000-0001-6665-729X

M. Lindsay https://orcid.org/0000-0003-2614-2069

G. Pirot https://orcid.org/0000-0003-3203-0469

M. Jessell https://orcid.org/0000-0002-0375-7311

E. Cripps https://orcid.org/0000-0002-4177-6222

Data availability

All of the data that support the findings of this study are available in the main text or Supplementary Information.

Supplementary materials

Supplementary material 1 

Selecting a classification method

Maria Clara Lopes Paula, Lesley Gibson, Mark Lindsay, Guillaume Pirot, Mark Jessell, Edward Cripps

Data type: pdf

This dataset is made available under the Open Database License (http://opendatacommons.org/licenses/odbl/1.0/). The Open Database License (ODbL) is a license agreement intended to allow users to freely share, modify, and use this Dataset while maintaining this same freedom for others, provided that the original source and author(s) are credited.
Download file (737.74 kb)
Supplementary material 2 

Applied evaluation metrics

Maria Clara Lopes Paula, Lesley Gibson, Mark Lindsay, Guillaume Pirot, Mark Jessell, Edward Cripps

Data type: pdf

This dataset is made available under the Open Database License (http://opendatacommons.org/licenses/odbl/1.0/). The Open Database License (ODbL) is a license agreement intended to allow users to freely share, modify, and use this Dataset while maintaining this same freedom for others, provided that the original source and author(s) are credited.
Download file (204.29 kb)
login to comment