Nominal Metaphor Generation with Multitask Learning

Yucheng Li, Chenghua Lin, Frank Geurin
6/10/2022
cs.CL

Official code: liyucheng09/Metaphor_Generator (49 stars, Python, last commit 2023-01-25).

Abstract

Metaphor generation is a challenging task which can impact many downstream tasks such as improving user satisfaction with dialogue systems and story generation. This paper tackles the problem of Chinese nominal metaphor generation by introducing a multitask metaphor generation framework with self-training and metaphor identification mechanisms.

Show full abstract

Self-training addresses the data scarcity issue of metaphor datasets. That is, instead of solely relying on labelled metaphor datasets which are usually small in size, self-training helps identify potential metaphors from a large-scale unlabelled corpus for metaphor generation. The metaphor weighting mechanism enables our model to focus on the metaphor-related parts of the input (e.g., the comparison of the metaphor and comparator) during model learning and thus improves the metaphoricity of the generated metaphors. Our model is trained on an annotated corpus consisting of 6.3k sentences that contain diverse metaphorical expressions. Experimental results show that our model is able to generate metaphors with better readability and creativity compared to the baseline models, even in the situation where training data is insufficient.

View on arXivView PDF

Code Implementations(1)

The first Chinese metaphor corpus serving for identification and generation. 中文比喻数据集. Presented at COLING 2022.

493PythonSep 4, 20193 years ago

Similar Papers

Cite this paper

@article{li2022nominal,
  title  = {Nominal Metaphor Generation with Multitask Learning},
  author = {Yucheng Li and Chenghua Lin and Frank Geurin},
  year   = {2022},
  eprint = {2206.05195},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.05195}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2206.05195.svg)](https://codeofpaper.com/paper/2206.05195)

Discussion