NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning Semantic Composition to Detect Non-compositionality of Multiword Expressions

Majid Yazdani, Meghdad Farahmand, James Henderson

Abstract

Detecting non-compositional multiword expressions (MWEs), such as "ivory tower" or "hot dog," remains a significant challenge in Natural Language Processing. This paper presents an unsupervised approach that identifies these expressions as outliers in a learned semantic composition model. By training complex composition functions—including quadratic and sparse models—to predict compound word embeddings from their constituents, we can effectively flag non-compositional phrases as those with high reconstruction error. Our results demonstrate that enforcing sparsity and utilizing latent annotations significantly improves detection performance over standard additive and multiplicative baselines.

Introduction

In semantic modeling, the principle of compositionality suggests that the meaning of a complex expression is determined by the meanings of its constituent parts and the rules used to combine them. While this holds for phrases like "speed limit," it fails for idiomatic Multiword Expressions (MWEs) like "ivory tower." Such non-compositional expressions are problematic for tasks like machine translation and word sense disambiguation. This research explores an unsupervised framework to detect these "exceptions" by perfecting the mathematical "rules" of composition.

Methodology

The core hypothesis is that a robust composition function will successfully model compositional phrases but fail on non-compositional ones. The authors explore several modeling strategies to capture these relationships.

Linear and Polynomial Projections

Beyond simple vector addition (the common baseline), the study employs quadratic functions to capture more nuanced interactions between constituent word embeddings. These higher-order functions allow the model to represent complex semantic shifts that occur during composition.

Sparsity and Regularization

To prevent complex models from overfitting—essentially "memorizing" idioms—the authors apply Lasso regression to enforce sparsity. This constraint forces the model to rely on a limited set of critical features, ensuring it learns generalizable compositional patterns rather than specific idiomatic exceptions. By restricting the model's capacity, non-compositional phrases naturally emerge as high-error outliers.

Comparison of weight distributions in (a) Pure Quadratic and (b) Sparse Pure Quadratic models.

Latent Annotation via EM

A novel Expectation-Maximization (EM) approach is used to handle the lack of labeled data. The model iteratively identifies high-error phrases as likely non-compositional, excludes them from the training set, and refines the composition function on the remaining "clean" data. This process progressively sharpens the distinction between rule-following compounds and idiosyncratic idioms.

Comparison of weight distributions in (a) Linear Projection and (b) Sparse Linear Projection models.

Experimental Setup

The models were trained using word and compound embeddings (word2vec) derived from an English Wikipedia corpus, focusing on approximately 70,000 noun compounds. Evaluation was performed against a gold-standard dataset of 1,042 English Noun Compounds annotated for compositionality by experts.

Key Results

The proposed "Sparse Interaction" model significantly outperformed traditional baselines. It achieved a Spearman correlation ($\rho$) of 41.03, compared to 20.83 for the additive baseline and 9.18 for the multiplicative baseline. Furthermore, the integration of latent annotations via the EM algorithm improved the Precision at 100 (P@100) for neural network models from 49 to 55.

The success of quadratic models over linear ones suggests that semantic composition is inherently non-linear. However, the critical component is the combination of model complexity with strict regularization (sparsity), which allows the system to distinguish between systematic rules and idiosyncratic outliers.

Conclusion

This work demonstrates that non-compositionality can be effectively detected by treating idioms as statistical outliers in a well-regularized composition model. By perfecting the "rule," the "exceptions" become statistically visible. Future research could extend this framework to more complex syntactic structures beyond noun-noun compounds and explore the integration of modern contextualized embeddings.

Summary updated

BibTeX
@inproceedings{yazdani2015learning,
  author = {Majid Yazdani and Meghdad Farahmand and James Henderson},
  title = {{Learning Semantic Composition to Detect Non-compositionality of Multiword Expressions}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2015},
  doi = {10.18653/v1/d15-1201},
}
Figure