Small World Graphs are a classification of graphs that have a property of “clustering” in combination with “short path lengths”. This means that nodes in the graph tend to form tightly-knit groups (high clustering coefficient), while still being connected to other groups through a few long-range connections (short average path length).

The key importance of small world graphs is that they tend to show up in biological, social, and technological networks. For example, social networks often exhibit small world properties, where individuals are part of close-knit communities but can also connect to distant acquaintances through a few intermediaries.

Another great example is this obsidian vault, as the property of clustering emerged without explicit design, while still maintaining short paths between any two notes.

This leads to something called “information highways”, where information can quickly spread across the network due to the presence of these long-range connections, while still benefiting from the local clustering for efficient communication within groups.


Formal Definition

A small-world graph is characterized by two key properties: a high clustering coefficient and a short average path length . This is supposedly a rare combination in random graphs, as most graphs tend to have either high clustering or short path lengths, but not both.

Computing the Clustering Coefficient

We can find the local clustering coefficient for each node and then average over all nodes to get the global clustering coefficient :

where:

  • is the degree of node (number of neighbors)
  • is the number of edges between the neighbors of
  • For nodes with degree 0 or 1, we define

We can then compute the global clustering coefficient as:

Intuition

If a node has 10 neighbors, those neighbors could potentially form connections between themselves. If they actually form 20 connections, then .

Average Path Length

The characteristic path length is the average shortest path between all pairs of nodes:

where is the shortest path distance between nodes and .

For disconnected graphs, only connected pairs are considered, or we use the harmonic mean distance:

Small-World Criterion

A network exhibits small-world properties if:

More formally, the small-worldness coefficient is:

A network is considered small-world if , typically in practice.

For comparison:

  • Regular lattice: High , high
  • Random graph (Erdős–Rényi): Low , low
  • Small-world: High , low

Watts-Strogatz Model

The canonical small-world graph is generated by the Watts-Strogatz model:

  1. Start with a regular ring lattice of nodes, each connected to its nearest neighbors
  2. For each edge, rewire it with probability to a randomly chosen node
  3. The rewiring probability controls the transition:
    • : Regular lattice
    • : Random graph
    • : Small-world regime

The small-world property emerges because even a few random rewirings () dramatically reduce while barely affecting .


^