From Topic to Transition Structure: Unsupervised Concept Discovery at Corpus Scale via Predictive Associative Memory
Organizations: Independent Researcher
Abstract
Embedding models group text by semantic content, what text is about. We show that temporal co-occurrence within texts discovers a different kind of structure: recurrent transition-structure concepts or what text does. We train a 29.4M-parameter contrastive model on 373 million co-occurrence pairs from 9,766 Project Gutenberg texts (24.96 million passages), mapping pre-trained embeddings into an association space where passages with similar transition structure cluster together. Under capacity constraint (42.75% accuracy), the model must compress across recurring patterns rather than memorise individual co-occurrences. Clustering at six granularities (k=50 to k=2,000) produces a multi-resolution concept map; from broad modes like "direct confrontation" and "lyrical meditation" to precise registers and scene templates like "sailor dialect" and "courtroom cross-examination." At k=100, clusters average 4,508 books each (of 9,766), confirming corpus-wide patterns. Direct comparison with embedding-similarity clustering shows that raw embeddings group by topic while association-space clusters group by function, register, and literary tradition. Unseen novels are assigned to existing clusters without retraining; the association model concentrates each novel into a selective subset of coherent clusters, while raw embedding assignment saturates nearly all clusters. Validation controls address positional, length, and book-concentration confounds. The method extends Predictive Associative Memory (PAM, arXiv:2602.11322) from episodic recall to concept formation: where PAM recalls specific associations, multi-epoch contrastive training under compression extracts structural patterns that transfer to unseen texts, the same framework producing qualitatively different behaviour in a different regime.
Figures & tables
| Threshold | Passing | Mean Cosine | Mean Books | Mean Dominance | |
|---|---|---|---|---|---|
| 50 | 50 | 50/50 | 0.302 | 5,860 | 2.2% |
| 100 | 100 | 100/100 | 0.378 | 4,508 | 4.0% |
| 250 | 200 | 241/250 | 0.436 | 3,329 | 6.3% |
| 500 | 500 | 472/500 | 0.479 | 2,502 | 9.0% |
| 1,000 | 500 | 857/1,000 | 0.513 | 1,885 | 12.0% |
| 2,000 | 1,000 | 980/2,000 | 0.499 | 1,797 | 8.1% |
| Metric | PAM 2K ( ) | BGE 2K ( ) | PAM 10K ( ) |
|---|---|---|---|
| Mean cosine | 0.454 | 0.493 | 0.378 |
| Mean books | 1,121 | 1,905 | 4,508 |
| Mean dominance | 7.9% | 2.3% | 4.0% |
| Metric ( ) | BGE Raw | Context-Enriched | PAM 2K |
|---|---|---|---|
| Passing | 100/100 | 95/100 | 100/100 |
| Mean cosine | 0.493 | 0.861 | 0.454 |
| Mean books | 1,905 | 726 | 1,121 |
| Mean dominance | 2.3% | 8.1% | 7.9% |
| Novel | Gutenberg ID | Author | Chunks |
|---|---|---|---|
| Pride and Prejudice | 1342 | Jane Austen | 4,697 |
| Dracula | 345 | Bram Stoker | 5,879 |
| Frankenstein | 84 | Mary Shelley | 2,638 |
| Alice’s Adventures in Wonderland | 11 | Lewis Carroll | 1,057 |
| The War of the Worlds | 36 | H.G. Wells | 2,157 |
| Novel | PAM | BGE | Top-5 PAM | Top-5 BGE |
|---|---|---|---|---|
| Alice in Wonderland | 51/100 | 87/100 | 77.6% | 32.2% |
| Pride and Prejudice | 80/100 | 89/100 | 66.5% | 25.2% |
| Frankenstein | 83/100 | 96/100 | 60.6% | 42.4% |
| The War of the Worlds | 86/100 | 86/100 | 52.6% | 36.7% |
| Dracula | 98/100 | 100/100 | 39.1% | 19.5% |
| Property | PAM | AAR | This Work |
|---|---|---|---|
| Domain | Synthetic benchmark | Multi-hop QA | Literary corpus |
| Goal | Faithful episodic recall | Passage retrieval | Concept discovery |
| Compression | None (memorisation) | Minimal ( 97%) | Severe (42.75%) |
| Inductive transfer | Fails | Fails | Succeeds |
| What is learned | Specific associations | Corpus-specific links | Structural patterns |
| Biological analogy | Hippocampal encoding | — | Neocortical consolidation |