Introduction
Vector Space Models (VSMs) have become a cornerstone of modern Natural Language Processing, representing words as high-dimensional vectors where spatial proximity correlates with semantic similarity. While these models are renowned for capturing lexical relationships—famously illustrated by the analogy king is to man as queen is to woman—their ability to encode the fundamental "gears" of logic remains an open question. This study investigates whether distributional word vectors, specifically those generated by word2vec, capture quantificational features such as logical force (universal vs. existential), polarity (increasing vs. decreasing), and domain (person, place, time, etc.).
Methodology
The researchers employed the skip-gram model to generate word embeddings from a massive 3.4-billion-word corpus (ukWaC and English Wikipedia). To evaluate logical reasoning, they utilized the vector offset method, which solves analogies of the form $a : a^* :: b : x$ by calculating $x = a^* - a + b$ and identifying the nearest neighbor in the vector space.
Two primary calculation methods were tested: 3CosAdd (standard additive approach) and 3CosMul (a multiplicative variant designed to penalize candidates too similar to the input words). The evaluation set comprised 180 manually constructed analogies across six domains: Person, Object, Place, Time, Modal (e.g., must/can), and Modal Verbs (e.g., require/allow). Beyond exact matches, the study analyzed "partial success" to determine if models correctly identified the logical domain, force, or polarity of the target word.
Key Results
The experimental results reveal that logical encoding in VSMs is highly domain-dependent. Models achieved near-perfect accuracy in concrete domains like PERSON, PLACE, and OBJECT. For instance, in the PERSON domain, the model correctly identified the target word 73% of the time. However, performance plummeted in abstract domains; the models were largely "logic-blind" regarding modals like must or forbid. Interestingly, the study found a "Goldilocks" window size of 5 words for capturing logical features, suggesting that logical cues often reside further from the target word than syntactic cues.
Human participants significantly outperformed the VSMs, achieving a mean accuracy of 68% compared to the best model's 35%. Crucially, humans maintained high performance even in the difficult modal domains where the models failed. Furthermore, the study highlighted a significant "data hunger gap." While humans can infer these logical patterns with relatively little exposure, VSMs required billions of words to achieve significant accuracy, failing completely when trained on smaller datasets (e.g., 1 million sentences) comparable to a child's annual language exposure.
Discussion and Conclusion
The failure of VSMs in abstract domains like modality suggests that simple bag-of-words contexts may be insufficient to capture complex discourse and syntactic interactions. Additionally, the models' lack of morphological awareness likely hinders their performance; humans often use internal word structures (e.g., every-body vs. some-body) to infer logical relations. Future research should explore whether sub-word embeddings or models incorporating explicit syntactic structure can bridge the gap between distributional statistics and human-level logical reasoning.
Summary updated