Skip to main content
QUICK REVIEW

[Paper Review] A Note on Local Ultrametricity in Text

Fionn Murtagh|ArXiv.org|Jan 27, 2007
advanced mathematical theoriesMathematics13 references5 citations
TL;DR

This paper proposes a method to quantify local ultrametricity in textual corpora using correspondence analysis and an alpha coefficient to assess hierarchical structure in word-frequency data. It finds that dream reports and James Joyce’s Ulysses exhibit significantly higher ultrametricity (alpha ~0.26) than fairy tales or aviation reports, suggesting inherent local tree-like semantic organization in diverse text types.

ABSTRACT

High dimensional, sparsely populated data spaces have been characterized in terms of ultrametric topology. This implies that there are natural, not necessarily unique, tree or hierarchy structures defined by the ultrametric topology. In this note we study the extent of local ultrametric topology in texts, with the aim of finding unique ``fingerprints'' for a text or corpus, discriminating between texts from different domains, and opening up the possibility of exploiting hierarchical structures in the data. We use coherent and meaningful collections of over 1000 texts, comprising over 1.3 million words.

Motivation & Objective

  • To assess the extent of inherent local hierarchical structure in diverse text corpora using ultrametric topology.
  • To identify unique 'fingerprints' in text collections based on their hierarchical organization, enabling discrimination between domains.
  • To explore the utility of local ultrametric structures for ontology construction and semantic modeling in natural language processing.
  • To evaluate whether global hierarchical clustering is appropriate or if local tree fragments (shrub-like structures) better represent textual semantics.
  • To investigate how linguistic and semantic characteristics—such as topic shifts and lexical diversity—affect ultrametric structure in text.

Proposed method

  • Uses correspondence analysis to embed text frequency data into a Euclidean factor space, preserving chi-squared distances between texts.
  • Applies the chi-squared distance as a weighted Euclidean metric on word frequency profiles to account for sparse, high-dimensional data.
  • Defines the alpha coefficient of ultrametricity as the proportion of all text triplets forming approximately isosceles or equilateral triangles based on angular constraints.
  • Imposes angular constraints: smallest angle ≤ 60°, and the other two angles differ by ≤ 2°, to identify ultrametric-like triplets.
  • Computes alpha across multiple word frequency thresholds (1000, 2000, 7044 words) and sampling of triplets to ensure stability.
  • Compares ultrametricity levels across diverse corpora: Grimm tales, Jane Austen novels, aviation reports, dream reports, and Ulysses.

Experimental results

Research questions

  • RQ1To what extent do different text corpora exhibit local ultrametric structure, as measured by the alpha coefficient?
  • RQ2How do variations in lexical diversity and topic coherence affect the degree of ultrametricity in text collections?
  • RQ3Can distinct text types—such as literary fiction, technical reports, or personal narratives—be discriminated by their ultrametric structure?
  • RQ4Does a single author’s corpus (e.g., dream reports from one person) exhibit higher ultrametricity than collective or heterogeneous corpora?
  • RQ5Is the presence of frequent topic shifts or scene changes correlated with increased ultrametric structure in text?

Key findings

  • The alpha coefficient of ultrametricity was highest for single-person dream reports (mean alpha = 0.2603), indicating strong local hierarchical structure.
  • James Joyce’s Ulysses showed a mean alpha of 0.2057, higher than fairy tales (0.1147) and aviation accident reports (0.1154), suggesting complex, fragmented semantic organization.
  • Jane Austen’s novels had a mean alpha of 0.1404, distinguishing them from both Grimm tales and technical reports in terms of hierarchical structure.
  • Dream reports from multiple sources had a mean alpha of 0.1933, significantly higher than most other corpora, indicating inherent local semantic clustering.
  • The ultrametricity coefficient remained stable across different word frequency thresholds (1000, 2000, 7044 words), confirming robustness of the measure.
  • The study found that technical language (aviation reports) and literary fairy tales exhibited similar low levels of ultrametricity, suggesting comparable semantic smoothness in transitions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.