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

论句子中情感的可控转换

Towards Controlled Transformation of Sentiment in Sentences

Maastricht University(马斯特里赫特大学)

Wouter Leeftink, Gerasimos Spanakis

摘要:

开发许多自然语言处理产品的一个障碍是获得满意结果所需的大量训练样本。生成这些示例通常是一项繁琐且耗时的任务。本文提出了一种转换句子情感的方法,以减少生成更多训练数据的工作量。这意味着一个句子可以转换为一个相反的情感句子,并且应该减少一半的文本生成所需的工作。建议的管道包括一个情感分类器与注意力机制,以突出的短句,确定一个句子的情感。然后,使用基线模型和自动编码器方法将这些短语更改为相反情感的短语。实验运行在管道的单独部分以及端到端模型上。情感分类器的准确性进行了测试,并发现执行充分。测试自动编码器如何改变编码短语的情感,发现这样的任务是可能的。我们使用人工评估来判断完整(端到端)流水线的性能,这表明使用词向量的模型优于编码器模型。数值评估显示,情感变化的成功率为54.7%。

英文摘要:

An obstacle to the development of many natural language processing products is the vast amount of training examples necessary to get satisfactory results. The generation of these examples is often a tedious and time-consuming task. This paper this paper proposes a method to transform the sentiment of sentences in order to limit the work necessary to generate more training data. This means that one sentence can be transformed to an opposite sentiment sentence and should reduce by half the work required in the generation of text. The proposed pipeline consists of a sentiment classifier with an attention mechanism to highlight the short phrases that determine the sentiment of a sentence. Then, these phrases are changed to phrases of the opposite sentiment using a baseline model and an autoencoder approach. Experiments are run on both the separate parts of the pipeline as well as on the end-to-end model. The sentiment classifier is tested on its accuracy and is found to perform adequately. The autoencoder is tested on how well it is able to change the sentiment of an encoded phrase and it was found that such a task is possible. We use human evaluation to judge the performance of the full (end-to-end) pipeline and that reveals that a model using word vectors outperforms the encoder model. Numerical evaluation shows that a success rate of 54.7% is achieved on the sentiment change.

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

↑