Exploiting Correlations Between Contexts and Definitions with Multiple Definition Modeling

Linhan Zhang, Qian Chen, Wen Wang, Yuxin Jiang, Bing Li, Wei Wang, Xin CaoarXiv 2023 · DOI

Abstract

Definition modeling is the task of automatically generating dictionary-style definitions for words based on their usage contexts. Traditional approaches, known as Single Definition Modeling (SDM), treat each context-definition pair in isolation, failing to capture semantic correlations between different senses of the same word. This paper introduces Multiple Definition Modeling (MDM), a many-to-many framework that leverages multiple contexts simultaneously to generate a full set of definitions. By training on unaligned data, MDM improves performance on polysemous words and demonstrates strong zero-shot capabilities, bypassing the need for expensive human-labeled datasets.

Introduction: The Limitations of Single Definition Modeling

Definition modeling has historically been framed as a one-to-one mapping: one sentence in, one definition out. However, the authors identify three major flaws in this Single Definition Modeling (SDM) approach. First, it misses semantic correlations; different senses of the same word often share underlying semantic components. For example, the noun and verb forms of a word like "spout" (as used in the study) both relate to concepts of "buds" and "germinating."

Semantic overlap between different senses of the word 'spout'.

Second, SDM creates a data bottleneck, requiring high-quality datasets where specific sentences are manually aligned to specific dictionary senses. Finally, SDM struggles to keep pace with language evolution, where new words and sense shifts occur faster than lexicographers can document them.

Methodology: A Many-to-Many Framework

The authors propose a "many-to-many" framework. Instead of a single sentence, the input is a collection of all contexts ($C$) where a target word appears. The output is a collection of all known definitions ($G$) for that word.

The architecture adapts the T5 (Text-to-Text Transfer Transformer) model. Multiple contexts are concatenated using a <sep> delimiter, and the input is prefixed with a prompt. A key contribution is the "MDM-Hard" approach, where the model is trained on "unaligned" data—meaning it is given a bucket of sentences and a bucket of definitions without being told which belongs to which. This forces the model to learn latent semantic patterns across the entire set.

Datasets and Experimental Setup

The study utilizes three primary datasets:

  • SDM-WordNet: The standard benchmark for single-definition tasks.
  • MDM-WordNet: A reorganized version of WordNet where contexts and definitions are grouped by word but remain aligned.
  • WordWiki: A novel dataset created by the authors using the NLTK toolkit to extract definitions from WordNet and pair them with raw, unaligned sentences from Wikitext. This represents a real-world scenario where manual mapping is unavailable.

Key Results and Insights

Experimental results show that context pooling acts as a form of data augmentation. Providing more contexts ($k$) consistently improves results, as more examples help the model triangulate various meanings.

Performance comparison (BLEU) of T5-base models across different MDM settings.

As shown in the experimental data, using MDM as a pre-training task improved the BLEU score on the standard WordNet benchmark from 30.34 to 31.27. Furthermore, the "MDM-Hard" experiments proved that models can learn to disambiguate senses without explicit guidance, achieving performance comparable to models trained on manually aligned data. For polysemous words, increasing the number of contexts (from $k=0$ to $k=4$) improved the BLEU score by 1.5 points, confirming that "seeing more" helps the model distinguish between complex, related senses.

Conclusion and Future Work

Multiple Definition Modeling offers a robust alternative to traditional methods by exploiting the inherent correlations between a word's various senses. By breaking the requirement for manual alignment, MDM paves the way for building powerful definition generators using web-scale data.

However, challenges remain. Ensuring diversity among generated definitions is difficult, as models sometimes produce semantically redundant outputs. Future research should focus on maintaining sentence-level diversity and developing more nuanced evaluation metrics than BLEU. Additionally, while MDM shows promise in zero-shot settings, the risk of "hallucinating" definitions for out-of-inventory senses remains a concern for production-level applications.

Summary updated

BibTeX
@misc{zhang2023exploiting,
  author = {Linhan Zhang and Qian Chen and Wen Wang and Yuxin Jiang and Bing Li and Wei Wang and Xin Cao},
  title = {{Exploiting Correlations Between Contexts and Definitions with Multiple Definition Modeling}},
  year = {2023},
  eprint = {2305.14717},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.14717},
}
Figure