The similarity cascade

Week 1 built a network out of links. Week 6 built similarity out of language. Question three from the 6.11 list: who is textually close but structurally far away? Instead of rank lists, we draw both networks on top of each other and classify every edge — the disagreements light up in red.

Two networks, one universe

↑

Both layers live over the same 303 characters, colored by their week-4 Louvain community and sized by in-degree:

  • Structural (dashed gray): the undirected week-1 link graph — 1,434 edges. Ground truth decided by Wikipedia contributors.
  • Textual: week-6 TF-IDF cosine top-k per character, unique pairs — 2,256 edges at k = 10.

Every edge is then put in one of three classes:

The cascading overlay

↑

Start in all characters with just text-only visible and the network dissolves into a red halo around every community; re-add both and the structural skeleton reappears inside each halo. Shots worth trying:

edge classes
reset

Drag to move, scroll to zoom. Click a node for its two neighborhood lists; click an edge for its class, cosine and shared words. The legend counters update live.

How to read the red

↑

Not every red edge is scandal. Zooming into the picture, the 1,474 text-only edges sort into three familiar families — exactly the ones week 6 taught us to diagnose:

  1. Surname matches. storm links Storm to the Human Torch; frost ties Emma Frost ↔ Jack Frost — the #1 unlinked pair of the main week-6 post, cos = 0.44.
  2. Unlinked teammates. The Strikeforce: Morituri cluster sits as its own community with text everywhere and links only inbound: 606 of the 1,817 directed text-only edges (33%) join characters inside the same Louvain community — the network already knows they belong together; the link layer just never wired the pages up.
  3. Shared boilerplate. The she/her pronoun edges that made Jean Grey, Scarlet Witch and She-Hulk each other's textual mirrors — the same artifact the course page warned about with the and Marvel.

Raw counts vs TF-IDF, edges instead of ranks

↑

Switch the representation to raw counts and the collapse is dramatic: the textual layer grows to 2,712 pairs but agreement with structure falls from 782 to just 418 — stopwords generate similarity the real network never needed. That is the same 1.9 → 4.0 jump as rank lists — now visible as the ring between the text halo and the structural skeleton.

What it can't tell you

↑

The textual layer is still only each page's top-k — weaker true similarities never enter, so structural-only under states how much structure the text misses (also note these are cosine ranks, not statistical tests). And a classified edge is a hypothesis, not a verdict: the sentence drawer in the main week-6 explorable is where that verdict gets made.

Still to come on this roadmap

↑
  1. 2The Marvel map — the science ↔ magic / body ↔ mind axis playground, with scattertext-style term contrasts per community.
  2. 3One-character deep dives — a zoomable fingerprint explorer: TF-IDF, topic mixture and embedding neighborhood around a single page.
← Back to all weeks