- i2
Social network analysis
10 minute read
One of the tools integrated in the i2 Analyst's Notebook product is so-called Social Network Analysis. Social network analysis is a rather complex process, and in this article we focus only on explaining the basic principles it uses in i2 products.
Linda Dittrichová
Linda Dittrichová
Summary
- Social network analysis in i2 Analyst's Notebook examines a network as entities connected by links and helps to understand how it behaves as a whole.
- Clustering by the K-Core metric finds strongly connected groups, and four measures of centrality show which entities matter most to the network.
- The results are based only on the available data, which may be incomplete or inaccurate, so they need to be assessed together with other sources of information.
To use it or not
Social network analysis (SNA) helps in examining network structures, lets us understand how networks behave as wholes, and identifies the characteristic elements they contain. It provides both a visual and a mathematical analysis of relationships.
SNA is integrated in i2's key product, the i2 Analyst's Notebook (ANB) program. In practice, SNA is not among the most widely used functions. Many users are put off by its name on the tab and prefer to give it a wide berth.

But frankly, isn't it a pity not to try a tool that holds so much potential? Let us explain in plain terms, without mathematics, what social network analysis could be good for.
SNA examines a social network as a group of interconnected nodes, with certain relationships between them shown as edges. In the ANB environment, nodes and edges correspond to the terms "entity" and "link".
The nodes in networks need not be only individuals (people, bees) but also non-human entities (URLs, shares) or groups (companies, states). The principle is that, within a network, they are entities of the same type that can be modelled into a network through their relationships and interactions. Everything can be examined, from anthills through business relationships between companies to the spread of communicable diseases (even in those anthills). SNA has an irreplaceable place in the fight against money laundering, organised crime and terrorism.
So let us not be misled by the name of the analysis. SNA is not limited to social links (relationships between people, communication within a group); it also offers insight into economic relations (bank transactions), information and communication technologies (internet traffic), geographical studies (transport infrastructure) and, for example, the functioning of biological structures (the nervous system).
In SNA, two aspects are often important, and including them in the calculations affects the results: whether the links are directed (and in which direction; for example, friendship between users of the Facebook social network is a two-way link, while a payment for goods is understood as a one-way link from the buyer to the seller), and whether they have different weights (which can differ, for example, according to the number of transactions made or the depth of the relationship between two people).
SNA in i2
The Social Network Analysis function integrated in ANB helps investigators decipher the structure of a network by calculating clustering and centrality scores.
Clustering
Clustering is used to sort the entities of a network into groups, or clusters. It can help us identify strongly connected groups within the network. To identify groups within a network, ANB uses the K-Core metric. The K-Core value (the core value of a group) is the largest group of entities that are all connected to at least "k" other entities in the cluster.
The figure shows a simple network with a maximum group core value of 3. Its members are Stanislava, Šárka, Uršula and Tadeáš, as each of these people is connected by three links to other members of this particular group. If we lower the group core value to 2, the group grows to include people who are connected by at least two links to some member of the two-core cluster…:

The ANB chart shown thus contains a nested hierarchy of clusters. It starts with a group with one core (k = 1), which contains a group with two cores (k = 2), and in that is nested a group with three cores (k = 3; in the chart this is the highest value, and so the most compact cluster).
Centrality
Centrality quantifies the importance and influence of a particular entity for the whole network and describes its degree of connectedness and integration.
If one entity dominates a network, it is a highly centralised network. Such an entity is called a single point of failure: if it is eliminated, the network breaks up into smaller disconnected subnetworks. A less centralised network, which has no single point of failure, is more resistant to attempts to break it up, and can still function even when some entities and links are blocked.
Entities on the periphery of the network have a very low centrality score. Peripheral entities often have to be seen as those that are not currently mapped but may be important in terms of external contacts.
There are several measures of centrality. From the point of view of centrality, ANB offers four basic approaches: betweenness, closeness, degree and eigenvector.
The difference between the basic measures of centrality can be shown most simply on the so-called Kite Network by David Krackhardt (opens another website). In a simple model with ten entities, the people who interact regularly are connected by links. For example, Adam communicates with Bedřich, but not with Hana:

Hana is the single point of failure, because if she were eliminated, Igor and Jarmila would be cut off from the information held by the cluster formed around Daniela. Losing Hana would break up the network:

Let us now look at how the individual centrality metrics help us identify entities of interest in the network.
Betweenness reveals the gatekeepers
Betweenness is a measure of centrality based on shortest paths. The calculation depends on how many times a particular entity can interrupt the shortest path between all pairs of entities in the network.
Betweenness can be used to identify so-called gatekeepers in a network. These are the entities that are most important for connecting subnetworks. Eliminating these entities (or the links that start from them) isolates subnetworks. Gatekeepers can act as a barrier controlling the flow in the network (for example, controlling communication between other users of a social network).
In the sample Kite Network, Hana has the highest betweenness value, even though she has fewer direct connections than many other entities (Hana has 3, while Bedřich, for example, has 4). Hana, however, most often lies on the shortest path between pairs of entities (the shortest path between František and Jarmila, František and Igor, Cecílie and Jarmila and so on runs through her). Even though she does not have many direct links, Hana occupies one of the best positions in the network. Because so many paths pass through her, she can pass information on to most of the people in the network:

ANB offers an assessment of the betweenness measure not only for entities but also for links. The betweenness of links helps identify the most influential connections in the network (for example, an important route for exchanging information).
Closeness shows the influencers
Closeness is determined from the sum of an entity's shortest distances to all other entities. The higher an entity's closeness value, the closer it is to all the other entities. As a result, it receives and passes on information easily and has a great influence on what happens in the network.
In our model, František and Gabriela have such a structure of links to other entities that they can reach them within the network faster than anyone else. They have the smallest distance to all the other nodes, so they are in an excellent position to monitor the flow of information in the network, and they have the best overview of what is happening in it. People with a high closeness score are sometimes called influencers in SNA.

Comparing the sum of the shortest links leading from František (5.1 + 3.2 + 1.3 = 14) and from Daniela (6.1 + 1.2 + 1.3 + 1.4 = 15), we see that František is closer to all the other entities than Daniela, even though she has the most direct links:

It matters whether the direction of directed links is taken into account in the calculations. For the same entity, there can be a considerable difference between measuring the distances of incoming and outgoing paths, and entities can differ significantly in their ability to receive and to distribute information.
Degree highlights the connectors
Degree centrality is the simplest metric to calculate. It measures the connectedness of an entity from the number of direct links joining the examined entity to other entities, and indicates its activity in the network. Entities with a high degree centrality score are called connectors in the network.
Entities with a high degree have the best connections to the surrounding entities and often appear in the middle of clusters. They are not necessarily influential or popular, however; they may simply be strategically well placed.
In the model used, Daniela has the most direct connections (6 in total), so she is the most active entity in the network:

Where directed links exist, the calculation can be split into "in-degree" for the total number of incoming links and "out-degree" for outgoing links. Degree scores can also be affected by the weights of links.
Eigenvector reveals authorities and hubs
Eigenvector measures the connectedness of an entity and its direct influence on the other connected entities in the network. The more strongly connected entities a given entity connects, the more significant it is considered to be.
Eigenvector gives us information about the relative importance of a particular entity in the network. Connections to entities with a high degree centrality score contribute more to the score of the entity being observed than the same connections to entities with a low score.
Let us show the difference in eigenvector using our example, focusing on Cecílie and Hana. They have the same degree centrality (each has 3 direct links to other people), but their eigenvector differs. Hana's is lower because the people she is connected to are less active across the whole network (František and Gabriela each have 5 direct links, but Igor has only 2) than the people Cecílie is connected to:

A person with a high eigenvector score is often situated in the centre of a cluster of key entities with which they can communicate directly.
When the direction of links is differentiated, the eigenvector can distinguish the degree of connectedness of entities as "authorities", by the number of incoming links, and "hubs", for outgoing links. The resulting eigenvector score is also affected by whether the weights of links are included.
Conclusion
When using SNA to analyse networks, a limiting factor has to be borne in mind: the analysis will be based on the data that is available. This data may be incomplete or inaccurate, and the validity of its measurement, the assignment of directions and weights, the appropriate determination of the boundaries of the network and so on may be controversial. Extra care is therefore needed when interpreting the output, to avoid drawing mistaken conclusions. The results of SNA should be assessed in combination with other sources of information.
Social network analysis is a powerful tool that, when interpreted correctly and with all its limits taken into account, can deliver very valuable results.
Sources
- https://docs.i2group.com/anb/9.4.0/about_social_network_analysis.html (opens another website)
- https://en.wikipedia.org/wiki/Social_network_analysis (opens another website)
- http://www.orgnet.com/sna.html (opens another website)
- https://en.wikipedia.org/wiki/Krackhardt_kite_graph (opens another website)
- https://www.researchgate.net/publication/239228599_The_Development_of_Social_Network_Analysis (opens another website)
- https://socilyzer.com/guide/network-roles (opens another website)
- https://assets.publishing.service.gov.uk/media/5a819b0640f0b62305b8fdb6/socnet_howto.pdf (opens another website)
- https://syntagmatic.github.io/exposedata/marvel/data/hero-network.csv (opens another website)