Skip to content

The Mathematical Collective Unconscious: Jungian Archetypes within the Latent Space

Andrew Breen

arXiv Preprint Archive October 11, 2026 preprint

Study at a glance

AI-extracted from the abstract
Characteristics Computational text-embedding analysis
Population Synthetic narratives, human-authored literature (Shmoop corpus), unedited dream reports (DreamBank corpus), and folklore (Andrew Lang's Fairy Books)
Measures cosine similarity, angular distance
Keywords Cs.cl
Key points Argues that archetypal roles occupy distinct, measurable regions in the latent space of OpenAI's text-embedding-3-small model, and that these regions remain compact and consistent because of narrative structure rather than simple word overlap. Reports that text category shapes spatial distribution: dream reports concentrate within Trickster and Shadow regions, while traditional folklore distributes evenly across all tested archetypes.

Abstract

Carl Jung theorised that the human psyche contains an inherited framework, the collective unconscious, populated by universal archetypes. As large language models (LLMs) are trained on vast corpora of textual data, this paper investigates whether they spontaneously construct distinct archetype-like regions within their high-dimensional latent spaces. The paper proposes that these regions function as spatial constraints that naturally organise semantically related narratives. To evaluate this, we applied cosine similarity and angular distance metrics across thirteen experiments utilising OpenAIs text-embedding-3-small model. The paper contains two experimental sections the first section explores these ideas using synthetically constructed narratives, the results of which act as a baselines for experiments conducted in the second section where the synthetic data is replaced by human-authored literature (Shmoop corpus), unedited dream reports (DreamBank corpus), and culturally distilled folklore (Andrew Langs Fairy Books). The results show that archetypal roles occupy distinct, measurable regions in the latent space. Crucially, these regions remain compact and consistent because of narrative structure rather than simple word overlap. Additionally, text category dictates spatial distribution: dream reports concentrate within Trickster and Shadow regions, while traditional folklore distributes evenly across all tested archetypes. We conclude that transformer latent spaces encode stable regions which appear to correspond to recognised Jungian archetypes.

Explore topics