Jointly Learning Word Representations and Composition Functions Using Predicate-Argument Structures

Kazuma Hashimoto, Pontus Stenetorp, Makoto Miwa, Yoshimasa TsuruokaEMNLP 2014

Abstract

We introduce a novel compositional language model that works on Predicate-Argument Structures (PASs). Our model jointly learns word representations and their composition functions using bag-of-words and dependency-based contexts. Unlike previous word-sequence-based models, our PAS-based model composes arguments into predicates by using the category information from the PAS. This enables our model to capture long-range dependencies between words and to better handle constructs such as verb-object and subject-verb-object relations. We verify this experimentally using two phrase similarity datasets and achieve results comparable to or higher than the previous best results. Our system achieves these results without the need for pretrained word vectors and using a much smaller training corpus; despite this, for the subject-verb-object dataset our model improves upon the state of the art by as much as ~10% in relative performance.

Introduction

While word embeddings like Word2Vec have revolutionized natural language processing by capturing individual word meanings, representing the semantics of complex phrases remains a significant challenge. Traditional compositional models often rely on simple arithmetic (addition or multiplication) that ignores syntactic structure, failing to distinguish between phrases like "man bites dog" and "dog bites man."

Existing models that do incorporate syntax often face a "chicken and egg" dilemma: they typically require high-quality pre-trained word vectors to begin or necessitate massive datasets to learn complex structural transformations. This research explores whether a model can jointly learn word vectors and their composition functions within a single, unified vector space using a relatively small, syntactically parsed corpus.

Methodology

Predicate-Argument Structures (PAS)

Rather than relying on fixed-window "bag-of-words" contexts, the proposed model utilizes Predicate-Argument Structures. By employing a parser to identify semantic roles, the model can distinguish between predicates and their specific arguments (e.g., identifying "cause" as a predicate with "rain" as its subject and "accidents" as its object).

Model Architecture: PAS-CLBLM

The authors introduce the Compositional Log-Bilinear Language Model using Predicate-Argument Structures (PAS-CLBLM). Unlike the basic PAS-LBLM, which predicts words based on single-word contexts, the PAS-CLBLM is trained to predict target words using composed vectors.

Comparison between the basic PAS-LBLM and the proposed PAS-CLBLM architecture, illustrating how composed vectors are utilized in the prediction process.

To address data sparseness, the model incorporates a global "bag-of-words" context ($h_{BoW}$) from the entire sentence, providing a fallback when specific predicate-argument data is limited.

Composition Functions

The study evaluates several methods for combining word vectors into phrase representations. These range from simple linear addition to weighted models that account for syntactic roles:

Mathematical definitions of the linear and non-linear composition functions evaluated in the study.

Key variants include:

  • Add: Simple element-wise addition.
  • Wadd (Weighted Addition): The model learns specific weights for different syntactic roles (e.g., subject vs. object).
  • Non-linearity: The application of a tanh function to capture more complex interactions between words.

Experimental Results

The model was trained on 6 million sentences from the British National Corpus (BNC) and evaluated on established phrase similarity benchmarks (AN, NN, VO, and SVO triplets).

  • SVO Breakthrough: The PAS-CLBLM (specifically the Wadd_nl variant) achieved a significant breakthrough on Subject-Verb-Object similarity tasks, improving the state-of-the-art by approximately 10% in relative performance ($\rho = 0.50$ compared to the previous $0.45$).
  • Efficiency and Joint Learning: The model achieved these results without pre-trained vectors and using a significantly smaller corpus than previous state-of-the-art models (which often used the ukWaC). This suggests that leveraging syntactic structure is as critical as raw data volume.
  • Role of Weights: While simple addition suffices for basic Adjective-Noun pairs, weighted addition proved essential for complex SVO structures, where the verb and its arguments contribute disproportionately to the overall meaning.

Conclusion

By jointly learning word representations and composition functions through Predicate-Argument Structures, the PAS-CLBLM effectively captures long-range dependencies and complex semantic relations. While the current study limited the number of tuples to 300,000 to maintain tractability, future work may explore more complex deep learning architectures, such as recursive neural tensor networks, to capture even richer semantic information for downstream tasks like sentiment analysis or machine translation.

Summary updated

BibTeX
@inproceedings{hashimoto2014jointly,
  author = {Kazuma Hashimoto and Pontus Stenetorp and Makoto Miwa and Yoshimasa Tsuruoka},
  title = {{Jointly Learning Word Representations and Composition Functions Using Predicate-Argument Structures}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2014},
  url = {https://openreview.net/forum?id=ByWv6ZGuZB},
}
Figure