From the User to the Medium: Neural Profiling Across Web Communities
Mohammad Akbari, Kunal Relia, Anas Elghafari, Rumi Chunara

TL;DR
This paper introduces NeuroCom, a neural embedding-based method for detecting nuanced online community structures by analyzing user-generated content, improving upon existing community detection techniques.
Contribution
NeuroCom is a novel neural profiling approach that captures semantic relations in textual data to identify diverse and nuanced online communities.
Findings
NeuroCom outperforms traditional methods in clustering accuracy.
It identifies more detailed and meaningful discussion topics.
The approach enhances understanding of community heterogeneity.
Abstract
Online communities provide a unique way for individuals to access information from those in similar circumstances, which can be critical for health conditions that require daily and personalized management. As these groups and topics often arise organically, identifying the types of topics discussed is necessary to understand their needs. As well, these communities and people in them can be quite diverse, and existing community detection methods have not been extended towards evaluating these heterogeneities. This has been limited as community detection methodologies have not focused on community detection based on semantic relations between textual features of the user-generated content. Thus here we develop an approach, NeuroCom, that optimally finds dense groups of users as communities in a latent space inferred by neural representation of published contents of users. By embedding of…
Click any figure to enlarge with its caption.
Figure 1
Figure 1| # of Users | # of Posts | # of Words | |
|---|---|---|---|
| Support Group | |||
| BGnow | |||
| TuDiabetes |
| Support Group | BGnow | TuDiabetes | ||||
|---|---|---|---|---|---|---|
| sil (-ve) | nmi | sil (-ve) | nmi | sil (-ve) | nmi | |
| KMeans | ||||||
| KMeans-Lat | ||||||
| Biterm-LDA | ||||||
| RBM | ||||||
| NeuroCom | ||||||
| Community Topic | Top Words |
|---|---|
| Support Groups | |
| medical | disease, stroke, hospitals, patients |
| prayer | lord, hope, scripture, God, pray |
| exercise | glutes, workout, yoga, getting healthy |
| BGnow | |
| diet | low carb, lunch, scarifies, recipes, today |
| Afrezza | Afrezza, inhaler, lung, mankind corp, insulin |
| running | running, event, run, exercise, daily |
| TuDiabetes | |
| support | empathy, joy, happiness, positivity, feel |
| insulin management | insulin, basal, blood, low, dexcom |
| diet | carb, sensor, day, weight, meter |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsComplex Network Analysis Techniques · Misinformation and Its Impacts · Opinion Dynamics and Social Influence
From the User to the Medium: Neural Profiling Across Web Communities
Mohammad Akbari, Kunal Relia, Anas Elghafari, Rumi Chunara
New York University
{akbari,krelia,anas.elghafari,rumi.chunara}@nyu.edu
Abstract
Online communities provide a unique way for individuals to access information from those in similar circumstances, which can be critical for health conditions that require daily and personalized management. As these groups and topics often arise organically, identifying the types of topics discussed is necessary to understand their needs. As well, these communities and people in them can be quite diverse, and existing community detection methods have not been extended towards evaluating these heterogeneities. This has been limited as community detection methodologies have not focused on community detection based on semantic relations between textual features of the user-generated content. Thus here we develop an approach, NeuroCom, that optimally finds dense groups of users as communities in a latent space inferred by neural representation of published contents of users. By embedding of words and messages, we show that NeuroCom demonstrates improved clustering and identifies more nuanced discussion topics in contrast to other common unsupervised learning approaches.
Online communities are places where individuals have found support and places to exchange customized disease-specific information (?). For non-communicable diseases such as diabetes, social platforms have become very relevant places where individuals connect to learn about their condition outside of clinical settings. This is important as diabetes manifests in an evolving and heterogeneous manner, shifting in concert with population-wide alterations in behavioral and lifestyle factors and disease management strategies (?). Decades of studies have shown that risk of diabetes can differ by ethnic or gender groups and as well efficacy of interventions can vary by population subgroups (?). Thus individuals find the personal experiences of others managing their same conditions useful for learning about new efficacious interventions, or other day-to-day strategies. As the data in social media and web groups is generated by individuals in unstructured formats and venues, and is constantly updated and changing, there is a need for methods to distill and extract the types of topics and groups being discussed.
Thus in this paper, we harness the increasing use of neural representations and statistical natural language processing to demonstrate an approach for embedding content of users’ posts and discovering communities in the same space based on the content of online posts. Specifically, we adopt neural text representation to model the semantic link amongst words in a lower dimensional space and then perform community detection and profiling in that space which maintains a level of topicality in discovered user communities, messages and profiles. We make the following contributions:
- •
We demonstrate a neural approach (NeuroCom) for learning a low-dimensional latent space from the embedding of users’ posts, which enables community detection.
- •
We combine the neural framework with inference and qualitative methods to demonstrate how it can be used to learn and compare the substantive topics within and between diabetes communities from several large scale real-world datasets.
Related Work
Methods for identifying relevant groups is an active area of research; a great deal of work is on graph-based data such as social or information networks. Community detection is then based on choosing an objective function that captures the intuition of a community as a set of nodes with better internal connectivity than external connectivity (?). This is a rich area of research and briefly summarizing, there is work across spectral algorithms (?), measures of centrality (?) and matrix factorization (?).
Neural representation has been implemented for social media/short messages albeit in different ways than we propose (?). Gaussian Restricted Boltzmann Machines (RBM) have been used for modeling user’s posts within a social network to identify their topics of interest, and finally construct communities (?). However, a parametric approach was used in which it was necessary to specify the number of clusters/communities. In addition to not requiring such initialization, this approach is conceptually different than our proposed work in that it directly maps individuals to communities (instead of mapping the content of their posts, which may better capture heterogeneous community memberships). Further, content-based density approachefs as proposed, versus parametric ones could potentially learn a more organic number of communities. Given this gap, and the fact that content-based community detection (opposed to graph-based) may be more pertinent in health-related communities, here we explore content-based clustering of health communities.
Methodology
In this paper, we aim at learning the representation of user posts from web and social platforms using an effective neural model. Our framework, in contrast to conventional models which just embed users in a latent space, learns the representation of users, messages and communities in the same latent space, as shown in Figure 1. This helps in the identification of communities that may be under-represented and thus missed in a single user’s messages.
Distributed Representation of Social Messages
Our model is derived from a neural model, continuous BoW (C-BoW) (?), with a few innovations to learn the embedding of social messages. The C-BoW model is a simplified neural model without any non-linear hidden layers, which learns a distributed representation for each word while taking care of the semantic similarity of words. More specifically, given a large training corpus represented as a sequence of words , the objective of embedding is to maximize the log-likelihood, i.e. where , referred as context word, is the set of words surrounding , i.e., target word.
We extend this model to learn the embedding of social messages from the embedding of their compositional components. Formally, we based our model on the assumption that the message embedding is the average of embeddings of its n-gram constitutional elements. Formally, the embedding for a social message can be stated as:
[TABLE]
where is a matrix collecting the learned embeddings for words, denotes the list of n-grams in the message and is an indicator vector representing the compositional elements of . We adopted negative sampling framework for learning this model.
Discovering Topical Communities of Messages
To discover topical focuses of users, we leverage density-based clustering of social messages in latent space as it does not require the input of a predefined number of clusters, and can form clusters with arbitrary shapes (?). More specifically, we used DBSCAN which is a popular density-based clustering algorithm.
Topical Profiling
To profile topics, we can compute the embedding of each community by averaging the embeddings of its involving messages and the affiliation of each user to the community by his contribution in the community messages. More specifically, the discovered clusters in the prior section are considered topical communities of users and the affiliation matrix of users is defined as, where denotes membership affiliation of the -th user to the -th community and the message number belonging to -th user in the -th community.
Demographic Profiling
In order to better understand these communities and the users who participate in them, we infer basic demographics of participants in both the social media and on-line forum groups. The epidemiological literature indicates that any endeavor is incomplete without an understanding of the target population (?), and this becomes more pertinent when working with observational and Internet-based datasets such as the work here.
In order to accomplish this, we use inference methods which have been used in other social media-based studies (?). For age, we follow the approach in (?; ?). We classify users as under 30, or 30 and older, which, in diabetes research, has been used to qualify “young age at onset”. For gender, look-up tables have been used based on user handles (?). However, as we did not want to introduce uncertainty and more than half of the names were not linked to a gender, we did not assess any gender composition.
Experiments
Datasets
For evaluation, we chose three datasets that we anticipate will be slightly different in their content and included users. The statistics of our datasets are shown in Table 1.
Diabetes Support Group: This dataset is collected from posts of users who follow and participate in diabetes support groups like “diabeteslife” or “diabetesconnect” on Twitter. To construct the dataset, we first gathered a set of users who followed these diabetes support groups in Twitter. We then crawled the Twitter timelines of these users. We selected different support groups to avoid the bias coming from a specific support group 111The following support groups were selected as seed accounts in Twitter: “diabeteslife”, “diabetesconnect”, “American Diabetes Association”, “DiabetesHealth”, and “Diabetes Hand Foundations”.
BGnow Dataset: Another dataset derived from diabetic users who actively share their wellness data on Twitter. These users not only post about their lifestyle and activities such as their diet, but also share their health information in terms of medical events and measurements like their blood glucose value (?). Users in this dataset are majority diabetic type and they used “#Bgnow” hashtag to report their blood glucose value on Twitter.
TuDiabetes Forum: We aslo collected a dataset from the TuDiabetes forum, a popular diabetes community operated by the Diabetes Hands Foundation. It provides a rich community experience for people with interest in diabetes, including a social network, personal pages and blogs. The TuDiabetes forums are very popular, and have been active for years thus encompassing many topics.
Baselines and Metrics
We compare the proposed method with following baselines: KMeans (a widely used clustering method in social networks (?) with Tf-IDF representation for users and cosine measure for similarity computation), KMeans-Lat (similar to the KMeans approach, however clustering is performed in a latent space derived by Eq.(1)), Biterm-LDA (Latent Dirichlet Allocation (LDA) topic modeling tuned for short messages), and RBM (a deep model for community detection in (?)). We utilized Silhouette (sil) and normalized mutual information (nmi) metrics for benchmarking.
On Quantitative Comparisons of the Model
Table 2 shows the clustering results of different methods in terms of sil and nmi. We followed previous research studies to tune the parameters for all baseline methods. For Biterm-LDA, as proposed by (?), the parameters and have been fixed to and , respectively, where is the number of clusters/topics computed using grid-search. In the RBM model, we tuned the number of hidden units to and we then examined different number of community detection units and reported the best results, as suggested in (?).
From the table, the following points can be observed: (1) Kmeans and Kmeans-Lat achieve the lowest performance in terms of both quality and consensus metrics. This is mainly attributed to the fact that KMeans with Tf-Idf features fails to capture similarities between words/terms in posts. (2) RBM and BiTerm-LDA outperform KMeans-Lat. (3) NeuroCom achieves the highest performance in terms of sil and nmi metrics, which shows our model can detect communities with focused topics. This is attributed to the fact that the communities were detected in the same space as the messages were embedded, which preserves semantic similarities between messages.
On Qualitative Comparison of the Model
It is also intuitive to examine the resulting communities profiles to better understand the output of the NeuroCom model in community profiling and in comparison to existing methods. First, in terms of the number of resulting communities, NeuroCom extracts a higher number of communities, , compared to , , , and for KMeans, KMeans-Lat, Biterm-LDA, and RBM, respectively. Next, we examined the topics of resulting communities in each method. Qualitatively, we find that topics extracted by Biterm-LDA discuss general topics around diabetes, while we can find communities extracted by NeuroCom that are much more focused; each dealing with a specific aspect of the disease. For example Biterm-LDA fails to find small communities such as related to the drug “Afrezza” while NeuroCom identifies specific communities such as “Afrezza”, “Metformin” and “Insulin”. These differences are attributed to the fact that traditional approaches work based on word co-occurrences and for such communities they fail to find significant co-occurrence and semantic information. We highlight that, as expected, many users are part of multiple communities. From BGnow, 12.6% of users were in one community, 41.2% in 2 and 22.7% in 3 (the rest were in more). For TuDiabetes 11.6% in 1, 8.4% in 2 and 26.5% in 3. Finally in support groups, 28.3% in 1, 27.2% in 2 and 21.3% in 3.
Medium Comparisons
To compare across mediums we can examine inferred demographic profiles of the mediums, as well as the topics of distilled communities. Twitter groups were much more skewed, with statistically significant more users inferred to be in the younger age category than in the online forum ().
We also can compare the topics of communities from TuDiabetes with existing forum categories. All group discussions on TuDiabetes are categorized into the following 14 topics: Community, Type 1 and LADA, TuDiabetes Website, Gestational diabetes, Weight, Type 2, Diabetes Advocacy, Diabetes Complications and other Conditions, Mental and Emotional Wellness, Healthy Living, Diabetes Technology, Food, Treatment, Diabetes and Pregnancy. While interpretation of the topics of communities identified with our method NeuroCom is qualitative, we report that we found several overlaps such as Mental and Emotional Wellness, Food, and Treatment, as shown in Table 3. However given that our method is more organic, and the number of identified communities from NeuroCom, i.e. , is larger, there are some topics that overlap or augment the website categories.
Community Comparisons Within Mediums
Assuming community topics are homogeneous across users may be erroneous (e.g. one topic may be more common to, say, women versus men). Further, if community detection is used for recommendation purposes, knowing how various communities are patronized by different types of users can improve the performance of recommendation. Thus here we attempt to profile the resulting communities within each medium.
From a demographic perspective, we found that specific types of communities in TuDiabetes (topics related to insulin management with keywords such as eat, cgm, pancreas and doctors) had a statistically significantly proportion of users who were in the older category than the mean proportion (). As well, of the user profile names that could be linked to gender, more were linked to male (though we caution interpretation of this result due to the large number of user profiles which were not linked to female or male names). We are also able to describe some qualitative findings from the Twitter datasets. For example, in the support groups, we found that the cluster topic of current events with keywords such as blackhawks, Hillary Clinton, primary also had a statistically significantly proportion of users who were in the older category than the mean proportion ().
Conclusion
NeuroCom outperformed existing unsupervised methods based on common cluster evaluation metrics. Community detection results showed that topics of distilled communities are interpretable and follow the intuition regarding span of discussion in the Support Group dataset, versus the BGnow and the TuDiabetes forum. Through inferred age categories, we also showed that the online forum had a statistically significantly higher proportion of people in the age category. As well, though demographic inference has limitations, there were significantly different proportion of people in the age categories across different communities. While these demographic results are mainly qualitative, we found results that match intuition and can be used in future to improve recommendation approaches or identify concerns of diabetes patients in a more precision and personalized manner. Finally, we compared identified topics to forum categories where available (TuDiabetes), and found that the identified communities in NeuroCom overlap and transcend these existing forum categories.
Acknowledgments
This paper was supported in part by grants from the NSF (1643576, 1737987) and NIH (R21AA023901).
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[Abdelbary, El Korany, and Bahgat 2014] Abdelbary, H. A.; El Korany, A. M.; and Bahgat, R. 2014. Utilizing deep learning for content-based community detection. In SAI .
- 2[Akbari and Chua 2017] Akbari, M., and Chua, T.-S. 2017. Leveraging behavioral factorization and prior knowledge for community discovery and profiling. In WSDM .
- 3[Akbari et al . 2016] Akbari, M.; Hu, X.; Nie, L.; and Chua, T.-S. 2016. From tweets to wellness: Wellness event detection from twitter streams. In AAAI .
- 4[Chunara, Wisk, and Weitzman 2017] Chunara, R.; Wisk, L. E.; and Weitzman, E. R. 2017. Denominator issues for personally generated data in population health monitoring. Am J Prev Med .
- 5[Ertöz, Steinbach, and Kumar 2003] Ertöz, L.; Steinbach, M.; and Kumar, V. 2003. Finding clusters of different sizes, shapes, and densities in noisy, high dimensional data. In ICDM .
- 6[Frost and Massagli 2008] Frost, J. H., and Massagli, M. P. 2008. Social uses of personal health information within patientslikeme, an online patient community: what can happen when patients have access to one another’s data. JMIR .
- 7[G.-J. Qi and Huang 2012] G.-J. Qi, C. C. A., and Huang, T. 2012. Community detection with edge content in social media networks. In ICDE .
- 8[Huang et al . 2018] Huang, T.; Elghafari, A.; Relia, K.; and Chunara, R. 2018. High-resolution temporal representations of alcohol and tobacco behaviors from social media data. In CSCW .
