Skip to content

Music Maps — a collaboration-network explorer for the Discogs catalogue

Figures and timings measured on 2026-11-04 against the live local database, built from the Discogs monthly dump of 2026-06-01.

Music Maps turns the Discogs catalogue — the large crowd-maintained public database of music releases, the people who made them and the labels that issued them — into an interactive network graph. Pick a seed (a musician or a label) and the tool draws every collaborator reachable in n steps, with a sortable ranking panel beside the map and click-through to the Discogs page for any node.

It is, in effect, a co-authorship network for music: the release plays the role of the paper, the credited artists the role of the authors, and an edge means "billed together on the same record". The questions are ones a bibliometrician would recognise — who collaborates with whom, which figures broker between otherwise separate communities, and where a scene's boundaries fall when you draw them from co-production data rather than from genre labels.

One step out from Bill Laswell, coloured by genre.

One step out from the bassist and producer Bill Laswell, keeping only collaborators who share six or more records with him: 69 people, 175 edges, coloured by dominant genre. Teal is Jazz, blue Electronic, red Rock, green Folk/World. Node area encodes total discography, edge thickness the number of shared releases.

Data

The source is the official Discogs monthly dump: four compressed XML files, about 11 GB compressed and 93 GB uncompressed. A download script fetches and checksum-verifies them; an import script streams them into PostgreSQL with an incremental parser, so memory stays flat regardless of file size. The result is roughly 8 million artist records, 2 million labels, 3 million masters (Discogs' term for a work, of which pressings are editions) and 17 million releases across some thirty tables — about 53 GB with the derived tables, and roughly six hours to rebuild from scratch.

Nothing in the running application touches the network. The Discogs HTTP API, used by the first prototype, is rate-limited to the point where one two-step map took hundreds of throttled calls and several minutes; against the local database it is a handful of indexed SQL queries.

Method

Identity resolution. Discogs stores each stage name as its own artist record, linked by an alias table, so a graph built on raw records splits one person across many nodes and loses their edges. The build runs union-find, a standard algorithm for grouping items into connected clusters, over the alias graph and collapses each cluster into one canonical person — the music equivalent of author-name disambiguation, and the most consequential step in the pipeline.

Band expansion. Many releases are credited only to a band name. Left alone they resolve to nobody and generate no edges, so band-mates never appear as collaborators. The build expands each band credit to the band's listed members, which roughly quadrupled the co-release table, from 4.4 to 19.7 million (release, person) rows.

Pre-computed network tables. Two materialised join tables — release_persons (19.7 M rows) and label_persons (23.7 M rows) — plus per-entity summary rows mean a map is a breadth-first search over self-joins, followed by one query for the complete weighted edge set among the discovered nodes, not only the edges back to the seed. The front end is a D3.js force layout with no node cap and no edge pruning: whatever the two optional filters let through is exactly what renders. Betweenness centrality — how often a node lies on the shortest path between two others, i.e. how much of a broker it is — is computed in the browser with Brandes' algorithm.

Results worth looking at

The strongest tie is one of the weakest brokers. Bill Laswell is a useful test case: 710 releases across 274 labels between 1981 and 2026, and a reputation for working in every genre at once — which the one-step map confirms, splitting almost evenly between Jazz and Electronic with a Rock third. Ranking his collaborators by shared releases and by brokerage gives two very different answers:

collaborator shared releases betweenness world it opens
Miles Davis 1 7,871 jazz-fusion lineage
Marcia Griffiths 1 6,502 Jamaican reggae
Herbie Hancock 2 6,449 jazz mainstream
Afrika Bambaataa 30 6,108 early hip hop
Larry Coryell 1 3,647 jazz guitar
Mick Harris 128 2,675 —

Mick Harris, with 128 shared records, is the single most frequent collaborator in the whole map — and ranks seventh as a broker, at a third of the top score, because those 128 records all sit inside one tight noise/dub circle. The top three brokers share one, one and two records respectively. The Miles Davis edge is a single 1998 release, Panthalassa: The Music Of Miles Davis 1969–1974, Laswell's reconstruction of the electric-period tapes; the Marcia Griffiths edge is a single 1990 record, and it is the only thing connecting this entire network to the Jamaican reggae cluster visible as the green lobe below. Raise the "minimum joint count per edge" filter by one step and all three disappear.

Two steps out, coloured by genre, ranked by betweenness.

Two steps out, keeping people with more than 300 releases: 226 people, 1,183 edges. The jazz core (teal) sits between a rock lobe (red), an electronic one (blue) and a small, almost detached reggae cluster (green). The ranking panel is sorted by betweenness.

It scales the way an interactive tool needs to. Each extra step out costs very little, which is what makes depth usable as an exploratory control rather than a batch job:

steps out people edges build time
1 186 679 0.40 s
2 5,417 31,096 1.3 s
3 57,130 318,283 13.9 s

Label maps show scene structure directly. Seeding Anticon — the Oakland experimental hip-hop label — and keeping edges of five or more shared artists gives 60 labels and 289 edges: art union (20 shared artists), Asthmatic Kitty (17), Shake It! (16), then Alien Transistor, Lex, Big Dada, Mush, Strange Famous, Fake Four and Morr Music. The map is the indie-rap/indie-rock crossover of the 2000s, drawn from nothing but who released whose records.

Anticon and the labels it shares artists with.

Anticon, one step out: 60 labels, 289 edges, coloured by dominant genre. The default cap on catalogue size keeps the majors out — without it, every large back-catalogue label shares a few artists with everything and crowds the map.

Open problems

Five defects are measured and documented in the repository, each with the SQL behind its numbers so it can be re-measured after a rebuild. Every figure in this document reflects the data as it stands; a fix for the fifth is written but not yet applied.

1. Alias union-find merges distinct people. Transitive closure over alias links assumes an alias means "same human". A collaborative pseudonym — a name several musicians record under jointly — is a hub linked to all of them, and closure fuses them. About 2,150 components merge demonstrably name-disjoint identities, covering 100,143 releases (0.57% of the catalogue) — a floor, not a ceiling, since the detector needs a real name on both sides.

The defect is visible in the map above. The node labelled "Masahiko Satoh", 17 shared releases with Laswell, is a single person record fusing three unrelated musicians: Satoh (a Japanese pianist), Otomo Yoshihide (a turntablist) and Roger Turner (a British percussionist), bridged by two credit-less pseudonyms. The displayed name is whichever alias has the most credits, which is Satoh — but the artist actually credited on Laswell's records is Otomo Yoshihide. The node names the wrong musician.

2. The seven-person ceiling deletes large-ensemble work. The co-release table keeps only releases with two to seven distinct people, so compilations cannot form false cliques. The threshold is hard, leaves no trace, and is not neutral: it taxes collectives, splits and large ensembles and costs nothing to anyone recording in twos and threes. For one measured artist, 42% of his collaborative history is invisible. The candidate fix — weight a release by 1/n instead of dropping it — would change every edge weight in the application.

3. The two interact, so the first cannot be fixed alone. Splitting a merged person can only raise a release's person count, pushing some releases into the graph and others past the ceiling and out of it. Both tables must be rebuilt in one pass.

4. One band credit floods a label's roster. The label network has no ensemble ceiling, so a single record by a large group writes its whole membership into that label's artist set. Of the 57,012 labels with a fifteen-plus-member ensemble credited on them, 30,588 get half or more of their entire roster from one ensemble. The London Symphony Orchestra, with 805 listed members, appears on 1,529 labels.

It is not a classical-music artefact, and the Anticon map above shows it at small scale. Six of its neighbours sit at exactly 14 shared artists — but Houston Party, Popfrenzy and Shimmy Disc share the same 14 people (the Danielson family band), and Big Scary Monsters and Moorworks share a different same 14 (the ensemble Anathallo). Only Alien Transistor's 14 are a genuine roster overlap: Markus and Michael Acher of The Notwist, Martin Gretschmann, Adam Drucker, Andrew Broder, Martin Dosh and the rest of the real Anticon–Notwist circle. One band and a real shared scene are indistinguishable by weight.

5. The band guard excludes solo projects. Any record appearing as a group in the membership table is excluded from the person table as "a band". Discogs' membership table is not a band register — contributors routinely list the one person behind a project as its sole member. 176,883 of the 659,124 records treated as bands have exactly one listed member, and 141,455 of those resolve to a real person, carrying 752,763 primary credits attached to the wrong identity.

Status: a fix is written and dry-run verified — one-member projects are folded into that member, rescuing 173,901 artist records — but it reaches the maps only after a full rebuild of the derived tables (~2 h), which has not been run. The fix deliberately does not cover projects with two listed members, the harder half of the problem.

What is excluded by design. Only primary-artist billing forms an edge. Producer, remix, written-by, vocals, engineer, artwork and all per-track credits are ignored. For Laswell, who produced far more records than he was billed on, this means the map shows his collaborations and not his production work — a deliberate modelling choice, and a sharp limit on who the tool can describe well.

Stack

PostgreSQL 14+ (~53 GB), Python for the pipeline, a dependency-free Node.js server (one package: the PostgreSQL driver) and a D3.js front end — about 4,700 lines in total. Search runs on PostgreSQL trigram indexes, which match three-character fragments and so tolerate misspellings, across nine million artist records in roughly ten milliseconds.