Figures
Abstract
This paper presents a network science approach to investigate a health information dataset, the Sexual Acquisition and Transmission of HIV Cooperative Agreement Program (SATHCAP), to uncover hidden relationships that can be used to suggest targeted health interventions. From the data, four key target variables are chosen: HIV status, injecting drug use, homelessness, and insurance status. These target variables are converted to a graph format using four separate graph inference techniques: graphical lasso, Meinshausen Bühlmann (MB), k-Nearest Neighbors (kNN), and correlation thresholding (CT). The graphs are then clustered using four clustering methods: Louvain, Leiden, and NBR-Clust with VAT and integrity. Promising clusters are chosen using internal evaluation measures and are visualized and analyzed to identify marker attributes and key relationships. The kNN and CT inference methods are shown to give useful results when combined with NBR-Clust clustering. Examples of cluster analysis indicate that the methodology produces results that will be relevant to the public health community.
Citation: Matta J, Singh V, Auten T, Sanjel P (2023) Inferred networks, machine learning, and health data. PLoS ONE 18(1): e0280910. https://doi.org/10.1371/journal.pone.0280910
Editor: Sabrina Gaito, Universitá degli Studi di Milano, ITALY
Received: February 26, 2022; Accepted: January 9, 2023; Published: January 23, 2023
Copyright: © 2023 Matta et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: The data are held in a stable repository called The National Addiction & HIV Data Archive Program (NAHDAP). The repository is administered by the Inter-university Consortium for Political and Social Research (ICPSR). The data are publicly available by arrangement with ICPSR. For more information about obtaining the SATHCAP data, researchers can go to this location https://www.icpsr.umich.edu/web/NAHDAP/studies/29181 and follow the link to Access Restricted Data. We are under legal agreement with ICPSR not to distribute the data, and to conduct our research in a way that protects the identities of participants, for example by reporting data in the aggregate.
Funding: The authors received no specific funding for this work.
Competing interests: The authors have declared that no competing interests exist.
Introduction
The social determinants of health [1] are the community, environmental, and societal causes of unwellness, illness, and even death among population groups with uneven access to resources such as gainful employment, insurance, healthcare, transportation, and education. Due to online medical records and advances in survey technology, there is an abundance of health information available concerning both the general public and hidden, or hard-to-find groups, such as injecting drug users (IDUs), people with HIV, and men who have sex with men (MSM). Although the problems of hidden groups are suffered disproportionately by those groups, they often extend to all parts of society, and can be lessened considerably by appropriate public health interventions. The key to the success of these interventions is understanding the data and its implications.
In this study we use data on hidden and hard-to-find groups obtained from the Sexual Acquisition and Transmission of HIV Cooperative Agreement Program (SATHCAP) [2], a multi-site survey taken in the United States in 2006-2008. This dataset is available to researchers upon application to the Inter-university Consortium for Political and Social Research (ICPSR). The survey was conducted via respondent-driven sampling (RDS) [3], a snowball sampling technique that allows a focus on HIV and its transmission within and outside the MSM community, and within and outside the community of IDUs. SATHCAP attempted to examine features that determine the speed, extent, and path of the spread of HIV. Many of these potential features are social determinants of health; in particular, the nature of partnerships and sexual relationships, methods of drug and alcohol use, availability of medical care and insurance, and living and transportation conditions.
Machine learning is an important and relevant tool for understanding medical and health datasets. To analyze the SATHCAP data, we employ a methodology that first converts it to a graph, or network, representation. This process is called graph inference. We make use of 4 different graph inference methods: k-Nearest Neighbors (kNN) [4], graphical lasso (glasso) [5], Meinshausen and Bühlmann neighborhood selection (MB) [6], and correlation thresholding (CT) [7, 8]. The kNN inference method uses geometric distances to determine the graph’s edges. Glasso and MB use a covariance matrix and create a graph based on applying variations of lasso regression to it. CT chooses edges based on how values in a correlation matrix relate to a specified threshold. There are many reasons that it is desirable to convert data to a network model via graph inference. First is that “correlation networks can be used to find clusters (modules) of interconnected nodes,” [9] which is the primary purpose of this paper. Other goals are to define significant modules, as well as to use network science tools and metrics, such as centrality and closeness, to find significant nodes. Additionally, graph inference is a good solution for large data in that it allows potentially complex relationships to be expressed simply, as the graph’s binary relationships of nodes and edges. This facilitates finding previously unseen connections between features [10, 11]. Graph inference also allows the ability to use the wide range of tools, algorithms, and software that are available from the network science community. This includes analysis and interpretation of results by visualization. The SATHCAP data are robust and lend themselves to many types of analysis. For example, the data can be subjected to standard statistical analysis [12, 13], the referral chains can be interpreted as complex networks [14], and the survey design itself can be used to learn more about RDS [15]. SATHCAP is used here because of previous successful application to a similar dataset [16]. Analysis of this new dataset is one of the novelties of the current work.
Clustering, or community detection, can be used to find similarities among groups identified by shared attributes. In this paper, we use clustering to differentiate health information based on social determinants such as drug use, homelessness, and access to insurance, as well as to determine attributes leading to HIV positive diagnosis. We cluster graphs inferred from the SATHCAP data with a goal of uncovering hidden relationships for use in creating public health interventions. From a machine learning perspective, our approach is completely unsupervised. Graphs are created and clustered, and the most promising clusterings are chosen based on a suite of evaluation measures. We visualize and analyze the clusters and their relationships to each other, and finally comment on the public health implications of the results.
This paper is an extension of Inferred Networks and the Social Determinants of Health [16]. The previous paper was a proof of concept for a methodology of graph inference and analysis that showed some success with the glasso and MB inference methods, as well as with the NBR-Clust clustering framework [17]. The current paper is an attempt to show the generalization of those results by using a different, though related dataset, and by showing results for an additional graph inference method. We are especially interested in whether additional graph inference methods can produce good results. Here we test the methodology using a much larger dataset (643 subjects in the previous dataset vs 4685 here). The previous paper analyzed results based on 3 target variables: self-esteem, HIV, and alcohol use. Here we also do HIV analysis for comparison and expand the paper by testing 3 additional target features: injecting drug use, homelessness, and insurance status. We continue to use the glasso and MB inference methods that were successful in the previous study. We compare results with graphs inferred using the classical kNN method and expand the work by testing a new method, correlation thresholding (CT), that is popular in the biological community [9] because of speed and positive results. We find that CT gives promising results with the SATHCAP data, as does kNN. As in the previous paper, we use 4 clustering methods and 5 cluster evaluation measures. We find that the NBR-Clust framework is able to discover interesting and useful clusters, however the low-complexity Leiden and Louvain clustering methods also work well.
Related work
The need to examine large datasets, particularly with biological and DNA data, has led to the creation of a variety of graph inference techniques. The four graph inference methods employed in this paper have all seen use with medical data applications. The MB inference method has been used in discovering causal relationships between gene regulatory networks [18] and in modeling microbial ecological networks [19]. Glasso [5] has been used extensively in the medical field, for diverse applications such as estimating the network structure of lung cancer gene sets [20], diagnosing endometriosis in teenage girls [21], and investigating the relationship between anxiety and depression symptoms [22]. Glasso has also been used with network analysis to identify relationships between suicidal individuals and suicide attempts [23]. KNN has seen wide use as a network inference method. It has been used with community detection to investigate the effects of mechanical stress on knee joints [24], to analyze the phenotypic and functional diversity in cells of probands with acute myeloid leukemia [25], and to determine conditions leading to death after stroke [26]. CT inference is very similar to weighted gene co-expression network analysis [9], which has been used widely in the biological community. Examples include finding genetic markers for breast cancer [27] and powdery mildew disease in grapes [28].
There exist a large number of network analysis tools and clustering techniques. Clustering and community detection have seen success in the past with medical and biological data. Examples include clustering patent phenotype data in correlation to age and sex [29], clustering based on data obtained via radiothermometric examination which discovered two categories of patients with tumors from oncological diseases [30], and clustering based on various dimensions of multi-morbidity diseases [31]. In Bryant et al., the authors create a network of PTSD symptoms which are used to determine associations between them [32]. In their specific approach, two symptom networks are compared based on patient assessment, with one assessment taking place during hospital admission and the second taking place 12 months later. As in the current study, they utilize glasso as a graph inference technique to determine the correlation between the nodes (symptoms) of their networks. Our study differs in that it clusters probands as opposed to symptoms.
Network analysis and community detection in use with questionnaires can be seen in Puga et al., where the authors identify phenotype communities for tinnitus patients [33]. They form a multi-layered network from multiple questionnaires, with each questionnaire representing a layer in the network. They look at the extent to which tinnitus patients can be represented with this type of network and discern how layers affect the prediction of treatment outcomes. Their community detection is done on each layer individually using the Leiden algorithm, which is one of the four algorithms used in our study. For future work, the authors suggests that evaluating alternative community detection algorithms could be valuable. Although our approach is very different, we attempt to study the differences in results from varying clustering algorithms.
Other machine learning techniques have seen use in regards to both network and clustering analysis. In Hu et al., complex network and machine learning methods are used in the analysis of insomnia symptoms and symptom relationships [34]. The authors use node embedding on their network and construct a symptom vocabulary in a vector format. They then divide the symptoms into communities using spectral clustering and identify core symptoms that always appear in the diagnosis of insomnia. Spectral clustering is a classical machine learning technique, although its high time complexity limits its use.
In each of these works, the datasets are not only clustered, but the clusters are examined to gain insight into the hidden relationships involved. This paper applies machine learning techniques to the SATHCAP dataset in a way that considers the practicality, complexity, and resulting public health relevance of the approaches.
Methods
In this work, feature selection, graph inference methods, clustering, and cluster evaluation are used to analyze the SATHCAP dataset. Specifically, our dataset is converted into multiple network representations and clustered, with the best of these resulting clusterings being analysed for both similar and distinctive features. This work was approved by the Southern Illinois University Edwardsville IRB, and written consent was obtained. The framework of this process is visualized in Fig 1, and each step is described below.
Data preprocessing
Respondent-driven sampling and the SATHCAP dataset.
Our study makes use of SATHCAP, a dataset related to the transmission of HIV via sexual activity and drug use, collected using RDS [3]. SATHCAP recruitment started with seed nodes chosen by researchers. As the survey continued, each participant was given coupons that could be used to recruit others into the study, provided that they were members of a target group likely to engage in HIV-transmitting behaviors. It has been shown that, if certain conditions are met, and enough recruitment waves occur, RDS data are statistically independent of the initial seed nodes. In particular, it is stated that equilibrium (i.e., when over-sampling or under-sampling due to recruiting level out) is reached with a tolerance of 2% within approximately six recruitment waves [3]. As an example, in the initial SATHCAP surveying of Los Angeles, 12 seeds led to 576 participants, which gives a smallest possible chain length (if all participants recruit 3 others) of log3(576) = 5.785, approximately meeting this requirement [35]. Because of this chain length, we assume that the SATHCAP data are a statistically independent sample. Some of the other conditions required for a successful RDS survey are that respondents are likely to know other people in the hard-to-reach population (and are able to count how many they know), that respondents recruit others uniformly at random from their network of friends, and that a sample’s recruitment probability has an inverse relationship with the size of the sample’s friendship base, implying that subjects with more social connections are recruited earlier in the process.
The data collection involved three US cities: Chicago, IL; Los Angeles, CA; and Raleigh, NC. Across all sites, the survey included 4,685 participants who were asked nearly 1500 questions. The answers to the questions are referred to as features, attributes, or variables. For example, one variable is transportation status, which refers to the question “What is your primary form of transportation?” Possible values for this variable are car, bus, and walking. The overall purpose of SATHCAP is to research behavioral, biological, and environmental determinants in the spread of HIV and other STDs among both drug users and non drug-users [36]. For this reason, most of these questions were related to the participant’s sexual and drug habits, although there are many other questions such as the participant’s education level, alcohol use, and living situation. The large number of variables collected for this dataset make it applicable for studying hidden relationships involving a variety of public health issues.
Data curation.
The first step in data curation was to remove any variables that would interfere with feature selection. This includes metadata, such as participants’ coupon keys, along with other variables, such the location where the participant was interviewed. It should be noted that, because of the large number of questions on the SATHCAP survey, coupled with their private nature, participants were given the freedom to skip questions. In practical terms, this means there are a large number of features with low participation, with 1352 of the 1493 total features missing 40% to 99% of their values. After removing irrelevant features, continuous variables, and features with a significant amount of missing data, we were left with a total of 48 features. 12 of these 48 features were multi-valued and converted to binary variables using one-hot encoding. As an example of one-hot encoding, participant age is changed from a variable with a wide range of answers to three binary variables; Age: between 18 and 30, Age: between 31 and 45, and Age: 46 or greater. After one-hot encoding, the total number of features increased to 98. The remaining low number of answers marked as skipped or anything other than yes or no were converted to the answer no. As in [37], the features were pruned by applying a pairwise correlation filter using Pearson coefficient. The features with a correlation greater than 80% were discarded. This step was done to reduce the risk of multicollinearity between the independent variables during the logistic regression feature selection [38] described in the following section.
Feature selection.
Following the pre-processing, feature selection using logistic regression was run with the purpose of selecting the most relevant of our features with respect to each target variable: HIV status, injecting drug use, homelessness, and insurance status. Logistic regression, which uses a linear model for binary classification, has been shown to perform well on a variety of medical data [37, 39]. The step forward algorithm was used as the wrapper method. Step forward is a greedy algorithm which works by setting the best performing classifier as the base feature with which all other features are combined as a possible set. The features that perform the best in this combination are added to the set, and this process is repeated until the feature set reaches the desired size. ROC area under the curve (AUC) was used as our performance evaluation criteria, and the performance of the algorithm was evaluated on training and test sets for each target feature. The final result of our feature selection process reduced the number of variables from 98 to the best feature sets of size 15, 20, and 64 for each of the four examined attributes.The exact variables and the feature sets they are contained in are shown in Table 1. Logistic regression and the step forward wrapper were implemented using the Scikit-Learn [40] and Mlextend [41] Python packages, respectively.
Graph inference
A total of four inference methods were used to convert the SATHCAP data into graphical formats. The first inference method is the classic k-Nearest Neighbors (kNN). In kNN, each node is considered to be a vector of features, and the distance (in our case, Euclidean) is calculated between each pair of node vectors. For each node, edges are then placed between the node and its k nearest neighbors. The edges are undirected, although a nearest-neighbor relationship may not be symmetrical. This implies that a kNN graph has an average degree close to, but not necessarily exactly equal to, k. Because of evidence in favor of use of minimum connectivity graphs [42], all kNN graphs were constructed using the minimum k that resulted in connectivity. Minimum connectivity graphs can have smaller communities of dense edge groups along with few inter-cluster links. Depending on the clustering technique, this structure can be expected to produce a large number of clusters. Given that the goal is to find clusters that illuminate the importance of a small number of variables, this approach serves our purposes well.
The next two inference methods use a covariance matrix and create a graph based on variations of lasso regression. A great deal of work has been done on finding efficient ways to perform this lasso regression. Meinshausen and Bühlmann [6] proposed a probabilistic neighborhood selection method, which estimates a sparse graph by fitting a lasso regression model to each variable, estimating the conditional independence restrictions separately for each node in the graph. The results for these nodes are then combined, creating the structure of the graph. This neighborhood selection technique is proved to have a lower, approximately quadratic, computational complexity than standard covariance selection in the case of sparse high-dimensional graphs [6]. The resulting graph inference method is called MB and can be used with large datasets.
The third graph inference method is the graphical lasso (glasso), proposed by Friedman et al. [5]. Glasso is a simple algorithm for quick estimation of a sparse inverse covariance matrix using a lasso penalty. It works by fitting a modified lasso regression to each variable, solving the lasso problem for each variable using coordinate descent [43]. Both glasso and MB inference methods were chosen because of previous empirical evidence showing good results for methods that utilize lasso regression [16].
The final inference method used is correlation thresholding graph estimation (CT) [7]. CT creates a graph by applying a threshold to values in a correlation matrix. An edge is placed depending on whether the correlation value is greater or less than the value of the threshold. This is similar to constructing a geometric graph, where nodes within a certain distance are linked, and the correlation value serves as a distance measure. This method is desirable because of its comparatively low time complexity.
The MB, glasso, and CT networks were created using the High-Dimensional Undirected Graph Estimation (huge) R package [7]. The kNN networks were created using the CCCD R package [44]. All graphs were created with the minimum number of edges possible, as all of these inference methods assume a sparse network. Using these graphs with clustering methods based on density of edges may lead to a large number of clusters. It is possible that fewer clusters could give better results. One way to obtain fewer clusters would be to join adjacent clusters until a desired number of clusters is obtained. We have avoided this, as the optimal number of clusters is not known, and all clustering methods employed here determine the number of clusters as part of creating a partition.
Clustering
Four clustering methods are used in our study: Louvain [45], Leiden [46], and the NBR-Clust Framework [17] with VAT [47, 48], and integrity [49]. Louvain is a popular and fast algorithm based on maximizing modularity i.e., the strength of division between clusters. Leiden is faster than and intended to be a direct improvement to Louvain by “converging to a partition in which all subsets of all communities are locally optimal.” Leiden also yields communities that are guaranteed to be connected [46]. The NBR-Clust framework [50] uses graph resilience measures to determine attack sets of nodes which are then removed from the graph to create clusters. Here we have used vertex attack tolerance (VAT) and integrity as resilience measures. Since VAT and integrity produce different attack sets, they may result in different clusterings. With VAT, the attack set S ⊂ V is selected to minimize the equation
(1)
and integrity is selected to minimize the equation
(2)
where V is the set of vertices, S is the attack set, and Cmax is the size of the remaining largest connected component.
While some of the clustering methods used show more promise than others, e.g., Leiden over Louvain, there is merit in utilizing multiple methods as actual results can vary between different datasets and the graphical representation of those datasets. With all methods, the number of clusters obtained is decided as part of the clustering algorithm.
Cluster evaluation
This paper is an extension of [16], in which the methodology presented in [42] was followed. We continue to employ this methodology, as the purpose of this paper is to examine its use when mining larger, similar medical data sets, with networks inferred using different algorithms. The SATHCAP dataset is good for this examination, as it includes variables specifically for HIV as well as other attributes present in the dataset used in [16].
We quantified the goodness of our clustering results using a total of 5 internal evaluation measures. The purpose of clustering evaluation is to measure and quantify desirable clustering properties, such as maximal separation between clusters combined with minimal separation within a cluster. The evaluation methods used are as follows: Davies-Bouldin, Silhouette, Calinski-Harabasz, Baker-Hubert, and Hubert-Levine. All clustering evaluation was done using the ClusterSim R package [51]. With Davies-Bouldin and Hubert-Levine, a lower score indicates a better clustering. A higher score indicates a better clustering for the other three methods. Each clustering result was given a number of points, with clusterings ranked higher based on the number of best scores received for each evaluation measurement. An example of clustering scores is shown in Table 2. These are scores for the CT graph for HIV clustered using Louvain and NBR-Clust with integrity. As highlighted in yellow, the CT graph created with 64 attributes and clustered by integrity scores best on Davies-Bouldin, Silhouette and Hubert-Levine. It receives 3 points. The Louvain graph created with 20 attributes scores best with Calinski-Harabas and Baker-Hubert, receiving 2 points. In this case, with three of the five best scores, the CT-integrity-64 is the HIV clustering chosen for further analysis. Scores were calculated for each target across the four clustering algorithms and the four inference methods. As such, the best scores could be widely distributed, and ties were possible. Ties were broken by directly comparing the scores of the tied clusters and giving a point to whichever had the better of each individual score. The tie was broken in favor of the cluster with the most points.
Best scores are highlighted in yellow.
Results
Using the evaluation methodology presented above, the top clustering result for each target variable was chosen. For HIV, this was the CT graph with 64 variables clustered with NBR-Clust with integrity. For injected drugs, the top result was the kNN 15-variable graph clustered with integrity. The kNN 15-variable graph clustered with Leiden scored best for homelessness, and the kNN 15-variable graph clustered with Louvain scored best for insurance status. We focus on these clusterings for further visualization and analysis. Both here and in [16], the NBR-Clust method produced some of the best results. It is stated in [17] that node-removal clustering methods such as NBR-Clust are effective at identifying noise, creating cleaner clusters than other methods. As medical data are inherently noisy, this may be the reason for NBR-Clust’s good performance. The composition of variables for each cluster for the top clusterings is shown in Table 3. The label and label color for each column corresponds to a cluster in the network’s visualization. The numbers in the table represent the percentages of cluster members that display that variable. In the interest of brevity, we are not able to examine all the clusters produced, although a practitioner conducting a similar study would want to. We have tried to choose clusters that represent the most interesting aspects of the results. This includes clusters that are close in attributes (and close in the graphical representation), as well as disjoint and outlier clusters. We note that many of the clusters chosen are inherently similar, and the intent is to show the characteristics that make these seemingly related populations distinct from one another.
Clusters are coded by their colors on the corresponding figures.
HIV status
Results for individuals who have tested positive for HIV consist of two clusters which are visualized in Fig 2. The majority of members are found in cluster 0, which is 62% black / African American versus 31% in cluster 1. Cluster 1 is notable because of its high percentage of Hispanic members at 78.1%. Members of cluster 0 struggle more with drugs than cluster 1, with 68.3% having used crack, 31.9% having used heroin by itself, and 58.4% having used powder cocaine. This is contrasted with cluster 1, where 6.3% have used crack, 0% have used heroin by itself, and 31.3% have used powder cocaine. 72.8% of cluster 0’s members have been to prison or jail and 77.7% have been to a self help group (such as A.A, N.A., or C.A.). Cluster 0’s members also struggle more with alcohol than cluster 1, with 31.7% having their first drink and 21.5% first getting drunk at age 0–12, as opposed to 3.1% having their first drink and 6.3% first getting drunk at age 0–12 for cluster 1. Alcohol and drug use can be seen affecting the living conditions of members in cluster 0, with 22.5% currently living in a shelter, boarding house, or halfway house. It is interesting that in [16] HIV status is differentiated mainly by the prior occurrence of STDs. The SATHCAP dataset is highly focused on drug use, which is evident in this clustering. However, even here STDs are important, with cluster 1 experiencing syphilis at approximately 3 times the rate of cluster 0.
Injected drug use
Results for individuals who have injected drugs are visualized in Fig 3, with the graph containing 57 total clusters. This large number of clusters is expected, given the low connectivity and overall lack of dense areas in this graph. However, the number of clusters is chosen by the clustering algorithm and not controlled by us. Small clusters of less than 10 nodes are not highlighted or described, both because they often mimic other clusters they are close to, and also to protect the individual identities of participants. Out of the 57 total clusters, 6 are highlighted in the visualization and are detailed in Table 3. It can be seen in the visualization that four of the five clusters are grouped together. We chose these clusters to highlight because we believe it is interesting to see the interplay of different features, and how different features become important as one walks through close clusters.
Cluster 40 is 82.6% middle age and includes prostitution, with 43.4% having gotten money or goods in exchange for sex, along with 91.3% having been to prison or jail. 21.7% are currently living in a shelter, boarding house, or halfway house, which shows that a portion of this cluster’s living conditions are being negatively affected by their lifestyle. Cluster 44 is similar to cluster 40 in that it is heavily middle age (93.7%), and 100% of its members have been to prison or jail. This cluster is made up entirely of black / African American members, and 93.8% of its members have been homeless within the past year. 43.8% have graduated high school or have a GED, and an additional 8.3% have finished 4 years of college or university, making this cluster fairly educated.
Cluster 46 is an older group, with 100% being age 46+. It shares many properties with cluster 44: 100% are black / African American, have been homeless within the past year, and have been to prison or jail. This cluster has a high unemployment rate, with 71% of its members being unemployed. Cluster 24 is another older cluster, with 100% of its members being age 46+. Like clusters 44 and 46, 100% of this cluster’s members are black / African American and have been to prison or jail. 41.7% currently reside in an apartment, condo, house they rent or own, or in a student dormitory, which shows decent living conditions. It is interesting to note the overall closeness of clusters 40, 44, 46, and 24 in the visualization. The clusters are linked by common attributes, such as having been to jail, and having a high proportion of African Americans. The clusters are separated by attributes such as age (though notice the closeness of matching age groups in clusters 40 and 44, as well as the closeness of age in clusters 46 and 24). These clusters are differentiated by living situation, education, and employment status.
Cluster 17 is separated from the previous 4 clusters and includes members who are struggling with both homelessness and alcoholism. 100% have been homeless in the past year, with 20% currently living in a squat, abandoned building, or on the street. 33% currently live in a shelter, boarding house, or halfway house. 66.7% first got drunk at the age of 0–12 and 40% have had 20+ drinks in the past month. Cluster 42 is an outlier. Here we see a very specific group. Specifically, African Americans who have used heroin. Unlike other clusters who have used many different drugs, they have mostly not used other drugs such as marijuana, opiates or sedatives.
Some trends can be seen across all clusters for injected drug users. A large number of injected drug users have been to prison or jail. Many have also been to formal treatment for their drug use.
Homelessness
Results for individuals who have been homeless within the past year are visualized in Fig 4, with the graph containing 23 total clusters. As was the case with injected drugs, we can see outliers as a result of the graph’s low-connectivity. Out of 23 total clusters, 5 are highlighted in the visualization and detailed in Table 3. These 5 clusters were chosen because they are large in size and clearly show differentiating attributes, which for homelessness appear to be sex and prostitution, struggles with alcohol, and struggles with drug use. Cluster 8 is 100% middle age and is distinct for the large amount of sex and prostitution seen. 45% have had 10 or more sexual partners in the past 6 months, and 75.7% have gotten money or goods in exchange for sex. In addition, this cluster is less educated, with 38.7% not finishing high school. A majority (82.9%) have been to prison or jail.
Cluster 3 is dominated by members who have struggled with alcohol. 31.2% have had 20 or more drinks in the past month. 48.9% had their first drink between age 0 to 12 and 60.2% first got drunk between age 12–18. 90.2% have been to self help groups. This cluster is more educated than others, with 41.3% of its members having better than a high school education. Cluster 4 is another cluster of individuals struggling with alcohol. Note the closeness of this cluster to cluster 3 in the visualization, and the overlap between the two clusters. Like cluster 3, this cluster has an older demographic, with 64.4% of its members being age 46 or older. 89.4% have been to self help groups, and 59.1% have had difficulty getting health care due to alcohol or drug use. This cluster differs from cluster 3 in that, with 59.1% having had only 0 to 9 drinks in the past month, many of the members of this cluster are drinking less.
Cluster 11 contains members who have struggled with drug use. 30.4% have used methamphetamine, 83.7% have used heroin by itself, and 92.4% have used crack. In addition, 54.4% have used opiates without a prescription and 48.9% have used sedatives without a prescription. High drug use can also be seen in cluster 17, with 95.8% having used methamphetamine, 85.1% having used heroin by itself, and 82.9% having used crack. 68% have used opiates without a prescription and 61.7% have used sedatives without a prescription. While this cluster shares many attributes with cluster 11, it is differentiated in that it is predominantly older, white members, with 51.1% being white and 72.3% being 46 or more years old.
Homelessness has some common trends seen across all 23 clusters. Like the previous injected drug use clustering, a large number of homeless individuals have been to prison or jail in the past and to self help groups or formal treatment programs for drug or alcohol use. In addition, many are unemployed, but not disabled or unable to work.
Health insurance
Results for individuals with health insurance of any kind are visualized in Fig 5, with the graph containing 31 total clusters. Here, the outlying clusters resulting from the low-connectivity are more apparent than the previous graphs, with many clusters being isolated in the visualization. Out of the 31 total clusters, 6 are highlighted. The visualization shows that cluster 3 dominates the center of the graph, and most other clusters are outliers. Cluster 3 is a cluster of older members who have had sex at a young age. 34.7% have had 6–10 sexual partners in the past month, and 89.8% have had sex in exchange for money or goods. 53.4% are disabled or unable to work.
The remaining clusters are visualized as outliers. Interestingly, the remaining clusters do not continue the themes of sex at young age, prostitution and inability to work that are prominent in cluster 3. Cluster 2 is a young cluster that struggles with drug use. 74% of its members are age 18–30. 100% have use marijuana, 100% have used opiates without a prescription, and 87% have used powdered cocaine. Cluster 12 is notable mainly because none of its members are older, and none have been recently homeless. Cluster 16 is just the opposite, with more middle-age members, all of whom have recently been homeless. Cluster 20 is an older cluster, with 100% of its members being age 46+. 100% have been to prison or jail, and 44% have better than a high school education. Cluster 26 is between and mixes the results of clusters 12 and 16, with 49% homeless within the last year. This cluster is differentiated because of its high rate (30%) of HIV positive members.
Discussion
We first discuss the clinical and public health significance of the results. For HIV, the presence of 2 clusters has clear implications for outreach efforts. Subjects in the predominantly African American cluster struggle with drug use, which is known to be a method of transmission for HIV [52]. They have disproportionately been to prison or jail, and many have been to a self-help group, suggesting that those could be effective venues for HIV outreach [53, 54]. They also struggle with drinking, indicating outreach may be possible at places where alcohol is served [55]. The other cluster is dominated by Hispanic members. This group does not struggle with drugs or alcohol to a large extent, and many have not been to prison or a self help group. They will have to be reached by other means, such as through family and social connections [56].
With respect to injected drug use, the potential for outreach reflected in one cluster’s combination of prostitution and prison has been a topic of research [57]. The combination of homelessness and injected drug use reflected in three clusters has also been studied [57], particularly in young MSM communities [58]. The final injected drug use cluster was characterized by troubles with alcohol, and this relationship has been studied widely [59, 60]. Each of these chosen clusters are made up mostly of older individuals, showing that intervention targeting areas other than young communities, particularly those dealing with homelessness, is important for reaching these groups.
Many of our results concerning homelessness are reflected in the literature. One of our clusters paired homelessness with sex workers [61], while two paired homelessness with the use of methamphetamine [62], heroin, or opiates [63]. Two other clusters were particularly affected by alcoholism, with one predominately recovering from alcohol use [64], while the other had over 20 alcoholic drinks in the last month [65]. Most of the individuals in these two clusters have been to self help group meetings such as Alcoholics Anonymous, showing that some participants benefit greatly from such treatment while others may require alternatives. The problem of homelessness impacts many areas of society and would benefit from further, more timely study, such as related to the problem of assuring the homeless receive COVID-19 vaccinations [66].
The last target variable was for individuals with some form of health insurance. One cluster identified subjects with HIV. Possession of insurance by those with HIV has been connected with lower viral rates and a smaller incidence of premature death [67]. A recent study found that, despite new government insurance options, “the USA trails other high-income countries in key HIV-specific metrics, including rates of viral suppression” [68]. A second cluster was distinguished by sex workers with many partners. Interventions like PrEP, which is expensive but covered by insurance [69], would be of interest to this group.
While the results obtained are relevant to public health, we also consider the network science implications of this work. In [16] the most successful graph inference methods were MB and glasso, both of which use lasso regression; however in [26] the kNN graph was found to be most useful. In the current work, kNN produced 3 of the 4 final graphs. KNN is a simple method with relatively low time complexity: it must compute distance between all pairs of nodes, which can be done in O(n2) time. Unlike regression-based methods, the time complexity is not dependent on the number of features. KNN is a versatile method in that its calculation of distance can be done in any number of ways. We used Euclidean distance, but cosine similarity, Manhattan distance, and other variations are possible. The correlation matrix used with CT is, in effect, also a distance matrix. The level of correlation can be thought of as a distance, with more correlated variables being closer to each other. The correlation thresholding creates something more like a geometric graph, choosing all neighbors within a given distance, as opposed to the k nearest. Interestingly, a correlation thresholding geometric graph was found to produce results superior to kNN in [28]. In the current work, CT was one of the most useful graphs, producing a successful clustering for HIV.
It is a well-known fact that feature selection produces superior results in clustering [37] by removing lower-performing features and helping to overcome the curse of dimensionality. That result is confirmed here. Three of the 4 top graphs were created using only 15 features.
Last, the clustering method results were mixed. The NBR-Clust framework was shown to produce useful clusters in both [16, 26]. That result has continued here, where NBR-Clust with integrity was responsible for 2 of the 4 top results. Computing integrity has potentially high time complexity. The process was sped up using a multi-processor approximation [70]. The purposefully low-complexity Leiden and Louvain algorithms also performed well, and were each responsible for one of the 4 top clusterings.
The design of the current study is subject to limitations with respect to both the methodology involved and the interpretation of its results. The SATHCAP survey was conducted over a decade before this study, and during that time HIV, drug use, homelessness, and insurance are problems that have been examined quite intensely. Knowing this, it is difficult to find new and unexpected communities, even with successful results. In addition, the world is quite remarkably different. For example, PrEP medications now help control the spread of HIV, which has changed behavior in ways not foreseen by the SATHCAP survey. In the United States, the purchasing of insurance has been made much easier (and in some cases required) by new laws.
A limitation of the methodology is that it is not able to determine an overall best clustering method, just the best given a particular set of clusters. The structure of most of our graphs meant that we ended up with what seems like a large number of clusters. For researchers looking for completely feature-disjoint clusters, it may be better to set an upper limit on their quantity. This is easily done with all the clustering methods. Last, our paper uses step-wise feature selection with logistic regression because of success in previous research. There are many feature selection methods available in the literature that may give better results and would be worth testing as future work.
Conclusion
This paper presented a framework for applying graph inference techniques and clustering on health and medical data. We used the SATHCAP survey, which is typical of many medical datasets, suggesting that the methodology can be generalized to other datasets as well. The size of our data varied, ranging from 416 positive observations with the variable HIV to 1,982 positive observations with the variable homeless. Both kNN and correlation thresholding created graphs that gave relevant results, even when the target attributes were outside the original scope of the survey. NBR-Clust with integrity proved to be the most effective method for initial exploratory clustering, making up 2 of our 4 top partitions. In addition to finding associations that are reflected in the literature, our analysis demonstrated the usefulness of visualization of graph-based results. By identifying meaningful attributes associated with clustered groups, our methodology provided a basis for targeted intervention to help prevent HIV, to improve the lives of marginalized groups like IDUs and the homeless, and to show the importance of insurance in the mitigation of various health challenges.
References
- 1.
Organization WH, et al. Social determinants of health. WHO Regional Office for South-East Asia; 2008.
- 2.
Iguchi M, Berry S, Ober A, Fain T, Heckathorn D, Gorbach P, et al. Sexual Acquisition and Transmission of HIV Cooperative Agreement Program (SATHCAP), 2006-2008 [United States] Restricted Use Files; 2010.
- 3. Heckathorn DD. Respondent-driven sampling: a new approach to the study of hidden populations. Social problems. 1997;44(2):174–199.
- 4. Cover T, Hart P. Nearest neighbor pattern classification. IEEE transactions on information theory. 1967;13(1):21–27.
- 5. Friedman J, Hastie T, Tibshirani R. Sparse inverse covariance estimation with the graphical lasso. Biostatistics. 2008;9(3):432–441. pmid:18079126
- 6. Meinshausen N, Bühlmann P. High-dimensional graphs and variable selection with the lasso. The annals of statistics. 2006;34(3):1436–1462.
- 7. Zhao T, Liu H, Roeder K, Lafferty J, Wasserman L. The huge package for high-dimensional undirected graph estimation in R. The Journal of Machine Learning Research. 2012;13(1):1059–1062. pmid:26834510
- 8.
Friedman J, Hastie T, Tibshirani R. Applications of the lasso and grouped lasso to the estimation of sparse graphical models. Technical report, Stanford University; 2010.
- 9. Langfelder P, Horvath S. WGCNA: an R package for weighted correlation network analysis. BMC bioinformatics. 2008;9(1):1–13.
- 10. Brugere I, Gallagher B, Berger-Wolf TY. Network structure inference, a survey: Motivations, methods, and applications. ACM Computing Surveys (CSUR). 2018;51(2):1–39.
- 11. Liu Y, Safavi T, Dighe A, Koutra D. Graph summarization methods and applications: A survey. ACM Computing Surveys (CSUR). 2018;51(3):1–34.
- 12. Del Pino HE, Harawa NT, Liao D, Moore AA, Karlamangla AS. Age and age discordance associations with condomless sex among men who have sex with men. AIDS and behavior. 2018;22(2):649–657. pmid:28144790
- 13. Murphy RD, Gorbach PM, Weiss RE, Hucks-Ortiz C, Shoptaw SJ. Seroadaptation in a sample of very poor Los Angeles area men who have sex with men. AIDS and Behavior. 2013;17(5):1862–1872. pmid:22644067
- 14. Grubb J, Lopez D, Mohan B, Matta J. Network centrality for the identification of biomarkers in respondent-driven sampling datasets. Plos one. 2021;16(8):e0256601. pmid:34428228
- 15. Barash VD, Cameron CJ, Spiller MW, Heckathorn DD. Respondent-driven sampling-testing assumptions: Sampling with replacement. Journal of official Statistics. 2016;32(1):29.
- 16.
Sanjel P, Matta J. Inferred Networks and the Social Determinants of Health. In: International Conference on Complex Networks and Their Applications. Springer; 2021. p. 703–715.
- 17. Matta J, Obafemi-Ajayi T, Borwey J, Sinha K, Wunsch D, Ercal G. Node-based resilience measure clustering with applications to noisy and overlapping communities in complex networks. Applied Sciences. 2018;8(8):1307.
- 18. Han SW, Chen G, Cheon MS, Zhong H. Estimation of directed acyclic graphs through two-stage adaptive lasso for gene network inference. Journal of the American Statistical Association. 2016;111(515):1004–1019. pmid:28239216
- 19. Kurtz ZD, Müller CL, Miraldi ER, Littman DR, Blaser MJ, Bonneau RA. Sparse and compositionally robust inference of microbial ecological networks. PLoS computational biology. 2015;11(5):e1004226. pmid:25950956
- 20. Huang YJ, Lu TP, Hsiao CK. Application of graphical lasso in estimating network structure in gene set. Annals of Translational Medicine. 2020;8(23). pmid:33437755
- 21. Wang J, Westveld AH, Welsh A, Parker M, Loong B. Analysis of survey on menstrual disorder among teenagers using Gaussian copula model with graphical lasso prior. Plos one. 2021;16(3):e0248340. pmid:33735289
- 22. França AB, Gordon AL, Samra R, Rodolpho Duarte ES, Jacinto AF. Symptoms of mood disorders in family carers of older people with dementia who experience caregiver burden: a network approach. Age and ageing. 2020;49(4):628–633. pmid:32091573
- 23. Kim B, Kim Y, Park CHK, Rhee SJ, Kim YS, Leventhal BL, et al. Identifying the medical lethality of suicide attempts using network analysis and deep learning: nationwide study. JMIR medical informatics. 2020;8(7):e14500. pmid:32673253
- 24. Jeong HK, Pouyan MB, Whittingslow DC, Ganti V, Inan OT. Quantifying the effects of increasing mechanical stress on knee acoustical emissions using unsupervised graph mining. IEEE Transactions on Neural Systems and Rehabilitation Engineering. 2018;26(3):594–601. pmid:29522403
- 25. Levine JH, Simonds EF, Bendall SC, Davis KL, El-ad DA, Tadmor MD, et al. Data-driven phenotypic dissection of AML reveals progenitor-like cells that correlate with prognosis. Cell. 2015;162(1):184–197. pmid:26095251
- 26. Kramer J, Boone L, Clifford T, Bruce J, Matta J. Analysis of Medical Data Using Community Detection on Inferred Networks. IEEE Journal of Biomedical and Health Informatics. 2020;24(11):3136–3143. pmid:32749973
- 27. Jia R, Zhao H, Jia M. Identification of co-expression modules and potential biomarkers of breast cancer by WGCNA. Gene. 2020;750:144757. pmid:32387385
- 28.
Dale J, Matta J, Howard S, Ercal G, Qiu W, Obafemi-Ajayi T. Analysis of grapevine gene expression data using node-based resilience clustering. In: 2018 IEEE Conference on Computational Intelligence in Bioinformatics and Computational Biology (CIBCB). IEEE; 2018. p. 1–8.
- 29. Alhasoun F, Aleissa F, Alhazzani M, Moyano LG, Pinhanez C, González MC. Age density patterns in patients medical conditions: A clustering approach. PLoS computational biology. 2018;14(6):e1006115. pmid:29944648
- 30.
Polyakov M. Cluster Analysis of the Results of Numerical Simulation of Thermometric Data. In: 2021 International Conference on Information Technology and Nanotechnology (ITNT). IEEE; 2021. p. 1–4.
- 31.
Marzouki F, Bouattane O. Multi-morbidity Analysis using Community Detection Approach: a Comparative study. In: 2020 1st International Conference on Innovative Research in Applied Science, Engineering and Technology (IRASET). IEEE; 2020. p. 1–6.
- 32. Bryant RA, Creamer M, O’Donnell M, Forbes D, McFarlane AC, Silove D, et al. Acute and chronic posttraumatic stress symptoms in the emergence of posttraumatic stress disorder: A network analysis. JAMA psychiatry. 2017;74(2):135–142. pmid:28002832
- 33.
Puga C, Niemann U, Unnikrishnan V, Schleicher M, Schlee W, Spiliopoulou M. Discovery of Patient Phenotypes through Multi-layer Network Analysis on the Example of Tinnitus. In: 2021 IEEE 8th International Conference on Data Science and Advanced Analytics (DSAA). IEEE; 2021. p. 1–10.
- 34. Hu F, Li L, Huang X, Yan X, Huang P, et al. Symptom distribution regularity of insomnia: network and spectral clustering analysis. JMIR medical informatics. 2020;8(4):e16749. pmid:32297869
- 35. King WD, Larkins S, Hucks-Ortiz C, Wang PC, Gorbach PM, Veniegas R, et al. Factors associated with HIV viral load in a respondent driven sample in Los Angeles. AIDS and Behavior. 2009;13(1):145–153. pmid:18064555
- 36. Compton W, Normand J, Lambert E. Sexual acquisition and transmission of HIV cooperative agreement program (SATHCAP), July 2009. Journal of Urban Health. 2009;86(1):1–4. pmid:19543977
- 37.
Clifford T, Bruce J, Obafemi-Ajayi T, Matta J. Comparative analysis of feature selection methods to identify biomarkers in a stroke-related dataset. In: 2019 IEEE Conference on Computational Intelligence in Bioinformatics and Computational Biology (CIBCB). IEEE; 2019. p. 1–8.
- 38. Midi H, Sarkar SK, Rana S. Collinearity diagnostics of binary logistic regression model. Journal of interdisciplinary mathematics. 2010;13(3):253–267.
- 39. Boyd CR, Tolson MA, Copes WS. Evaluating trauma care: the TRISS method. Trauma Score and the Injury Severity Score. The Journal of trauma. 1987;27(4):370–378. pmid:3106646
- 40. Pedregosa F, Varoquaux G, Gramfort A, Michel V, Thirion B, Grisel O, et al. Scikit-learn: Machine learning in Python. the Journal of machine Learning research. 2011;12:2825–2830.
- 41. Raschka S. MLxtend: Providing machine learning and data science utilities and extensions to Python’s scientific computing stack. Journal of open source software. 2018;3(24):638.
- 42. Matta J, Zhao J, Ercal G, Obafemi-Ajayi T. Applications of node-based resilience graph theoretic framework to clustering autism spectrum disorders phenotypes. Applied network science. 2018;3(1):1–22. pmid:30839816
- 43. Friedman J, Hastie T, Höfling H, Tibshirani R. Pathwise coordinate optimization. The annals of applied statistics. 2007;1(2):302–332.
- 44.
Marchette DJ, Marchette MDJ, Matrix S. Package ‘cccd’; 2015.
- 45. Blondel VD, Guillaume JL, Lambiotte R, Lefebvre E. Fast unfolding of communities in large networks. Journal of statistical mechanics: theory and experiment. 2008;2008(10):P10008.
- 46. Traag VA, Waltman L, Van Eck NJ. From Louvain to Leiden: guaranteeing well-connected communities. Scientific reports. 2019;9(1):1–12. pmid:30914743
- 47. Matta J, Ercal G, Borwey J. The vertex attack tolerance of complex networks. RAIRO-Operations Research. 2017;51(4):1055–1076.
- 48. Ercal G, Matta J. Resilience notions for scale-free networks. Procedia Computer Science. 2013;20:510–515.
- 49. Barefoot C, Entringer R, Swart H. Integrity of trees and powers of cycles. Congr Numer. 1987;58:103–114.
- 50.
Matta J, Obafemi-Ajayi T, Borwey J, Wunsch D, Ercal G. Robust graph-theoretic clustering approaches using node-based resilience measures. In: 2016 IEEE 16th international conference on data mining (ICDM). IEEE; 2016. p. 320–329.
- 51.
Walesiak M, Dudek A, Dudek MA. clusterSim package; 2011.
- 52. Aceijas C, Stimson GV, Hickman M, Rhodes T, et al. Global overview of injecting drug use and HIV infection among injecting drug users. Aids. 2004;18(17):2295–2303. pmid:15577542
- 53. Rich JD, Holmes L, Salas C, Macalino G, Davis D, Ryczek J, et al. Successful linkage of medical care and community services for HIV-positive offenders being released from prison. Journal of Urban Health. 2001;78(2):279–289. pmid:11419581
- 54. Baumgartner LM, Niemi E. The Perceived Effect of HIV/AIDS on Other Identities. Qualitative Report. 2013;18:15.
- 55. Pitpitan EV, Kalichman SC. Reducing HIV risks in the places where people drink: prevention interventions in alcohol venues. AIDS and Behavior. 2016;20(1):119–133. pmid:26099244
- 56. Herbst JH, Kay LS, Passin WF, Lyles CM, Crepaz N, Marin BV. A systematic review and meta-analysis of behavioral interventions to reduce HIV risk behaviors of Hispanics in the United States and Puerto Rico. AIDS and Behavior. 2007;11(1):25–47. pmid:16917668
- 57. Strathdee SA, West BS, Reed E, Moazan B, Azim T, Dolan K. Substance use and HIV among female sex workers and female prisoners: risk environments and implications for prevention, treatment, and policies. Journal of acquired immune deficiency syndromes (1999). 2015;69(01):S110. pmid:25978477
- 58. Lankenau SE, Clatts MC, Welle D, Goldsamt LA, Gwadz MV. Street careers: Homelessness, drug use, and sex work among young men who have sex with men (YMSM). International Journal of Drug Policy. 2005;16(1):10–18.
- 59. McCarty D, Argeriou M, Huebner RB, Lubran B. Alcoholism, drug abuse, and the homeless. American Psychologist. 1991;46(11):1139. pmid:1772151
- 60. Degenhardt L, Charlson F, Ferrari A, Santomauro D, Erskine H, Mantilla-Herrara A, et al. The global burden of disease attributable to alcohol and drug use in 195 countries and territories, 1990–2016: a systematic analysis for the Global Burden of Disease Study 2016. The Lancet Psychiatry. 2018;5(12):987–1012.
- 61. Lim S, Park JN, Kerrigan DL, Sherman SG. Severe food insecurity, gender-based violence, homelessness, and HIV risk among street-based female sex workers in Baltimore, Maryland. AIDS and Behavior. 2019;23(11):3058–3063. pmid:31429031
- 62. Carrillo Beck R, Szlapinski J, Pacheco N, Sabri Laghaei S, Isard R, Oudshoorn A, et al. Violence and victimisation in the lives of persons experiencing homelessness who use methamphetamine: A scoping review. Health & Social Care in the Community. 2022;. pmid:35032080
- 63. McLaughlin MF, Li R, Carrero ND, Bain PA, Chatterjee A. Opioid use disorder treatment for people experiencing homelessness: A scoping review. Drug and alcohol dependence. 2021;224:108717. pmid:33985863
- 64. Walters ST, Businelle MS, Suchting R, Li X, Hébert ET, Mun EY. Using machine learning to identify predictors of imminent drinking and create tailored messages for at-risk drinkers experiencing homelessness. Journal of substance abuse treatment. 2021;127:108417. pmid:34134874
- 65. Patt L, Barnhart A. Understanding best practices: A look into homelessness related alcoholism. Journal of Student Research. 2021;10(2).
- 66. Abramovich A, Pang N, Kunasekaran S, Moss A, Kiran T, Pinto AD. Examining COVID-19 vaccine uptake and attitudes among 2SLGBTQ+ youth experiencing homelessness. BMC Public Health. 2022;22(1):1–12. pmid:35042491
- 67. Yehia BR, Fleishman JA, Agwu AL, Metlay JP, Berry SA, Gebo KA. Health insurance coverage for persons in HIV care, 2006–2012. Journal of acquired immune deficiency syndromes (1999). 2014;67(1):102.
- 68. Kates J, Dawson L, Horn TH, Killelea A, McCann NC, Crowley JS, et al. Insurance coverage and financing landscape for HIV treatment and prevention in the USA. The Lancet. 2021;397(10279):1127–1138. pmid:33617778
- 69. Tomko C, Park JN, Allen ST, Glick J, Galai N, Decker MR, et al. Awareness and interest in HIV pre-exposure prophylaxis among street-based female sex workers: results from a US context. AIDS patient care and STDs. 2019;33(2):49–57. pmid:30632769
- 70.
Matta J. A comparison of approaches to computing betweenness centrality for large graphs. In: International Conference on Complex Networks and their Applications. Springer; 2017. p. 3–13.