Adaptive Joint Learning of Compositional and Non-Compositional Phrase Embeddings

Kazuma Hashimoto, Yoshimasa Tsuruoka

Abstract

Representing phrases in vector space requires balancing literal compositionality with idiomatic non-compositionality. This paper introduces a novel method that adaptively blends these two types of representations by jointly learning a "compositionality score" ($\alpha$) alongside the embeddings. By treating compositionality as a continuous spectrum rather than a binary choice, the model automatically determines whether to treat a phrase like "buy car" literally or "bear fruit" idiomatically. Experimental results on phrase similarity and disambiguation tasks show that this joint learning approach achieves state-of-the-art performance, aligning closely with human intuition.

Introduction

In Natural Language Processing (NLP), phrase embedding is a core challenge. Traditional approaches typically fall into two categories: compositional models, which assume a phrase's meaning is derived from its constituent words (e.g., "red" + "apple"), and non-compositional models, which treat phrases as atomic units. While compositional models handle literal phrases well, they fail on idioms like "kick the bucket." Conversely, non-compositional models capture idiomaticity but suffer from data sparsity, as many phrases appear too infrequently to learn robust individual vectors.

This paper addresses this dichotomy by proposing that phrases exist on a spectrum of compositionality. The authors present a framework to jointly learn both representations and a mechanism to weight them dynamically based on the phrase's inherent idiomaticity.

Methodology

The proposed model represents a phrase embedding $v(p)$ as a weighted sum of its compositional $c(p)$ and non-compositional $n(p)$ components: $$v(p) = \alpha(p)c(p) + (1 - \alpha(p))n(p)$$ where $\alpha(p) \in [0, 1]$ is a scoring function that quantifies the level of compositionality.

Figure 1: The architecture of the adaptive joint learning model, showing how the final phrase embedding $v(p)$ is composed of weighted compositional and non-compositional parts.

The key innovation lies in the joint optimization of the scoring function $\alpha(p)$ and the embeddings. The score is computed via logistic regression using features such as word indices, phrase frequency, and Pointwise Mutual Information (PMI). During training on predicate-argument prediction tasks, the model learns to adjust $\alpha(p)$—increasing it for literal phrases to leverage word-level information and decreasing it for idioms to rely on memorized phrase-level vectors.

Experimental Setup

The model was trained on the British National Corpus (BNC) and English Wikipedia. Evaluation focused on two primary tasks:

  1. Compositionality Detection: Using the VJ’05 and MC’07 datasets, which contain human ratings for the idiomaticity of verb-object pairs.
  2. Verb Disambiguation: Using the GS’11 dataset to test the model's ability to distinguish meanings of polysemous verbs in context (e.g., "run a company" vs. "run a race").

Results and Insights

The adaptive model significantly outperformed previous state-of-the-art methods. On the MC’07 dataset, an ensemble of models trained on BNC and Wikipedia achieved a Spearman correlation of 0.550, surpassing the previous best of 0.454. In verb disambiguation, the adaptive approach proved superior to both purely compositional ($\alpha=1$) and fixed-blend ($\alpha=0.5$) baselines.

Figure 2: Evolution of the compositionality score $\alpha$ during training. Literal phrases like "buy car" converge to high scores, while idioms like "take toll" converge to low scores.

A key insight is the model's ability to automatically detect idioms without explicit supervision. As shown in Figure 2, the model learns to assign low $\alpha$ scores to "light verbs" (e.g., take, make, have) which often form non-compositional units. This data-driven "compositionality knob" allows the model to mitigate data sparsity for rare literal phrases while accurately representing frequent idiomatic expressions.

Conclusion

This research demonstrates that joint learning of compositional and non-compositional embeddings provides a robust solution for phrase representation. By treating compositionality as a learned, continuous variable, the model bridges the gap between literal and idiomatic language. Future work includes incorporating contextual information to handle phrases that can be either literal or idiomatic depending on usage (e.g., "bear fruit") and exploring more complex neural architectures for the scoring function.

Summary updated

BibTeX
@inproceedings{hashimoto2016adaptive,
  author = {Kazuma Hashimoto and Yoshimasa Tsuruoka},
  title = {{Adaptive Joint Learning of Compositional and Non-Compositional Phrase Embeddings}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2016},
  doi = {10.18653/v1/p16-1020},
}
Figure