Wordnet for Definition Augmentation with Encoder-Decoder Architecture

Konrad Wojtasik, Arkadiusz Janz, Maciej PiaseckiGwc 2023

TL;DR

This paper tackles the challenge of augmenting Polish wordnets with missing definitions and sense examples. They leverage pre-trained T5 language models to generate these definitions, treating it as a data augmentation task. Their findings show that larger models perform better, especially on unseen words, and highlight the potential of encoder-decoder architectures for enriching lexical resources.

What Problem Does This Paper Address?

Natural Language Processing (NLP) tasks often rely on comprehensive lexical resources like wordnets. However, for many languages, including Polish, these resources are incomplete. Specifically, plWordNet, a significant Polish wordnet, suffers from a lack of definitions and example sentences for a substantial portion of its senses. Manually creating this data is time-consuming and expensive. This paper addresses this gap by exploring the use of advanced text generation models, specifically encoder-decoder architectures, to automatically generate missing definitions and sense examples, thereby augmenting the wordnet. This is crucial for improving the performance of downstream NLP tasks that depend on these lexical resources.

Methods

The core of this work involves fine-tuning pre-trained T5 language models for the task of definition generation. The authors treat this as a conditional sequence generation problem, where the model learns to predict a definition sequence given a word and its context (a sense use example). They utilize the plT5 models, which are T5 models pre-trained on Polish corpora. The fine-tuning process involves preparing training examples by concatenating a word with its sense use example, followed by a colon, and then training the model to predict the corresponding definition. They also explore the impact of model size (base vs. large) on performance.

Datasets

The primary dataset used for training was derived from plWordNet's sense definitions and sense use examples. To expand this, they incorporated additional sense-annotated corpora:

  • Verb's Valency Dictionary – Składnica (SK): A sense-annotated treebank.
  • The Corpus of Wroclaw University of Science and Technology (KPWr): A diverse corpus with manual sense annotations.
  • Sherlock Holmes: The Adventure of The Speckled Band (SPEC): A corpus manually tagged with morphological information and sense tags.
  • KGR10 Corpus: A large web-based corpus used to synthesize additional sense use examples for potentially monosemous lemmas.

For evaluation, they created two test sets: one for manual validation and another for automated evaluation using BLEU and ROUGE-L scores. The test sets were carefully constructed to ensure that words and definitions were not present in the training data to mitigate memorization.

Key Insights and Ideas

  • Encoder-decoder models are effective for definition generation: The paper demonstrates that pre-trained T5 models can be successfully fine-tuned to generate definitions for Polish wordnet senses.
  • Model size matters: Larger T5 models (plT5-large) significantly outperform smaller ones (plT5-base) in definition generation accuracy.
  • Seen vs. Unseen Words: Models perform much better on words whose definitions were present in the training data (seen words) compared to those that were not (unseen words). This suggests that while models can memorize and adapt existing definitions, generalizing to entirely new ones is more challenging.
  • Potential for Data Augmentation: This approach offers a scalable way to augment under-resourced wordnets, reducing the manual effort required for definition and example creation.
  • Qualitative analysis reveals nuances: Manual evaluation identified specific error types like self-reference, incoherence, and partial correctness, providing valuable insights into the models' limitations.

Key Results

  • Automatic Evaluation: On a 10k test set, the plT5-large model achieved higher BLEU and ROUGE-L scores than plT5-base. For instance, after 13k iterations, the large model achieved scores of approximately 0.44 (BLEU) and 0.54 (ROUGE-L), showing a significant improvement over the base model.
  • Manual Evaluation: The larger plT5 model achieved an average accuracy of over 10 percentage points higher than the base model across all evaluation settings.
  • For "WordNet+" (senses with existing definitions), both models performed very well, with the large model reaching 0.99 soft evaluation accuracy.
  • For "WordNet" (senses missing definitions), the large model achieved 0.37 hard evaluation and 0.64 soft evaluation accuracy, indicating a substantial challenge for unseen senses.
  • Qualitative Findings: The models were able to generate correct definitions for some words, even when the definitions were not present in the training data, by leveraging knowledge from their pre-training. However, errors such as self-reference (defining a word using itself) and incoherence were observed.

Limitations and Future Work

The authors acknowledge several limitations:

  • Performance on Unseen Words: The models struggle more with generating definitions for senses that were not present in the training data. This is attributed to the potential insufficiency of Polish sense-annotated resources for learning to define completely novel senses.
  • Memorization vs. Generalization: While models can memorize and adapt seen definitions, generalizing to unseen ones remains a challenge.
  • Hallucination: Models sometimes "hallucinate" definitions, producing formally incorrect but contextually plausible outputs.

Future work could focus on:

  • Developing methods to improve generalization to unseen word senses.
  • Investigating techniques to better handle polysemic words and their various meanings.
  • Applying these models to other knowledge-intensive NLP tasks like Word Sense Disambiguation (WSD) and Entity Linking.
  • Exploring ways to mitigate the hallucination of definitions.

Summary updated

BibTeX
@inproceedings{wojtasik2023wordnet,
  author = {Konrad Wojtasik and Arkadiusz Janz and Maciej Piasecki},
  title = {{Wordnet for Definition Augmentation with Encoder-Decoder Architecture}},
  booktitle = {Gwc},
  year = {2023},
}
Figure