Abstract
A spatial co-location pattern is a subset of a spatial feature set whose instances prevalently appear in nearby locations in space. The objective of spatial co-location pattern mining is to detect co-location patterns that are non-obvious, informative, or predictive. Due to the heterogeneity in the distribution of spatial instances, spatial co-location patterns are classified into global co-location patterns (GCPs) and local co-location patterns (LCPs). The technique that discovers both simultaneously is termed multi-level co-location pattern mining (MLCPM). However, existing MLCPM methods have room for improvement in efficiently identifying GCPs and perform poorly in discovering prevalent sub-areas of LCPs. To address these issues, we propose a novel MLCPM framework called ML-CCHDB. This framework enhances GCP mining efficiency by optimizing the column calculation method tailored for MLCPM. Furthermore, it utilizes the HDBSCAN clustering method to identify potential prevalent sub-areas of LCPs and develops an adaptive approach for generating input parameters to enhance detection efficiency and quality. Experimental results on both synthetic and real datasets demonstrate that the column calculation optimizations in ML-CCHDB effectively enhance efficiency. Moreover, HDBSCAN strikes a balance between efficiency and quality in prevalent sub-area mining. These results fully validate the proposed framework's effectiveness and efficiency.
Introduction
In contemporary society, digital transformation is advancing rapidly on a global scale. Accompanying this process, related technologies such as satellite positioning, remote sensing, Geographic Information Systems (GIS), and sensor networks are also developing quickly. These technological advancements have led to the production of massive amounts of spatial data, which exhibits an explosive growth trend. This spatial data not only reflects the prosperity of the modern information society but also presents numerous opportunities and challenges. Consequently, spatial data mining technology has emerged, with the primary objective of extracting valuable knowledge and patterns from vast and complex spatial datasets. Spatial co-location pattern mining (SCPM), a major branch of spatial data mining, aims to discover implicit, instructive or predictive spatial co-location patterns. 1 A spatial co-location pattern (hereafter co-location) is a subset of a spatial feature set whose instances tend to occur nearby. 2 For instance, the co-location {School, Bookstore, Stationery Shop} indicates that these three often exist together in nearby geographical locations. Research on SCPM enhances our understanding of geographic space structure and provides substantial support for decision-making. It plays a crucial role in fields such as urban planning, 3 geosciences, 4 and public safety. 5
The main objects of study in SCPM are global co-location patterns (GCPs) and local co-location patterns (LCPs). GCPs are prevalent across entire study areas, whereas LCPs are prevalent only in certain sub-areas. While the technology for mining GCPs has matured, mining LCPs continues to face many challenges. To tackle the challenge of identifying sub-areas that contain LCPs, which are unknown beforehand, researchers have developed multi-level co-location pattern mining (MLCPM) methods that simultaneously extract both GCPs and LCPs. Existing MLCPM methods primarily involve two core steps: first, detecting GCPs; second, considering non-globally prevalent patterns as candidate LCPs and discovering the sub-areas where they are prevalent. Current MLCPM methods typically use traditional co-location mining techniques (such as join-based 2 and joinless 6 methods) and the column calculation method 1 to identify GCPs. Traditional methods are row-based, constructing table instances of patterns to calculate the participation index (see Section 3.1) and assess prevalence. In contrast, the column calculation method directly searches for participating instances without generating complete table instances. Although the column calculation method has largely resolved the efficiency issues in mining GCPs, its principal pruning technique based on global prevalence is no longer applicable in MLCPM. This is because non-globally prevalent patterns may be locally prevalent and thus still necessitate the search for participating instances to discover prevalent sub-areas. Therefore, there is still room for optimization in applying the column calculation method in MLCPM. Additionally, existing MLCPM methods either use (a) adaptive clustering, 7 (b) partitioning by removing extremely long edges, 8 or (c) simple quadratic iterative method 9 to identify prevalent sub-areas of LCPs. However, method (a) clusters the centroids of all row instances of patterns, which results in high time costs; method (b) removes edges longer than a fixed percentage, which poorly adapts to different data distributions and leads to suboptimal partitioning; method (c) continuously divides the current region into four until it meets prevalent sub-areas constraints, but this simple strategy overlooks the actual instance distribution, also resulting in suboptimal partitioning.
To address these issues, this study proposes a novel MLCPM method based on adapted column calculation and adaptive HDBSCAN clustering, with the objective of improving the efficiency and quality of mining. The contributions of this study include three aspects:
We optimize the column calculation method to improve its efficiency in MLCPM, thereby enhancing the mining of GCPs and the acquisition of participating instances of LCPs. To address the high time costs and poor results associated with existing methods for identifying prevalent sub-areas of LCPs, we propose using the HDBSCAN clustering method to improve efficiency and quality, along with an adaptive parameter generation method to accommodate different data distributions. Experiments on both synthetic and real datasets demonstrate that the improvements in the column calculation method are efficient in comparison to the original, and the use of HDBSCAN strikes a balance between efficiency and quality in the discovery of prevalent sub-areas of LCPs.
Global co-location pattern mining
The concept of co-locations was first introduced by Shekhar et al. 2 Concurrently, they proposed a complete Apriori-like framework named join-based for mining co-locations, based on the concept of the participation index. This framework generates table instances of higher-size co-locations by joining row instances of lower-size co-locations, thereby detecting all GCPs. Subsequently, researchers6,10–13 have actively explored various methods to enhance the mining efficiency of co-locations, including improving the materialization of neighbor relationships and fine-tuning the pruning strategy. In recent years, some scholars have also explored parallel mining methods based on MapReduce 14 and GPUs, 15 aiming to address the efficiency challenges of computing table instances using parallel techniques. All the aforementioned methods compute the participation indexes of co-locations by generating table instances, which in turn assesses the prevalence of co-locations. However, constructing complete table instances is not necessary. Therefore, Yang et al. 1 proposed the heuristic column calculation method that does not construct complete table instances but directly searches for participating instances that can form row instances to compute the participation index of co-locations. Compared to previous methods, the column calculation method greatly improves the mining efficiency of co-locations. The aforementioned methods all adopt the bottom-up mining framework proposed by Shekhar et al., resulting in a significant amount of redundant searching. Therefore, some researchers16–18 have proposed top-down mining methods based on cliques. These methods initially create maximal spatial cliques based on neighbor relationships between instances and then discover co-locations from these cliques.
Local co-location pattern mining
Celik et al. 19 proposed partitioning global areas using a quadtree index structure to then mine individual sub-areas for prevalent LCPs. This method can cope with the challenge of dynamic parameters and achieve dynamic mining of LCPs, but it requires complex a priori knowledge to determine the number and size of partitions. Subsequently, Ding 20 et al. proposed using a multi-resolution grid-based clustering method for area partition, intended to find interesting sub-areas based on their interest metrics, but similarly faced the problem of requiring complex a priori knowledge. To address these issues, Qian 21 et al. proposed a hierarchical partitioning method based on the K-Nearest Neighbor Graph (KNNG), treating each KNNG as an independent area for mining LCPs. The method drives the mining process using a distance variation coefficient instead of a neighbor distance threshold, which can automatically determine the k-value for each area. The division of global areas by these methods can be considered a ‘hard division’, where each sub-area has a clear demarcation line. However, real-life applications often require a more flexible ‘soft division’, where a spatial instance can belong to multiple sub-areas, thus fuzzing the dividing lines between these sub-areas. Consequently, Jiang 22 et al. proposed using a density peak clustering method based on fuzzy set theory to divide sub-areas, rendering the division more reasonable.
Multi-level co-location pattern mining
Deng et al. 7 proposed an MLCPM method named ML. Initially, the method employs the join-based approach to discover GCPs and then considers globally non-prevalent patterns as candidate LCPs. Subsequently, it utilizes an adaptive spatial clustering method to mine LCPs and their prevalent sub-areas, and its main process is summarized as follows: First, for a candidate LCP, Delaunay triangulation is conducted by taking the centroids of all its row instances as vertices; Second, global and local long edges are removed from the Delaunay triangulation to obtain a set of connected subgraphs; Third, the prevalence of the candidate LCP within the sub-areas enclosed by the convex hulls of the subgraphs’ vertices is assessed. If it is prevalent, the sub-area is identified as a prevalent sub-area of the candidate LCP. Building on Deng's research, Liu et al. 8 proposed a natural neighborhoods-based MLCPM method named ML-Miner. The method first defines natural neighborhoods based on the formation mechanism of co-locations and the local distribution of spatial features, and then adaptively builds neighbor relationships for instances between different features. Subsequently, GCPs are mined using the joinless method, and globally non-prevalent patterns are used as candidate LCPs. The ML-Miner method adopts the framework of the ML method to discover prevalent sub-areas of candidate LCPs, but its main differences are as follows: (1) In the first step, the ML-Miner method constructs the Delaunay triangulation using all participating instances of a candidate LCP as vertices; (2) In the second step, the ML-Miner method removes excessively long edges, specifically those longer than the 90th percentile, from the triangulation based on a percentile estimation formula developed for skewed distributions; (3) In the third step, if the candidate LCP is not prevalent in this sub-area, the ML-Miner uses a multi-directional optimization method based on the Voronoi diagram to discover prevalent sub-areas of the candidate LCP. The two methods all use the participation index to measure the prevalence of co-locations. However, the participation index only reflects the located degree of co-locations and cannot indicate the spatial distribution of co-locations. For example, a co-location identified as a GCP based on the participation index may have its instances distributed only within certain sub-areas. Therefore, Li et al. 9 proposed a new MLCPM method, called MLCPM-SDF, which uses a relative distribution coefficient to determine the spatial distribution of co-locations, thus providing a more refined approach to mining GCPs and LCPs. The method first mines GCPs using the column calculation method, and then, uses a quadratic iterative approach to gradually divide the current area until prevalent sub-areas of eligible LCPs are found.
Related concepts and methods
This section introduces concepts and principles related to spatial co-location pattern mining and those of the methods related to the MLCPM framework designed for this research.
Spatial co-location pattern
In the domain of SCPM, a spatial feature fi represents the type of different spatial objects within a spatial environment. For a specific spatial feature, its spatial instances refer to the spatial objects possessing that feature type, uniquely identified by the tuple <instance id, feature type, location>. The set of all spatial features is denoted as F = {f1, f2, …, fn}. The set of all spatial instances is denoted as I = {i1, i2, …, im}. Two instances are considered to have a
To measure the prevalence of co-locations in a global area, Shekhar et al.
2
proposed the concepts of

A toy example of spatial datasets, where A.1 denotes an instance of feature A with id 1.
A co-location that may not appear prevalent in the global area could still be prevalent within specific sub-areas, due to the heterogeneity of spatial data distribution. Thus, an LCP is defined as LCP = (C, sub-area), where sub-area is a subset of the spatial instance set, indicating a prevalent sub-area of co-location C. To measure the prevalence of LCP in sub-areas, analogous to the participation ratio and the participation index, Mohan et al.
5
proposed the concepts of
(1) If a k-size co-location is locally prevalent in at least one sub-area, then all its (k − 1)-size sub-patterns are also locally prevalent in at least one sub-area. (2) Conversely, if a k-size co-location is not locally prevalent in any sub-area, then all its (k + 1)-size super-patterns are not locally prevalent in any sub-area either.
(1) Assume an LCP LCPx = (Cj = {f1, …, fk}, sub-aream), with LPI(LCP
x
, sub-aream) =
This study adapts the column calculation method from reference 1 to obtain participating instances of GCPs and LCPs. This section introduces the basic concepts of the method and the optimization strategies we have designed.
Basic concepts
The
For a k-size (k > 2) co-location C, and its (k + 1)-size super-pattern C′, with C⊂C′, if fi is in both C and C′, then PIns(C′, fi) is a subset of PIns(C, fi).
The proof of Lemma 2 can be found in reference 1.
1
According to Lemma 2, the participating instances of a co-location C must be included in the participating instance sets of its sub-patterns. Therefore, the possible participating instances of feature fi in a k-size co-location C, i.e., the

Hash structure for groupN. The figure shows part of the groupN for instances B.2 in Figure 1, including groupN(B.2, A) = {A.3, A.4, A.5}, groupN(B.2, C) = {C.1, C.2, C.4}.
Prevalent sub-areas of LCPs are densely populated areas of instances, which can vary in density. Additionally, the distribution of co-location pattern instances is often irregular; for example, some patterns may be distributed along mountains, rivers, and lakes. Based on these characteristics, we adopted the HDBSCAN
23
technique to mine prevalent sub-areas of LCPs. HDBSCAN combines the advantages of hierarchical clustering and DBSCAN, generating clustering results without the need for manually selecting the neighbor radius (eps) and minimum number of points (min_pts), and identifying sub-areas with varying densities and irregularities. The basic steps of HDBSCAN include:
In the HDBSCAN model, only the key parameter—minimum cluster size (min_cluster_size)—is required to obtain the final clustering result. Therefore, this study designed an adaptive method to generate min_cluster_size for applying HDBSCAN to prevalent sub-area mining of LCPs. For a k-size co-location pattern C = {f1, f2, …, fk}, it is expressed as follows:
Overall, we expect the minimum number of objects in a cluster to be the maximum of 5% of |SRIs(C)| and twice the size of the co-location pattern, meaning that a prevalent sub-area in a k-size co-location pattern should contain at least 2 × k row instances.
ML-CCHDB
Based on the basic concepts and principles of column calculation and HDBSCAN clustering methods, this study presents an MLCPM framework called ML-CCHDB (Multi-level Co-location Pattern Mining based on Column Calculation and HDBSCAN Clustering) (see Algorithm 1), which is designed to mine GCPs and LCPs simultaneously, and the mining process can be summarized as follows:
In the GenerateParticipatingInstances(C, groupN) process (Algorithm 2), step 1 initializes the search row instance set SRIs(C) for pattern C as an empty set. Step 2–3 constructs the candidate participating instance set for each feature in C using Equation 5. Then, step 4 sorts the features in C in descending order based on the number of candidate participating instances and searches for participating instances of each feature in this order. Step 6 constructs the search space for candidate participating instance ix using Equation 6. Step 8 employs a backtracking method to quickly search for row instances containing ix. If such a row instance exists, ix and other instances within that row instance are marked as participating instances, and the row instance is added to SRIs(C). The detailed steps of the backtracking search are available in reference 1. 1
In the IdentifyPrevalentSubareas(C, k, d, min_prev, SRIs(C)) process (Algorithm 3), step 2 first calculates the centroids of each row instance in the search row instance set SRIs(C) of pattern C, forming a set of centroids centroids to be used for subsequent clustering. Step 3 then uses Equation 7 to calculate the clustering parameter, the minimum cluster size min_cluster_size. Next, step 4 applies the HDBSCAN technique to cluster the centroids. After clustering, for each cluster, step 6 restores the centroids to the participating instances contained in the row instances they represent, forming a cluster of participating instances, ins_cluster. After that, steps 7–9 first construct the convex hull of ins_cluster and then examine the prevalence of C within the sub-area enclosed by this convex hull. If C is prevalent in this sub-area, the sub-area is marked as a prevalent sub-area of C.
Experimental evaluation
Experimental design
The vegetation distribution dataset from the Gaoligong Mountain (GM). It comprises 10 different vegetation features and 9636 spatial instances. The vegetation distribution dataset from the Three Parallel Rivers Protected Area (TPR). It comprises 14 different vegetation features and 3902 spatial instances.
The distribution of the real datasets is shown in Figure 3. Each point represents an instance and different colors indicate different features.

Distribution of the real datasets: (a) GM; (b) TPR.
Divide a study area of size L × L into four equal sub-areas of size L/2 × L/2. Three of these sub-areas are used for generating data points, serving as data domains, while the remaining one is used for generating noise points, referred to as the noise domain. A parent point is generated at the center of each data domain (see Figure 4(a)). Around each parent point, within a buffer zone with the parent point as the center and rparent as the radius, nchild child points uniformly distributed around the parent point are generated, and then all parent points are deleted (see Figure 4(b)). Around each child point, within a buffer zone with the child point as the center and rchild as the radius, ngrandchild grandchild points of different feature types are generated, and then all child points are deleted (see Figure 4(c)). Within the noise domain, nnoise noise points of a given feature are randomly generated (see Figure 4(c)).

Synthetic dataset generator: (a) Generate parent points; (b) Generate child points; (c) Generate descendant points and noise.
Each grandchild or noise point represents a spatial instance, and each buffer zone for the parent point represents a sub-area containing LCPs. When generating synthetic data, parameters can be adjusted to generate different synthetic datasets. Here, rchild controls the distance between instances of different features, rparent and rchild together control the spatial distribution density of the instances, ngrandchild controls the number of features, and nnosie controls the prevalence of co-locations.
In this section, synthetic datasets are used to evaluate the impact of the number of spatial features on the performance of MLCPM methods. In the synthetic dataset generator, the number of spatial features corresponds to the value of ngrandchilid. To ensure consistency in the total number of instances Inum (excluding noise) and the density of the instance distribution ρ across different datasets, parameters were set as follows: L = 1200, rchilid = 25, ngrandchild ∈ [3, 8], nchild = Inum / ngrandchild, rparent = (nchild × ngrandchild) / (ρ × π), where π denotes the circumference. Regarding method parameter settings, for ML-CCHDB, MLCPM-SDF and ML methods, the neighbor distance threshold d was set to 2 × rchilid to ensure that the methods consider a reasonable distance range when obtaining neighbor relationships. The prevalence threshold min_prev was set to 0.3 for the four MLCPM methods to ensure that the detected co-locations possess a certain level of universality and representativeness. The minimum relative distribution coefficient threshold min_rdc in MLCPM-SDF was set to 0.5, and the minimum edge length of the prevalent sub-area min_Reg was set to

Influence of the number of spatial features on the runtime of MLCPM methods.
Figure 5 presents a runtime comparison of the four MLCPM methods on synthetic datasets with varying numbers of features. The figure clearly illustrates that as the number of features increases, the execution time for both the ML-CCHDB, MLCPM-SDF and ML-Miner methods exhibits a marked upward trend. This phenomenon can be attributed to the increased number of candidate co-locations resulting from the higher number of features, which significantly escalates the computational time required to verify the prevalence of these patterns and mine LCPs. However, the runtime of the ML method does not exhibit this trend, which might be because, under the premise of a constant total number of instances, the increase in the number of features, while leading to an increase in the number of candidate co-locations, results in a corresponding decrease in the number of instances per pattern. This reduction in the number of instances decreases the time required for clustering operations to identify prevalent sub-areas of LCPs. Therefore, the figure reflects that the time taken by the ML method to mine GCPs increases with the number of features, but the time to mine LCPs decreases with the increase in the number of features. These opposing factors result in no significant overall trend in the time consumption of the ML method. Furthermore, when comparing the time taken by the four MLCPM methods to mine GCPs, it can be observed that the column calculation method used by the ML-CCHDB and MLCPM-SDF methods takes less than one second in most cases and is minimally affected by the increase in the number of features. Given the limited scale of the data, the efficiency advantage of our adapted column calculation method over the original method used by MLCPM-SDF is not yet apparent. However, compared to the traditional methods used by ML-Miner and ML, the column calculation method is still several times, or even orders of magnitude, more efficient. Moreover, although the ML-CCHDB method is not as fast as MLCPM-SDF in mining LCP, it still takes significantly less time than the other two methods. These results indicate that the ML-CCHDB method has a relative advantage in terms of efficiency.
Figure 6 presents the number, precision and recall of the prevalent sub-areas of the highest size (k = ngrandchild) LCPs mined by the four MLCPM methods when dealing with datasets of different numbers of spatial features. Among these evaluation metrics, the ML-CCHDB method exhibits higher precision and recall, indicating its ability to comprehensively and correctly detect LCPs. In contrast, the ML-Miner and ML methods exhibit lower precision because they cannot effectively separate the prevalent sub-areas of LCPs in the three closely related data domains. This shortcoming is due to the ML-Miner method's approach of using a fixed percentage (90%) to remove overly long edges to identify prevalent sub-areas. However, this fixed percentage setting does not perfectly adapt to data sets with different distributions, and thus neglects some long edges that should be removed. Similarly, the ML method's strategy of removing both global and local long edges to discover prevalent sub-areas also suffers from problems of omitting long edges. The HDBSCAN clustering method used in this study effectively distinguishes closely spaced clusters without requiring additional parameters from the user, resulting in better identification of prevalent sub-areas. Furthermore, while the MLCPM method demonstrates satisfactory precision, its recall is comparatively lower. Considering the number of prevalent sub-areas, this is attributable to the MLCPM-SDF method's use of a quadtree iterative approach to mine prevalent areas of LCPs. If a pattern does not meet the prevalent sub-area constraint in the current area, the area is divided into four and mining continues. However, this simple quadratic strategy overlooks the actual data distribution, leading to areas being reduced exponentially without reaching an appropriate scale.

Evaluation of MLCPM methods with varying numbers of spatial features: (a) The number of prevalent sub-areas; (b) Precision; (c) Recall.

Influence of spatial instance distribution density on the runtime of MLCPM methods.
In this section, synthetic datasets are utilized to evaluate the impact of spatial instance distribution density on the performance of MLCPM methods. During the synthetic dataset generation process, we adjusted the parameters rparent and rchild to create datasets with varying instance distribution densities. Specifically, within each data domain, the value of rparent was randomly selected from the range [50, 80], and the value of rchild from [10, 20], in order to produce sub-areas with varying densities. Six datasets were ultimately generated and ranked according to their average density. To ensure consistency in the number of features and the total number of instances across different datasets, we set L = 300 and let ngrandchild = Fnum, nchild = Inum / 3. In the experiments, Fnum was set to 5, Inum to 180. Finally, we set d = 40, min_prev = 0.3, min_rdc = 0.5, min_Reg =

Evaluation of MLCPM methods with varying instance distribution densities: (a) The number of prevalent sub-areas; (b) Precision; (c) Recall.
Comparison of the number of participating instances, search row instances, and row instances produced by MLCPM methods.
Figure 7 illustrates the runtime of four methods on synthetic datasets with varying instance distribution densities. Table 1 enumerates the number of participating instances, search row instances, and row instances generated during the execution of the ML-CCHDB and ML algorithms. From Figure 7, it is evident that as the instance distribution density increases, the runtime of the ML-CCHDB, MLCPM-SDF, and ML-Miner methods remains relatively stable, whereas the runtime of the ML algorithm increases significantly. This is because the ML-CCHDB, MLCPM-SDF, and ML-Miner methods cluster or partition the participating instances or search row instance centroids to mine prevalent sub-area of LCPs, while the ML algorithm clusters centroids of all row instances to identify prevalent sub-area. As demonstrated in Table 1, the number of participating instances and search row instances remains relatively constant with increased density, but the number of row instances grows substantially, making the ML method more sensitive to changes in density. Additionally, the number of search row instances is generally less than the number of participating instances, indicating that clustering search row instance centroids effectively reduces the number of clustering objects. These results suggest that the methods used by the ML-CCHDB, MLCPM-SDF, and ML-Miner algorithms to discover prevalent sub-areas are more efficient and versatile.
Figure 8 illustrates the number, precision, and recall of the highest-size (k = ngrandchild) prevalent sub-areas of LCPs mined by four methods when processing datasets with varying spatial instance distribution densities. Among these evaluation metrics, the ML-CCHDB algorithm consistently demonstrates high precision and recall. The ML-Miner algorithm, similar to its performance in Section 5.2, continues to fail to identify clusters that are nearby. Both the ML and MLCPM-SDF methods are unable to identify some pre-defined prevalent sub-areas. These results indicate that the ML-CCHDB method has advantages in handling datasets with varying instance distribution densities and containing sub-areas of different densities.
In this section, synthetic datasets are utilized to evaluate the impact of the number of spatial instances on the performance of MLCPM methods. Specifically, we set the total number of instances Inum within the range of [20,000, 120,000] (including noise points), and set nnoise = int[Inum×(1-min_prev) / (4×min_prev + 1)] + 1, nchild = (Inum − nnoise) / 3, to ensure the dataset includes both GCPs and LCPs. To maintain consistent feature numbers and instance distribution density ρ across different datasets, we set L = 50,000, rchild = 30, ngrandchild = Fnum, rparent = (nchild × ngrandchild) / (ρ × π), Finally, we set Fnum = 5, ρ = 0.0001, d = 60 and min_Reg = 800. Since the running time of the ML method is more than 20,000 seconds when Inum ≥ 40,000, only the experimental results of ML-CCHDB, MLCPM-SDF and ML-Miner are shown, as shown in Figures 9 and 10.

Influence of the number of spatial instances on the runtime of MLCPM methods.

Evaluation of MLCPM methods with varying numbers of spatial instances: (a) The number of prevalent sub-areas; (b) Precision; (c) Recall.
Figure 9 illustrates the runtime of three methods across datasets with varying numbers of instances. It is evident that the column computation methods used by ML-CCHDB and MLCPM-SDF require significantly less time for mining GCPs compared to the traditional methods employed by ML-Miner. This is because, as the number of instances increases, the number of instances with neighbor relationships also rises, causing the traditional method to take more time to generate row instances. Moreover, ML-CCHDB demonstrates superior efficiency in GCP mining compared to MLCPM-SDF, indicating that the optimizations for column computation in this study are effective. Meanwhile, as shown in Figure 10, the prevalent sub-areas mined by the ML-CCHDB method still maintain a high standard.
In this section, the GM dataset is utilized to evaluate the impact of the neighbor distance threshold d and the prevalence threshold min_prev on the performance of MLCPM methods.

Influence of parameter variations on the runtime of MLCPM methods: (a) Neighbor distances threshold; (b) Prevalence threshold.
In this section, the TPR dataset is used to validate the effectiveness of MLCPM methods. During the experiment, the prevalence threshold min_prev was set to 0.3 and the neighbor distance threshold d to 1000. For the MLCPM-SDF method, the relative distribution coefficient threshold min_rdc was set to 0.4 and the minimum edge length of the prevalent sub-area min_Reg was set to
Partial results of MLCPM methods in mining GCPs and LCPs
Partial results of MLCPM methods in mining GCPs and LCPs
NPA: number of prevalent sub-areas; PImin: (local) minimum participation index; PImin: (local) maximum participation index.

Partial prevalent sub-areas of LCPs: (a) LCP({B, D, E}); (b) LCP({K, L}); (c) LCP({E, L}); (d) LCP({B, E, G, L}).
Table 2 presents the partial results of four algorithms for mining GCPs and LCPs. It can be observed that the ML-CCHDB and ML methods demonstrate consistency in pattern-level determination, as both utilize neighbor distance thresholds to identify neighbor relationships, whereas the MLCPM-SDF additionally needs to determine whether a pattern is a GCP based on the relative distribution coefficient of its instances. Furthermore, the prevalent sub-areas of LCPs identified by ML-CCHDB tend to exhibit higher participation indices in their sub-areas compared to other methods. This is because the HDBSCAN method used by ML-CCHDB tends to cluster objects with consistent density, demanding high similarity among instances within the same cluster, resulting in more concentrated mined sub-areas.
Upon further examination of the frequent region diagrams of LCPs in Figure 12, it is evident that the ML-CCHDB method is particularly effective in identifying adjacent regions with distinct boundaries or density differences. These contrasts with other methods that tend to merge these sub-areas into a single prevalent sub-area. Additionally, the quadrant method used by MLCPM-SDF results in mined rectangular sub-areas that do not precisely match the actual pattern distribution. These examples demonstrate that the HDBSCAN clustering method employed by ML-CCHDB offers significant advantages in the rationality and interpretability of identifying prevalent sub-areas, indicating its greater precision and effectiveness in handling complex data distributions.
MLCPM is an efficient data mining technique that aims to mine GCPs and LCPs simultaneously. In this study, the limitations of the existing methods are deeply analyzed and a new method, named ML-CCHDB, is proposed, which effectively identifies the participating instances of the co-location patterns by optimizing the column computation technique to further mine the prevalent co-location patterns. Comparative experiments show that the optimization strategy of column computation is superior to the original method. In addition, ML-CCHDB applies the HDBSCAN clustering algorithm to identify the prevalent sub-areas of LCPs. Comparative experiments show that ML-CCHDB performs well in terms of mining efficiency as well as the reasonableness and interpretability of the prevalent sub-areas.
Footnotes
Acknowledgments
This work was supported by the National Natural Science Foundation of China (62276227, 62266050, 62306266), the Project of Innovative Research Team of Yunnan Province (2018HC019), the Yunnan Fundamental Research Projects (202201AS070015, 202401AT070450), and the Postgraduate Research and Innovation Foundation of Yunnan University (KC-23235527, TM-23236884).
Declaration of conflicting interests
The authors declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The authors received no financial support for the research, authorship, and/or publication of this article.
