# Towards Controlled Transformation of Sentiment in Sentences

**Authors:** Wouter Leeftink, Gerasimos Spanakis

arXiv: 1901.11467 · 2019-02-01

## TL;DR

This paper presents a pipeline for transforming sentence sentiment to generate training data efficiently, combining sentiment classification, phrase highlighting, and phrase modification, achieving over 54% success in sentiment change.

## Contribution

It introduces a novel method for sentiment transformation in sentences using an attention-based classifier and autoencoder, reducing data generation effort in NLP.

## Key findings

- Sentiment classifier performs adequately.
- Autoencoder can change phrase sentiment effectively.
- End-to-end pipeline achieves 54.7% success rate.

## Abstract

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.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1901.11467/full.md

## Figures

6 figures with captions in the complete paper: https://tomesphere.com/paper/1901.11467/full.md

## References

29 references — full list in the complete paper: https://tomesphere.com/paper/1901.11467/full.md

---
Source: https://tomesphere.com/paper/1901.11467