NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Semantic Holism and Word Representations in Artificial Neural Networks

Tomás MusilarXiv 2020

Abstract

Artificial neural networks are a state-of-the-art solution for many problems in natural language processing. What can we learn about language and meaning from the way artificial neural networks represent it? Word representations obtained from the Skip-gram variant of the word2vec model exhibit interesting semantic properties. This is usually explained by referring to the general distributional hypothesis, which states that the meaning of the word is given by the contexts where it occurs. We propose a more specific approach based on Frege's holistic and functional approach to meaning. Taking Tugendhat's formal reinterpretation of Frege's work as a starting point, we demonstrate that it is analogical to the process of training the Skip-gram model and offers a possible explanation of its semantic properties.

Introduction

In the field of Natural Language Processing (NLP), word embeddings—specifically those generated by the word2vec Skip-gram model—have gained fame for their ability to capture complex semantic relationships. The classic example is the vector arithmetic $v_{king} - v_{man} + v_{woman} \approx v_{queen}$. While the "distributional hypothesis" (the idea that words with similar contexts have similar meanings) is the standard explanation, it is often criticized as being theoretically insufficient. This paper explores whether semantic holism provides a more robust theoretical foundation for these observations.

Semantic relationships captured by word embeddings, illustrating gender and number analogies.

Theoretical Framework: Atomism vs. Holism

The debate between semantic atomism and holism is central to this analysis. Atomism posits that words have independent meanings (like labels for objects), and sentences are merely compositions of these parts. In contrast, Holism suggests that the meaning of a word is derived from its role within the language system as a whole.

The author, Tomáš Musil, introduces Ernst Tugendhat’s reformulation of Gottlob Frege’s holism, which centers on "truth-value potential." Under this view, two expressions share the same meaning if they are interchangeable in any sentence without altering its truth value. This functional approach suggests that meaning is found by decomposing the "whole" (the sentence or language) into the roles played by its constituent parts, rather than building it up from independent atoms.

Architectural Comparison: CBOW vs. Skip-gram

The paper contrasts the two primary word2vec architectures to show how they align with these philosophical schools:

Comparison of the CBOW and Skip-gram architectures. CBOW predicts a target word from context, while Skip-gram predicts context from a target word.
  • CBOW (Continuous Bag of Words): This model predicts a target word ($w_3$) based on a surrounding context (e.g., $w_1, w_2, w_4, w_5$). The author argues this is implicitly atomistic because it treats words as basic units to be filled into a slot.
  • Skip-gram: This model uses a single word ($w_3$) to predict the surrounding context words. By fixing the word and iterating through its possible contexts across a corpus, the model effectively treats the word as a "truth-value potential."

Key Insights: Skip-gram as Holistic Decomposition

The core insight is that Skip-gram's training process mirrors holistic decomposition. It asks: "What is the role of this word in all these valid (true) sentences?" By learning a representation based on the totality of its usage, the model captures the word's systemic role.

This explains why Skip-gram consistently outperforms CBOW on semantic tasks. It adheres to the structuralist principle that a vector has no meaning in isolation; its "meaning" is entirely defined by its position relative to every other vector in the high-dimensional space. The famous vector arithmetic is possible because Skip-gram training is an iterative process of estimating the systemic potential of words across a corpus.

Conclusion and Limitations

By framing neural word representations through the lens of Fregean holism, we move beyond the "hand-wavy" distributional hypothesis toward a formal theory of meaning in NLP. However, this theory assumes a corpus consists mostly of "true" or valid language use, which is a significant approximation. Furthermore, while this analysis provides a strong foundation for shallow models like word2vec, future work is needed to extend these philosophical inquiries to modern Transformer-based architectures (like BERT or GPT) that utilize sub-word tokens rather than whole words.

Summary updated

BibTeX
@misc{musil2020semantic,
  author = {Tomás Musil},
  title = {{Semantic Holism and Word Representations in Artificial Neural Networks}},
  year = {2020},
  eprint = {2003.05522},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2003.05522},
}
Figure