arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1707.00117cs.CLcs.LGstat.ML
收藏

SAM:语言建模和风格变异的语义属性调制

SAM: Semantic Attribute Modulation for Language Modeling and Style Variation

Tsinghua University(清华大学);Toutiao AI LAB(今日头条人工智能实验室);eBay Inc(eBay公司)

Wenbo Hu, Lifeng Hua, Lei Li, Hang Su, Tian Wang, Ning Chen, Bo Zhang

摘要:

本文提出了一种语义属性调制(SAM)的语言建模和风格的变化。语义属性模块包括各种文档属性,如标题、作者和文档类别。我们考虑两种类型的属性,(标题属性和类别属性),和一个灵活的属性选择方案,通过属性注意力机制自动评分。语义属性作为生成输入被嵌入到隐语义空间中。适当利用的属性,我们提出的SAM可以生成可解释的文本输入属性。定性分析,包括词汇语义分析和注意力值,显示了SAM的可解释性。在几个典型的文本数据集上,我们实证证明了语义属性调制语言模型与不同的文档属性组合的优越性。此外,我们提出了一个风格变化的歌词生成使用SAM,这表明风格变化和语义属性之间有很强的联系。

英文摘要:

This paper presents a Semantic Attribute Modulation (SAM) for language modeling and style variation. The semantic attribute modulation includes various document attributes, such as titles, authors, and document categories. We consider two types of attributes, (title attributes and category attributes), and a flexible attribute selection scheme by automatically scoring them via an attribute attention mechanism. The semantic attributes are embedded into the hidden semantic space as the generation inputs. With the attributes properly harnessed, our proposed SAM can generate interpretable texts with regard to the input attributes. Qualitative analysis, including word semantic analysis and attention values, shows the interpretability of SAM. On several typical text datasets, we empirically demonstrate the superiority of the Semantic Attribute Modulated language model with different combinations of document attributes. Moreover, we present a style variation for the lyric generation using SAM, which shows a strong connection between the style variation and the semantic attributes.

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

↑