Personal tools

Social Network Generation

From InfoVis:Wiki

This wiki page is under construction...

Research work and images have been realised by Nathalie Henry and Jean-Daniel Fekete, using MatrixExplorer, built with the Infovis Toolkit.

Contents

[edit] Social Network Characterization

Social networks involve persons or groups called actors and relationship between them, with a lot of variety in the kind of actors and relationships. As described in Wasserman and Faust, actors can be people, subgroups, organizations or collectivities; relations may be friendship (relationships), interactions, communications, transactions, movement or kinship. However, the nature of actors and relations does not really matter: we focus on their structure. We can classify the social networks studied in the literature in three categories:

  • Tree-like are trees with additional links forming cycles with a specified probability. This category includes genealogy data and very sparse graphs such as Sexually-Transmitted Disease (STD) transmission patterns. We call them “almost trees” because they have are mostly acyclic and nodes have very few parents.
  • Almost complete graphs are complete graphs with missing relations. For example, data about trade between countries, cities or companies are almost complete graphs. They are interesting to study as valued graphs; since they usually carry values on their edges.
  • Small-world networks (also scale-free or power-law degree-distribution networks) have been studied intensely since they were first described in Watts and Strogatz. They defined them as graphs with three properties: power-law degree distribution, high clustering coefficient and small average shortest path. They are locally dense (sparse with dense sub-graphs).


Three methods exist to select datasets for assessing the quality of analysis systems in the context of social networks: selecting one or two real datasets hoping they are representative, selecting several datasets or generating random datasets with well-known characteristics shared by social networks. With this last method, one should generate datasets with a controlled set of properties and evaluate the systems knowing the properties in advance. It should then eliminate biases linked to a particular dataset and eases the replication of experiments. Unfortunately, while generating tree-like and almost-complete graphs is relatively straightforward, generating graphs with a small-world network structure is still a research topic for computer scientists and physicists. This page shows the results of popular and available network generators. In light of the real social networks we present in the #Real Social Networks, we consider them unsuitable for evaluations since users can easily notice their artifical nature.


[edit] Issues on Social Network Generation for Evaluating Visualizations

Watts and Strogatz first described in (Watts, D. J. and S. H. Strogatz (1998). "Collective dynamics of 'small-world' networks." Nature 393: 440 - 442) the concept of small-world networks. They formalized these networks as graphs with three properties: power-law degree distribution, high clustering coefficient and small average shortest path. In the same paper they propose a basic model fitting these properties consisting in a grid (fixed local neighborhood) with additional links simulating some unexpected relations support to the six degrees of separation discovered by Milgram (Milgram, S. (1967). "The small world problem." Psychology Today: 60-67). Barabási and Albert proposed an incremental model to improve it (Barabási, A.-L. and R. Albert (1999). "Emergence of Scaling in Random Networks." Science 286(5439): 509 - 512. ). Since Watts and Strogatz’ model, several have been proposed each generating networks with one or two of the described properties (power-law) but none combine the three of them.

Here are some results of available generators present in the JUNG package. Let's note that for each network generated we only keep the biggest component. Generators present in Pajek[1] and Geomi[2] are incremental scale-free networks generators such as the Barabasi and Albert model.

[edit] About datasets and representations

  • All datasets are downloadable in GraphMl format.
  • Node-Link diagrams are ordered with the linLog algorithm of Andreas Noack [Graph Drawing 2005] (with edge-repulsion coefficient of 2.5f).
  • Matrices are shown both with the initial order (middle image) and reordered with the TSP-Based algorithm (right image) described by Henry and Fekete [Infovis 2006].

[edit] Small-World Generators

WattsBetaSmallWorldGenerator

Parameters: numVertices (the number of nodes in the ring lattice), beta (the probability of an edge being rewired randomly; the proportion of randomly rewired edges in a graph) and degree( the number of edges connected to each vertex; the local neighborhood size). Degree must be even.

Parameters and Resulting Graph characteristics
graphs W1 W2 W3 W4 W5 W6W7W8W9W10W11W12
numVertices474747474747474747474794
beta0.10.30.50.70.90.30.30.30.30.70.10.1
degree6666624810488
numVertices474747474747474747474794
numEdges28228228228228294188376470188376752
components111112111111
density0.360.360.360.360.360.210.290.410.460.290.410.29
clusteringCoefficient0.510.250.150.090.120.230.250.320.380.070.530.52
diameter64444-643556
averageShortestDistance2.972.42.322.32.29-3.242.151.982.832.563.15
minDegree544341258276
maxDegree8999946101381010

W1 SmallWorld_47_0.1_6.xml


W2 SmallWorld_47_0.3_6.xml


W3 SmallWorld_47_0.5_6.xml

W4 SmallWorld_47_0.7_6.xml

W5 SmallWorld_47_0.9_6.xml


W6 SmallWorld_47_0.3_2.xml

W7 SmallWorld_47_0.3_4.xml


W8 SmallWorld_47_0.3_8.xml



W9 SmallWorld_47_0.3_10.xml


W10 SmallWorld_47_0.7_4.xml

W11 SmallWorld_47_0.1_8.xml

W12 SmallWorld_94_0.1_8.xml


KleinbergSmallWorldGenerator

Parameters:latticeSize (the lattice size (length of row or column dimension)) and clusteringExponent (the clustering exponent parameter).

Parameters and Resulting Graph characteristics
graphs W1 W2 W3 W4 W5 W6W7W8W9W10W11
latticeSize 7 7 7 7 7 7 7 10 10 10 10
clusteringExponent 0.1 0.5 1 2 2.5 4 8 2 4 8 12
numVertices 49 49 49 49 49 49 49 100 100 100 100
numEdges 490 490 490 490 490 490 490 1000 1000 1000 1000
components 1 1 1 1 1 1 1 1 1 1 1
density 0.45 0.45 0.45 0.45 0.45 0.45 0.45 0.32 0.32 0.32 0.32
clusteringCoefficient 0.08 0.09 0.14 0.19 0.19 0.26 0.32 0.18 0.23 0.32 0.33
diameter 4 4 4 4 4 5 5 5 6 7 7
averageShortestDistance 2.38 2.36 2.37 2.44 2.48 2.54 2.73 3.1 3.57 3.65 3.68
minDegree 9 9 9 9 9 9 9 9 9 9 9
maxDegree 14 12 13 12 12 13 12 13 13 14 12

W1 SmallWorld_49_0.1.xml

W2 SmallWorld_49_0.5.xml


W3 SmallWorld_49_1.0.xml


W4 SmallWorld_49_2.0.xml


W5 SmallWorld_49_2.5.xml


W6 SmallWorld_49_4.0.xml


W7 SmallWorld_49_8.0.xml


W8 SmallWorld_100_2.0.xml


W9 SmallWorld_100_4.0.xml

W10 SmallWorld_100_8.0.xml

W11 SmallWorld_100_12.0.xml

[edit] Scale-Free Networks Generator

BarabasiAlbertGenerator

Parameters: init_vertices (number of vertices that the graph should start with), numEdgesToAttach (the number of edges that should be attached from the new vertex to pre-existing vertices at each time step) and numSteps (number of time steps). init_vertices must be superior or equal to numEdgesToAttach.

Parameters and Resulting Graph characteristics
graphs W1 W2 W3 W4 W5 W6W7W8
init_vertices44442224
numEdgesToAttach22211124
numSteps1050100 100100505050
numVertices1453104 8076515254
numEdges40200400158150100200400
components11111111
density0.450.270.190.160.160.20.270.37
clusteringCoefficient0.150.20.070.510.510.660.160.23
diameter4661114854
averageShortestDistance2.242.813.185.265.73.742.82.15
minDegree21211124
maxDegree51619812161726

W1 ScaleFree_4_2_10.xml

W2 ScaleFree_4_2_50.xml


W3 ScaleFree_4_2_100.xml


W4 ScaleFree_4_1_100.xml

W5 ScaleFree_2_1_100.xml

W6 ScaleFree_2_1_50.xml

W7 ScaleFree_2_2_50.xml

W8 ScaleFree_4_4_50.xml



EppsteinPowerLawGenerator

Parameters: numVertices (the number of vertices for the generated graph), numEdges (the number of edges the generated graph will have, should be Theta(numVertices)) and r (the model parameter).

[edit] Real Social Networks

Here is a panel of undirected networks issued from scientific articles, benchmarks or contests. Social network visualization or analysis tools provide also some real datasets: Pajek [3] and UCINet [4].


[edit] Small-World

Parameters and Resulting Graph characteristics for Co-Authoring Networks Name Team Collaboration (with external collaborators)Infovis component 1 Infovis component 2 Infovis component 3Infovis component 4
SourceCollected ContestContestContestContest
numNodes146135484732
numEdges54032191114109
components11111
density0.160.130.20.230.33
clusteringCoefficient0.910.820.790.830.81
diameter4117106
averageShortestDistance2.654.43.713.842.6
minDegree11111
maxDegree5722111515

TeamCollaborationExternal TeamCollaborationExternal.xml


Infovis Component 1 ivComp1.xml

Infovis Component 2 ivComp2.xml


Infovis Component 3 ivComp3.xml


Infovis Component 4 ivComp4.xml


[edit] Tree-like

Parameters and Resulting Graph characteristics for Genealogy and Virus Transmission Name genealogyMSTTransmission1MSTTransmission2HIVTransmission
SourcePajekArticle [5]Article[6]Article [7]
numVertices2423884243
numEdges51078182514
components1111
density0.090.230.160.09
clusteringCoefficient0.660.530.520.65
diameter1110923
averageShortestDistance5.784.424.318.27
minDegree1111
maxDegree1471720

Gondola Genealogy GondolaGen.xml


MSTTransmission 1 Mst1.xml

MSTTransmission 2 Mst2.xml


HIV Transmission Hiv.xml

[edit] Almost Complete Graphs

Parameters and Resulting Graph characteristics for Email Communication within a research lab.
NameemailDay per personemailWeek per personemailMonth per personemailYear per personemailDay per teamemailWeek per teamemailMonth per teamemailYear per team
SourceCollectedCollectedCollectedCollectedCollectedCollectedCollectedCollected
numVertices13420024244730333542
numEdges4421676351411462183410564980
components11111111
density0.160.20.240.240.450.610.680.75
clusteringCoefficient0.520.550.620.710.620.780.830.84
diameter97665333
averageShortestDistance4.292.922.522.422.171.711.571.45
minDegree11111113
maxDegree15518619516263440

Email exchange per person during a day emailDay.xml

Email exchange per person during a week emailWeek.xml

Email exchange per person during a month emailMonth.xml

Email exchange per person during a year emailYear.xml


Email exchange per research group during a day emailGDay.xml

Number of email coded with link width in the nodelink, edge color in the matrix

Email exchange per research group during a week emailGWeek.xml

Number of email coded with link width in the nodelink, edge color in the matrix

Email exchange per research group during a month emailGMonth.xml

Number of email coded with link width in the nodelink, edge color in the matrix

Email exchange per research group during a year emailGYear.xml

Number of email coded with link width in the nodelink, edge color in the matrix