Introduction

Biodiversity is declining at global level due to several social and cultural factors. Among these, urbanization is expected to rapidly expand between 30% and 180% from 2020 to 2100 (Chen et al. 2020). Globally, urban growth in tropical cities has been associated with effects on biodiversity hotspots (Miller and Hobbs 2002; McDonald et al. 2008; Seto et al. 2012). In the tropical Americas, dry forests have been highlighted as one of the most threatened ecosystems due to a high rate of deforestation driven mainly by agriculture and cattle ranching (Hoekstra et al. 2005; Armenteras et al. 2013; Sánchez-Cuervo and Aide 2013). It is also estimated that 66% of these ecosystems have been converted to these land uses (Portillo-Quintero and Sánchez-Azofeifa 2010). Furthermore, processes of rapid habitat transformation, deterioration, and fragmentation are exacerbated by mining, tourism, and urban development (Portillo-Quintero and Sánchez-Azofeifa 2010).

Colombian tropical dry forests provide irrefutable proof of the land transformation effects: a critically endangered ecosystem facing soil degradation via erosion, conflagrations, and the high pressure due to proximity to urban areas and infrastructure projects (Etter et al. 2017). Furthermore, these forests have very little or poor representation in conservation policies (Pizano et al. 2017). This incipient level of knowledge, coupled with a history of transformation, places species, ecological processes, and ecosystem services at risk (Gómez et al. 2016).

In Colombia, the remnants of dry forests are confined to five regions: Catatumbo, the peri-Caribbean belt, the Norandean province, the Magdalena River valley, and the Cauca River valley (García et al. 2014). According to Alvarado-Solano and Otero-Ospina (2015), the dramatic degradation and consequential fragmentation of forests in the Cauca River valley has been accelerated by the region’s favourable climate, the fertility of its soils, and a lack of control from the authorities, which have allowed massive deforestation that has provided pathways for agricultural development with pastures and croplands (particularly sugar cane). Additionally, irregular settlements have allowed people to occupy most of the forested areas that remain in the city. These surviving patches of urban forests within cities often serve as refuges of biodiversity (Ives et al. 2016; Luna et al. 2018), potentially supporting viable populations of native, and possibly threatened, species.

As such, urban patches (or urban environments) can prevent biodiversity loss and thus play an essential role in reaching the objective of the Convention on Biological Diversity (CBD) (Müller et al. 2013). For this reason, a growing interest has focused on including biodiversity in urban planning (UN Secretariat of the Convention on Biological Diversity 2012) as an effective tool to reduce the negative impacts of urbanization on ecosystem services (Haase et al. 2014). There is an urgent need to develop strategies that promote biodiversity and urban forest patches, strategies that are aimed at sustainable development, liveability, and resilience in the urban environment (Gómez-Baggethun et al. 2013; Soanes and Lentini 2019). Further, there is a need to develop biodiversity monitoring baselines in these areas through rapid species inventories (McKinney 2002).

The present study widely adheres to McKinney’s (2002) suggestions and to the proposal of Pizano et al. (2017) for the advancement of knowledge and conservation of tropical dry forests, taking ants (Hymenoptera: Formicidae) and ground beetles (Coleoptera: Carabidae) as study models. Both of these taxonomic groups have been proposed as ecological bioindicators at a global level. They quickly respond to habitat transformation, are highly diverse and abundant in almost all types of environments, perform a variety of functions within ecosystems, are relatively easy to sample, and have relatively good taxonomic resolution (Ribas et al. 2012; Gerlach et al. 2013; Aranda et al. 2022; Makwela et al. 2023). Specifically, ants have largely been used as a target group to assess diversity in highly transformed scenarios, suggested as indicators of environmental changes. For example, their competitive interactions are modified by anthropogenic habitat alterations (Achury et al. 2020), habitat loss has shown to eliminate ant-plant mutualistic networks (Emer et al. 2013), and changes in the richness and composition of species in urban fragments have been indicated (Santos et al. 2019), among other studies. Meanwhile, studies on ground beetles have shown that more urbanized sites have significantly fewer forest specialists and more generalist species (Gaublomme et al. 2008), the group clearly responds to agricultural management practices (Kotze and O’hara 2003), and beetle diversity composition and traits change along an urbanization gradient (Koivula and Vermeulen 2005).

Various other studies have indicated that abiotic variables influence the diversity and composition of species. Temperature and humidity, for example, are known to be determinants of ant species richness (Vasconcelos et al. 2018; Werenkraut et al. 2015; Dantas and Fonseca 2023) and plant diversity (Leal et al. 2012), which influences other variables such as leaf litter depth, forest cover, and proportion of bare soil. These factors regulate food resources and shelters as microhabitats that support biodiversity (Brandão et al. 2009; Ahuatzin et al. 2019; Fernandes et al. 2019).

The present research aims to establish a baseline inventory of ant and ground beetle diversity within five tropical dry forest patches located throughout an urban matrix in southwestern Colombia, and compare this diversity with a rural tropical dry forest patch surrounded by sugarcane. To date, little relation has been found between ant and beetle richness with the exception that both groups are known to be more diverse in forests than in other anthropogenic land uses in southwestern Colombian Andes (Arenas et al. 2015; Arenas-Clavijo and Armbrecht 2018). In addition, given the potential of these forest patches as biodiversity refuges for other insects, we include ground beetles (Coleoptera: Carabidae) in our study because most of these species are second-order consumers (predators), and therefore are more susceptible to human disturbances (Eyre et al. 2016; Jacobsen et al. 2022). Furthermore, no previous works have reported the ground beetle diversity from urban forests in the country. As assessing biodiversity is one of the very first steps to propose conservation strategies, we intend to set a baseline for ground beetles for future studies on biodiversity.

The following hypotheses were proposed in this study: (i) ant and carabid beetle assemblages differ among urban tropical dry forest patches in the city of Santiago de Cali, with species richness showing reductions as patch sizes decreases, and all urban patches will be less diverse than the rural forest patch; and (ii) ant and carabid beetle species richness are related to abiotic and biotic conditions such as temperature, humidity, plant diversity, canopy cover, leaf litter percentage, and/or bare soil percentage.

Materials and methods

Study sites

The study was conducted in the city of Santiago de Cali (hereafter “Cali”), southwestern Colombia. Among the natural areas comprising the city, a topographically flat alluvial valley spans approximately 3,000 km2, with an average altitude of around 1000 m above sea level (m.a.s.l.), where tropical dry forest has historically existed. Nowadays, however, about 98% of the forest cover has been lost in this valley (Arcila et al. 2012). The area is characterised by temperatures above 24 °C, rainfall between 700 and 2000 mm per year, and usually two marked periods of drought per year (García Martínez et al. 2019). The city has an urban area of 11,570 ha and approximately 2,250,000 inhabitants (DANE 2023). Due to the progressive urbanisation and establishment of agricultural systems, the forest cover has been losing its extension, with only relictual stands remaining amongst an urban matrix. Five of these patches were sampled for this study, with an average separation of 2.4 km between each site (Fig. 1; Table 1 and Supplementary Table S1 online). To account for disturbances other than urban, one closely rural forest patch was also sampled, with an average distance of 14 km from the other sites (Supplementary Table S1 online). This forest fragment, located 21 km south of Cali, is immersed in an agricultural matrix of sugar cane, the most widespread crop in the region, although its borders are buffered by pastures in ecological succession. This forest patch, located in the vicinal municipality of Jamundí, is called Colindres (hereafter “RP-Colindres”) and belongs to the network of Civil Society Nature Reserves (Table 1).

Table 1 Characteristics of the five urban patches (UP in Santiago de Cali) and one rural patch (RP Colindres in Jamundí) of tropical dry forest studied. Altitude: meters above sea level (m.a.s.l.)

Sampling design and environmental variables

Each urban forest patch was sampled twice during 2021, between February–April and October–December. The climate pattern La Niña/Southern Oscillation occurred throughout this sampling period, resulting in an atypical meteorological season characterized by unusually high amounts of rain across an extended range of months.

In each forest patch, three starting points were selected at random (considering a minimum distance of 20 m), from which three 50 m long transects were established. Each transect was composed of six stations separated 10 m apart from each other (Supplementary Figure S1 online). Two sampling techniques were carried out at each station: a pitfall trap and visual/hand picking. The first method consisted of 16 oz plastic cups buried flush to the ground with a plastic roof over them (protection against rainfall) and filled 2/3 full with a preservative solution consisting of ethyl alcohol and water. Pitfall traps were arranged in three transects with one trap every 10 m up to 50 m. Transects started 5 m from the forest edge (defined as the outermost line connecting the trunks of mature trees, sensu Kotze et al. 2012) into the forest. An additional trap was placed 5 m outside the forest border. The pitfall traps operated for a week. Each trap and its surrounding area within five meters were considered as a sampling station.

Fig. 1
figure 1

Location of study sites in the urban area south of Santiago de Cali. 1: UP1 “Microestación”, 2: UP2 “Fundación El Refugio” Cali, 3: UP3 “Meléndez”, 4: UP4 “Club Campestre de Cali”, and 5: UP5 “Cantón Militar Pichincha”

Hand picking was conducted between 06:00 and 09:00 h considering that the activity of ants and carabid beetles decreases around noon in tropical dry forests. The method consisted in actively searching for five minutes per sampling station under rocks, fallen logs, leaf litter, and around each pitfall trap. Several habitat variables were measured at each sampling station, specifically: canopy cover, bare soil, litter depth, vegetal diversity, temperature, and humidity (Table 2).

Laboratory phase

Specimens were preserved in 96% ethanol and later identified to species and/or morphospecies level using taxonomic keys in Fernández et al. (2019) for ants and Reichardt (1977) and Martínez (2005) for carabid beetles. Collected specimens were authorized in the collection permit stated in the resolution 1070 of August 28, 2015 (modified in the resolution 01255 of June 28, 2019) of the Colombian “Autoridad Nacional de Licencias Ambientales” (ANLA). The identified material was deposited into the Entomological Museum of Universidad del Valle (MUSENUV, code: 77), in accordance with the curatorial regulations of the museum and the national biodiversity system (SiB Colombia).

Data analyses

Estimates and comparisons were made for ant diversity and composition. To reduce statistical bias in the ant taxonomic group from the aggregation of workers in colonies, species incidence data were used as a surrogate of abundance (Hölldobler and Wilson 2009). Data on carabid beetles was excluded from the statistical analyses due to their low abundance; however, invaluable biological information was obtained from this data.

Table 2 Selected environmental variables in the urban and rural patches of tropical dry forest in Santiago de Cali, Valle del Cauca, and the rural patch Colindres in Jamundí, Valle del Cauca

Alpha diversity

Non-parametric estimates were used to construct rarefaction curves, and the theoretical species richness was determined. A rarefaction curve was plotted based on the progression of species richness with sampling effort. Sampling completeness was found to determine the percentage of detected species with respect to estimated richness, using the iNEXT package version 3.0.0 (Hsieh et al. 2016) in RStudio 4.2.2 (RStudio Team 2022).

Ant richness was estimated using rarefaction cover (Chao et al. 2014) for three orders of diversity (Hill numbers q = 0, 1 and 2): (1) q = 0, or effective species richness (0D), which gives greater weight to rare species; (2) q = 1, or Shannon exponential (1D), in which species are assigned in relation to their incidence; and (3) q = 2, or inverse Simpson (2D), which gives greater weight to the dominant species.

Using the data from the rarefaction curves, diversity comparisons were performed according to the effective number of species, q = 0 (Chao and Jost 2012), with inter and extrapolations. The diversity between urban and rural patches of tropical dry forest was compared in four proposed scenarios: (1) effective number of species, (2) interpolation with respect to the lowest sampling coverage, (3) extrapolation with respect to the forest patch with the greatest sampling coverage, and (4) average between the site with the highest coverage and the site with the lowest coverage.

Beta diversity

In order to determine species shared across forest patches, and the turnover of ant species among them, a non-metric multidimensional scaling (NMDS) was performed using the incidence frequency data with the Jaccard similarity measurement. This analysis was run for k values (number of dimensions) ranging from one to two dimensions, and the optimal number of dimensions was determined by examining a scree plot of stress vs. k dimensions. In addition to NMDS, a similarity analysis (ANOSIM) was performed to test if there are similarities between ant communities across different patches of tropical dry forest. These tests were performed with the vegan package in R (Oksanen et al. 2019). To determine which species contribute to the dissimilarity between locations (Clarke and Warwick 2001), a SIMPER test (percentage of similarity-contribution by species) was performed with the vegan R package (Oksanen et al. 2019). Furthermore, to discard any potential effect of the geographic location on ant communities and their diversity, a Mantel spatial autocorrelation test was performed. This analysis was based on the Spearman rank correlation of a geographic distance matrix (sites) with a Bray-Curtis similarity matrix (composition of communities), with 999 permutations.

Effect of environmental factors on biodiversity attributes

To assess the impact of abiotic factors on species richness in urban and rural tropical dry forest patches, a generalized linear model with a Conway-Maxwell-Poisson (GLM-CMP) distribution was performed. Variable selection was carried out using the Akaike Information Criteria (AIC), identifying relevant variables that explain ant richness behavior. An analysis of variance determined the significance of the final variables in the model, and model fit was indicated by a pseudo-R2. We used the glmmTMB package to perform the modeling of generalized linear mixed models (Brooks et al. 2017).

Results

Diversity of ant and carabid beetle species

During the two sampling seasons, 6273 ants were obtained, belonging to 38 genera and 109 morphospecies (hereafter: species, Supplementary Table S2 online). Species identification led to 86 spp.; Nesomyrmex vicinus (Mayr, 1887), Pheidole alacris Santschi, 1923, Ph. alpestris Wilson, 2003, and Ph. tobini Wilson, 2003 represent new country records for Colombia (Supplementary Figure S2 online). Wasmannia auropunctata (Roger, 1863) was the most abundant species in all the urban patches (1835 individuals), followed by Solenopsis azteca Forel, 1893 and Pachycondyla harpax (Fabricius, 1804) with 348 and 304 individuals, respectively.

For carabid beetles, a total of 39 individuals representing 13 morphospecies from ten genera were collected (Supplementary Table S3 online). The invasive carabid Mochtherus tetraspilotus (Macleay, 1825), which was collected only at RP, was the most abundant species. In general, a low abundance of carabids was observed in the different urban patches. All the recorded genera are ground dwellers, and they are commonly reported in soil samples from other tropical dry forests. This is the first known record of Athrostictus chlaenioides¸ Galerita aequinoctialis, and Notiobia umbrifera, associated with processes of urbanization in Colombia. Further, Mochtherus tetraspilotus and the genera Selenophorus, Notiobia, and Pentagonica are reported for the first time in the rural patch of RN.

Alpha diversity

For ants, the most species were present at UP2 (0D= 55), followed by RP (0D= 49), then UP3 (0D= 48), UP5 (0D= 46), UP1 (0D= 45), and finally, UP4 (0D= 37) (Fig. 2).

Regarding common species (1D), UP2 again showed the highest number (1D= 36.82), followed by UP5 (1D= 33.01), UP1 (1D= 31.57), RP (31.15), UP3 (1D= 32.62), and UP4 (1D= 23.91). However, for the diversity order (2D), UP2 represented the patch with the largest number of very abundant species (2D= 28.81), followed by UP3 and UP5 (2D= 25.93 and 25.09, respectively), then UP1 (2D= 24.87), RP (2D= 22.45), and finally, UP4 (2D= 16.59) (Fig. 2).

For ants, the sampling coverage was different between the urban and rural patches (Fig. 2). Even so, sampling coverage was above 84.6% in all sites (Fig. 3), which means very few additional species would be expected if the sampling effort were larger (Fig. 3). As the 95% CIs overlap between urban patches, the estimates are not considered different from each other.

Comparison of diversity of ants

Four scenarios are proposed (Fig. 4, Supplementary Table S4 online):

Scenario 1 (effective species richness): UP2 presented the highest values for diversity indices measuring richness (0D= 55), common species (1D= 36.82), and dominant species (2D= 28.81), followed by UP5 for common and dominant species (1D= 33.01 and 2D= 25.09), but not in richness.

Scenario 2 (interpolation with respect to the lowest sampling coverage UP4 = 84.6%): this scenario varied with respect to scenario 1: RP had the highest observed richness (0D = 38.83), followed by UP2 (0D = 38.04), which also presented the highest values for common and dominant species (1D= 30.74 and 2D= 25.90, as in scenario 1.

Scenario 3 (extrapolation with respect to the forest patch with the greatest sampling coverage UP1 = 94.4%): results in this scenario were similar to the first and second scenario, with UP2 and RP having the greatest richness of effective species (0D=72.28 and 0D=58.25 respectively), while UP2 again had the highest number of common and dominant species (1D= 40.60 and 2D= 29.52).

Scenario 4 (average between the sites with the highest and lowest coverage): RP and UP2 presented the highest values for effective species richness (0D=49.05 and 0D=48.49 respectively), and UP2 had the highest values for the other two indices (1D= 34.97 and 2D= 28.04).

Fig. 2
figure 2

Rarefaction curves based on ant species richness for each urban tropical dry forest patch; q = 0 or effective species richness (0D), q = 1 or Shannon exponential (1D), and q = 2 = or inverse Simpson (2D)

The results of UP2 and the RP presenting the greatest richness of effective species (0D) are consistent across all comparison scenarios.

For carabid beetles, RP showed the highest effective species richness (0D= 7 species), followed by UP5 and UP1 presenting the same effective species richness (0D= 3 species), then UP2 (0D= 2 species), and finally, UP3 (0D= 1 species). In general, low abundances were observed for this taxonomic group.

Fig. 3
figure 3

Rarefaction curves constructed based on the completeness of the sample of each urban and rural patch

Fig. 4
figure 4

Scenarios for comparing ant diversity in urban (UP1 to UP5) and rural (RP) patches of tropical dry forest. Scenario 1: effective species richness, Scenario 2: interpolation with respect to the lowest sampling coverage, Scenario 3: extrapolation with respect to the forest patch with the greatest sampling coverage and Scenario 4: average between the site with the highest coverage and the site with the lowest coverage

Beta diversity: ant communities

The NMDS grouping analysis with ants (stress = 0.1533) showed that the urban patches UP1, UP2, and UP5 show similarities, and they are different from UP3 and UP4. Likewise, all urban patches separate from the rural patch. The urban patches show overlap, specifically between UP1, UP2, and UP5. The observed stress value indicates that the observed ordering was a fair representation of the dissimilarity matrix between the ant communities (Fig. 5).

The analysis of similarities showed significant differences between urban patches and the rural patch (global R ANOSIM = 0.9379, p = 0.001; 999 permutations). The NMDS and ANOSIM similarity analyses (Fig. 5) reveal a separation of species composition between urban patches. The spatial autocorrelation test showed correlation between geographic distance and Jaccard dissimilarity matrix (Mantel statistic r: 0.5857; p-value: 0.077), suggesting dependence of the composition of ant communities and sites on geographic distance.

The SIMPER analysis showed a dissimilarity in ant species composition between the different urban and rural patches (Table 3). Odontomachus bauri, Solenopsis azteca, Crematogaster curvispinosa and the exotic ant Monomorium floricola contributed strongly to the dissimilarity of UP1, while for UP2 only Pheidole sussannae Forel, 1886 was distinct; Holcoponera striatula, Nylanderia steinhelli, and Crematogaster carinata stood out for UP5, while for UP4 the species Pachycondyla harpax, Ph. simonsi, and Ph. synarmata were most dissimilar to other sites. In RP Pheidole cf. calimana contributed to the dissimilarity (Supplementary Table S5 online). Wasmannia auropunctata stands out as one of the species with the greatest contribution to the average dissimilarity between groups. This can be explained due to the most abundant species tending to have highest variances and contributions in SIMPER analyses even when they do not differ between groups (Supplementary Table S5 online).

Fig. 5
figure 5

Ordering of ant communities in the urban and rural patches of dry forest by means of non-metric multidimensional scaling (NMDS) using ant incidence data

Table 3 Contribution to the dissimilarity of urban and rural tropical dry forests for each pair of patches: values represent the sum of the percentages of dissimilarity

Effect of environmental factors on biodiversity attributes

The GLM-CMP revealed that five of the seven assessed variables (Table 2) were significant in explaining ant richness in urban and rural patches of tropical dry forest in the city of Santiago de Cali. Humidity, canopy cover, and plant diversity positively influenced ant species richness, while bare soil and patch area were negatively associated with species richness (Table 4).

Table 4 Variables explaining ant richness in urban and rural patches of tropical dry forest through the generalized linear model with Conway-Maxwell-Poisson distribution

Discussion

Alpha diversity

Despite the hydrological anomaly of La Niña/Southern Oscillation (ENSO) event (2020–2022), an efficient sample coverage was obtained (Figs. 2 and 3) in ants. The ENSO occurs in the South American tropics (Poveda and Mesa 1996) and directly affects the conditions of the rural and urban patches of tropical dry forest. In 2021, Cali city experienced acute and abundant rains. As stated by Fuentes and Campusano (1985), the response of natural populations to climatic fluctuations is dependent on the density-dependent structure, which is the consequence of the food web architecture in which the population is embedded. Although studies on terrestrial arthropods are scarce, the emergence of some arthropod species (ants in our case) may be expected to be favoured by the increases in plant growth, fruit, and seed production associated with the excess rainfall, as documented in Galapagos Islands (Dueñas et al. 2021) and in arid areas in Chile (Fuentes and Campusano 1995). In contrast, carabid beetles were scarce, both in terms of abundance and richness, which we discuss below.

Considering these climatic conditions and the resulting diversity response (0D= 55 species), a noteworthy result was that the UP2 patch was the most diverse in all the biodiversity comparison scenarios despite being the smallest in area (together with UP3). This pattern is contrary to what is expected from island biogeography theory (MacArthur and Wilson 1967), which states that richness increases with fragment area. Despite this, this observed phenomenon has been documented in other urban studies with ants (Gibb and Hochuli 2002; Clarke et al. 2008; Ješovnik and Bujan 2021). One possible explanation is that this fragment this fragment has remained isolated from human actions such that internal degradation has not permeated the interior of the patch. Other patches, such as UP4 and UP5, are internally affected by intense management such as walking paths, which are sometimes paved to favour continuous passage of people and gardening practices. In other words, the biggest forest fragments are being constantly disturbed. The 50-ha forest is used by the battalion military for their exercises (although the internal roads are not paved), and the 36-ha forest is used for recreation by the club members, with several internal roads that are constantly pruned (possibly also fumigated against mosquitoes). However, we did not evaluate perturbation variables, so this explanation must be further tested in future studies.

One plausible explanation for the unexpected, high richness of UP2, the 1-ha “El Refugio,” is that this urban patch is very close to a piedmont transition zone. This geographical situation might facilitate the colonization of ant species in this patch as opposed to the other patches. Indeed, the other patches (with the exception of UP4) are surrounded by an accentuated urban matrix that probably isolates them from the city’s closest natural areas. This isolation could cause a negative effect on the richness of ant species that has been documented in other investigations (Vasconcelos et al. 2006; Emer et al. 2013). However, the fact that the UP4 patch also shows connectivity to the foothills and the Pance River basin hinders this explanation of ant richness due only to this geographical factor.

We expected a relatively greater richness of species in RP due to the surrounding matrix, a combination of agriculture and pasture in regeneration that acts as a buffer towards surrounding cane monocultures. This factor does not seem to have a strong negative effect on the loss of ant richness, and seems to be more “friendly” than the urban matrix (Rivera-Pedroza et al. 2019). While this forest has been conserved for at least three human generations, so have the urbans ones. The intensification of usage inside and outside the forests probably affect insect richness, a phenomenon that has been evidenced in studies on ant richness along a land-use gradient, where less degraded environments present greater richness (Armbrecht et al. 2005; Santos et al. 2019; Aranda et al. 2022). Finally, the smallest urban patches may be concentrating biodiversity that has nowhere else to seek refuge, possibly resulting in population stresses for fauna in these last refuges. In this case, community diversity could be expected to decrease in the future, but this hypothesis was not tested in the present study.

Beta diversity: ant communities

The similarity in species composition between urban patches UP1, UP2, and UP3 of dry forest may be explained in terms of their geographic proximity (an average separation of 2.5 km, Supplementary Table S1 online) and the presence of generalist species that can move through the urban matrix that divides these patches. In fact, our results reveal that the distances between transects are statistically correlated with species diversity. That is, the differences in the richness of ant species show correlation or covariation with the geographical distances between the transects in the urban and rural patches. The results also found that the biggest patches appear to be distinct from the smallest patches and the rural one. In the NMDS, the urban and rural patches are separated from each other, with the urban patches more closely related amongst themselves (Fig. 5). Agudelo-Martínez and Pérez-Buitrago (2020) found a similar grouping when comparing locations near and far from an urban centre in Arauca Department and suggested that proximity to the urban centre might influence the composition of ant communities by acting as a centre of disturbance that “simplifies” the structure of nearby environments, producing a decrease in species richness.

The presence of dominant South American native species such as Wasmannia auropunctata, Cyphomyrmex rimosus, and Atta cephalotes in urban patches corroborates the fact that some species benefit from disturbances (Tabarelli et al. 2010), as was found by Achury et al. (2020) and Montoya-Lerma et al. (2023) in ants. Wasmannia auropunctata stands out for its wide distribution and abundance, and is known for its invasive potential outside of its native distribution range, from Argentina to Mexico (Passera 1994). Similarly, the leaf cutting ant Atta cephalotes is commonly found in urban areas of southwestern Colombia, such as Cali (de Chacón de Ulloa et al. 2019).

The observed ant richness was similar than that reported by Ramos-Ortega et al. (2022) from fragments of dry forest and urban environments in Santa Marta (Colombia). These authors found 97 species and/or morphospecies of ants, compared to the 109 found in our study. The richness of the RP rural patch (49 morphospecies) is higher than that obtained from sites close to the urban area of Arauca (23 and 32 species; Agudelo-Martínez et al. 2020).

According to Holway and Suarez (2006), biotic homogenization is the pattern of increasing species similarity between urban areas. The urban patches of dry forest share 14 species, making them highly similar to each other (Supplementary Table S2 online). Most of these species are common (A. cephalotes, B. pictus, C. ager, Ce. manni, N. steinhelli, O. bauri, P. harpax, Ph. alacris, Ph. boruca, Ph, boruca, So. azteca, St. lousianae, and W. auropunctata) and have a broad geographic range (Supplementary Table S2 online). Some are classified as “tramp ants” (Passera 1994) with great potential for domiciliation (Olaya-Masmela et al. 2005). Some of these species, such as W. auropunctata native to the Americas, even represents one of the most complex invaders to other regions. This species has been classified as dominant and highly competitive (Achury et al. 2020) and could contribute to the homogenization of ant communities (Sanders et al. 2007). As such, the urban matrix likely increased similarities of the species composition among the urban patches, but caused differentiation between the urban patches compared to the rural patch (RP). In this rural patch, a greater number of exclusive species with specialized habits was found, such as Acanthognathus ocellatus Mayr, 1887, Crematogaster rochai Forel, 1903, Neivamyrmex humilis (Borgmeier, 1939), Neoponera crenata (Roger, 1861), and Nesomyrmex vicinus (Mayr, 1887).

Invasive ant species are expected to negatively affect native species (Holway et al. 2002), and the proportion of invasive species is expected to be higher in the city than in rural or natural areas (Mack et al. 2000). While this has been observed in ants (see Vonshak and Gordon 2015), only two exotic species were found in the urban patches in Cali: Monomorium floricola (Jerdon, 1851) and Strumigenys rogeri Emery, 1890; and the rural patch did not present any invasive ant species. One possible explanation for this could be the recent time elapsed since the forests became urban. Just four decades ago, these now remnant urban forests were rural, but have increasingly been engulfed by intensive development towards the south of Cali.

Our results contrast with those reported by Roncallo et al. (2022) from urban environments in the city of Santa Marta, where they found eight exotic species (Cardyocondila emery, Monomorium pharaonis, Paratrechina longicornis, Pheidole indica, Tapinoma melanocephalum, Tetramorium lanuginosum, Te. simillimum, and Trichomyrmex destructor). The overall perception of these species is negative, as they often display aggressive behaviour and high plasticity to colonise and establish in new areas with high chances of becoming domestic pests (Jaramillo and Chacón de Ulloa 2003; Chacón de Ulloa et al. 2006). More importantly, however, these exotic species might affect the local diversity by inducing the displacement (or even extinction) of native species (Grimm et al. 2008; Faeth et al. 2011; Falcão et al. 2017).

Another important but underestimated threat stems from the native species, such as the leaf cutting ant A. cephalotes. This species has been observed to create favourable ecological communities by exploiting urban patches and successfully outcompeting other native ant species, a process favoured by the absence of control measures in such areas (Montoya-Lerma et al. preprint). In Cali, increasing the environmental heterogeneity and connectivity is advisable to avoid McKinney’s predictions (2006) that such biological homogenization and elimination of native species from an area will lead to the establishment of non-native species. Unfortunately, according to its property owners (pers. comm. 2023), the RP is for sale, and its future is uncertain against a fastly growing trend of urbanization in the area. Likely in a few decades, this forest patch will be surrounded by large condominiums.

The NMDS, ANOSIM, and SIMPER analyses found that the urban patches are represented by generalist species like other patches in the middle basin of the Cauca River. With this high percentage of generalist species, the compositional differences in ant communities are similar (Table 3, Supplementary Table S5 online). Species in genera such as Solenopsis, Crematogaster, and Pheidole are tolerant to a wide range of environmental conditions (Silva et al. 2007; García-Martínez et al. 2015). Fortunately, in the rural patch of tropical dry forest, specialist species such as Acanthognathus ocellatus, Gnamptogenys alfaroi, Nesomyrmex humilis, Neoponera crenata, Neivamymerx vecinus, and Procryptocerus sp.1 are still present, possibly due to the heterogeneity of microhabitats (Silva et al. 2007).

Effect of environmental factors on ant biodiversity attributes

According to the GLM-CMP, ant richness is positively influenced by humidity, canopy cover, and plant diversity. These variables have been associated with heterogeneous habitats, where an increase in tree richness may represent greater resource availability for generalist ant species (Ribas et al. 2003), a pattern also observed in urban patches (Ahuatzin et al. 2019). The combination of fragment area and habitat structure has been found to be a significant predictor of species richness (Leal et al. 2012; De Queiroz et al. 2013). Our results emphasize that the size of both urban and rural patches negatively affects ant species composition and richness. Larger patch sizes exhibit lower species diversity and share a higher proportion of species, mostly generalists. It is possible that larger urban patches are more exposed to other pressures, such as anthropogenic influences.

Although several studies have reported that ants are positively influenced by temperature (Gibb et al. 2015; Grevé et al. 2018; Parr and Bishop 2022; Almeida et al. 2023), this variable was not detected as significant in our GLM-CMP model. We were also unable to detect the effect of leaf-litter depth on ant richness. It has been largely reported that leaf-litter serves as habitat and for supplying prey (McGlynn et al. 2009); several studies (Pacheco et al. 2009; Silva et al. 2011; Liu et al. 2019) have suggested that the heterogeneity of the litter depth is a determinant factor for ant feeding on the tropical forest soils. Other abiotic and/or biotic factors should be considered for potentially influencing the richness of ants, for example, the availability of light and nesting sites, among others.

Diversity of carabid beetles

This study is the first to report the diversity of ground beetles within tropical dry forest patches inside an urban matrix. Although the number of individuals seems very low when compared to ants, this pattern is not unusual. A standardized sampling effort within a rural area of tropical dry forests in the same inter-Andean valley found only 67 individuals of 25 species (Arenas and Chacón de Ulloa 2016). In another tropical dry forest within the same valley (El Vínculo Regional Park), sampling involving 30 days of pitfall trapping (30 traps), hand picking (3 h of nocturnal searches) and leaf-litter sifting (6 samples of 1 m2) yielded only 59 individuals of 21 species (Arenas-Clavijo, unpublished data).

Overall, carabid abundance and richness in both the urban and rural forest patches were comparatively low. Mochtherus tetraspilotus (Macleay, 1825), collected only at RP, was the most abundant species, which is remarkable considering that this is an exotic species to Colombia (Torres-Domínguez et al. 2020). It is likely that the local scarab species are surviving at very low populations, potentially indicating that these populations are under high pressures (i.e., competition, habitat transformation, incidence of invasive species, low quality matrix, etc.), but this requires further studies. A possible explanation for the low number carabids collected may be the relatively scarce sampling effort. In forested areas, Uribe and Vallejo (2013) collected 313 carabids representing four subfamilies, eight tribes, and ten genera using complementary capture methods such as black light traps and interception plus manual sampling. However, their study was performed outside of urban matrices, inside a relatively conserved dry forest in central Colombia. While previous studies have assessed carabid beetle diversity in other tropical dry forest areas (Uribe and Vallejo 2013; Arenas et al. 2015; Arenas-Clavijo and Chacón de Ulloa 2016; Ariza et al. 2021), but this is the first study intended to report such diversity within an urban matrix.

Since our sampling effort was adjusted to the sampling protocols for carabids (Lövei 2008), we consider this to be adequate in our urban patches. Moreover, it seems that the dominance of ants at lowlands (i.e., ~ 900–1000 m. asl) is high, so much so that other ground dwelling organisms (such as ground beetles) are not likely to be readily found. In contrast, at higher altitudes ant incidence decreases, and ground beetle abundance seems to be higher with the same sampling effort (Arenas and Armbrecht, unpublished data).

The sampling representativeness for carabid beetles was very low compared to that of ants (Supplementary Table S3 online); therefore, the rarefaction curves for this group did not reach an asymptote. Because of the low representativeness in this family, it was excluded from the biodiversity analyses proposed for this work. However, the findings from this study using a standard sampling method for all patches are very important to report. These insects have been relatively well studied in temperate urban environments (Lövei and Sunderland 1996; Niemelä et al. 2000. Magura et al. 2010), and display the following patterns: (i) their species richness declines as urbanization increases (Gibbs and Stanton 2001; Niemelä et al. 2002; Ishitani et al. 2003; Venn et al. 2003; Weller and Ganzhorn 2004), (ii) urbanization negatively impacts their abundance even for the most abundant species, (iii) the forest specialists do not thrive in areas affected by urbanization (Venn et al. 2003, 2013; Mitchell et al. 2023), and (iv) these effects are even manifested in morphological characteristics (Magura and Lövei 2021). Studies sampling carabid diversity in those zones and other tropical areas report between three and 28 days of sampling with pitfall traps per unit (Antvogel and Bonn 2001; Ariza et al. 2021). Despite the highly transformed environments surrounding the urban tropical dry forests, they still hold some proportion of ground beetle diversity (even if the abundance is low due by natural dynamics), making these patches important biodiversity reservoirs within urban planning. Considerations regarding their natural history should be considered for contributing to urban ecology knowledge.

Species of Apenes, Loxandrus, Notiobia, and Selenophorus are typically found in the leaf litter of forests at various degrees of conservation (Arenas et al. 2015; Arenas-Clavijo and Chacón de Ulloa 2016). The first two genera are considered generalist predators, while the latter two feed on seeds (Paarmann et al. 2001; Arndt and Kirmse 2002). Although their abundances recorded in urban forests were very low in this study, the presence of these genera shows that, even in such a densely populated city, resources still exist to sustain viable small populations. In the geographic region where this study was conducted, both Athrostictus chlaenioides (Dejean, 1829) and Galerita aequinoctialis Chaudoir, 1852 are typically found in open, rural areas (AAC, pers. obs.). Their presence within the forests could be due to external pressures exerted by the surrounding ecosystems on increasingly smaller and isolated forests, where generalist species can enter and move through forest fragments as well as some areas in early succession (Ariza et al. 2021).

A remarkable observation was the detection of Notiobia umbrifera Bates, 1884 within an urban forest, as this species had previously only been recorded in well-preserved habitats both in the same region (Arenas et al. 2015) and in the Amazon (Paarmann et al. 2001). This may be attributed to the presence of a certain key resource, such as Ficus spp. commonly found in urban patches in Cali, which is a crucial resource for maintaining populations of several Notiobia species, apparently independent of the size of the forest patch. This suggests that while the patch sizes in urban areas may not be as large as in natural habitats, maintaining key elements of plant-animal interactions can favour the preservation of at least a small portion of carabid populations.

This study highlights the feasibility of using ants in urban ecology studies. It shows that urbanization negatively affects species composition, with generalist and wide-ranging species being more present in urban patches of tropical dry forest. In the city of Santiago de Cali, the largest patches do not necessarily have the greatest diversity of ants, but rather contain mostly generalist native species with a low proportion of exotic species. The type of matrix surrounding the study areas may influence the diversity and composition of ant species, as well as environmental variables such as canopy cover, bare soil, litter depth, plant diversity, and patch area. Although ground beetles presented low richness and abundance in urban patches of tropical dry forest, this study provides preliminary information on species within matrices of anthropogenic change. This study furthers our knowledge on the ant and carabid fauna of the urban forests within the city of Cali.

As stated by Soanes and Lentini (2019), “people cannot protect what they are not aware of.” The present study gives additional data and tools for citizens and land managers to make decisions in a more scientific way. In general, this study demonstrates the biological value of urban forest fragments in a ~ 2,5 million people neotropical city, habitat that lots of organisms depend on for survival. Therefore, the conservation, diversification, and expansion of these patches is a recommend policy for future urban planning. This study also cautions against the intensive management within the interior of such forest patches, as the largest urban patches were internally fragmented by linear elements (walking roads) and military practices, possibly causing a decrease in their species richness. The urban forest fragments still harbour unique ant species whose populations might be decreasing, but this hypothesis requires further testing.