探索中文幽默生成:对歇后语的研究
Exploring Chinese Humor Generation: A Study on Two-Part Allegorical Sayings
AI总结:
本研究探索中文歇后语生成,通过微调中等模型和提示大型模型,结合拼音嵌入与对比学习,发现提示方法有效,但生成质量仍有提升空间。
摘要:
幽默作为人类语言中具有文化细微差别的方面,给计算理解和生成带来了挑战,尤其是在中文幽默方面,其在自然语言处理社区中仍相对未被探索。本文研究了最先进的语言模型理解和生成中文幽默的能力,特别关注训练它们创作歇后语。我们采用了两种主要的训练方法:微调一个中等规模的语言模型和提示一个大型语言模型。我们新颖的微调方法融合了拼音嵌入以考虑同音词,并采用带有合成硬负样本的对比学习来区分幽默元素。人工标注结果显示,这些模型能够生成幽默的歇后语,其中提示被证明是一种实用且有效的方法。然而,在生成符合人类创造力的歇后语方面仍有改进空间。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。