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

细粒度情感控制的文本生成

Fine-grained Sentiment Controlled Text Generation

IIT Kharagpur(印度理工学院卡拉格布尔分校)

Bidisha Samanta, Mohit Agarwal, Niloy Ganguly

摘要:

受控文本生成技术旨在调节特定属性(例如情感),同时保留属性独立内容。最先进的方法将指定属性建模为结构化或离散表示,同时使内容表示独立于它以实现更好的控制。然而,将文本表示分解为单独的潜在空间忽略了内容和属性之间的复杂依赖关系,导致生成结构不良且没有意义的句子。此外,这种方法无法对属性变化的程度提供更精细的控制。为了解决这些问题的控制文本生成,在本文中,我们提出了DE-VAE,一个分层的框架,捕获信息丰富的纠缠表示和属性特定的解纠缠表示在不同的层次结构。DE-VAE实现了更好地控制情感作为一个属性,同时通过学习一个合适的无损转换网络从解纠缠的情感空间到所需的纠缠表示保留内容。DE-VAE通过对解纠缠表示的单个维度进行特征监督,将情感的变化映射到一个连续的空间,这有助于平滑地调节情感从积极到消极,反之亦然。在三个公开的评论数据集上的详细实验表明,DE-VAE优于最近的最先进的方法。

英文摘要:

Controlled text generation techniques aim to regulate specific attributes (e.g. sentiment) while preserving the attribute independent content. The state-of-the-art approaches model the specified attribute as a structured or discrete representation while making the content representation independent of it to achieve a better control. However, disentangling the text representation into separate latent spaces overlooks complex dependencies between content and attribute, leading to generation of poorly constructed and not so meaningful sentences. Moreover, such an approach fails to provide a finer control on the degree of attribute change. To address these problems of controlled text generation, in this paper, we propose DE-VAE, a hierarchical framework which captures both information enriched entangled representation and attribute specific disentangled representation in different hierarchies. DE-VAE achieves better control of sentiment as an attribute while preserving the content by learning a suitable lossless transformation network from the disentangled sentiment space to the desired entangled representation. Through feature supervision on a single dimension of the disentangled representation, DE-VAE maps the variation of sentiment to a continuous space which helps in smoothly regulating sentiment from positive to negative and vice versa. Detailed experiments on three publicly available review datasets show the superiority of DE-VAE over recent state-of-the-art approaches.

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

↑