Next Article in Journal
Contrarian Voter Model under the Influence of an Oscillating Propaganda: Consensus, Bimodal Behavior and Stochastic Resonance
Previous Article in Journal
Combine Harvester Bearing Fault-Diagnosis Method Based on SDAE-RCmvMSE
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Community Detection in Semantic Networks: A Multi-View Approach

1
School of Computer Science and Technology, Harbin University of Science and Technology, Harbin 150001, China
2
School of Automatic Control Engineering, Harbin Institute of Petroleum, Harbin 150028, China
3
School of Computer Science and Technology, Chongqing University of Posts and Telecommunications, Chongqing 400065, China
*
Author to whom correspondence should be addressed.
Entropy 2022, 24(8), 1141; https://doi.org/10.3390/e24081141
Submission received: 13 July 2022 / Revised: 10 August 2022 / Accepted: 15 August 2022 / Published: 17 August 2022

Abstract

:
The semantic social network is a complex system composed of nodes, links, and documents. Traditional semantic social network community detection algorithms only analyze network data from a single view, and there is no effective representation of semantic features at diverse levels of granularity. This paper proposes a multi-view integration method for community detection in semantic social network. We develop a data feature matrix based on node similarity and extract semantic features from the views of word frequency, keyword, and topic, respectively. To maximize the mutual information of each view, we use the robustness of L21-norm and F-norm to construct an adaptive loss function. On this foundation, we construct an optimization expression to generate the unified graph matrix and output the community structure with multiple views. Experiments on real social networks and benchmark datasets reveal that in semantic information analysis, multi-view is considerably better than single-view, and the performance of multi-view community detection outperforms traditional methods and multi-view clustering algorithms.

1. Introduction

With the rapid expansion of the network, the interaction of online users has increased greatly; people expand their social life in an unprecedented way. There are not only online social networks with millions of participants, such as Facebook, Twitter, and QQ, but also various offline social networks in every corner of our life. When BBS, news websites, or blogs are used to share views and deliver messages, a social network with similar interests and hobbies is formed. These social networks contain interesting patterns and attributes that have significant study value for evaluating people’s social behavior [1,2]. An important goal of social network analysis is to reveal the self-organization phenomenon behind the network topology, which can be achieved by identifying the community structure with highly connected nodes [3,4].
Community detection is one of the hotspots in complex network research. Its purpose is to find subgraphs with dense internal but sparse external connections [5]. Roughly speaking, community detection is to divide actors with social relationships into close and highly related groups [6]. Real social networks usually consist of multiple views, for example, the same news can be reported by different news organizations, the pictures shared on the website can have different text descriptions, and the meteorological data can be collected from different sensors. To make full use of multi-view information and improve clustering performance, multi-view clustering has been proposed and has begun to attract more and more attention. Multi-view clustering can fuse the complementary information hidden in each view [7,8,9], which provides high-quality implementation schemes for community detection.
Traditional community detection algorithm divides the topology of the network. Hierarchical clustering algorithm detects communities based on the similarity or the connection strength between nodes; commonly used algorithms include Newman fast algorithm [10], Newman greedy algorithm [11], and spectrum-based aggregation algorithm [12]. Spectral clustering algorithm [13,14] finds communities by analyzing the eigenvalues and eigenvectors of the Laplace matrix or standard matrix formed by the adjacency matrix. The modularity optimization algorithm detects communities in the network by optimizing the modularity function. Simulated annealing algorithm [15] and Louvain algorithm [16] are two popular algorithms. The improved modularity optimization algorithm [17,18] adopts the improved modularity function to different types of networks to realize community detection.
Although the above methods have achieved great success in the field of community detection, the majority of them are only effective for single view networks. Even if all views are integrated into a single view for community detection, it is difficult to increase performance because each view has its own properties. Using multi-view clustering for community detection, on the other hand, can take into account the diversity and complementarity of different views, effectively improving the completeness of the community structure.
The key to multi-view clustering is learning how to leverage the multiple attributes that are embedded in the object to divide it into different clusters. Early multi-view clustering integrated multi-view elements into traditional clustering methods, including multi-type reinforced clustering [19], dual view clustering based on EM and aggregation algorithm [20], multi-view clustering based on DBSCAN [21], etc. Multi-view clustering, in recent years, has primarily focused on developing clustering algorithms that conform to data characteristics for specific fields, such as collaborative training [22,23], multi-kernel learning [24,25], and multi-view graph clustering [26] for image and text data, and subspace clustering for matrix data [27,28]. These works demonstrate that multi-view clustering can detect common underlying structures shared by multiple perspectives and generate clusters by fusing views. However, no study has been conducted on community detection using different views integrated in semantic networks. Meanwhile, the efficiency of multi-view clustering for community detection has not been thoroughly tested. In particular, real-world semantic networks contain solely user attributes that do not directly possess a network form, which complicates and challenges community detection with multi-views.
To address these issues, this work presents a community detection method based on multi-view clustering. First, we reconstruct the semantic network to convert the user’s multi-attributes into network form; second, we apply the adaptive loss function to address the problem that the L1-norm and L2-norm are sensitive to bigger and smaller outliers, respectively. Finally, the data matrix of multiple perspectives is fused to generate communities. The main contributions of this paper include:
(1)
We propose to extract features of the network from multiple perspectives for community detection. The approach efficiently utilizes semantic information in social networks at various granularities. Compared with single-view community detection, multi-view community detection has better performance in modularity, accuracy, and F-score.
(2)
We propose an approach for reconstructing social networks. The approach utilizes a data matrix to describe the connections between user attributes in each perspective, which can subsequently be utilized to capture the intrinsic correlations across multiple views using matrix fusion. On the other hand, the method can avoid errors caused by the absence of data and relationships.
(3)
We present a multi-view community detection method based on the adaptive loss function. The method can decrease the impact of outlier points on community segmentation. Experiments show that the method is not only applicable to real social networks, but also outperforms traditional community detection methods when coping with other types of data.

2. Semantic Feature Representation of Nodes

The social network is composed of rich semantic information and complex semantic content. We define it as G = ( P , O , D ) , where P is the node set, representing users in the social network; O is the edge set, representing the link relationship between social network users; D is the semantic information, which represents the document published by users. To capture the semantic components of user text from multiple views, we use word frequency, keyword, and topic as three perspectives of semantic features according to the semantic granularity from high to low, and represent the semantic features in the form of a data feature matrix.

2.1. Word Frequency

The lowest granularity representation of text information is word frequency. Word frequency analysis can objectively interpret abstract text data and detect implicit hot spots in the text according to the frequency of phrases. It is common in computer science, communication, and information science [29]. During COVID-19, for example, word frequency was widely used in pneumonia data analysis [30] and Twitter post analysis [31]. This paper extracts word frequency features from the text submitted by social network members and creates word frequency vectors. The word frequency is expressed by f i , j ; that is, the number of times the word w i appears in the document d i , where d D .
First, the semantic information of the social network is pre-processed, which includes filtering and word segmentation. The processed semantic information is used to create corpus D , which is subsequently used to calculate the value of f i . For example, if  w i appears once in D , f i = 1 ; w i appears n times in D , f i = n . Following that, the words are sorted in descending order of occurrence, and the number of features that compose the data feature matrix X is chosen based on the sorting results (details are described in Section 5). Finally, count the number of times these words appear in each text to create f i , j . In matrix X, x i , j = f i , j . For example, if  w 1 appears five times in d 1 , f 1 , 1 = 5 , the value of the element in the first row and first column of matrix X is 5, that is x 1 , 1 = 5 .
In expressing semantic information, the word frequency perspective is insufficiently concise. It can retain the majority of the information in social texts, but it will also raise the probability of invalid information.

2.2. Keywords

Keywords are meaningful and representative words in documents that accurately describe the text content [32]. Compared to word frequency, keywords evaluate the structure and syntax of text information, which can eliminate text noise and reduce the number of semantic features. In this paper, the TF-IDF (term frequency-inverse document frequency) method is used as the measuring standard of keyword, and its value is used as the eigenvector for each word in the text. The formula of TF-IDF is as follows:
T I = f i , j i w j f i , j × log | D | j : w i d j
where w j represents the number of words in d j , | D | represents the total number of texts in the corpus, i.e., the total number of semantic information released by social network users, and  j : w i d j represents the number of documents containing word w i .
If the TF-IDF value of each word in the text is calculated directly, the data feature matrix X of the keyword perspective will be enormous. To tackle this problem, we define the parameter t to limit the number of matrix features (the choice of t is given in Section 5). After filtering, word segmentation, and part of speech tagging on the text in corpus D , we use Equation (1) to calculate the weight of each word relative to the corpus, and the words with top-t weight are used to create the keyword set k w . Equation (1) is used again to calculate the TF-IDF value of the keyword k w i in document d j , which is marked as T I i , j , and the data feature matrix X is filled with x i , j = T I i , j .

2.3. Topic

The topic is the condensation of the text, which has the highest level of granularity. In this paper, we extract topics in texts based on the LDA (Latent Dirichlet Allocation) model and construct the feature data matrix of the topic perspective.
The LDA model is an effective method to extract latent semantic information from text corpus. It is a three-layer Bayesian probability model, which is used to generate document topics, including words, topics, and documents. LDA models the document as a mixture of potential topics, and each topic can be further presented with a set of words. Therefore, in LDA, documents intuitively show multiple topics. After text preprocessing, each document is regarded as a mixture of topics in the corpus. Topics are composed of fixed words, and these topics are generated from the document collection. For example, the probability of science and technology topics has words: “chip” and “5g”, and the probability of entertainment topics has words: “Star” and “film”. Then, the document set has a probability distribution on the topic, where each word is considered to belong to one of the above topics. Through the probability distribution of the document on each topic, we can know the correlation between the document and each topic.
Therefore, the following steps can be used to describe the process of LDA generating documents. Firstly, it is assumed that the prior distribution of the semantic information of the social network is Dirichlet distribution; that is, for the text information d D published by any user, there is the topic distribution of the document θ d = D i r i c h l e t ( α ) . Then, assume that the prior distribution of the topic words is the Dirichlet distribution; that is, for any topic t T , there is the word distribution β t = D i r i c h l e t ( η ) . Next, for the n-th word in any semantic information d j , we can get its topic number Z d j , n = multi θ d j from the theme distribution θ d . Finally, the probability distribution w d j , n = multi β d j of the word w d j , n is known from the topic number Z d j , n . In the above process, parameters α and η are hyper-parameter vectors, which determine the distribution of topics in the document and the distribution of words in the topics, respectively. The LDA generation process corresponds to the following joint distribution:
P β 1 : T , θ 1 : D , Z 1 : D , w 1 : D = i = 1 T P β i d = 1 D P θ d n = 1 N p Z d , n θ d p w d , n β 1 : T , Z d , n
Partial dependencies are specified in Equation (2). Topic Z d , n depends on the topic distribution θ d of the text information published by the user; word w d , n depends on the word distribution β 1 : T and topic Z d , n [33].
With the LDA model, the representation of the semantic features of social networks can be completed from the perspective of topics through the following processes. First, the most basic operations are carried out to clean and filter the semantic information. Then, determine the number of topics T (the method is given in Section 5), extract the topics from the information text by using the above steps of generating documents by LDA, and obtain the topic distribution θ d of each information (including the weight of the topic to which the document belongs). Finally, the topic distribution θ d and user published information are taken as the rows and columns of the data matrix, and the value of the topic distribution is used as the value of the data matrix to complete the semantic feature representation from the perspective of the topic.
The feature representation process of social networks based on word frequency, keywords, and topics are shown in Figure 1. The process includes: (1) Obtain the semantic information published by users from social networks to form a corpus. (2) Preprocessing the whole text set, including filtering meaningless words such as exclamation, preposition, and auxiliary word. (3) Feature extraction of the processed social network semantic information from the three perspectives described above. (4) The extracted features are transformed into vector representation and stacked together to form the feature data matrix of the social network.

3. Reconstruction of Social Networks

3.1. Node Representation

It can be seen from the previous section that the semantic information of social networks will be represented in the form of data matrix X from three angles. The storage structure of the data is shown in Figure 2. In the figure, the row of the matrix represents the value of the attribute, the column represents the node vector, the shaded part represents the value, and the blank part represents zero. The semantic information of each view in the social network will be represented by a data matrix X. Taking the keyword perspective as an example, suppose that the social network is composed of n users, the posts published by users represent semantic information d, the number of keywords L is the number of attributes, then the data matrix X L × n , and the value in the matrix is naturally the TF-IDF value of keyword k w in d. The node feature representation of each angle of the social network will be stored in the data matrix shown in Figure 2. Then, calculate the similarity between the node vectors to establish contact for users to complete the reconstruction of the social network.
Before introducing the following, we first give the symbolic representation used in this part, as shown in Table 1.
X R dim × n represents the data matrix of the social network, where dim represents the number of attributes of semantic information features in the social network, n represents the number of data (the number of users in the social network), X v represents the data matrix from the v-th perspective, and its j-th column vector represents x j v R dim × 1 , the  i j -th element is represented as x i , j v . The trace and F-norm of matrix X can be expressed as T r ( X ) and X F . The p-norm of vector x is expressed as x p .

3.2. Node Similarity Calculation

The connected matrix is generated after obtaining the data matrix of each view by computing the similarity between vectors; that is, to establish contact for users with similar semantic information. The correlation degree between semantic information can be measured by many statistical values, such as the most common cosine similarity calculation method, Pearson correlation coefficient used in the absence of dimension, and distance-based Gaussian kernel similarity calculation method. The first two methods rely on the defined measurement rules and ignore the local geometry of the data and the size of the vector itself. Gaussian kernel similarity is a measurement method that is based on distance, which is sensitive to noise and outliers in the data. Therefore, a data similarity matrix learning method based on sparse representation proposed by Nie et al. [34] is used in this paper. Compared with the above three similarity calculation methods, this method is more in line with the construction of the connected matrix of the social network, so that the users with a high degree of association in the social network (the feature vector distance corresponding to the semantic information published by the user) is small. Corresponding to a large similarity value, the similarity value between users with small correlation degree is small or even zero, and the sparse representation is robust to noise and outliers in the data [35]. The connected matrix can be obtained by solving the following problems:
min c i , j c i , j x i x j 2 2 + α j n c i , j 2 s . t . c i 1 = 1 , c i , i = 0 , c i , j 0
Here, α is a sparse factor. The following results can be obtained after calculation and derivation.
c ^ i , j = a i , m + 1 a i , j m a i , m + 1 h = 1 m a i , h j m 0 j > m
where a i , j = x i x j 2 2 ,and will sort it from small to large, so that the learning of c i meets c ^ i , m > 0 and c ^ i , m + 1 = 0 . In this paper, the matrix calculated by Equation (4) is called the connected matrix C of a single perspective of the social network. According to the connected matrix, the connection relationship between users can be known. Therefore, C is also an adjacency matrix. The matrix C can be used to obtain the incidence graph of social networks from a single perspective. Compared with fixed connection graph structures, such as the full connection graph and k-nearest neighbor graph, the above method can adapt the number of neighbors m of users. Compared with cosine similarity, Pearson correlation coefficient, and other methods, the connected matrix constructed in this way will have higher quality, can make up for the disadvantage that spectral clustering requires higher node similarity, and makes the effect of subsequent community discovery better.

4. Community Detection

Traditional community detection methods are usually used to deal with social networks from a single view, which will be weak when dealing with social networks from the multi-view. Therefore, this paper proposes a multi-view community detection method based on adaptive loss function (ALMV) to realize the community detection of multi-view social networks. Using the adaptive loss function, this method not only adapts the weights of each view, but also learns to get the final matrix after the fusion of multiple perspectives, which contains k connected components and can directly output the results of community detection. In this paper, this matrix is called the consensus matrix S R n × n . The approach will be described in the next section.

4.1. Adaptive Loss Function

Loss functions are usually constructed using l1-norm and l2-norm. For any vector x, l1-norm and l2-norm are defined as x 1 = i n x i and x 2 2 = i n x i 2 , respectively. Defining the loss function l1-norm is insensitive to larger outliers, but sensitive to smaller outliers. l2-norm is the opposite, which has a large impact on model learning. The adaptive loss function [36] can well neutralize the above problems. The specific definition of the function is as follows:
x σ = i n ( 1 + σ ) x i 2 x i 2 + σ
Here, σ is an adaptive parameter. If vector x is extended to matrix X, it is equivalent to the neutralization of l21-norm and F-norm of the matrix, which are defined as x 2 , 1 = i n x i 2 and x F 2 = i n x i 2 2 , respectively. The adaptive loss function of the matrix is generalized as follows:
X σ = i n ( 1 + σ ) x i 2 2 x i 2 + σ
It can be seen from Equation (6) that the adaptive loss function is defined between L21-norm and F-norm. Therefore, both large outliers and small outliers can make use of the robustness of L21-norm and F-norm. In addition, it is easy to verify that X σ is nonnegative, convex, and quadratic differentiable, so it is ideal for the loss function and optimization function. When σ 0 , X σ X 2 , 1 , and σ , X σ X F 2 . Therefore, a different σ can be selected according to different situations. This paper will use the adaptive loss function to learn the consensus matrix S of multi-view social networks to construct a consensus graph. Its implement will be introduced in the next section.

4.2. Multi-View Community Detection Based on Adaptive Loss Function

The connected matrix C ( v ) of each perspective of the social network can be reconstructed through Equation (4) since each C ( v ) will affect the resulting consensus graph matrix S, and the closer to S, the larger the weight ω will be assigned to the connected matrix C ( v ) from a single perspective; otherwise the smaller ω will be assigned. Therefore, this paper will learn consensus matrix S by automatically weighting the connected matrix from each view based on the adaptive loss function, which presents the following objective functions:
min S v = 1 V ω v C ( v ) S σ s . t . 1 T s i = 1 , s i , j 0 , rank ( L ) = n k
where s i R n × 1 is the i-th column of the consensus matrix S. s i , j is the j-th element of the column vector s i . ω = { ω 1 , , ω v } is the weight of the connected matrix for each view in the social network. L is the Laplace matrix of S, L = R B . R is the diagonal matrix, r i i = j = 1 n s i , j , B = ( S T + S ) / 2 . rank ( L ) = n k is the rank constraint introduced to the Laplace matrix L of S, which gives S have k connected components, thus directly outputting the k community structures of the social network.
However, L depends on the target variable S and the rank constraint is non-linear, which makes Equation (7) difficult to optimize. Let λ i ( L ) represent the i-th smallest eigenvalue of L. Since L is a symmetric positive semidefinite matrix, λ ( L ) is a real number and non-negative [37]. Therefore, it can be seen that the eigenvalue of L satisfies λ i ( L ) 0 and i = 1 k λ i ( L ) = 0 . The rank constraint is also achieved, so Equation (7) can be expressed as follows:
min S v = 1 V ω v C ( v ) S σ + γ i = 1 k λ i ( L ) s . t . 1 T s i = 1 , s i , j 0
where γ is the balance factor, which can increase or decrease its value accordingly when the connected component of the consensus matrix is greater than or less than k, until there exist k connected components. Then, according to the research of Fan [38], the following theorem exists:
i = 1 k λ i ( L ) = min F Tr F T L F s . t . F T F = I
where F R n × k , and  F = f 1 , f 2 , , f k is composed of the eigenvector f corresponding to the smallest k eigenvalues. According to Equations (8) and (9), the following can be obtained:
min S v = 1 V ω v C ( v ) S σ + γ Tr F T L F s . t . 1 T s i = 1 , s i , j 0 , F T F = I
The objective function Equation (7) is finally transformed into Equation (10), and the consensus matrix S can be obtained only by solving it. By observing Equation (10), we can know that its second part is the objective function of spectral clustering, which ensures that S has k connected components; that is, the final community detection result can be obtained on S without executing other algorithms. Therefore, the consensus matrix S learned by the above method can complete the community detection of social networks of multi-view and obtain the community structure.

4.3. Algorithm Optimization

There are multiple unknown variables in the objective function Equation (10), so it will be very difficult to solve all variables at the same time. In order to obtain the optimal solution, we use the alternating iteration method to optimize the objective function. More specifically, we can choose to update one while keeping the others unchanged.
Step 1. Keep F, ω fixed and update S: When F and ω are fixed, using the property of Laplace matrix i , j 1 2 f i f j 2 2 s i , j = Tr F T L F , then Equation (10) becomes:
min S v = 1 V ω v C ( v ) S σ + γ i , j = 1 n f i f j 2 2 s i , j s . t . 1 T s i = 1 , s i 0
Define a matrix E R n × n , where e i R n × 1 is the i-th column of E, and its j-th element is e i , j = f i f j 2 2 . Meanwhile, according to the research of Nie et al. [39], and the independence of each line in S, Equation (11) can be written in vector form:
min s i v = 1 V ω v u i ( v ) c i ( v ) s i 2 2 + γ s i T e i s . t . 1 T s i = 1 , s i 0
where s i is the column vector composed of the i-th row element of S, and  c i ( v ) is the column vector composed of the i-th row element of the connected matrix C ( v ) of view v in the social network. u i ( v ) can be calculated by:
u i ( v ) = ( 1 + σ ) c i ( v ) s i 2 + 2 σ 2 c i ( v ) s i 2 + σ 2
Equation (12) can be reduced to:
min s i v = 1 V 1 2 ω v u i ( v ) s i T s i s i T v = 1 V ω v u i ( v ) c i ( v ) γ 2 e i s . t . 1 T s i = 1 , s i 0
Let h i = v = 1 V ω v u i ( v ) and p i = v = 1 V ω v u i ( v ) c i ( v ) γ 2 e i , Equation (14) can be simplified as:
min s i 1 2 h i s i T s i s i T p i s . t . 1 T s i = 1 , s i 0
Using the Lagrange multiplier method, we can obtain:
s i , η , ξ = 1 2 h i s i T s i s i T p i η ( 1 T s i 1 ) ξ T s i
Here, η , ξ is the Lagrange multiplier that two constraints of Equation (14), η is a scalar, ξ is a vector. According to KKT conditions:
(17) j , h i , j s ^ i , j     p i , j     η ^     ξ ^ j   =   0 (18) j ,   η ^     0 (19) j ,   ξ ^ j     0 (20) j , s ^ i , j ξ ^ j   =   0
where s ^ i , j is the optimal solution, η ^ and ξ ^ j represents the corresponding Lagrange multiplier. Express Equation (17) as a vector with h i s ^ i p i η ^ 1 ξ ^ = 0 . Since 1 T s i = 1 , the following equation can be obtained.
η ^ = h i 1 T p i 1 T ξ ^ n
Therefore, the optimal solution s ^ i can be obtained and expressed as follows:
s ^ i = p i h i + 1 n + 1 T p i 1 n h i 1 T ξ ^ 1 n h i + ξ ^ h i
Let g = p i h i + 1 n + 1 T p i 1 n h i and ξ ^ * = 1 T ξ ^ n h i , Equation (22) can be written as s ^ i = g ξ ^ * 1 + ξ ^ h i , and for any j, we have:
s ^ i , j = g j ξ ^ * + ξ ^ j h i , j
According to Equation (18) to Equation (23), we have:
s ^ i , j = max ( g j ξ ^ * , 0 )
It can be known by observing Equation (24), after  ξ ^ * determination, the optimal solution s ^ i , j can also be determined. According to Equation (23), ξ ^ j = h i , j s ^ i , j g j + ξ ^ * can be deduced, and reuse Equation (18) to Equation (20), we have:
ξ ^ j = h i , j max ξ ^ * g j , 0
Since ξ ^ * = 1 T ξ ^ n h i , according to Equation (25):
ξ ^ * = 1 n j = 1 n max ξ ^ * g j , 0
Define function ξ * as:
f ξ * = 1 n j = 1 n max ξ * g j , 0 ξ *
Therefore, we only need to know the root of f ξ ^ * = 0 and solve ξ ^ * . Since ξ ^ * 0 and f ξ ^ * 0 is a piecewise linear convex function, the root of f ξ * = 0 can be solved by the Newton method, that is:
ξ t + 1 * = ξ t * f ξ t * f ξ t *
Step 2. Keep F, S fixed and update ω . When F and S are fixed, Equation (10) is equal to:
min S v = 1 V ω v C ( v ) S σ s . t . 1 T s i = 1 , s i , j 0
At this time, we can solve the above equation to obtain ω v . According to the properties of the adaptive loss function, Equation (29) will be converted into:
min S v = 1 V w v t r C ( v ) S T U ( v ) C ( v ) S s . t . 1 T s i = 1 , s i , j 0
where U ( v ) is a diagonal matrix, and its i-th diagonal element is calculated by Equation (13). Then build the auxiliary function as follows:
min v = 1 V tr C ( v ) S T U ( v ) C ( v ) S s . t . 1 T s i = 1 , s i , j 0
Construct the Lagrange function min i = 1 V t C ( v ) S T U ( v ) C ( v ) S + Φ ( ρ , S ) of Equation (31). Taking the partial derivative of S and making it equal to zero yields:
min v = 1 V w v t r C ( v ) S T U ( v ) C ( v ) S S + Φ ( ρ , S ) S = 0
where Φ ( ρ , S ) is the constraint term and ρ is the Lagrange multiplier, and: 
w v = 1 2 tr C ( V ) S T U C ( V ) S 2
It can be seen that making the partial derivative of the Lagrange function of Equation (31) with respect to S and make it equal to zero yields Equation (32), and substituting Equation (33) into Equation (32) is exactly equal to the partial derivative of the Lagrange function of Equation (31) with respect to S and makes it equal to zero. Thus, if  ω is a constant, then solving Equation (30) is equivalent to solving Equation (31). At this point, the weight ω of each view is determined by Equation (33).
Step 3. Keep ω , S fixed and update F. When ω and S is fixed, it is equivalent to solving the following problem:
min F Tr F T L F s . t . F T F = I
At this point, the optimal solution of F is composed of the eigenvectors corresponding to the smallest eigenvalues of the Laplace matrix L that ranked in the top k.
Note that the stopping condition for algorithm optimization is that the relative change in S is less than 10 3 or the number of iterations is greater than 150. The whole multi-view community detection process is shown in Algorithm 1.
Algorithm 1 Multi-view community detection based on adaptive loss function (ALMV)
Input: 
The association matrix C ( 1 ) , C ( 2 ) , , C ( v ) of the social network of V views (Obtained by Equation (4); the number of communities k; initialization parameters γ , σ .
Output: 
A consensus matrix S with k connected components.
1:
Initialize the weights ω = 1 / V of the connected matrix C for each view of the social network;
2:
Initialize the consensus graph matrix S (Through ω and C);
3:
Use Equation (34) to calculate the matrix F;
4:
repeat
5:
    Fix S, F, use Equation (30) to update ω ;
6:
    Fix F, ω , use Equation (24) to update S;
7:
    Fix ω , S, use Equation (34) to update F;
8:
until the relative change in S is less than 10 3 or the number of iterations is greater than 150
9:
return  S
In order to understand and analyze social networks more easily, this paper introduces the Node2Vec graph embedding model [40] to visualize the results of community detection. It is a node vectorization model that obtains local information from truncated random wanderings, treating nodes as lexical items and wanderings as sentences to learn potential representations.
The process of community detection for social networks from multi-view has been described, and a summary of the overall process described above is shown in Algorithm 2.
Algorithm 2 Multi-view community analysis method of social networks
Input: 
Social network G; the number of nearest neighbors m; the number of communities k; the initialization parameters γ .
Output: 
Visualization results of social network G containing k community structures.
1:
Filtering and splitting semantic information for G;
2:
Word frequency statistics of social network G to get the data matrix X ( 1 ) ;
3:
According to Equation (1), the TF-IDF value of each word in the G is calculated, and the data matrix X ( 2 ) of the keywords perspective is obtained using the method described in Section 2;
4:
Use the LDA topic model to obtain the topic distribution of G and get the data matrix of X ( 3 ) the topic perspective;
5:
for i = 1 ; i < 4 ; i + + do
6:
    Input X ( i ) ;
7:
    Calculate the association between users in social networks using Equation (4);
8:
end for
9:
Input the above obtained C ( 1 ) , C ( 2 ) and C ( 3 ) into Algorithm 1;
10:
Visualizing community detection results with Node2vec;
11:
return social networks of k community structure

5. Experiments

In this section, the experimental results of the proposed method on real social networks and public datasets are analyzed. The purpose of the experiment is to study the effectiveness of the proposed community detection method for social networks from multiple perspectives. All experiments in this paper use AMD ryzen7 5800h processor, 3.20 GHz, 16 GB RAM, and run in Python 3.8 and MATLAB r2018b development environment. Before further discussing the experimental process, the parameter setting is described here. In this paper, the default value of the number of nearest neighbors is m = 22 , with 1 as the initial value of parameter γ . The initial value will be automatically adjusted according to the number of iterations. When the connected component is less than the number of communities k during the construction of the consensus matrix, γ = γ × 2 . When it is greater than the number k of communities, γ = γ / 2 . Finally, according to research [39], the adaptive loss parameter is set to σ = 0.1 , in this case, record Algorithm 1 as ALMV-N1.5. When σ 0 , X σ X 2 , 1 , Algorithm 1 is recorded as ALMV-N21. When σ , X σ X F , Algorithm 1 is recorded as ALMV-NF.

5.1. Evaluation Index

To evaluate the performance of the proposed method, five metrics [41,42,43,44], accuracy (AC), normalized mutual information (NMI), adjusted Rand coefficient (AR), F-score, and modularity (Q), were used in the experiments.
  • Accuracy (AC). Given data x i , let g i and g i represent the correct community and the predicted community, respectively. AC is defined as:
    A C = i = 1 n δ g i , g i n
    Here, n is δ ( x , y ) , the total number of data. If x = y , then the function is equal to 1, otherwise it is equal to 0.
  • Normalized Mutual Information (NMI). NMI represents the shared statistical information between the predicted and true categories. Given the correct category group Δ = g 1 , g 2 , , g k and the predicted category group Δ = g 1 , g 2 , , g k of the dataset G, let p i and p denote the data points in categories Δ and Δ , respectively, and p s t denote the data points that are both in Δ and Δ , the normalized mutual information of Δ and Δ is defined as:
    NMI = s = 1 c t = 1 k log n p s t p s p t s = 1 c p s log p s p t = 1 k x t log p t p
  • Adjusted Rand coefficient (AR). AR is an optimized indicator based on the Rand coefficient (RI). Its formula is:
    A R I = R I E ( R I ) max ( R I ) E ( R I )
    where R I = ( a + b ) / ( a + b + c + d ) is the expected value of the Rand coefficient; a is a data point object that belongs to the same class in Δ , and also belongs to the same class in Δ ; b is a data point object that belongs to the same class in Δ and does not belong to the same class in Δ ; c is a data point object that does not belong to the same class in Δ , and belongs to the same class in Δ ; d is a data point object that does not belong to the same class in Δ , and also does not belong to the same class in Δ .
  • F-score. A comprehensive evaluation index that balances the impact of Accuracy and Recall. First, we introduce several basic concepts. TP (True positives): positive classes are judged as positive classes; FP (False positives): negative classes are judged as negative classes; FN (False negatives): positive classes are judged as negative classes; TN (True negatives): negative classes are judged as negative classes. F-score is defined as:
    F = 2 × R e c a l l × A c c u r a c y R e c a l l + A c c u r a c y
    where A c c u r a c y = ( T P + T N ) / ( T P + F N + F P + T N ) , R e c a l l = T P / ( T P + F N ) .
  • Modularity (Q): Newman et al. [45] introduced modularity to assess the quality of community structure, which is defined as follows:
    Q = 1 O i , j S i m i , j o i o j O δ i , j
    where O is the sum of the degrees of all nodes in the network G; S i m is the Similarity matrix of the G; o i is the degree of node p i ; and δ i , j is the Kronecker function, which is 1 if p i and p j are in the same community and 0 otherwise.

5.2. Experiment on Real Social Networks

The experiments in this section have two goals: (1) the social network reconstruction method proposed in this paper can be effectively applied to real networks, i.e., the data matrix of each perspective can be constructed based on different network attributes; (2) the performance of community detection from multiple perspectives on real social networks outperforms that of single-view community detection.

5.2.1. Experiment Preparation

The data used in this section are composed of posts from Sina Weibo, including 10,176 Posts published by users from 1 March 2021 to 5 March 2021. To ensure the accuracy of the experiment, the data were cleaned (removing advertisements, repeated, short and other posts). Finally, 1584 posts were left as the final social network dataset.
We extracted features from three perspectives (word frequency, keywords, and topic) and constructed the data matrix for each perspective according to Equation (4). Our goal was to confirm that the community obtained by fusing the three features is better than the community in each single perspective. Therefore, we varied the number of features in each perspective separately to form multiple single-perspective networks, and selected the perspective with the highest Q value as the comparison perspective by performing community detection on each single-perspective network.

5.2.2. Experimental Results

For the word frequency perspective, we set the word frequency to 2500, 5000, 7500, 10,000, 11,000, 12,500, 14,000, 15,000, and 20,000, respectively, and performed community detection on the formed network. The Q value of the generated communities are shown in Table 2, and the visual representation is shown in Figure 3.
From Table 2, we can see that the Q value was highest when the number of word frequency was equal to 12,500. Therefore, we chose the network reconstructed at this parameter as the word frequency perspective. Figure 3 shows that the three communities began to emerge when the word frequency was greater than 10,000, and the community characteristics were most evident when the word frequency reached 12,500 and 15,000.
For the keywords perspective, we set the number of keywords to 250, 500, 1000, 1500, 2000, 2500, 3000, 4000, and 5000, respectively, and performed community detection on the formed network. The Q value of the generated communities are shown in Table 3, and the visual representation is shown in Figure 4.
From Table 3, we can see that the Q value was highest when the number of keywords was equal to 3000. Therefore, we chose the network reconstructed at this parameter as the word frequency perspective. Figure 4 shows that the social network will be divided into three communities when the number of keywords is 2000 to 3000 under the same number of word frequency.
For the topic perspective, we set the number of topics from 0 to 100 with a span of 5, and performed community detection on the formed network. The Q value of the generated communities are shown in Figure 5, and the visual representation is shown in Figure 6.
From Figure 5a, we can see that the Q value decreases rapidly when the number of topics is greater than 55, and the Q value shows fluctuations when the number of topics is between 0 and 55. The Q value is highest when the number of topics is equal to 30. Therefore, we choose the network reconstructed at this parameter as the word frequency perspective. Figure 6 shows that none of the communities have clear boundaries when the number of topics ranges from 5 to 100, and the node distribution shifts from aggregation to dispersion as the number of topics increases.
Figure 5b depicts the Q values at different numbers of neighbors. When m > 57 , the Q value tends to remain steady, probably because the increase in the number of neighbors has little effect on the nodes with the greater similarity. Further, the weights of the edges between nodes with less similarity are small, which has little effect on the Q value. The selection of m is relatively wide, but it is optimal when m = 22 .
After the above process, we obtain three perspectives formed by word frequency, keywords, and topics, respectively. Next, we fuse the three perspectives using Algorithm 2 and execute the community detection method on the integrated network to verify the effectiveness of our method. We record the Q values of the communities and give a visualization in Figure 7.
In Figure 7, the Q value of the communities in word frequency perspective, keywords perspective, topic perspective, and multiview is 0.7441, 0.7165, 0.6637, and 0.7892, respectively. It can be seen that the communities in multiview have the highest Q values, which are 6.061%, 10.147%, and 18.909% higher than the word frequency, keywords, and topic perspectives, respectively. This indicates that integrating multiple perspectives for community detection can effectively improve community quality. In the visualization graph, the communities in multiview have clearer boundaries and almost no overlap.

5.3. Experiment on the Public Dataset

In this section, we conduct experiments on eight real-world datasets to verify that the ALMV algorithm proposed in this paper has excellent performance both in processing semantic datasets and in image datasets. It is also compared with the commonly used community detection methods to further evaluate the performance of ALMV. Table 4 lists the statistics of the corresponding characteristics of eight datasets, of which the first six datasets are semantic datasets and the last two are image datasets.

5.3.1. Dataset

  • WebKB dataset (http://www.cs.cmu.edu/afs/cs.cmu.edu/project/theo-20/www/data/ accessed on 14 August 2022) (WebKB) [46]: This dataset consists of 203 pages in four categories collected by the Department of Computer Science at Cornell University. One page consists of three views: the page text content of the page, the anchor text on the link, and the text in the title.
  • BBC dataset (http://mlg.ucd.ie/datasets/segment.html accessed on 14 August 2022) (BBC): This dataset comes from 250 BBC news sites, which correspond to five topics (business, entertainment, sports, science and technology, politics). It consists of 685 instances, each of which is divided into four parts, namely, four perspectives.
  • BBC Sport dataset (http://mlg.ucd.ie/datasets/segment.html accessed on 14 August 2022) (BBCSports) [47]: This dataset is a documentation dataset consisting of sports news articles on five topics (track and field, football, tennis, rugby, and cricket) on the BBC Sports website from 2004 to 2005. Each article will extract two different types of features. It contains 685 samples with feature dimensions of 3183 and 333 from different perspectives.
  • 20 Newsgroups dataset (http://lig-membres.imag.fr/grimal/data.html accessed on 14 August 2022) (20NGs): The dataset consists of 20 different collections of newsgroup documents. It contains 500 different instances, each of which is preprocessed in three different ways.
  • 3Sources dataset (http://mlg.ucd.ie/datasets/3sources.html accessed on 14 August 2022) (3Sources): The dataset was collected from three online news organizations, the BBC, Reuters, and the Guardian, from February to April 2009. These three organizations reported 169 stories on one of six topics (entertainment, health, politics, business, sports, science, and technology).
  • Wikipedia articles dataset (http://www.svcl.ucsd.edu/projects/crossmodal/ accessed on 14 August 2022) (Wikipedia) [48,49]: This dataset is a selection of files from a collection of Wikipedia featured articles. Each article has 2 perspectives and 10 categories; 693 instances are selected as experimental datasets.
  • One-hundred plant species leaves dataset (https://archive.ics.uci.edu/ml/datasets/One-hundred+plant+species+leaves+data+set accessed on 14 August 2022) (100leaves) [50]: The dataset consists of 1600 samples from three perspectives, each of which is one of 100 species.
  • Handwritten digit 2 source dataset (https://cs.nyu.edu/~roweis/data.html accessed on 14 August 2022) (HW2sources): The dataset was collected from 2000 samples from two sources: MNIST handwritten digits (0–9) and USPS handwritten digits (0–9).

5.3.2. Baseline Method

To verify the performance of the methods presented in this paper, performance comparisons will be made between the following methods:
  • Normalized cut (Ncut) [14]: Ncut is a typical graphics-based method, which is used in each perspective of each dataset to select the best performance perspective as the result. The parameters in the algorithm are set according to the author’s recommendations.
  • Fast unfolding algorithm (Louvain) [16]: Louvain is a modularity-based community detection algorithm that discovers hierarchical community structures with the objective of maximizing the modularity of the entire graph’s attribute structure. In this paper, we construct the weight matrix by Gaussian kernel function and run the algorithm in a recursive manner.
  • Clustering with Adaptive Neighbors (CAN) [51]: CAN is an algorithm that learns both data similarity matrix and clustering structure. It assigns an adaptive and optimal neighbor to each data point based on the local distance to learn the data similarity matrix. The number of iterations and parameters of this algorithm run in this paper are the default values set by the author.
  • Smooth Representation (SMR) [52]: This method deeply analyzes the grouping effect of representation-based methods, and then sub-spatial clustering is performed by the grouping effect. When experimenting on datasets with this method, the parameters are set to α = 20 and k n n = 4 .
  • Multi-View Deep Matrix Factorization (DMF) [53]: DMF can discover hidden hierarchical geometry structures and have better performance in clustering and classification. In this paper, the model is set into two layers, with the first layer having 50 implicit attributes.
  • Co-regularized Spectral Clustering (CRSC) [24]: This method achieves multi-view clustering by co-regularizing the clustering hypothesis, which is a typical multi-view clustering method based on spectral clustering and kernel learning. It uses the default parameters set by the author.
  • Multi-view Clustering with Graph Learning (MVGL) [54]: This is a multi-view clustering method based on graphics learning, which learns initial diagrams from data points of different views and further optimizes the initial diagrams using rank constraints of Laplace matrices.We set the number of neighbors to the default value of 10 for our experiment.
  • Proximity-based Multi-View NMF (PMVNMF) [55]: It exploits the local and global structure of the data space to deal with sparsity in real multimedia (text and image) data and by transferring probability matrices as first-order and second-order approximation matrices to reveal their respective underlying local and global geometric structures. This method uses the default parameters set by the author.
Among the eight baseline methods mentioned above, the top four are algorithms that work on a single view, and the last four are multi-view clustering methods. Ncut is a widely used algorithm today and can be used for community detection and clustering; Louvain is a module-based community detection method; CAN and SMR are node-based community detection methods; DMF and CRSC are multi-view spectral clustering methods based on the k-NN algorithm and kernel learning, respectively; MVGL is a method based on multi-view clustering; PMVNMF is a new multi-view clustering method with better performance.

5.3.3. Parameter Analysis

In this section, we verify the performance of our adaptive loss function (marked as ALMV-N1.5). Figure 8 shows the performance of ALMV algorithm on ACC, NMI, and Q value with σ = 0.1 , σ 0.1 , and σ . It can be seen that the performance of the multi-view community detection method depends on the type of loss function. AlMV-N21, which constructs the loss function with l21-norm, is significantly lower than ALMV-N1.5 in ACC and NMI, and the Q value is only slightly better than ALMV-N1.5 in WebKB and 3sources datasets. The performance of ALMV-NF, which constructs a loss function with F-norm is inferior to ALMV-N1.5 in ACC, NMI, and Q values. This shows that the performance of our adaptive loss function is better than the conventional loss function, which provides a new idea for the loss function construction in other fields.

5.3.4. Experimental Result on Public Dataset

In this section, we compare the ALMV algorithm with eight baseline methods described in Section 5.3.2. We use eight real-world networks described in Section 5.3.1 as the experiment data, and the results are shown in Table 5 and Figure 9.
The AC, NMI, AR, and F-score of each algorithm are given in Table 5. The best results for each dataset experiment are highlighted in bold. We can see that the method proposed in this paper clearly outperforms all the baseline methods, showing the best performance on all datasets except for the AR and F-score on the 100leaves dataset, which are slightly lower than MVGL. The 100Leaves dataset contains 100 clusters, which makes ALMV vulnerable to the interference of information from other nodes in the same layer in capturing the features of each perspective, resulting in a degradation of the final community detection performance. Compared with the graph-based method MVGL, ALMV has a significant performance advantage over other datasets. The adaptive loss function used in ALMV can take advantage of the robustness of the l21-norm and F-norm, and automatically weighted the network when fusing it, effectively capturing the core information of each perspective.
Figure 9 shows the Q values of each algorithm on the eight datasets. Overall, the ALMV algorithm shows a strong competitive performance. ALMV’s performance is more stable and does not fluctuate as much with data changes. In the WebKB dataset, for example, the Q value of the ALMV algorithm is slightly lower than that of SMR and NCUT. NCUT, on the other hand, is unable to perform the community detection task on data with complicated links, such as Wikipedia and 100Leaves. Similarly, SMR also shows extremely low community detection performance on BBC, BBCSport, and NGs. The Q values of the ALMV algorithm are closer to those of MVGL and CAN on the 100Leaves dataset; however, MVGL and CAN are clearly more influenced by the data type and consequently exhibit more fluctuations in the results across datasets. Although the PMVNMF and Louvain algorithms are stable, their overall Q values are lower than those of the ALMV method.
In addition to providing the Q value, AC, AR, F-score, and NMI score of the algorithm on each dataset, we also give the visual presentation and matrix diagram of the algorithm on the 20NGs and 100Leaves datasets. As shown in Figure 10, each color in the figure represents a community. The visual graph of the multi-view community detection is represented by the term multiview. The visual graphs under the word frequency, keyword, and topic perspectives are denoted by the terms view1, view2, and view3, respectively. The community boundaries in view1 and view2 are much less obvious than in multiview, and the communities overlap considerably. ALMV gradually increases the weight of effective perspectives while decreasing the weight of less useful perspectives during the consensus matrix learning process, weakening the influence of invalid information on the final outcomes and improving ALMV’s community detection performance.
Figure 11 is the matrix diagram of the community detection results on the 20NGs and 100leaves datasets. We can observe that both single and multiple views can identify the number of connected components in the matrix graph, but the effect of multiple views is significantly improved compared to single views. For example, the contours of the connected components in Figure 11d are very fuzzy, the cohesiveness of the community is weak. Similarly, in Figure 11f–h, we can see that there are more outliers around the principal components, a situation that is more serious for a network with more clusters such as 100Leaves, which directly reduces the clustering coefficient of the network. ALMV will reduce the weight of such perspective during the consensus matrix learning process, thus improving the community detection performance.

6. Conclusions

This paper proposes a multi-view fusion method for semantic social networks based on adaptive loss function for community detection. We extract the text features of semantic social networks from three views: word frequency, keywords, and topics, and propose a new similarity calculation method based on sparse representation to reconstruct the network for each view. Combining the advantages of L21-norm and F-norm, we use the adaptive loss function to automatically weight the correlation matrix of each view. We embed the spectral clustering process in the objective optimization function, which enables the algorithm to output community structure while performing matrix fusion.
We compare the proposed method to seven representative algorithms on eight datasets. We discovered that: (1) when considering only one single view of the network, the modularity of community structure is low, and the visual graphics are unreasonable; (2) when considering multiple views of the network, the modularity of community structure is high, and the community has obvious boundaries in the visual graphics; (3) the method proposed in this paper can effectively reduce the impact of less important views on matrix fusion, which enables the community detection algorithm to achieve better performance in terms of modularity, accuracy, and F-score.
Dynamic properties are common in real semantic social networks. In future work, we will investigate how to design efficient adaptive algorithms to calibrate the existing community structure during network evolution to achieve online community detection.

Author Contributions

Investigation, H.Y. and Q.L.; methodology, J.Z. and X.D.; software, C.C. and L.W.; supervision, H.Y.; writing—original draft, H.Y. and J.Z.; writing—review and editing, Q.L. and J.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This work is sponsored by the National Natural Science Foundation of China (61402126, 62101163), Nature Science Foundation of Heilongjiang Province of China (F2016024, LH2021F029), Heilongjiang Postdoctoral Fund (LBH-Z15095, LBH-Z20020), China Postdoctoral Science Foundation (No.2021M701020), University Nursing Program for Young Scholars with Creative Talents in Heilongjiang Province (UNPYSCT-2017094), and the Fundamental Research Foundation for Universities of Heilongjiang Province (2020-KYYWF-0341).

Data Availability Statement

The publicly available datasets analyzed for this study can be found in http://www.cs.cmu.edu/~WebKB/ (accessed on 14 August 2022). Further inquiries can be directed to the corresponding author.

Acknowledgments

The authors would like to thank all anonymous reviewers for their comments.

Conflicts of Interest

The authors declare that they have no competing interests.

References

  1. Dakiche, N.; Tayeb, F.B.S.; Slimani, Y.; Benatchba, K. Tracking community evolution in social networks: A survey. Inf. Process. Manag. 2019, 56, 1084–1102. [Google Scholar] [CrossRef]
  2. Li, L.; He, J.; Wang, M.; Wu, X. Trust agent-based behavior induction in social networks. IEEE Intell. Syst. 2016, 31, 24–30. [Google Scholar] [CrossRef]
  3. Abdelsadek, Y.; Chelghoum, K.; Herrmann, F.; Kacem, I.; Otjacques, B. Community extraction and visualization in social networks applied to Twitter. Inf. Sci. 2018, 424, 204–223. [Google Scholar] [CrossRef]
  4. Fortunato, S.; Hric, D. Community detection in networks: A user guide. Phys. Rep. 2016, 659, 1–44. [Google Scholar] [CrossRef]
  5. Ma, T.; Liu, Q.; Cao, J.; Tian, Y.; Al-Dhelaan, A.; Al-Rodhaan, M. LGIEM: Global and local node influence based community detection. Future Gener. Comput. Syst. 2020, 105, 533–546. [Google Scholar] [CrossRef]
  6. Chunaev, P. Community detection in node-attributed social networks: A survey. Comput. Sci. Rev. 2020, 37, 100286. [Google Scholar] [CrossRef]
  7. Sharma, K.K.; Seal, A. Outlier-robust multi-view clustering for uncertain data. Knowl.-Based Syst. 2021, 211, 106567. [Google Scholar] [CrossRef]
  8. Wang, H.; Yang, Y.; Liu, B. GMC: Graph-based multi-view clustering. IEEE Trans. Knowl. Data Eng. 2019, 32, 1116–1129. [Google Scholar] [CrossRef]
  9. Wu, J.; Xie, X.; Nie, L.; Lin, Z.; Zha, H. Unified Graph and Low-Rank Tensor Learning for Multi-View Clustering. Proc. AAAI Conf. Artif. Intell. 2020, 34, 6388–6395. [Google Scholar] [CrossRef]
  10. Newman, M.E. Fast algorithm for detecting community structure in networks. Phys. Rev. E 2004, 69, 066133. [Google Scholar] [CrossRef]
  11. Clauset, A.; Newman, M.E.; Moore, C. Finding community structure in very large networks. Phys. Rev. E 2004, 70, 066111. [Google Scholar] [CrossRef]
  12. Donetti, L.; Munoz, M.A. Detecting network communities: A new systematic and efficient algorithm. J. Stat. Mech. Theory Exp. 2004, 2004, P10012. [Google Scholar] [CrossRef]
  13. Mitrović, M.; Tadić, B. Spectral and dynamical properties in classes of sparse networks with mesoscopic inhomogeneities. Phys. Rev. E 2009, 80, 026123. [Google Scholar] [CrossRef]
  14. Cour, T.; Benezit, F.; Shi, J. Spectral segmentation with multiscale graph decomposition. In Proceedings of the 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR’05), San Diego, CA, USA, 20–25 June 2005; IEEE: New York, NY, USA, 2005; Volume 2, pp. 1124–1131. [Google Scholar]
  15. Guimera, R.; Amaral, L.A.N. Functional cartography of complex metabolic networks. Nature 2005, 433, 895–900. [Google Scholar] [CrossRef]
  16. Blondel, V.D.; Guillaume, J.L.; Lambiotte, R.; Lefebvre, E. Fast unfolding of communities in large networks. J. Stat. Mech. Theory Exp. 2008, 2008, P10008. [Google Scholar] [CrossRef]
  17. Arenas, A.; Duch, J.; Fernández, A.; Gómez, S. Size reduction of complex networks preserving modularity. New J. Phys. 2007, 9, 176. [Google Scholar] [CrossRef]
  18. Newman, M.E. Analysis of weighted networks. Phys. Rev. E 2004, 70, 056131. [Google Scholar] [CrossRef]
  19. Wang, J.; Zeng, H.; Chen, Z.; Lu, H.; Tao, L.; Ma, W.Y. Recom: Reinforcement clustering of multi-type interrelated data objects. In Proceedings of the 26th Annual International ACM SIGIR Conference on Research and Development in Informaion Retrieval, Toronto, ON, Canada, 28 July–1 August 2003; pp. 274–281. [Google Scholar]
  20. Bickel, S.; Scheffer, T. Multi-view clustering. In Proceedings of the Fourth IEEE International Conference on Data Mining (ICDM’04), Brighton, UK, 1–4 November 2004; pp. 19–26. [Google Scholar] [CrossRef]
  21. Kailing, K.; Kriegel, H.P.; Pryakhin, A.; Schubert, M. Clustering multi-represented objects with noise. Pacific-Asia Conference on Knowledge Discovery and Data Mining; Springer: Berlin/Heidelberg, Germany, 2004; pp. 394–403. [Google Scholar]
  22. Jiang, Y.; Liu, J.; Li, Z.; Lu, H. Collaborative PLSA for multi-view clustering. In Proceedings of the 21st International Conference on Pattern Recognition (ICPR2012), Tsukuba, Japan, 11–15 November 2012; IEEE: New York, NY, USA, 2012; pp. 2997–3000. [Google Scholar]
  23. Ghassany, M.; Grozavu, N.; Bennani, Y. Collaborative multi-view clustering. In Proceedings of the 2013 International Joint Conference on Neural Networks (IJCNN), Dallas, TX, USA, 4–9 August 2013; IEEE: New York, NY, USA, 2013; pp. 1–8. [Google Scholar]
  24. Kumar, A.; Rai, P.; Daume, H. Co-regularized multi-view spectral clustering. Adv. Neural Inf. Process. Syst. 2011, 24, 1413–1421. [Google Scholar]
  25. Liu, X.; Zhu, X.; Li, M.; Wang, L.; Zhu, E.; Liu, T.; Kloft, M.; Shen, D.; Yin, J.; Gao, W. Multiple kernel k k-means with incomplete kernels. IEEE Trans. Pattern Anal. Mach. Intell. 2019, 42, 1191–1204. [Google Scholar] [CrossRef]
  26. Nie, F.; Li, J.; Li, X. Parameter-free auto-weighted multiple graph learning: A framework for multiview clustering and semi-supervised classification. In Proceedings of the Twenty-Fifth International Joint Conference on Artificial Intelligence (IJCAI-16), New York, NY, USA, 9–15 July 2016; pp. 1881–1887. [Google Scholar]
  27. Wang, Y.; Lin, X.; Wu, L.; Zhang, W.; Zhang, Q. Exploiting correlation consensus: Towards subspace clustering for multi-modal data. In Proceedings of the 22nd ACM International Conference on Multimedia, Orlando, FL, USA, 3–7 November 2014; pp. 981–984. [Google Scholar]
  28. Kuang, D.; Ding, C.; Park, H. Symmetric nonnegative matrix factorization for graph clustering. In Proceedings of the 2012 SIAM International Conference on Data Mining, Anaheim, CA, USA, 26–28 April 2012; SIAM: Philadelphia, PA, USA, 2012; pp. 106–117. [Google Scholar]
  29. Rajput, N.K.; Ahuja, B.; Riyal, M.K. A statistical probe into the word frequency and length distributions prevalent in the translations of Bhagavad Gita. Pramana 2019, 92, 1–6. [Google Scholar] [CrossRef]
  30. Liu, J.; Yang, T. Word Frequency Data Analysis in Virtual Reality Technology Industrialization. J. Physics Conf. Ser. 2021, 1813, 012044. [Google Scholar] [CrossRef]
  31. Rajput, N.K.; Grover, B.A.; Rathi, V.K. Word frequency and sentiment analysis of twitter messages during coronavirus pandemic. arXiv 2020, arXiv:2004.03925. [Google Scholar]
  32. Yang, L.; Li, K.; Huang, H. A new network model for extracting text keywords. Scientometrics 2018, 116, 339–361. [Google Scholar] [CrossRef]
  33. Blei, D.M. Probabilistic topic models. Commun. ACM 2012, 55, 77–84. [Google Scholar] [CrossRef]
  34. Nie, F.; Wang, X.; Jordan, M.; Huang, H. The Constrained Laplacian Rank Algorithm for Graph-Based Clustering. Proc. AAAI Conf. Artif. Intell. 2016, 30. [Google Scholar] [CrossRef]
  35. Wright, J.; Yang, A.Y.; Ganesh, A.; Sastry, S.S.; Ma, Y. Robust face recognition via sparse representation. IEEE Trans. Pattern Anal. Mach. Intell. 2008, 31, 210–227. [Google Scholar] [CrossRef]
  36. Zhang, R.; Nie, F.; Guo, M.; Wei, X.; Li, X. Joint learning of fuzzy k-means and nonnegative spectral clustering with side information. IEEE Trans. Image Process. 2018, 28, 2152–2162. [Google Scholar] [CrossRef]
  37. Oellermann, O.R.; Schwenk, A.J. The Laplacian Spectrum of Graphs; University of Manitoba: Winnipeg, MB, USA, 1991. [Google Scholar]
  38. Fan, K. On a theorem of Weyl concerning eigenvalues of linear transformations: II. Proc. Natl. Acad. Sci. USA 1950, 36, 31. [Google Scholar] [CrossRef]
  39. Nie, F.; Wang, H.; Huang, H.; Ding, C. Adaptive loss minimization for semi-supervised elastic embedding. In Proceedings of the Twenty-Third International Joint Conference on Artificial Intelligence, Beijing, China, 3–9 August 2013. [Google Scholar]
  40. Grover, A.; Leskovec, J. node2vec: Scalable feature learning for networks. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA, 13–17 August 2016; pp. 855–864. [Google Scholar]
  41. Cai, D.; He, X.; Han, J. Document clustering using locality preserving indexing. IEEE Trans. Knowl. Data Eng. 2005, 17, 1624–1637. [Google Scholar] [CrossRef]
  42. Hu, J.; Li, T.; Luo, C.; Fujita, H.; Yang, Y. Incremental fuzzy cluster ensemble learning based on rough set theory. Knowl.-Based Syst. 2017, 132, 144–155. [Google Scholar] [CrossRef]
  43. Santos, J.M.; Embrechts, M. On the use of the adjusted rand index as a metric for evaluating supervised classification. In Proceedings of the International Conference on Artificial Neural Networks, Limassol, Cyprus, 14–17 September 2009; Springer: Berlin/Heidelberg, Germany, 2009; pp. 175–184. [Google Scholar]
  44. Lovász, L.; Plummer, M.D. Matching Theory; American Mathematical Society: Providence, RI, USA, 2009; Volume 367. [Google Scholar]
  45. Newman, M.E.; Girvan, M. Finding and evaluating community structure in networks. Phys. Rev. E 2004, 69, 026113. [Google Scholar] [CrossRef]
  46. Getoor, L. Link-based classification. In Advanced Methods for Knowledge Discovery from Complex Data; Springer: Berlin/Heidelberg, Germany, 2005; pp. 189–207. [Google Scholar]
  47. Greene, D.; Cunningham, P. Practical solutions to the problem of diagonal dominance in kernel document clustering. In Proceedings of the 23rd International Conference on Machine Learning, Pittsburgh, PA, USA, 25–29 June 2006; pp. 377–384. [Google Scholar]
  48. Pereira, J.C.; Coviello, E.; Doyle, G.; Rasiwasia, N.; Lanckriet, G.R.; Levy, R.; Vasconcelos, N. On the role of correlation and abstraction in cross-modal multimedia retrieval. IEEE Trans. Pattern Anal. Mach. Intell. 2013, 36, 521–535. [Google Scholar] [CrossRef]
  49. Rasiwasia, N.; Costa Pereira, J.; Coviello, E.; Doyle, G.; Lanckriet, G.R.; Levy, R.; Vasconcelos, N. A new approach to cross-modal multimedia retrieval. In Proceedings of the 18th ACM International Conference on Multimedia, Firenze, Italy, 25–29 October 2010; pp. 251–260. [Google Scholar]
  50. Mallah, C.; Cope, J.; Orwell, J. Plant leaf classification using probabilistic integration of shape, texture and margin features. Signal Process. Pattern Recognit. Appl. 2013, 5, 45–54. [Google Scholar]
  51. Nie, F.; Wang, X.; Huang, H. Clustering and projected clustering with adaptive neighbors. In Proceedings of the 20th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, New York, NY, USA, 24 –27 August 2014; pp. 977–986. [Google Scholar]
  52. Hu, H.; Lin, Z.; Feng, J.; Zhou, J. Smooth representation clustering. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Columbus, OH, USA, 23–28 June 2014; pp. 3834–3841. [Google Scholar]
  53. Zhao, H.; Ding, Z.; Fu, Y. Multi-view clustering via deep matrix factorization. In Proceedings of the Thirty-First AAAI Conference on Artificial Intelligence, San Francisco, CA, USA, 4–9 February 2017. [Google Scholar]
  54. Zhan, K.; Zhang, C.; Guan, J.; Wang, J. Graph learning for multiview clustering. IEEE Trans. Cybern. 2017, 48, 2887–2895. [Google Scholar] [CrossRef]
  55. Bansal, M.; Sharma, D. A novel multi-view clustering approach via proximity-based factorization targeting structural maintenance and sparsity challenges for text and image categorization. Inf. Process. Manag. 2021, 58, 102546. [Google Scholar] [CrossRef]
Figure 1. The process of multi-view feature representation of social networks.
Figure 1. The process of multi-view feature representation of social networks.
Entropy 24 01141 g001
Figure 2. The data storage matrix for social networks.
Figure 2. The data storage matrix for social networks.
Entropy 24 01141 g002
Figure 3. Community structure from the view of word frequency of microblog dataset.
Figure 3. Community structure from the view of word frequency of microblog dataset.
Entropy 24 01141 g003
Figure 4. Community structure from the view of keywords of the microblog dataset.
Figure 4. Community structure from the view of keywords of the microblog dataset.
Entropy 24 01141 g004
Figure 5. The Q value with different number of neighbors and topics. (a) Modularity Q varies with the number of topics (b) Modularity Q varies with the number of neighbors.
Figure 5. The Q value with different number of neighbors and topics. (a) Modularity Q varies with the number of topics (b) Modularity Q varies with the number of neighbors.
Entropy 24 01141 g005
Figure 6. Community structure from the view of topic of microblog dataset.
Figure 6. Community structure from the view of topic of microblog dataset.
Entropy 24 01141 g006
Figure 7. Result of single-view and multi-view community detection of microblog datasets with word frequency = 12,500, keyword = 3000, and topic = 30.
Figure 7. Result of single-view and multi-view community detection of microblog datasets with word frequency = 12,500, keyword = 3000, and topic = 30.
Entropy 24 01141 g007
Figure 8. Performance ALMV with different parameter σ . (a) Accuracy; (b) Normalized Mutual Information; (c) Modularity.
Figure 8. Performance ALMV with different parameter σ . (a) Accuracy; (b) Normalized Mutual Information; (c) Modularity.
Entropy 24 01141 g008
Figure 9. The Q value of the nine algorithms on eight datasets.
Figure 9. The Q value of the nine algorithms on eight datasets.
Entropy 24 01141 g009
Figure 10. The results of running ALMV algorithm on 20NGs and 100leaves datasets. (a) 20NGs-multiview; (b) 20NGs-view1; (c) 20NGs-view2; (d) 20NGs-view3; (e) 100leaves-multiview; (f) 100leaves-view1; (g) 100leaves-view2; (h) 100leaves-view3.
Figure 10. The results of running ALMV algorithm on 20NGs and 100leaves datasets. (a) 20NGs-multiview; (b) 20NGs-view1; (c) 20NGs-view2; (d) 20NGs-view3; (e) 100leaves-multiview; (f) 100leaves-view1; (g) 100leaves-view2; (h) 100leaves-view3.
Entropy 24 01141 g010aEntropy 24 01141 g010b
Figure 11. The matrix diagram of running ALMV algorithm on 20NGs and 100leaves datasets. (a) 20NGS-multiview; (b) 20NGs-view1; (c) 20NGs-view2; (d) 20NGs-view3; (e) 100leaves-multiview; (f) 100leaves-view1; (g) 100leaves-view2; (h) 100leaves-view3.
Figure 11. The matrix diagram of running ALMV algorithm on 20NGs and 100leaves datasets. (a) 20NGS-multiview; (b) 20NGs-view1; (c) 20NGs-view2; (d) 20NGs-view3; (e) 100leaves-multiview; (f) 100leaves-view1; (g) 100leaves-view2; (h) 100leaves-view3.
Entropy 24 01141 g011
Table 1. Description of notations.
Table 1. Description of notations.
NotationDescription
GSocial network
IIdentity matrix
1 Column vector with all 1 element
CConnected matrix
SConsensus matrix
ω The weight of single-view
kThe number of communities
VThe number of analysis views
T r ( X ) Trace of matrix X
X F Frobenius norm of matrix X
X i i-norm of matrix X
x i i-norm of matrix x
Table 2. Modularity of the network reconstructed by word frequency.
Table 2. Modularity of the network reconstructed by word frequency.
Word FrequencyModularity Q
25000.5342
50000.6663
75000.6701
10,0000.7024
11,0000.7392
12,5000.7441
14,0000.7172
15,0000.7263
20,0000.6972
Table 3. Modularity of the network reconstructed by keywords.
Table 3. Modularity of the network reconstructed by keywords.
KeywordsModularity Q
2500.6195
5000.6421
10000.6376
15000.6710
20000.7001
25000.6986
30000.7165
40000.6781
50000.6734
Table 4. Description of multi-view datasets.
Table 4. Description of multi-view datasets.
DatasetCategoriesViewSamplesFeatures
WebKB432031703/230/230
BBC546854659/4633/4665/4684
BBCSport525443183/3203
20NGs535002000/2000/2000
3Sources631693560/3631/3068
Wikipedia102693128/10
100leaves1003160064/64/64
HW2sources1022000784/256
Table 5. Performance comparison of the eight algorithms on eight datasets.
Table 5. Performance comparison of the eight algorithms on eight datasets.
DatasetIndexNcutLouvainCANSMRDMFCRSCMVGLPMVNMFALMV
WebKBAC(%)72.4148.7756.1665.5264.0470.4430.1871.2376.85
NMI(%)28.7338.239.2434.5125.2927.1810.9039.2243.51
AR(%)36.0335.825.0837.4931.4634.493.6131.5643.97
F-score(%)64.0454.1256.2962.4757.1961.5433.9269.2370.04
BBCAC(%)32.5621.3134.1648.9128.3833.1434.7448.5369.34
NMI(%)2.6641.414.4036.577.421.886.4040.5656.28
AR(%)0.0710.070.5917.103.650.230.1544.8747.89
F-score(%)37.7013.7138.0740.2725.3937.9337.4650.6363.33
BBCSportsAC(%)35.6620.0436.5871.5132.5435.8540.0773.5280.88
NMI(%)1.2948.564.3656.066.241.8114.2463.2176.35
AR(%)0.2310.690.4846.243.630.264.0252.9072.78
F-score(%)38.3614.0938.4861.5526.0238.4340.0866.7179.88
20NGsAC(%)21.2025.6023.0046.6036.8021.8022.8034.6497.80
NMI(%)2.1147.406.9832.6110.972.9677.5147.6592.87
AR(%)015.670.3117.167.950.060.2313.9894.57
F-score(%)38.3614.0938.4861.5526.0238.4340.0837.7895.65
3SourcesAC(%)33.1449.1135.5049.1137.2231.3622.8056.8275.74
NMI(%)4.2062.5510.7441.6223.787.927.5146.9567.05
AR(%)−0.2139.910.0422.8410.43.550.2340.3153.70
F-score(%)29.1247.8436.3642.7730.8628.3432.7855.1266.55
WikipediaAC(%)52.8119.6353.8258.3050.7951.3724.3943.3461.18
NMI(%)50.195.5255.5755.2351.7640.2020.3352.5856.25
AR(%)35.321.7331.4641.4533.9833.420.7336.6045.27
F-score(%)43.0914.7840.8848.4241.5740.5019.1044.1251.80
100leavesAC(%)47.6357.1963.6933.7523.8775.0676.5671.3282.56
NMI(%)72.3681.5983.6265.8654.6890.3989.2983.7593.25
AR(%)31.1542.1842.9420.999.3969.41 50.6257.1254.58
F-score(%)31.9742.8943.6522.1210.3169.7351.2551.7655.17
HW2sourcesAC(%)11.9053.4048.2546.1540.7168.3598.4596.3299.05
NMI(%)1.3357.3360.4543.2736.7861.0196.2095.3297.61
AR(%)040.4630.8829.3122.6853.1596.5992.6197.90
F-score(%)16.0146.2441.2536.9330.5057.8696.9396.7398.11
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Yang, H.; Liu, Q.; Zhang, J.; Ding, X.; Chen, C.; Wang, L. Community Detection in Semantic Networks: A Multi-View Approach. Entropy 2022, 24, 1141. https://doi.org/10.3390/e24081141

AMA Style

Yang H, Liu Q, Zhang J, Ding X, Chen C, Wang L. Community Detection in Semantic Networks: A Multi-View Approach. Entropy. 2022; 24(8):1141. https://doi.org/10.3390/e24081141

Chicago/Turabian Style

Yang, Hailu, Qian Liu, Jin Zhang, Xiaoyu Ding, Chen Chen, and Lili Wang. 2022. "Community Detection in Semantic Networks: A Multi-View Approach" Entropy 24, no. 8: 1141. https://doi.org/10.3390/e24081141

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop