Abstract
In this paper, we describe a practical application of Vampire for Word Sense Disambiguation (WSD), an important research area in Natural Language Processing (NLP). Its objective is choosing the intended sense of a word in a given context. We propose a method for the automatic disambiguation of semantic relations in BLESS, a dataset designed to evaluate models of distributional semantics, by choosing the WordNet synset it belongs to. We use the knowledge in Adimen-SUMO, obtained by transforming the core of SUMO into first-order logic (FOL) for use by FOL automated theorem provers like Vampire. By exploiting the semantic mapping between WordNet and SUMO, we apply a black-box testing method that enables the automatic creation of conjectures for each word pair. These conjectures are evaluated using Vampire, and each word is disambiguated to a single synset based on the outcomes. Finally, we compare our results with different disambiguation systems in the literature.
The Challenge of Word Sense Disambiguation
Word Sense Disambiguation (WSD) remains a fundamental hurdle in Natural Language Processing. The core difficulty lies in the inherent ambiguity of human language, where a single word can represent vastly different concepts depending on its context. For instance, the word turtle might refer to a shelled reptile or a specific style of sweater.
While humans resolve these ambiguities effortlessly using world knowledge, computational models often struggle. Traditional approaches typically rely on distributional semantics—analyzing the frequency of words appearing near one another. However, these statistical methods often lack a deep, structural "understanding" of the world, which can lead to errors in complex or rare contexts.
Methodology: Reasoning via Formal Logic
This research explores a novel path by treating WSD as a logical theorem-proving problem. The proposed system "reasons" its way to the correct meaning by verifying if a specific word sense is logically consistent with a given semantic relationship.
Mapping Knowledge and Logic Transformation
The methodology relies on linking two major resources: WordNet, a lexical database of English synsets, and SUMO (Suggested Upper Merged Ontology), a structured model of world concepts. To make this knowledge actionable for a computer, the authors utilize Adimen-SUMO, which translates the core axioms of SUMO into First-Order Logic (FOL). This transformation effectively turns "common sense" into a set of mathematical premises.
Leveraging Semantic Relations
Using the BLESS (Baroni-Lenci Evaluation of Semantic Similarity) dataset, the system identifies word pairs and their associated semantic relations, such as hypernymy (is-a) or meronymy (has-part).
For every word pair, the system generates "conjectures"—logical questions like "Does an instance of a reptile possess a part called a limb?" These are then fed into Vampire, a high-performance automated theorem prover. Vampire attempts to prove or disprove these conjectures based on the Adimen-SUMO axioms. The word sense that yields the highest number of successful logical proofs is selected as the correct disambiguation.
Key Results and Insights
The reasoning-based approach demonstrated significant potential, achieving 70.00% accuracy (correctly disambiguating 140 out of 200 target nouns). This substantially outperforms a random baseline of approximately 55.35%.
The system was particularly effective at identifying hypernymy and cohyponymy (sibling) relations, which are well-defined within the SUMO ontology. While the current state-of-the-art statistical tool, UKB, reaches 90% accuracy, the reasoning method succeeded in specific cases where statistical models failed. Most importantly, the study suggests an "upper bound" potential: a hybrid system combining both reasoning and statistical methods could theoretically reach 97% accuracy, indicating that formal logic may be the missing component for near-perfect WSD.
Limitations and Future Directions
Despite its promise, the logic-based approach faces several challenges:
- Computational Cost: The experiment required over 320 days of processor time to evaluate 46,568 conjectures, making it currently impractical for real-time use.
- Ontological Gaps: The system struggles when the ontology lacks specific details (under-axiomatization) or when dealing with "event" relations (actions and verbs), which are less formally defined than static objects.
- Future Work: The researchers plan to refine the WordNet-to-SUMO mappings and explore more efficient theorem provers like E or CVC4 to reduce computational overhead.
Summary updated