Abstract
In this paper, we present a novel method for the computation of compositionality within a distributional framework. The key idea is that compositionality is modeled as a multi-way interaction between latent factors, which are automatically constructed from corpus data. We use our method to model the composition of subject-verb-object (SVO) triples. The method consists of two steps. First, we compute a latent factor model for nouns from standard co-occurrence data. Next, the latent factors are used to induce a latent model of three-way subject-verb-object interactions. Our model has been evaluated on a similarity task for transitive phrases, in which it exceeds the state of the art.
Introduction
In natural language processing, the "distributional hypothesis" suggests that words appearing in similar contexts share similar meanings. While this has led to successful vector-space models for individual words, semantic compositionality—the process of combining word meanings into phrase or sentence meanings—remains a significant challenge.
Traditional approaches often rely on simple operations like vector addition or element-wise multiplication. However, these methods struggle to capture the complex structural interactions inherent in language, such as how a specific subject and object jointly constrain the meaning of a verb. This paper proposes a tensor-based model designed to capture these rich, multi-way interactions between a verb, its subject, and its direct object.
Methodology
The authors represent SVO triples using a three-mode tensor and a variation of Tucker decomposition. To manage the computational complexity of full tensor factorization, they employ a two-step process:
1. Latent Noun Factors via NMF
First, Non-negative Matrix Factorization (NMF) is applied to a standard noun-context matrix. This process compresses tens of thousands of nouns into a dense matrix of 300 non-negative "latent factors," which represent underlying semantic concepts.
2. Building the Core Tensor
Rather than factorizing a massive SVO tensor from scratch, the authors project the Subject and Object dimensions of raw SVO co-occurrence data onto the latent noun factors learned in the first step. The Verb dimension is left uncompressed to facilitate subsequent similarity computations. This results in a dense "core tensor" that captures the interactions between verbs and the latent semantic features of their subjects and objects.
3. Composition via Filtering
To determine the meaning of a specific phrase (e.g., "user runs command"), the model takes the outer product of the subject and object latent vectors. This result is then multiplied by the verb's specific slice of the core tensor using the Hadamard (element-wise) product. This acts as a bidirectional filter: the subject/object combination highlights relevant semantic features of the verb while suppressing irrelevant ones, effectively contextualizing the verb's meaning.
Experimental Setup
- Training Data: The model was trained on the UKWAC corpus, a 2-billion-word web-crawled dataset. MaltParser was used to extract the SVO triples used to build the co-occurrence matrices and tensors.
- Evaluation Benchmark: The model was tested on a transitive sentence similarity dataset containing 2,500 human similarity judgments for short SVO sentences (e.g., comparing "system meets criterion" to the landmark verb "visit").
Key Insights
- Multi-way Interactions: By using the outer product of the subject and object to filter the verb's tensor slice, the model captures how the subject and object jointly dictate the verb's meaning, rather than treating them as independent contributors.
- Structural Preservation: Because subjects and objects occupy different dimensions (modes) in the tensor, the model inherently distinguishes between different grammatical roles (e.g., "man damages car" vs. "car damages man").
- Contextual Disambiguation: The Hadamard product effectively handles polysemy. For instance, the model learns that "athlete" and "race" filter "run" toward a competitive sense (finish, win), while "user" and "command" filter it toward an execution sense (execute, invoke).
Results and Discussion
The model's performance was measured using Spearman's $\rho$ correlation with human similarity judgments.
- Quantitative Performance: The latent tensor model achieved a score of 0.37, outperforming the baseline (0.23), the standard multiplicative model (0.34), and the previous state-of-the-art categorical model (0.35).
- Qualitative Analysis: The model successfully identified contextually appropriate nearest-neighbor verbs. For "athlete runs race," neighbors included finish, attend, win; for "user runs command," they included execute, modify, invoke.
Limitations and Future Work
The current architecture is specifically designed for three-mode SVO structures and does not easily accommodate adjectives, adverbs, or more complex grammatical forms. Future work aims to extend the framework to handle a variable number of modes. Additionally, while the verb dimension was left uncompressed for efficiency, exploring a fully latent model where all modes are factorized remains an area for investigation. Finally, the authors suggest moving beyond similarity tasks to more complex NLP applications like lexical substitution or automated paraphrasing.
Summary updated