Exploring Chinese Humor Generation: A Study on Two-Part Allegorical Sayings

Rongwu Xu
3/16/2024
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

Humor, a culturally nuanced aspect of human language, poses challenges for computational understanding and generation, especially in Chinese humor, which remains relatively unexplored in the NLP community. This paper investigates the capability of state-of-the-art language models to comprehend and generate Chinese humor, specifically focusing on training them to create allegorical sayings. We employ two prominent training methods: fine-tuning a medium-sized language model and prompting a large one. Our novel fine-tuning approach incorporates fused Pinyin embeddings to consider homophones and employs contrastive learning with synthetic hard negatives to distinguish humor elements. Human-annotated results show that these models can generate humorous allegorical sayings, with prompting proving to be a practical and effective method. However, there is still room for improvement in generating allegorical sayings that match human creativity.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{xu2024exploring,
  title  = {Exploring Chinese Humor Generation: A Study on Two-Part Allegorical Sayings},
  author = {Rongwu Xu},
  year   = {2024},
  eprint = {2403.10781},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.10781v1}
}

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

Discussion