Modeling Semantic Compositionality with Sememe Knowledge

Fanchao Qi, Junjie Huang, Chenghao Yang, Zhiyuan Liu, Xiao Chen, Qun Liu, Maosong Sun

Introduction

Semantic Compositionality (SC) is the foundational principle that the meaning of a complex expression, such as "apple pie," is derived from the meanings of its constituent parts ("apple" and "pie") and the rules governing their combination. In Natural Language Processing (NLP), SC is often treated as a purely algebraic task where word embeddings are combined via functions like addition or multiplication. However, these "knowledge-blind" approaches frequently struggle with polysemy—where a word has multiple meanings—and fail to capture the underlying "atoms" of meaning that humans intuitively use. This paper proposes incorporating sememes, the smallest units of semantic meaning, from the HowNet knowledge base to explicitly guide the composition process.

Methodology: SCAS and SCMSA

The authors introduce two primary models to leverage sememe knowledge:

  1. SCAS (Semantic Compositionality with Aggregated Sememes): This model aggregates the embeddings of all sememes associated with a constituent word. This "knowledge vector" is then concatenated with the standard word embedding before being processed by a composition function.
  2. SCMSA (Semantic Compositionality with Mutual Sememe Attention): To address the context-dependent nature of word meanings, SCMSA employs a mutual attention mechanism. Instead of a simple sum, sememes of one constituent are weighted based on their relevance to the other constituent in the phrase. For example, in "bank account," the attention mechanism prioritizes the "finance" sememe of "bank" over its "river" sense.
The SCMSA architecture uses mutual attention to dynamically weight sememes based on context.

Additionally, the researchers introduced Integrating Combination Rules (+R). This technique accounts for different syntactic structures (e.g., Adjective-Noun vs. Noun-Noun) by representing the composition matrix as a combination of a general matrix and a low-rank, rule-specific matrix, mitigating data sparsity issues.

Linguistic Insights: The SCD Spectrum

A core contribution of the paper is the formalization of compositionality as a spectrum rather than a binary attribute. The authors categorized multiword expressions (MWEs) into four levels of Semantic Compositionality Degree (SCD), ranging from fully compositional (SCD 3) to purely idiomatic (SCD 0).

Categorization of MWEs by Semantic Compositionality Degree (SCD) with corresponding computation formulae and examples.

Analysis revealed a high correlation (0.75 Pearson coefficient) between simple sememe overlap formulas and human intuition, validating sememes as effective computational proxies for human semantic perception. The models perform best on SCD 3 (e.g., "peasant uprising") and struggle most with SCD 0 (e.g., "draw a period" meaning "to end").

Key Results

The experimental results demonstrate that sememe knowledge significantly enhances model performance across various benchmarks:

  • Similarity Computation: On the COS960 dataset, the SCAS+R model achieved a Spearman correlation of 61.8, outperforming both the standard additive baseline (49.1) and the Recursive Autoencoder (59.6).
  • Sememe Prediction: In predicting phrase-level sememes, the SCMSA+R model reached a Mean Average Precision (MAP) of 58.3, a substantial improvement over the additive baseline's 40.7.
  • Ablation Study: Removing sememe knowledge (the SCAS-S variant) led to a marked performance drop, confirming that the improvements stem from the external linguistic knowledge rather than just architectural complexity.

Conclusion and Future Directions

This research proves that structured linguistic knowledge like sememes can bridge the gap between algebraic word vectors and human-like semantic understanding. While the current work focuses on two-word Chinese MWEs in isolation, future research could extend these models to longer phrases, incorporate sentence-level context, and automate the expansion of sememe-annotated knowledge bases for other languages.

Summary updated

BibTeX
@inproceedings{qi2019modeling,
  author = {Fanchao Qi and Junjie Huang and Chenghao Yang and Zhiyuan Liu and Xiao Chen and Qun Liu and Maosong Sun},
  title = {{Modeling Semantic Compositionality with Sememe Knowledge}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/p19-1571},
}
Figure