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

书面艺术生成中的深度学习和子词单元方法

Deep learning and sub-word-unit approach in written art generation

Polish-Japanese Academy of Information Technology(波日信息技术学院);Jatar(Jatar公司)

Krzysztof Wołk, Emilia Zawadzka-Gosk, Wojciech Czarnowski

摘要:

诗歌自动生成是自然语言处理研究中一个新颖而有趣的应用。在过去的几年里,由于技术和神经计算能力的快速发展,它变得更加流行。这条研究路线可以应用于语言学和文学的研究,用于社会科学实验,或者只是为了娱乐。已知最有效的人工诗歌生成方法是使用递归神经网络(RNN)。我们还使用RNN生成Adam Mickiewicz风格的诗歌。我们的网络是根据撒迪厄斯爵士的诗训练的。对于数据预处理,我们使用了一个专门的词干工具,这是这项工作的主要创新和贡献之一。我们的实验是在源文本上进行的,分为子词单位(接近音节的分辨率)。这种方法是新颖的,在已发表的文献中不常采用。子词单元似乎是分析波兰语的自然选择,因为波兰语由于格、性别形式和大量词汇而在形态上丰富。此外,《撒迪厄斯爵士》包含押韵,因此音节分析可能很有意义。我们使用不同的温度参数设置验证了我们的模型,该参数控制生成文本的随机性。我们还将我们的结果与在相同文本上训练但分为字符的类似模型进行了比较(这是使用完整单词单元的最常见方法)。差异是巨大的。我们的解决方案生成了更好的诗歌,能够遵循源数据文本的韵律和词汇。

英文摘要:

Automatic poetry generation is novel and interesting application of natural language processing research. It became more popular during the last few years due to the rapid development of technology and neural computing power. This line of research can be applied to the study of linguistics and literature, for social science experiments, or simply for entertainment. The most effective known method of artificial poem generation uses recurrent neural networks (RNN). We also used RNNs to generate poems in the style of Adam Mickiewicz. Our network was trained on the Sir Thaddeus poem. For data pre-processing, we used a specialized stemming tool, which is one of the major innovations and contributions of this work. Our experiment was conducted on the source text, divided into sub-word units (at a level of resolution close to syllables). This approach is novel and is not often employed in the published literature. The subwords units seem to be a natural choice for analysis of the Polish language, as the language is morphologically rich due to cases, gender forms and a large vocabulary. Moreover, Sir Thaddeus contains rhymes, so the analysis of syllables can be meaningful. We verified our model with different settings for the temperature parameter, which controls the randomness of the generated text. We also compared our results with similar models trained on the same text but divided into characters (which is the most common approach alongside the use of full word units). The differences were tremendous. Our solution generated much better poems that were able to follow the metre and vocabulary of the source data text.

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

↑