Midwestern Baptist Theological Seminary and the Los Angeles Film School share exactly two programs: a bachelor’s in Communication and a bachelor’s in Graphic Design. Out of all 45 schools in our sample, each is the other’s closest match.
That’s what happens when you ask a graph a simple question and take the answer literally. The question: if you only knew which programs a school offers, which schools would look alike?
Carnegie classifications group institutions by research activity, degree levels and size. This experiment ignores all of that and looks only at program lists. It’s the eleventh in a series that uses one public dataset, NCES IPEDS 2024, to show how languages and models change what a knowledge graph says. Experiment 10 linked the graph outward. This one analyzes its structure. The code, data and results are all on GitHub.
How we built it
- A two-sided graph. Schools on one side, programs on the other, and an edge when a school offers the program. That’s 8,034 edges.
- A projection. We linked two schools by how much their program lists overlap. This turns school-to-program edges into 990 school-to-school scores.
- A sparser graph. Every pair has some score, so each school keeps only its five most similar schools.
- Communities. The Louvain algorithm groups schools that link to each other more than to the rest. It’s randomized, so we ran it 100 times and report the grouping it found most often.
- A comparison. We scored the communities against Carnegie’s seven top-level groups with the adjusted Rand index (ARI), where 1 means identical and 0 means chance.
“Program” and “similar” can each be defined more than one way, so we ran four variants. The main one treats a program as a CIP code at one award level, because that’s how a prospective student shops. A bachelor’s and an associate’s in nursing are different programs with different competitors.
The projection itself is one Cypher query over the property graph from Experiment 3:
MATCH (a:Institution)-[x:CONFERRED]->(c:Cip)<-[y:CONFERRED]-(b:Institution)
WHERE a.unitid < b.unitid AND x.awardLevelCode = y.awardLevelCode
WITH a, b, count(*) AS shared
MATCH (a)-[ea:CONFERRED]->(:Cip)
WITH a, b, shared, count(ea) AS na
MATCH (b)-[eb:CONFERRED]->(:Cip)
WITH a, b, shared, na, count(eb) AS nb
RETURN a.unitid AS unitid_a, b.unitid AS unitid_b, shared, na, nb,
CAST(shared AS DOUBLE) / (na + nb - shared) AS jaccard
ORDER BY jaccard DESC, unitid_a, unitid_b;
The score is Jaccard similarity: programs both schools offer, divided by programs either school offers.
See it: 45 schools, grouped by what they teach
In the visualization below, switch between the four similarity measures and swap the coloring between detected community and Carnegie group. Hover any school to see the schools most like it and the shared programs behind each score.
Open the visualization in a new tab
Results: only partly
| Variant | Communities | ARI vs. Carnegie groups | Seeds that found it |
|---|---|---|---|
| Offered, CIP code and level (main) | 4 | 0.196 | 30 of 100 |
| Offered, CIP code only | 3 | 0.127 | 75 of 100 |
| Completions, CIP code | 5 | 0.204 | 55 of 100 |
| Completions, CIP family | 4 | 0.168 | 25 of 100 |
An ARI of 0.196 is well above chance and a long way from recovering the classification. No variant got past 0.21. In the main variant, 21 of 45 schools sit in a community where a different Carnegie group is the plurality.
Here are the four communities. The labels are mine.
| Community | Doctoral | Master’s | Baccalaureate | Associate’s | Special focus | Tribal | Total |
|---|---|---|---|---|---|---|---|
| C1 arts and sciences | 6 | 2 | 5 | 3 | 16 | ||
| C2 online and career | 3 | 5 | 4 | 12 | |||
| C3 community colleges | 6 | 2 | 1 | 9 | |||
| C4 research breadth | 7 | 1 | 8 |
Program lists sort schools mostly by size and by mission, not by Carnegie’s research and degree-level rules.
What grouped as expected
The community colleges. All six associate’s colleges landed together, joined by a tribal college and two health schools. An associate’s in Registered Nursing shows up at 89% of the group’s members.
Research breadth. Arizona State, USC, NYU, Ohio State, the University of Washington, BYU, DePaul and Hunter College form their own group. These schools offer 452 programs at the median. The next-largest community’s median is 151. What they share is rare: every member offers a bachelor’s in Italian.
The Cal States. Cal State Fullerton and Cal State Northridge are the most similar pair in the dataset, with 93 shared programs.
What didn’t
A seminary and a film school. Back to the opening pair. They’re each other’s closest match on two shared programs, with a similarity of 0.039. They ended up in the arts and sciences group because our five-nearest-neighbors rule gives every school five links, however weak. Treat the placement of the weakest-linked schools as arbitrary.
Baylor isn’t with the research universities. Its closest school is BYU, but it offers 227 programs against the research group’s median of 452. It lands with the Cal States.
Hunter College is. Hunter is a Carnegie master’s college, but its 270 programs look most like BYU’s.
The online giants barely overlap. University of Phoenix, American Public University System, Western Governors University and Southern New Hampshire University all land in the same community. By program list, though, their similarity runs from just 0.066 to 0.172. By completions they look far more alike, and that’s one program doing the work. Business Administration and Management supplies 80% to 96% of every one of those scores. Two online giants can offer different catalogs and still graduate most of their students in the same major.
How stable is this?
Not very, and that’s worth saying plainly.
Louvain is randomized, and on a 45-school graph many edges are close calls. In the main variant, 100 runs produced 10 different groupings. The one we report came up 30 times. Changing the number of neighbors from 3 to 10 moved the ARI between 0.186 and 0.295.
No setting lifted any variant above 0.35. So the conclusion holds: program lists only partly recover the Carnegie groups. The exact membership of the middle communities doesn’t hold.
Two more caveats. Jaccard favors schools of similar size, which is part of why size shows up so strongly. And 45 schools is an illustration of the method, not a test of the Carnegie classification.
Using this for program marketing
This is the experiment I’d most like to run on a full dataset, because the same projection answers a competitive question directly. Which schools offer the most similar set of programs to mine? And which shared programs are rare enough to matter?
A few practical takeaways:
- Define competitors by overlap, not by category. A school’s official peer group and its closest program-level competitors aren’t always the same list. Hunter College’s weren’t.
- Rank shared programs by rarity. Two schools that both offer a bachelor’s in Environmental Design have something in common. Two schools that both offer business and psychology don’t, because everyone has those.
- Narrow the graph to the question. Restrict it to one program family or one award level, and the same query finds competitors for a single graduate portfolio.
- Check what’s driving the score. With completions as the weight, one big program can make two schools look alike.
Pro tip: Before you call two schools competitors, look at the shared programs behind the score. A similarity number without that list is easy to misread.
Simply put, a graph can show you who looks like you. It can’t tell you which definition of “looks like” matters for your decision. We tried four, and they gave four different answers.
Run it yourself
Everything behind this post is in the Experiment 11 folder on GitHub. That includes the build script, the Cypher projections, the full results with every sensitivity test, and the visualization. The run takes under 20 seconds and is deterministic.
Next in the series: 20 questions with known answers, asked of an LLM three ways, to see whether a graph beats retrieved CSV rows.
