1. Introduction and Related Work
Social Network Analysis (SNA) is described as the study and understanding of the relationships between two or more items. As one of the hottest topics of SNA, the Community Detection Problem (CDP) has become a problem of great interest in modern statistics with applications in several fields [
1,
2,
3].
Most of the algorithms and definitions of community detection problems assume that the only information available for identifying the clusters/communities in a network is the graph which describes its structure. This graph can be non-directed and binary (all the relations in the network are equals) in the classical and most studied community detection problem [
2]; non-directed and valued (the network is modeled by a weighted non-directed graph), or the case in which the relations are not symmetrical [
1,
4,
5]. There are other interesting approaches focused on the incorporation of additional information to the crisp graphs, specifically to find communities in a network [
6,
7]. Nevertheless, any of these approaches only considers the community detection problem from a topological point of view, with a focus on the problem from the relations between nodes, but not considering other types of information that could be relevant in order to find communities in a real problem.
We illustrate our idea with an example. Let us present a situation in which we have a set V of nodes which represents the members of a parliament, whose friendly relations are known to us by the crisp graph . Let us assume that the reason why they are interacting is because they are voting on a specific law in parliament. This information (the voting problem) and also their political preference on the law (or their capacity in the voting problem) could be relevant information to identify the clusters in the network.
To deal with this type of problem, in [
8,
9,
10,
11,
12], the authors introduce a new element to the community detection problem: a capacity measure that tries to model and reflect the reason why the nodes are interacting in the network in addition to the interests of the nodes to remain united. From this perspective, in [
11], we present an efficient algorithm for a community detection problem that deals with networks and fuzzy measures in that sense. Furthermore, in [
13], we present a constructive method to build a 1-additive fuzzy measure from a crisp valuation of the nodes in the network.
Nevertheless and due to the natural uncertainty in real problems, the information associated with the network nodes is not usually assumed to be crisp in a natural way. Uncertainty is associated with the lack of knowledge about the occurrence of some event. Within the last decades, two important models are proposed to represent different types of uncertainty: randomness and vagueness/imprecision. Whereas the randomness emerges due to the lack of knowledge about the occurrence of some event [
14], vagueness a phenomenon rises when trying to group together objects that share a certain property. A typical vague property is “to be a small number” or “to be a tall person”, or (taking the previous example of the voting system in a parliament) “to be against a specific law”. In this way, the fuzzy linguistic approach has been successfully applied to many problems [
15]. Taking into account this type of information, an important goal of this work is to provide a methodology to face community detection problems in networks with additional soft information. With the aim to extend some of the definitions and algorithms presented in [
13] for crisp information, in this paper, we work on the basis of the existence of a vector (or a family of them) whose elements are no longer crisp values, but they are fuzzy sets that provide some type of soft information related to the individuals in the problem. In this context, another important objective of this work arises: we characterize a new representation tool which generalizes other existing models in the literature, regarding the nature of the information: the extended fuzzy graph based on a fuzzy vector (EFVFG). It is defined on the basis of a crisp networks and a vector of fuzzy sets. Another goal is to extend it to a more complex scenario in which there is not only one type of information but many; in this situation, we strongly recommend consideration of the multi-dimensional extended fuzzy graph fuzzy vector-based (MEFVFG), which is defined on the basis of a family of vectors of fuzzy sets.
Then, we suggest a specific application of the new representation model, which is useful to obtain realistic partitions in a network with additional soft information. We present a competitive algorithm which introduces fuzzy sets to the process of grouping individuals. It is a modification of the well-known Louvain algorithm for crisp networks [
16] that allows us to deal with soft information in the network, which is developed on the basis of MEFVFG. To guarantee the quality of the proposed methodology, we dedicate an important part of this work to its evaluation. The computational results showed in this work, obtained through a benchmarking process developed on the basis of some trapezoidal fuzzy sets, allow us to assert the good performance of our algorithm.
This paper is organized as follows. In
Section 2, we lay the foundations of the work, showing several concepts and definitions that are useful for the understanding and follow-up of the work. In
Section 3, we characterize a new model representation based on soft information about the individuals of a network given by several fuzzy sets. After that, in
Section 4, we propose a specific application of that new tool, related to the community detection problem with additional soft information, which is a very live issue in the field of SNA. In order to evaluate the performance of the proposed methodology, we show some computational results in
Section 5. The paper ends in
Section 6 with some conclusions and a final discussion.
3. Model Definition: Building Extended Fuzzy Graphs from Graphs with Fuzzy Nodes Information
In this section, we work on the definition of a new representation tool. Firstly, we do this in a uni-dimensional scenario, assuming there is an additional fuzzy information vector related to the individuals of a set
V, denoted by
. For each
, the fuzzy set
(characterized by its membership function
) represents the vague or imprecise information associated to the node
i of some characteristic or evidence. This fuzzy modelization is especially useful (but not only) when the information associated with each node is gathered (for example) by a linguistic term. Specifically, in this case, we could work with linguistic terms
. By analogy with [
9], we first propose a characterization of a fuzzy Sugeno
-measure from this fuzzy vector
. This measure is denoted by
.
Definition 5 (Fuzzy Sugeno
-measure obtained from fuzzy sets).
Given the set , let denote a vector of fuzzy sets defined over a universe (i.e., ), and let denote a defuzzification operator. Then, for any and , a natural definition of is is:
where
, with
. Note that the interpretation of depends on p. Specifically,
Proposition 1. Given the parameter , the function is a fuzzy Sugeno λ-measure 1-additive.
Proof. Because of the properties of the Sugeno
-measures [
29] in addition to the assumption of
, we have
. Then,
,
, so
meets the conditions of fuzzy measures [
30], Sugeno
-measures [
29] and 1-additivity [
31].
Trivial.
.
Let . Then, , so is a fuzzy measure.
Sugeno -measure. Trivial by definition.
1-additivity: regarding [
31], it is trivial if
, we define
.
□
Proposition 2. Given the parameter , is a fuzzy Sugeno λ-measure.
Proof. The proof is similar to that of Proposition 1. □
So, we generalize the notion of
extended fuzzy graph vector based,
[
9] to a scenario where the additional information is not provided by a crisp vector
x, but it comes from a vector of fuzzy sets,
.
Definition 6 (Extended fuzzy graph fuzzy vector based (EFVFG)). Let denote a graph with individuals and edges. Let denote a vector of fuzzy sets in membership function form, each of them related to an individual of V. Let denote a defuzzification operator, and given the parameter , let denote the fuzzy Sugeno λ-measure obtained from . Then, the tuple is said to be a fuzzy extended graph based on the fuzzy vector .
Example 1. Let denote a fuzzy linguistic variable defined over the universe , which is characterized by the corresponding membership functions associated with the different linguistic terms that represent how in agreement a person is with some law denoted by . Let define a cyclic graph with and , and finally, let denote a vector of fuzzy sets that models the linguistic terms affinity of these nodes of V to the law .
From the previous definition, it is possible to build (for any ) the extended fuzzy graph associated with the fuzzy vector and the graph , that is: .
Assuming we can have more than one characteristic associated with each node in a network, we go beyond the uni-dimensional case by considering there is not only a vector of fuzzy sets , but a family of them, , each of them defining some extra knowledge about the individuals.
Definition 7 (Multi-dimensional extended fuzzy graph fuzzy vector based (MEFVFG)). Let denote a graph with n nodes and m edges, and let denote a family of r independent vector of n fuzzy sets, each of them defining a type of information, so that the component is the fuzzy set related to the characteristic ℓ and the individual i with membership function . Let be a defuzzification operator (that we will assume that is the same for all characteristics ), and let be a parameter in .
Then, the tuple is said to be a multi-dimensional extended fuzzy graph (MEFVFG) based on the r fuzzy vectors ( ).
Example 2. Let denote a fuzzy linguistic variable defined over the universe characterized by the corresponding membership functions associated with the different linguistic terms that represent how in agreement a person is with a specific law, . Let denote a cyclic graph with and , and finally let be a vector of fuzzy sets that models the linguistic terms affinity of these eight nodes to the congress proposal and let be a vector of eight fuzzy sets that models the linguistic terms affinity of the eight nodes to the congressional bill, which is denoted by (see Figure 2). From the previous definition, for any ,, it is possible to build the MEFVFG associated with the two fuzzy vectors as Let us remark that this last case generalizes other existent tools, such as for example fuzzy graphs defined in [
32], which actually only define relations between connected individuals, the extended fuzzy graphs [
11], in which the additional information is about the relations between the elements but not on the individuals itself; or the [
9] whose additional information is about individuals, but it is crisp.
Figure 2.
Graph and fuzzy linguistic variable .
Figure 2.
Graph and fuzzy linguistic variable .
4. An Application: Social Network Analysis with Soft Information
As a specific application of the new proposed model, we take up firstly the idea introduced in [
9] about community detection in graphs taking into account the information given by a crisp vector,
x. In that preliminary work, we set up the philosophy of finding groups in a network when there is a vector of crisp values providing some additional information. Now, we generalize this idea, starting from extended fuzzy graphs that are built from
r fuzzy vectors
.
To find “good” communities in
, we have to extend the
Sugeno Louvain Algorithm described in [
9] to a multi-dimensional stage with more than one vector of additional information, with the peculiarity that the components of the vectors considered are no longer crisp values but fuzzy sets: therefore, actually, what we have is an MEFVFG. We illustrate the problem of community detection based on an MEFVFG in Example 3.
Example 3. We consider a chain with 12 nodes, represented by the crisp graph (see Figure 3) about which we have additional information, , and the defuzzification operator D, so . These fuzzy sets represent the opinion of 12 people about different films. We accept that there are more synergies between those people who have similar preferences. Partition is obtained with any algorithm based on modularity optimization. Nevertheless, if the additional information is considered, the partition provided by the Multi-Dimensional fuzzy Sugeno–Louvain 1-additive is .
Figure 3.
Chain with 12 nodes. Partitions P and .
Figure 3.
Chain with 12 nodes. Partitions P and .
The proposed method, named
Multi-dimensional Fuzzy Sugeno Louvain, is based on the Louvain algorithm [
16]. The main point is to summarize all the knowledge of the MEFVFG into two matrices:
A that represents the direct connections between the nodes (edges), and
F summarizes the additional information given by the family of vectors of fuzzy sets
. The weighted graph associated to a fuzzy Sugeno
-measure [
9]
is essential, and it is considered in terms of a multi-dimensional scenario (MAWG) (one weighted graph with adjacency matrix
associated to each
). This methodology to find realistic partitions in an MEFVFG explained below is summarized in Algorithm 2, which includes its pseudo-code, and in
Figure 4, which shows a flowchart of the process.
Step 1: definition of the MAWG. Given the fuzzy Sugeno
-measures
obtained from
and
, and the defuzzification operator
D, matrices
are calculated as
being
a bi-variate aggregation operator [
33];
and
the Shapley values of
i on
in the presence of all the elements of
V or
, respectively [
34].
Step 2: information aggregation. Matrices are aggregated to obtain the matrix F. The aggregation function is used, being the set of quadratic n-matrices. Particularly, we suggest the use of a matrix aggregator based on the classical aggregation operators with element to element transformation: .
After this aggregation process, the method
Duo Louvain has to be applied [
12,
13], considering the matrix
, being
an aggregation function. That method can consider the information of two matrices when finding communities in a graph.
Algorithm 2 Multi-dimensional Fuzzy Sugeno–Louvain |
- 1:
Input: , A represents ; is a vector of fuzzy sets; , ; - 2:
Output: P; - 3:
Preliminary - 4:
fordo - 5:
Calculate (fuzzy Sugeno -measure from ); - 6:
, ; - 7:
end for - 8:
; - 9:
; - 10:
end Preliminary - 11:
Duo Louvain; - 12:
return;
|
Figure 4.
Flowchart of the methodology Multi-dimensional Fuzzy Sugeno–Louvain.
Figure 4.
Flowchart of the methodology Multi-dimensional Fuzzy Sugeno–Louvain.
Remark 1. The concept of “what is a good group” depends on the operator Φ
applied. In the case that Φ
is a disjunctive operator, groups are composed by elements among which there are strong synergies regarding any evidence or characteristic (any fuzzy vector). The size of the groups that are somehow similar regarding the additional information will increase the more vectors are considered. In contrast, where Φ
is a conjunctive operator, the groups are composed by elements among which there are strong synergies in all the evidence or characteristics. The size of the groups that are somehow similar regarding the additional information will increase the less vectors are considered. Particularly, we consider the most popular ordered weighted averaging aggregation operators, OWA [35]: maximum, minimum and average. As in the uni-dimensional problem with crisp information addressed in [
9], the exponential complexity concerning the calculation of the Shapley value may be avoided by considering an additive fuzzy measure. For this reason, in this paper, we suggest the specific characterization of
when
. On this basis, as
is a 1—additive fuzzy measure [
31], it holds:
In this context, we propose a specific application of the Algorithm
Multi-dimensional Fuzzy Sugeno–Louvain. For every
, the characterization of
only depends on the calculation of
. Then, the complexity of the method
1-additive Multi-dimensional Fuzzy Sugeno–Louvain is equal to that of the Louvain algorithm (Algorithm 3) [
16].
Algorithm 3 1-additive Multi-dimensional Sugeno–Louvain |
- 1:
Input: , A is a representation of ; is a vector of fuzzy sets, ; - 2:
Output: P; - 3:
Preliminary - 4:
fordo - 5:
; - 6:
end for - 7:
; - 8:
; - 9:
end Preliminary - 10:
Duo Louvain; - 11:
return;
|
Example 4. We illustrate the idea of our methodology in a simple case considering there is a vector of fuzzy sets. Let us consider the situation described in Example 1 in which we have a cycle of eight nodes and the information associated to each node is described in linguistic terms . The whole information is summarized in the Figure 5. Now, let us assume that these linguistic fuzzy variables defined over are modeled in terms of the following four fuzzy trapezoidal sets. , , , , . It is possible to see that if we apply the Fuzzy Sugeno–Louvain 1-additive, just in the unidimensional so we only have one matrix , to this extended fuzzy graph the partition obtained for any p is .
Figure 5.
Graph and fuzzy linguistic variable .
Figure 5.
Graph and fuzzy linguistic variable .
5. Computational Results
When a new method is proposed, an evaluation of its performance is required. This process can be addressed comparing the results obtained with the method under evaluation with respect to other proposals established in the literature to solve the same problem. Nevertheless, in our case, as the community detection problem with additional soft information has never been faced before, we cannot compare our method with other proposals of the literature. Then, we work on an evaluation process. For this, we consider several reference models [
36] to which we apply our methodology, whose performance is quantified with the calculation of the Normalized Mutual Information (NMI) [
37].
Definition 8 (Normalized Mutual Information(NMI) [
37]).
Let and denote two disjoint partitions of the graph . Let denote the probability that a random node is assigned to the community x, and let denote the conditional probability that a random node is assigned to the community x in the partition X and assigned to the community y in the partition Y. The Shannon entropy of X is calculated as ; and the Shannon entropy of X and Y is calculated as . The Mutual Information () among partitions X and Y is defined as:Then, is a normalization of Equation (5). Although there can be some issues with the basic version of the measure [
38], we consider this measure because, to the best of our knowledge, it is fair enough to compare how similar two partitions are; i.e., NMI allows us to quantify how much the partition provided by our method resembles the considered standard partition.
In all the benchmark models we present, there are two components: the adjacency matrix
A and the additional information matrix
F, which are obtained from some aggregation of a family of vectors of soft information about the individuals. That component about the synergies is defined from multiple vectors. The generation of these vectors is based on the use of trapezoidal fuzzy sets [
39].
5.1. Experiment Design
Following the idea in [
2], then, we explain how we generate the benchmark models. Each one will represent an MEFVFG with
nodes. This process has two main parts: the definition of the adjacency matrix and the generation of the additional information.
To approach the manipulation of multiple vectors from a benchmarking perspective, we propose the following: in every vector, the value of each component depends on certain trapezoidal fuzzy sets, specifically saying low and high fuzzy sets. Low fuzzy sets are related to the generation of the components of each vector which imply scarce connections among the nodes, whereas high fuzzy sets refer to the generation of the components of the vectors which imply many connections among the nodes. Therefore, in each vector, the component related to nodes which are in the same community are generated as high fuzzy sets, whereas the components related to nodes of different communities are generated as low fuzzy sets. Let us emphasize that in the simulation process presented, what we randomly generate are the values as high or low depending on the trapezoidal fuzzy sets , being D a defuzzification operator.
We have
r vectors of fuzzy sets as the starting point in each benchmark, where
r is the amount of communities embedded in the synergies matrix,
F. Each vector is associated with a community
, so nodes belonging to
have a
high value in the vector
, whereas nodes which are not in
have a
low value in
:
, if
;
, if
. The process for defining and simulating these trapezoidal fuzzy sets is detailed below. To analyze different scattering of the
ℓ and
ℏ fuzzy sets, several combinations of the parameters
a,
b,
c and
d are considered (see
Figure 6 and
Figure 7). For example, to define a benchmark graph with
communities, we have to generate
n-vectors
with
nodes.
Each benchmark model represents an MEFVFG summarized into two matrices: one of direct connections (adjacency A) and another of additional information (synergies matrix F, obtained from the soft information vectors). Below, we explain the generation of them.
- 1
Adjacency matrix. The adjacency matrix
A is randomly generated according to Equation (
7) for a set
V with 256 nodes. We consider different combinations of the values of parameters
and
regarding the input/output values (
and
), as shown in
Table 1 (similarly to the proposal in [
2]). These parameters regulate the density of the connections matrix,
A, whose generation process is shown in Algorithm 4.
Table 1.
Parameters used to generate the adjacency matrix A of each model.
Table 1.
Parameters used to generate the adjacency matrix A of each model.
| Network 1 | Network 2 | Network 3 | Network 4 | Network 5 | Network 6 | Network 7 | Network 8 | Network 9 |
---|
| 0.45 | 0.4 | 0.35 | 0.325 | 0.3 | 0.275 | 0.25 | 0.225 | 0.2 |
| 0.016 | 0.033 | 0.05 | 0.058 | 0.066 | 0.075 | 0.083 | 0.091 | 0.1 |
Algorithm 4 Generate Adjacency |
- 1:
Input: ; - 2:
Output: A; - 3:
, ; - 4:
fordo - 5:
for do - 6:
for do - 7:
; - 8:
if then - 9:
if then - 10:
- 11:
end if - 12:
else - 13:
if then - 14:
- 15:
end if - 16:
end if - 17:
end for - 18:
end for - 19:
end for - 20:
return;
|
- 2
Low trapezoidal fuzzy sets generation. This type of fuzzy sets
, shown in
Figure 6, are generated to represent, in each vector
, the components related to the elements with a
low value in the characteristic of the corresponding vector.
Figure 6.
Low trapezoidal fuzzy set.
Figure 6.
Low trapezoidal fuzzy set.
After fixing the values a and b, we can calculate the lines and to obtain a trapezoid below them with area 1. Particularly, is defined as , where h is a value chosen so that the value of the corresponding integral is 1: .
On the other hand,
is the line through the points
and
, so
By isolating
and
,
and
, the distribution function of the
low trapezoidal fuzzy set is:
where
Once the low fuzzy set is characterized, in the following denoted by ℓ, we apply the inverse method. First, we have to calculate the inverse function of F, ; then, we simulate a value between 0 and 1 (p). Finally, is the value assigned to an edge which connect nodes which are not in the same community.
If .
If .
We take the sign ‘−’ because .
Then, if
, the
low values considered are obtained as:
This process is summarized in Algorithm 5.
Algorithm 5 Low Fuzzy Set |
- 1:
Input: ; - 2:
Output: ℓ; - 3:
; - 4:
ifthen - 5:
; - 6:
else - 7:
; - 8:
end if - 9:
return;
|
- 3
High trapezoidal fuzzy sets generation. This type of fuzzy sets,
, shown in
Figure 7, are generated to represent, in each vector
, the components related to the elements with a
high value in the characteristic of the corresponding vector.
Figure 7.
High trapezoidal fuzzy set.
Figure 7.
High trapezoidal fuzzy set.
After fixing the values c and d, we can calculate the lines and to obtain a trapezoid below them with area 1. Particularly, is defined as , where h is a value chosen so that the value of the corresponding integral is 1:
On the other hand,
is the line through points
and
, so:
By isolating
and
,
and
, so the distribution function of the
high trapezoidal fuzzy set is:
where
As with low fuzzy sets, we apply the inverse method to simulate the values of the high fuzzy sets (ℏ in the following). Then, the value is:
If ;
If .
We take the sign ‘+’ because .
Then, if
, the
high values considered are obtained as:
This process is summarized in Algorithm 6.
Algorithm 6 High Fuzzy Set |
- 1:
Input: ; - 2:
Output: ℏ; - 3:
; - 4:
ifthen - 5:
; - 6:
else - 7:
; - 8:
end if - 9:
return;
|
- 4
Generate multiple vectors. In each benchmark model, we have
r vectors as the starting point, where
r is the amount of communities embedded in the synergies matrix,
F. Each vector is associated with a community
, so that nodes belonging to
will have a
high value in
, whereas the nodes which are not in
will have a
low value in
(then
, if
;
, if
). Different combinations of the parameters
a,
b,
c and
d are considered to generate the
low/
high fuzzy sets (see
Table 2). These combinations affect the scattering of the
ℓ and
ℏ fuzzy sets. The process is summarized in Algorithm 7.
Algorithm 7 Generate Multiple Vectors |
- 1:
Input: ; - 2:
Output: ; - 3:
; - 4:
(matrix , the line ℓ represents the vector ) - 5:
fordo - 6:
for do - 7:
if then - 8:
; - 9:
else - 10:
; - 11:
end if - 12:
end for - 13:
end for - 14:
return;
|
Table 2.
Parameters to generate the matrix F of the benchmark model.
Table 2.
Parameters to generate the matrix F of the benchmark model.
| Case 1 | Case 2 | Case 3 | Case 4 | Case 5 | Case 6 | Case 7 | Case 8 | Case 9 |
---|
| 0 | 0 | 0 | 0.1 | 0.1 | 0.1 | 0.2 | 0.2 | 0.2 |
| 0.1 | 0.1 | 0.1 | 0.2 | 0.2 | 0.2 | 0.3 | 0.3 | 0.3 |
| 0.9 | 0.8 | 0.7 | 0.9 | 0.8 | 0.7 | 0.9 | 0.8 | 0.7 |
| 1 | 0.9 | 0.8 | 1 | 0.9 | 0.8 | 1 | 0.9 | 0.8 |
- 5
Synergies matrix. From vectors generated with the Algorithm Generate Multiple Vectors, we obtain . We consider the matrices and the adjacency of the corresponding MAWG. The second component of each benchmark is an aggregation of these matrices, . We summarize this process in Algorithm 8 for the particular case .
Algorithm 8 Matrix From Multiple Vectors |
- 1:
Input: ; - 2:
Output: F; - 3:
- 4:
fordo - 5:
for do - 6:
- 7:
for do - 8:
- 9:
end for - 10:
end for - 11:
end for - 12:
fordo - 13:
for do - 14:
for do - 15:
; - 16:
end for - 17:
end for - 18:
end for - 19:
- 20:
return;
|
5.2. Results
Then, we show the evaluation of the proposed methodology in the 1-additive stage. We do this to avoid exponential complexity in computing fuzzy measures. Nevertheless, there is no reason to think that the goodness of the partitions obtained, and therefore the accuracy of the evaluated method, will worsen if non-additive measures are considered. To do so, we consider several structures which vary in size and number of groups. Each of them represents an MEFVFG, with two independent components. One of them, , is related to the direct connections among the nodes represented by edges. The other, , is used to define a relations matrix F.
For each combination of and ; a, b, c and d, we analyze the linear combination , by considering (this is the only case in which, including the additional information, we can assert the partition which should be obtained).
In
Table 3,
Table 4,
Table 5 and
Table 6, we show the average of the NMI obtained from 100 iterations of each combination of
and
, concerning matrix
A, and the parameters
a,
b,
c and
d for the definition of the vectors which give rise to the synergies matrix
F. To simplify the interpretation of the results, these tables display the values in different colors: the closer the value is to 1 (i.e., the better the result), the lighter the color.
Benchmark graph. Model 1. It is the simpler benchmark model, showed in the
Figure 8. The adjacency matrix has two communities with an expected size of 128 each, being
the expected degree of each node.
is obtained from vectors
, so the 256 nodes are organized into four groups
with expected size
. In
Table 3, we show the results. Note that the tested algorithm always recovers the standard partition, even when the networks are sparse.
Figure 8.
Benchmark graph. Model 1.
Figure 8.
Benchmark graph. Model 1.
Table 3.
NMI. Model 1.
NMI |
Case 1 |
Case 2 |
Case 3 |
Case 4 |
Case 5 |
Case 6 |
Case 7 |
Case 8 |
Case 9 |
---|
Network 1 | 1
| 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
Network 2 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
Network 3 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
Network 4 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
Network 5 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
Network 6 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
Network 7 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
Network 8 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
Network 9 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
Benchmark graph. Model 2. Due to modularity resolution limit [
40], the Louvain algorithm is very sensitive to changes in the groups’ size, particularly with small communities [
41]. Then, we test the algorithm in this context, where the groups of the standard structure are smaller than in Model 1, as it can be seen in the
Figure 9.
has eight communities with 32 nodes each. We also reduce the communities in
: it has four communities with 64 nodes each, being
the expected degree. The obtained results are shown in
Table 4. Despite the size reduction, our method provides good results.
Figure 9.
Benchmark graph. Model 2.
Figure 9.
Benchmark graph. Model 2.
Table 4.
NMI. Model 2.
NMI |
Case 1 |
Case 2 |
Case 3 |
Case 4 |
Case 5 |
Case 6 |
Case 7 |
Case 8 |
Case 9 |
---|
Network 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0.9987 | 0.9981 | 0.9994 |
Network 2 | 1 | 1 | 1 | 1 | 1 | 1 | 0.9986 | 0.9980 | 0.9994 |
Network 3 | 1 | 1 | 1 | 1 | 1 | 1 | 0.9993 | 0.9992 | 0.9994 |
Network 4 | 1 | 1 | 1 | 1 | 1 | 1 | 0.9986 | 0.9980 | 0.9996 |
Network 5 | 1 | 1 | 1 | 1 | 1 | 1 | 0.9984 | 0.9990 | 0.9991 |
Network 6 | 1 | 1 | 1 | 1 | 1 | 1 | 0.9986 | 0.9984 | 0.9990 |
Network 7 | 1 | 1 | 1 | 1 | 1 | 1 | 0.9990 | 0.9992 | 0.9992 |
Network 8 | 1 | 1 | 1 | 1 | 1 | 1 | 0.9968 | 0.9992 | 0.9989 |
Network 9 | 1 | 1 | 1 | 1 | 1 | 1 | 0.9993 | 0.9992 | 0.9996 |
Benchmark graph. Model 3. Previous results set light on the high quality of the tested method in symmetric structures. However, the interest of every method goes further than synthetic structures; the main objective is to reach proper results in real cases. Then, we work with asymmetric structures to simulate more realistic networks, as it can be seen in the
Figure 10.
has four communities whose sizes are
,
,
,
,
. On the other hand,
. We show the results in
Table 5.
Figure 10.
Benchmark graph. Model 3.
Figure 10.
Benchmark graph. Model 3.
Table 5.
NMI. Model 3.
NMI |
Case 1 |
Case 2 |
Case 3 |
Case 4 |
Case 5 |
Case 6 |
Case 7 |
Case 8 |
Case 9 |
---|
Network 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0.9996 | 0.9994 | 0.9997 |
Network 2 | 1 | 1 | 1 | 1 | 1 | 1 | 0.9997 | 1 | 1 |
Network 3 | 1 | 1 | 1 | 1 | 1 | 1 | 0.9997 | 1 | 1 |
Network 4 | 1 | 1 | 1 | 1 | 1 | 1 | 0.9990
| 1 | 1 |
Network 5 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0.9996 | 0.9992 |
Network 6 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0.9994 | 0.9994 |
Network 7 | 1 | 1 | 1 | 1 | 1 | 1 | 0.9997 | 0.9996 | 0.9997 |
Network 8 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0.9994 |
Network 9 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0.9995 |
Benchmark graph. Model 4. This model combines the reduction of the size communities with partition asymmetry, as it can be seen in the
Figure 11. In this case,
, and
has eight communities whose expected sizes are
,
,
,
,
,
,
y
. Despite the obvious complexity of this structure, the results presented in
Table 6 show the good performance of the tested algorithm.
Figure 11.
Benchmark graph. Model 4.
Figure 11.
Benchmark graph. Model 4.
Table 6.
NMI. Model 4.
NMI |
Case 1 |
Case 2 |
Case 3 |
Case 4 |
Case 5 |
Case 6 |
Case 7 |
Case 8 |
Case 9 |
---|
Network 1 | 0.9975 | 0.9969 | 0.9974 | 0.9976 | 0.9970 | 0.9968 | 0.9937 | 1 | 0.9994 |
Network 2 | 0.9956 | 0.9960 | 0.9962 | 0.9977 | 0.9982 | 0.9981 | 0.9960 | 0.9991 | 1 |
Network 3 | 0.9951 | 0.9964 | 0.9956 | 0.9980 | 0.9972 | 0.9970 | 0.9974 | 0.9975 | 0.9997 |
Network 4 | 0.9949 | 0.9964 | 0.9963 | 0.9978 | 0.9963 | 0.9980 | 0.9943 | 0.9990 | 0.9973 |
Network 5 | 0.9952 | 0.9956 | 0.9975 | 0.9960 | 0.9978 | 0.9976 | 0.9957 | 0.9988 | 0.9979 |
Network 6 | 0.9954 | 0.9957 | 0.9972 | 0.9967 | 0.9954 | 0.9989 | 0.9973 | 0.9961 | 0.9990 |
Network 7 | 0.9944 | 0.9955 | 0.9978 | 0.9971 | 0.9969 | 0.9971 | 0.9980 | 0.9989 | 1 |
Network 8 | 0.9952 | 0.9958 | 0.9973 | 0.9974 | 0.9969 | 0.9980 | 0.9996 | 0.9984 | 1 |
Network 9 | 0.9952 | 0.9967 | 0.9974 | 0.9965 | 0.9969 | 0.9972 | 0.9972 | 0.9968 | 1 |
6. Discussion and Conclusions
Within the framework of the analysis of networks and social networks, this work is based on the analysis of fuzzy information. We can find different main contributions in this article. Our first objective is the definition of a new representation model, whose base is made up of two types of information sources. The first is a set of individuals whose direct connections are known and represented by a crisp graph or network. The other part deals with some additional knowledge about these individuals in terms of soft information represented by family of vectors of fuzzy sets. On this basis, we define the multi-dimensional extended fuzzy graph based on fuzzy vectors (MEFVFG). This new model combines the crisp information of a graph with the soft information provided by the vectors about the individuals. We define it from the simplest case where there is only one vector of fuzzy sets to the multidimensional scenario involving multiple vectors.
Another goal of this work is the proposal of a specific application of this new model related to community detection. This problem has been previously addressed in terms of fuzzy measures that provide additional information about the synergies among the individuals in some works [
12,
13,
28]. In [
11], we proposed a methodology, named
Duo-Louvain, to find a “good” partition of the individuals of an extended fuzzy graph considering both the connections defined by the edges and also the additional information provided by the fuzzy measures. It was based on the well-known Louvain method [
16], a greedy multi-phase algorithm based on local moving [
42] and modularity optimization [
25]. That proposal [
11] is the inspiration of this paper. Now, we work on the community detection in networks by considering additional soft information about the individuals of the network. Specifically, we face the existence of several fuzzy sets related to the nodes of a network, so our proposed application of the MEFVFG in current work is to obtain realistic communities in it. That idea is quite useful and goes beyond any other previous proposal, as it can be applied in a wide range of scenarios, for example, when any linguistic variable(s) appear. As far as we know, this situation has never been faced before, so this work intrinsically leads to the definition of a new type of problem.
Another important objective is the evaluation of the developed methodology. As mentioned above, the problem presented in this article has not been addressed before in the literature, so there are no other methods with which we can compare our proposal. Then, to evaluate the performance of the new algorithm, we present some experimental results developed on the basis of benchmarking [
36] and NMI calculation [
37]. We develop some methods based on trapezoidal fuzzy sets with which we generate the elements of the gold models considered, each with a standard partition summarizing an MEFVFG, which should be detected by the evaluated algorithm. The high level of the results shown in
Section 5 allows us to assert the good performance of the proposed method: the NMI calculated in almost all the scenarios is 1, which means that our algorithm perfectly detects the standard partition despite the complexity of the considered model.
As further research, we stress the importance of an in-depth analysis of the distance between fuzzy sets. Specifically, we are interested in analyzing how far two fuzzy sets are in order to compute new measures of additional information to be later considered in the presented methodology. Our idea is to work with the Hausdorff distance between two fuzzy sets [
43], based on the classic metric with the same name [
44], which is used in mathematics to quantify how far two subsets of a metric space are from each other. To approach this theoretical approach, it is essential to be familiar with the properties of fuzzy sets and also with various topological concepts related to the measurement of distances in different spaces.
Another important line of future work is not so theoretical but applied. Let us emphasize the importance of applying this methodology in real-life cases in order to obtain realistic groups of individuals which not only consider the direct connections between them but also some additional soft information. Real problems are too complex to be represented by a crisp graph alone. The need to include as many sources of information as possible is clear. For example, in the behavior of people, things are not “black or white”. To the question “do you agree with this law?”, the answer may be something like “well, more or less but not quite”. The more capable we are of representing these situations in a model, the more realistic the results obtained will be. We have to be prepared to understand, model, and analyze the fuzzy knowledge of real life, for example, by the consideration of linguistic terms. Undeniably, it is worth an in-depth analysis of the linguistic terms that accompany any real problem, for whose study the tools and methodology proposed here can be crucial. When facing this type of problem, it is vitally important to take into account its difficulty, both computationally and in terms of understanding. When fuzzy elements appear, it is essential to be well prepared to consider tools that mitigate the intrinsic difficulty.