Pun-GAN: Generative Adversarial Network for Pun Generation

Fuli Luo, Shunyao Li, Pengcheng Yang, Lei li, Baobao Chang +2 more
10/24/2019
cs.CL

Official code: lishunyao97/Pun-GAN (40 stars, Python, last commit 2019-08-19).

Abstract

In this paper, we focus on the task of generating a pun sentence given a pair of word senses. A major challenge for pun generation is the lack of large-scale pun corpus to guide the supervised learning.

Show full abstract

To remedy this, we propose an adversarial generative network for pun generation (Pun-GAN), which does not require any pun corpus. It consists of a generator to produce pun sentences, and a discriminator to distinguish between the generated pun sentences and the real sentences with specific word senses. The output of the discriminator is then used as a reward to train the generator via reinforcement learning, encouraging it to produce pun sentences that can support two word senses simultaneously. Experiments show that the proposed Pun-GAN can generate sentences that are more ambiguous and diverse in both automatic and human evaluation.

View on arXivView PDF

Code Implementations(1)

Pun-GAN: Generative Adversarial Network for Pun Generation (EMNLP 2019)

407Python, ShellAug 18, 20197 years ago

Similar Papers

Cite this paper

@article{luo2019pungan,
  title  = {Pun-GAN: Generative Adversarial Network for Pun Generation},
  author = {Fuli Luo and Shunyao Li and Pengcheng Yang and Lei li and Baobao Chang and Zhifang Sui and Xu Sun},
  year   = {2019},
  eprint = {1910.10950},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1910.10950}
}

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/1910.10950.svg)](https://codeofpaper.com/paper/1910.10950)

Discussion