Generative Sentiment Transfer via Adaptive Masking

02/23/2023
by   Yingze Xie, et al.
0

Sentiment transfer aims at revising the input text to satisfy a given sentiment polarity while retaining the original semantic content. The nucleus of sentiment transfer lies in precisely separating the sentiment information from the content information. Existing explicit approaches generally identify and mask sentiment tokens simply based on prior linguistic knowledge and manually-defined rules, leading to low generality and undesirable transfer performance. In this paper, we view the positions to be masked as the learnable parameters, and further propose a novel AM-ST model to learn adaptive task-relevant masks based on the attention mechanism. Moreover, a sentiment-aware masked language model is further proposed to fill in the blanks in the masked positions by incorporating both context and sentiment polarity to capture the multi-grained semantics comprehensively. AM-ST is thoroughly evaluated on two popular datasets, and the experimental results demonstrate the superiority of our proposal.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/21/2019

"Mask and Infill" : Applying Masked Language Model to Sentiment Transfer

This paper focuses on the task of sentiment transfer on non-parallel tex...
research
07/13/2018

A Multi-sentiment-resource Enhanced Attention Network for Sentiment Classification

Deep learning approaches for sentiment classification do not fully explo...
research
06/19/2020

Image Sentiment Transfer

In this work, we introduce an important but still unexplored research ta...
research
06/22/2020

Global Image Sentiment Transfer

Transferring the sentiment of an image is an unexplored research topic i...
research
08/22/2018

Learning Sentiment Memories for Sentiment Modification without Parallel Data

The task of sentiment modification requires reversing the sentiment of t...
research
02/19/2020

Hierarchical models vs. transfer learning for document-level sentiment classification

Documents are composed of smaller pieces - paragraphs, sentences, and to...
research
08/30/2019

Keep Calm and Switch On! Preserving Sentiment and Fluency in Semantic Text Exchange

In this paper, we present a novel method for measurably adjusting the se...

Please sign up or login with your details

Forgot password? Click here to reset