Balancing the Style-Content Trade-Off in Sentiment Transfer Using Polarity-Aware Denoising

Sourabrata Mukherjee, Zdeněk Kasner, Ondřej Dušek
12/22/2023
cs.CL

No confident code implementation found for this paper.

Abstract

Text sentiment transfer aims to flip the sentiment polarity of a sentence (positive to negative or vice versa) while preserving its sentiment-independent content. Although current models show good results at changing the sentiment, content preservation in transferred sentences is insufficient. In this paper, we present a sentiment transfer model based on polarity-aware denoising, which accurately controls the sentiment attributes in generated text, preserving the content to a great extent and helping to balance the style-content trade-off. Our proposed model is structured around two key stages in the sentiment transfer process: better representation learning using a shared encoder and sentiment-controlled generation using separate sentiment-specific decoders. Empirical results show that our methods outperforms state-of-the-art baselines in terms of content preservation while staying competitive in terms of style transfer accuracy and fluency.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{mukherjee2023balancing,
  title  = {Balancing the Style-Content Trade-Off in Sentiment Transfer Using Polarity-Aware Denoising},
  author = {Sourabrata Mukherjee and Zdeněk Kasner and Ondřej Dušek},
  year   = {2023},
  eprint = {2312.14708},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.14708v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.14708.svg)](https://codeofpaper.com/paper/2312.14708)

Discussion