ArticleslgStudy

computer science

Watts–Strogatz model

Watts–Strogatz model is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Watts–Strogatz model rather than just read about it. In short: The Watts–Strogatz model is a random graph generation model that produces graphs with small-world properties, including short average path lengths and high clustering. It was proposed by Duncan J.

Watts–Strogatz model — main illustration
Watts–Strogatz model — illustration

Key takeaways

  • Watts–Strogatz model belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Watts–Strogatz model to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Watts–Strogatz model from memory before moving on to harder problems.

Reference excerpt

The Watts–Strogatz model is a random graph generation model that produces graphs with small-world properties, including short average path lengths and high clustering. It was proposed by Duncan J. Watts and Steven Strogatz in their article published in 1998 in the Nature scientific journal. The model also became known as the (Watts) beta model after Watts used β {\displaystyle \beta } to formulate it in his popular science book Six Degrees.

Rationale for the model The formal study of random graphs dates back to the work of Paul Erdős and Alfréd Rényi. The graphs they considered, now known as the classical or Erdős–Rényi (ER) graphs, offer a simple and powerful model with many applications. However the ER graphs do not have two important properties observed in many real-world networks:

They do not generate local clustering and triadic closures. Instead, because they have a constant, random, and independent probability of two nodes being connected, ER graphs have a low clustering coefficient. They do not account for the formation of hubs. Formally, the degree distribution of ER graphs converges to a Poisson distribution, rather than a power law observed in many real-world, scale-free networks. The Watts and Strogatz model was designed as the simplest possible model that addresses the first of the two limitations. It accounts for clustering while retaining the short average path lengths of the ER model. It does so by interpolating between a randomized structure close to ER graphs and a regular ring lattice. Consequently, the model is able to at least partially explain the "small-world" phenomena in a variety of networks, such as the power grid, neural network of C. elegans, networks of movie actors, or fat-metabolism communication in budding yeast.

Algorithm

Given the desired number of nodes N {\displaystyle N} , the mean degree K {\displaystyle K} (assumed to be an even integer), and a parameter β {\displaystyle \beta } , all satisfying 0 ≤ β ≤ 1 {\displaystyle 0\leq \beta \leq 1} and N ≫ K ≫ ln ⁡ N ≫ 1 {\displaystyle N\gg K\gg \ln N\gg 1} , the model constructs an undirected graph with N {\displaystyle N} nodes and N K 2 {\displaystyle {\frac {NK}{2}}} edges in the following way:

Construct a regular ring lattice, a graph with N {\displaystyle N} nodes each connected to K {\displaystyle K} neighbors, K / 2 {\displaystyle K/2} on each side. That is, if the nodes are labeled 0 … N − 1 , {\displaystyle 0\ldots {N-1},} there is an edge ( i , j ) {\displaystyle (i,j)} if and only if 0 < | i − j | m o d ( N − 1 − K 2 ) ≤ K 2 . {\displaystyle 0<|i-j|\ \mathrm {mod} \ \left(N-1-{\frac {K}{2}}\right)\leq {\frac {K}{2}}.}

For every node i = 0 , … , N − 1 {\displaystyle i=0,\dots ,{N-1}} take every edge connecting i {\displaystyle i} to its K / 2 {\displaystyle K/2} rightmost neighbors, that is every edge ( i , j ) {\displaystyle (i,j)} such that 0 < ( j − i ) m o d N ≤ K / 2 {\displaystyle 0<(j-i)\ \mathrm {mod} \ N\leq K/2} , and rewire it with probability β {\displaystyle \beta } . Rewiring is done by replacing ( i , j ) {\displaystyle (i,j)} with ( i , k ) {\displaystyle (i,k)} where k {\displaystyle k} is chosen uniformly at random from all possible nodes while avoiding self-loops ( k ≠ i {\displaystyle k\neq i} ) and link duplication (there is no edge ( i , k ′ ) {\displaystyle (i,{k'})} with k ′ = k {\displaystyle k'=k} at this point in the algorithm).

… excerpt ends here. Continue reading the full article.

Illustrations

Watts–Strogatz model illustration
Watts–Strogatz model: Watts–Strogatz small-world model generated by igraph and visualized by Cytoscape 2.5. 100 nodes.
Watts–Strogatz small-world model generated by igraph and visualized by Cytoscape 2.5. 100 nodes.
Watts–Strogatz model: Watts–Strogatz graph
Watts–Strogatz graph

Worked examples

Example 1 — a first encounter with Watts–Strogatz model

Start with the simplest possible case. Write down what Watts–Strogatz model claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Watts–Strogatz model before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Watts–Strogatz model ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Watts–Strogatz model

In research
Watts–Strogatz model appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Watts–Strogatz model in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Watts–Strogatz model is common in secondary-school and first-year university syllabi. It links to neighbouring topics Random graphs, Social network analysis, so understanding it makes those chapters shorter.
In everyday life
Look for Watts–Strogatz model outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Watts–Strogatz model” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Watts–Strogatz model in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Watts–Strogatz model means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Watts–Strogatz model out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Watts–Strogatz model in simple terms?

The Watts–Strogatz model is a random graph generation model that produces graphs with small-world properties, including short average path lengths and high clustering. It was proposed by Duncan J.

Why does Watts–Strogatz model matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Watts–Strogatz model?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Watts–Strogatz model.

Tags

  • Random graphs
  • Social network analysis

Keep exploring