arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2105.03641cs.CLcs.AI
收藏

使用词性引导的Softmax和采样实现多样化的神经文本生成

Diversifying Neural Text Generation with Part-of-Speech Guided Softmax and Sampling

Wangxuan Institute of Computer Technology, Peking University(北京大学王选计算机研究所);Center for Data Science, Peking University(北京大学数据科学中心);The MOE Key Laboratory of Computational Linguistics, Peking University(北京大学计算语言学教育部重点实验室)

Zhixian Yang, Pengxuan Xu, Xiaojun Wan

摘要:

神经文本生成模型可能会受到低多样性问题的困扰。各种解码策略和基于训练的方法已经被提出,以促进多样性,只有利用上下文特征,但很少考虑到结合句法结构线索。在这项工作中,我们建议使用语言注释,即,词性(POS),用于指导文本生成。详细地说,我们引入了POS Guided Softmax来显式地对两个后验概率进行建模:(i)下一个POS,以及(ii)来自目标POS词汇表的下一个令牌。进一步提出了一种POS引导抽样策略,通过丰富POS的多样性来解决低多样性问题。大量的实验和人工评估表明,与现有的最先进的方法相比,我们的POS引导Softmax和采样(POSG)可以生成更多样化的文本,同时保持相当的质量。

英文摘要:

Neural text generation models are likely to suffer from the low-diversity problem. Various decoding strategies and training-based methods have been proposed to promote diversity only by exploiting contextual features, but rarely do they consider incorporating syntactic structure clues. In this work, we propose using linguistic annotation, i.e., part-of-speech (POS), to guide the text generation. In detail, we introduce POS Guided Softmax to explicitly model two posterior probabilities: (i) next-POS, and (ii) next-token from the vocabulary of the target POS. A POS Guided Sampling strategy is further proposed to address the low-diversity problem by enriching the diversity of POS. Extensive experiments and human evaluations show that, compared with existing state-of-the-art methods, our POS Guided Softmax and Sampling (POSG) can generate more diverse text while maintaining comparable quality.

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

↑