arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2108.12108cs.CL
收藏

Lingxi:一个多元意识的中国现代诗歌生成系统

Lingxi: A Diversity-aware Chinese Modern Poetry Generation System

Central Conservatory of Music(中央音乐学院);Tsinghua University(清华大学)

Xinran Zhang, Maosong Sun, Jiafeng Liu, Xiaobing Li

摘要:

诗歌生成一直是自然语言处理中的一个难点。与普通的神经文本生成任务不同,诗歌对新颖性有很高的要求,因为一个容易理解的句子有太多的高频词可能不被认为是诗意的,而足够模糊的句子有低频词可能是新颖和创造性的。受此启发,我们提出了一个具有多元意识的中国现代诗歌生成系统--灵犀。我们提出了核抽样与随机头(NS-RH)算法,随机的预测分布的高频部分(“头”),以强调“相对低频”的话。与传统的采样方法相比,该算法能显著提高生成诗歌的新颖性。分布的置换是可控的,通过调整过滤参数,确定“头”置换,实现多样性感知采样。我们发现,即使大部分过滤词汇是随机的,它实际上可以生成流畅的诗歌,但具有显着更高的新颖性。我们还提出了一种基于语义相似度的拒绝抽样算法,该算法在保持与标题的高语义相似度的同时,在短输入诗歌标题的基础上创建更长、信息量更大的上下文,从而缓解了题外话问题。

英文摘要:

Poetry generation has been a difficult task in natural language processing. Unlike plain neural text generation tasks, poetry has a high requirement for novelty, since an easily-understood sentence with too many high frequency words might not be considered as poetic, while adequately ambiguous sentences with low frequency words can possibly be novel and creative. Inspired by this, we present Lingxi, a diversity-aware Chinese modern poetry generation system. We propose nucleus sampling with randomized head (NS-RH) algorithm, which randomizes the high frequency part ("head") of the predicted distribution, in order to emphasize on the "comparatively low frequency" words. The proposed algorithm can significantly increase the novelty of generated poetry compared with traditional sampling methods. The permutation of distribution is controllable by tuning the filtering parameter that determines the "head" to permutate, achieving diversity-aware sampling. We find that even when a large portion of filtered vocabulary is randomized, it can actually generate fluent poetry but with notably higher novelty. We also propose a semantic-similarity-based rejection sampling algorithm, which creates longer and more informative context on the basis of the short input poetry title while maintaining high semantic similarity to the title, alleviating the off-topic issue.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑