Structural invariants and semantic fingerprints in the "ego network" of words

Kilian Ollivier, Chiara Boldrini, Andrea Passarella, Marco ContiarXiv 2022 · DOI · arXiv

TL;DR

This paper demonstrates that humans organize their vocabulary into a concentric, layered structure—an "ego network of words"—that closely mirrors how we organize our social relationships due to cognitive constraints. By analyzing Twitter data, the authors uncover striking structural invariants in word usage frequency and show that an individual's innermost layer of highly frequent words acts as a unique "semantic fingerprint" that dominates their overall topic profile.

What Problem Does This Paper Address?

Human language production happens fast, requiring the brain to search its massive internal lexicon and retrieve the right word in milliseconds. To achieve this, the mind relies on cognitive strategies, but the underlying structural organization of this mental lexicon remains poorly understood.

The authors look for inspiration in anthropology, specifically the concept of the social ego network. Humans are cognitively limited in the number of active social relationships they can maintain (Dunbar's number, ~150), and these relationships are structured into concentric layers of decreasing intimacy (typically sizes 5, 15, 50, and 150). The paper investigates whether similar cognitive constraints force humans to structure their vocabulary into a regular, layered hierarchy, and whether the semantic themes within these layers reveal unique individual patterns.

The ego network model of social relationships, showing concentric layers and rings.

Methods

The researchers developed a data-driven pipeline to construct and analyze individual "ego networks of words":

  1. Word Extraction & Preprocessing: Tweets were cleaned by removing functional words (stop words), hashtags, links, and emojis. Lexical words were lemmatized to group base forms (e.g., "work" and "worked").
  2. Structural Clustering: The usage frequency of each word was calculated. After a log-transformation to handle the long-tailed distribution, the Mean Shift algorithm was applied to automatically detect the optimal number of frequency-based clusters (layers) for each user without prescribing a fixed number beforehand.
  3. Semantic Profiling: To map words to topics in context, the authors leveraged the BERTopic framework. Tweets were embedded using BERT, reduced in dimensionality via UMAP, and clustered into distinct topics using HDBSCAN. The authors deliberately chose a hard clustering approach to minimize noise from generic topics.
  4. Validation via Null Model: To prove that their findings weren't simply an artifact of the network's mathematical structure, they built a null model where words were randomly shuffled across rings while preserving the overall network shape and word occurrence counts.

Datasets

The study evaluated four distinct Twitter datasets to capture both professional and casual language users:

  • NYT Journalists: 268 active accounts from a New York Times Twitter list.
  • Science Writers: 208 active accounts curated from a list by a Scientific American writer.
  • Random Users #1: 1,227 accounts sampled using the hashtag #MondayMotivation.
  • Random Users #2: 734 accounts sampled generally from the United Kingdom.

To eliminate sampling bias caused by varying tweet frequencies, all user timelines were standardized to a strict 1-year observation window ($T=1$). Bots were filtered out using the Botometer service.

Key Insights and Ideas

  • The Vocabulary Scaling Law: Much like social networks scale by a factor of ~3 between layers, the ego network of words scales predictably. As you move outward to less frequently used words, the layer sizes roughly double.
  • The Innermost Ring Paradox: Ring #1 (the most frequently used words) is structurally the smallest, yet it is a semantic powerhouse. It features the highest normalized topic diversity and is the most semantically distinct ring in the network.
  • Semantic Pulling Power: The primary topics appearing in an individual's innermost ring aren't isolated; they possess a "pulling power" that makes them dominant across all other outer rings and the entire ego network. Ring #1 effectively serves as the user's core semantic fingerprint.

Key Results

  • 5 to 7 Layers: Across all datasets—regardless of whether the user was a professional journalist or a casual tweeter—individual vocabularies consistently clustered into 5 to 7 layers of usage frequency.
  • Predictable Proportions: The two penultimate external layers consistently account for approximately 60% and 30% of a user's total vocabulary, showing a remarkable structural invariant.
  • The 5x Exception: While outer layers double in size sequentially, the innermost layer (Ring #1) breaks the trend by being roughly 5 times smaller than Ring #2, emphasizing its highly exclusive nature.
  • Semantic Distance: Pairwise comparisons using Jensen-Shannon (JS) distance revealed that Ring #1 is consistently the furthest away from all other rings in terms of topic distribution.

Limitations and Future Work

A primary limitation is the reliance on Twitter data. The platform's strict character limits and colloquial nature favor spontaneous, short-form communication, which might amplify certain cognitive constraints compared to long-form literature or spoken language.

For future work, the authors suggest applying these structural and semantic invariants to practical data science problems, such as improving author identification, enhancing word recommendation engines for typing assistance, detecting anomalous bot behavior, and predicting social links based on shared core semantic fingerprints.

Summary updated

Abstract

Well-established cognitive models coming from anthropology have shown that, due to the cognitive constraints that limit our "bandwidth" for social interactions, humans organize their social relations according to a regular structure. In this work, we postulate that similar regularities can be found in other cognitive processes, such as those involving language production. In order to investigate this claim, we analyse a dataset containing tweets of a heterogeneous group of Twitter users (regular users and professional writers). Leveraging a methodology similar to the one used to uncover the well-established social cognitive constraints, we find regularities at both the structural and semantic level. At the former, we find that a concentric layered structure (which we call ego network of words, in analogy to the ego network of social relationships) very well captures how individuals organise the words they use. The size of the layers in this structure regularly grows (approximately 2-3 times with respect to the previous one) when moving outwards, and the two penultimate external layers consistently account for approximately 60% and 30% of the used words, irrespective of the number of the total number of layers of the user. For the semantic analysis, each ring of each ego network is described by a semantic profile, which captures the topics associated with the words in the ring. We find that ring #1 has a special role in the model. It is semantically the most dissimilar and the most diverse among the rings. We also show that the topics that are important in the innermost ring also have the characteristic of being predominant in each of the other rings, as well as in the entire ego network. In this respect, ring #1 can be seen as the semantic fingerprint of the ego network of words.
BibTeX
@misc{ollivier2022structural,
  author = {Kilian Ollivier and Chiara Boldrini and Andrea Passarella and Marco Conti},
  title = {{Structural invariants and semantic fingerprints in the "ego network" of words}},
  year = {2022},
  eprint = {2203.00588},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.00588},
}
Figure